Condensed Consolidated Statements of Stockholders' Equity - USD ($) $ in Thousands | Total | Common Stock | Additional Paid-In Capital | Accumulated Deficit | Accumulated Other Comprehensive Income (Loss) |
Stockholders' equity beginning balance (in shares) at Dec. 31, 2019 | | 53,123,567 | | | |
Stockholders' equity beginning balance at Dec. 31, 2019 | $ 449,476 | $ 53 | $ 1,160,807 | $ (711,407) | $ 23 |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Stock-based compensation | 6,679 | | 6,679 | | |
Exercise of stock options (in shares) | | 295,757 | | | |
Exercise of stock options | 8,485 | | 8,485 | | |
Vesting of restricted stock units, net of shares withheld for taxes (in shares) | | 77,949 | | | |
Vesting of restricted stock units, net of shares withheld for taxes | (472) | | (472) | | |
Issuance of common stock related to ESPP (in shares) | | 22,647 | | | |
Issuance of common stock related to ESPP | 860 | | 860 | | |
Unrealized loss on available-for-sale securities, net of tax | (267) | | | | (267) |
Net loss | (50,939) | | | (50,939) | |
Stockholders' equity ending balance (in shares) at Mar. 31, 2020 | | 53,519,920 | | | |
Stockholders' equity ending balance at Mar. 31, 2020 | 413,822 | $ 53 | 1,176,359 | (762,346) | (244) |
Stockholders' equity beginning balance (in shares) at Dec. 31, 2019 | | 53,123,567 | | | |
Stockholders' equity beginning balance at Dec. 31, 2019 | 449,476 | $ 53 | 1,160,807 | (711,407) | 23 |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Unrealized loss on available-for-sale securities, net of tax | (248) | | | | |
Net loss | (108,635) | | | | |
Stockholders' equity ending balance (in shares) at Sep. 30, 2020 | | 60,052,046 | | | |
Stockholders' equity ending balance at Sep. 30, 2020 | $ 895,136 | $ 60 | 1,715,343 | (820,042) | (225) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Common stock, par value (in dollars per share) | $ 0.001 | | | | |
Stockholders' equity beginning balance (in shares) at Mar. 31, 2020 | | 53,519,920 | | | |
Stockholders' equity beginning balance at Mar. 31, 2020 | $ 413,822 | $ 53 | 1,176,359 | (762,346) | (244) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Stock-based compensation | 7,140 | | 7,140 | | |
Exercise of stock options (in shares) | | 617,441 | | | |
Exercise of stock options | 19,610 | $ 1 | 19,609 | | |
Vesting of restricted stock units, net of shares withheld for taxes (in shares) | | 29,351 | | | |
Vesting of restricted stock units, net of shares withheld for taxes | (663) | | (663) | | |
Unrealized loss on available-for-sale securities, net of tax | 161 | | | | 161 |
Net loss | (18,451) | | | (18,451) | |
Stockholders' equity ending balance (in shares) at Jun. 30, 2020 | | 54,166,712 | | | |
Stockholders' equity ending balance at Jun. 30, 2020 | $ 421,619 | $ 54 | 1,202,445 | (780,797) | (83) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Common stock, par value (in dollars per share) | $ 0.001 | | | | |
Stock-based compensation | $ 7,986 | | 7,986 | | |
Issuance of common stock, net of expense (in shares) | | 5,594,593 | | | |
Issuance of common stock, net of expense | 492,414 | $ 6 | 492,408 | | |
Exercise of stock options (in shares) | | 229,763 | | | |
Exercise of stock options | 8,284 | | 8,284 | | |
Vesting of restricted stock units, net of shares withheld for taxes (in shares) | | 10,879 | | | |
Vesting of restricted stock units, net of shares withheld for taxes | (313) | | (313) | | |
Issuance of common stock related to ESPP (in shares) | | 13,026 | | | |
Issuance of common stock related to ESPP | 804 | | 804 | | |
Net exercise of warrants to purchase common stock (in shares) | | 37,073 | | | |
Net exercise of warrants to purchase common stock | 3,729 | | 3,729 | | |
Unrealized loss on available-for-sale securities, net of tax | (142) | | | | (142) |
Net loss | (39,245) | | | (39,245) | |
Stockholders' equity ending balance (in shares) at Sep. 30, 2020 | | 60,052,046 | | | |
Stockholders' equity ending balance at Sep. 30, 2020 | $ 895,136 | $ 60 | 1,715,343 | (820,042) | (225) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Common stock, par value (in dollars per share) | $ 0.001 | | | | |
Common stock, par value (in dollars per share) | $ 0.001 | | | | |
Stockholders' equity beginning balance (in shares) at Dec. 31, 2020 | | 60,383,867 | | | |
Stockholders' equity beginning balance at Dec. 31, 2020 | $ 855,107 | $ 60 | 1,732,772 | (877,437) | (288) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Stock-based compensation | 15,626 | | 15,626 | | |
Exercise of stock options (in shares) | | 149,724 | | | |
Exercise of stock options | 5,865 | | 5,865 | | |
Vesting of restricted stock units, net of shares withheld for taxes (in shares) | | 84,902 | | | |
Vesting of restricted stock units, net of shares withheld for taxes | (3,888) | | (3,888) | | |
Issuance of common stock related to ESPP (in shares) | | 20,001 | | | |
Issuance of common stock related to ESPP | 1,721 | | 1,721 | | |
Unrealized loss on available-for-sale securities, net of tax | (129) | | | | (129) |
Net loss | (63,471) | | | (63,471) | |
Stockholders' equity ending balance (in shares) at Mar. 31, 2021 | | 60,638,494 | | | |
Stockholders' equity ending balance at Mar. 31, 2021 | 810,831 | $ 60 | 1,752,096 | (940,908) | (417) |
Stockholders' equity beginning balance (in shares) at Dec. 31, 2020 | | 60,383,867 | | | |
Stockholders' equity beginning balance at Dec. 31, 2020 | $ 855,107 | $ 60 | 1,732,772 | (877,437) | (288) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Exercise of stock options (in shares) | 576,000 | | | | |
Unrealized loss on available-for-sale securities, net of tax | $ (110) | | | | |
Net loss | (197,457) | | | | |
Stockholders' equity ending balance (in shares) at Sep. 30, 2021 | | 61,130,687 | | | |
Stockholders' equity ending balance at Sep. 30, 2021 | $ 718,153 | $ 61 | 1,793,384 | (1,074,894) | (398) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Common stock, par value (in dollars per share) | $ 0.001 | | | | |
Stockholders' equity beginning balance (in shares) at Mar. 31, 2021 | | 60,638,494 | | | |
Stockholders' equity beginning balance at Mar. 31, 2021 | $ 810,831 | $ 60 | 1,752,096 | (940,908) | (417) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Stock-based compensation | 13,479 | | 13,479 | | |
Exercise of stock options (in shares) | | 100,450 | | | |
Exercise of stock options | 4,055 | | 4,055 | | |
Vesting of restricted stock units, net of shares withheld for taxes (in shares) | | 38,614 | | | |
Vesting of restricted stock units, net of shares withheld for taxes | (1,818) | $ 1 | (1,819) | | |
Unrealized loss on available-for-sale securities, net of tax | 8 | | | | 8 |
Net loss | (63,521) | | | (63,521) | |
Stockholders' equity ending balance (in shares) at Jun. 30, 2021 | | 60,777,558 | | | |
Stockholders' equity ending balance at Jun. 30, 2021 | $ 763,034 | $ 61 | 1,767,811 | (1,004,429) | (409) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Common stock, par value (in dollars per share) | $ 0.001 | | | | |
Stock-based compensation | $ 11,421 | | 11,421 | | |
Exercise of stock options (in shares) | | 331,858 | | | |
Exercise of stock options | 13,822 | | 13,822 | | |
Vesting of restricted stock units, net of shares withheld for taxes (in shares) | | 12,335 | | | |
Vesting of restricted stock units, net of shares withheld for taxes | (689) | | (689) | | |
Issuance of common stock related to ESPP (in shares) | | 8,936 | | | |
Issuance of common stock related to ESPP | 1,019 | | 1,019 | | |
Unrealized loss on available-for-sale securities, net of tax | 11 | | | | 11 |
Net loss | (70,465) | | | (70,465) | |
Stockholders' equity ending balance (in shares) at Sep. 30, 2021 | | 61,130,687 | | | |
Stockholders' equity ending balance at Sep. 30, 2021 | $ 718,153 | $ 61 | $ 1,793,384 | $ (1,074,894) | $ (398) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Common stock, par value (in dollars per share) | $ 0.001 | | | | |