Condensed Consolidated Statements of Stockholders' Equity - USD ($) $ in Thousands | Common Stock | Additional Paid-In Capital | Accumulated Deficit | Accumulated Other Comprehensive Income (Loss) | Total |
Balance, beginning of period at Dec. 31, 2019 | $ 5 | $ 811,546 | $ (549,221) | $ 107 | $ 262,437 |
Balance, beginning of period (in shares) at Dec. 31, 2019 | 54,355,798 | | | | |
Statement of Stockholders' Equity (Deficit) | | | | | |
Exercise of stock options | | 3,047 | | | 3,047 |
Exercise of stock options (in shares) | 233,208 | | | | |
Stock-based compensation expense | | 6,220 | | | 6,220 |
Vesting of restricted common stock awards (in shares) | 213,393 | | | | |
Unrealized gain (loss) on marketable debt securities | | | | 587 | 587 |
Net income (loss) | | | (37,724) | | (37,724) |
Balance, end of period at Mar. 31, 2020 | $ 5 | 820,813 | (586,945) | 694 | 234,567 |
Balance, end of period (in shares) at Mar. 31, 2020 | 54,802,399 | | | | |
Balance, beginning of period at Dec. 31, 2019 | $ 5 | 811,546 | (549,221) | 107 | 262,437 |
Balance, beginning of period (in shares) at Dec. 31, 2019 | 54,355,798 | | | | |
Statement of Stockholders' Equity (Deficit) | | | | | |
Net income (loss) | | | | | (53,477) |
Balance, end of period at Sep. 30, 2020 | $ 6 | 1,043,892 | (602,698) | (48) | 441,152 |
Balance, end of period (in shares) at Sep. 30, 2020 | 62,187,700 | | | | |
Balance, beginning of period at Mar. 31, 2020 | $ 5 | 820,813 | (586,945) | 694 | 234,567 |
Balance, beginning of period (in shares) at Mar. 31, 2020 | 54,802,399 | | | | |
Statement of Stockholders' Equity (Deficit) | | | | | |
Issuance of common stock for public offering | $ 1 | 203,681 | | | 203,682 |
Issuance of common stock for public offering (in shares) | 6,900,000 | | | | |
Exercise of stock options | | 6,839 | | | 6,839 |
Exercise of stock options (in shares) | 355,812 | | | | |
Stock-based compensation expense | | 5,417 | | | 5,417 |
Vesting of restricted common stock awards (in shares) | 30,194 | | | | |
Purchase of common stock under benefit plans | | 350 | | | 350 |
Purchase of common stock under benefit plans (in shares) | 15,244 | | | | |
Unrealized gain (loss) on marketable debt securities | | | | (511) | (511) |
Net income (loss) | | | (23,572) | | (23,572) |
Balance, end of period at Jun. 30, 2020 | $ 6 | 1,037,100 | (610,517) | 183 | 426,772 |
Balance, end of period (in shares) at Jun. 30, 2020 | 62,103,649 | | | | |
Statement of Stockholders' Equity (Deficit) | | | | | |
Exercise of stock options | | 947 | | | 947 |
Exercise of stock options (in shares) | 48,312 | | | | |
Stock-based compensation expense | | 5,845 | | | 5,845 |
Vesting of restricted common stock awards (in shares) | 35,739 | | | | |
Unrealized gain (loss) on marketable debt securities | | | | (231) | (231) |
Net income (loss) | | | 7,819 | | 7,819 |
Balance, end of period at Sep. 30, 2020 | $ 6 | 1,043,892 | (602,698) | (48) | 441,152 |
Balance, end of period (in shares) at Sep. 30, 2020 | 62,187,700 | | | | |
Balance, beginning of period at Dec. 31, 2020 | $ 6 | 1,058,823 | (665,197) | (46) | 393,586 |
Balance, beginning of period (in shares) at Dec. 31, 2020 | 62,563,457 | | | | |
Statement of Stockholders' Equity (Deficit) | | | | | |
Issuance of common stock for public offering | $ 1 | 249,458 | | | 249,459 |
Issuance of common stock for public offering (in shares) | 4,025,000 | | | | |
Issuance of common stock for success payment | | 27,500 | | | 27,500 |
Issuance of common stock for success payment (in shares) | 303,599 | | | | |
Exercise of stock options | | 12,002 | | | 12,002 |
Exercise of stock options (in shares) | 501,162 | | | | |
Stock-based compensation expense | | 12,204 | | | 12,204 |
Vesting of restricted common stock awards (in shares) | 79,397 | | | | |
Unrealized gain (loss) on marketable debt securities | | | | (27) | (27) |
Net income (loss) | | | (56,728) | | (56,728) |
Balance, end of period at Mar. 31, 2021 | $ 7 | 1,359,987 | (721,925) | (73) | 637,996 |
Balance, end of period (in shares) at Mar. 31, 2021 | 67,472,615 | | | | |
Balance, beginning of period at Dec. 31, 2020 | $ 6 | 1,058,823 | (665,197) | (46) | 393,586 |
Balance, beginning of period (in shares) at Dec. 31, 2020 | 62,563,457 | | | | |
Statement of Stockholders' Equity (Deficit) | | | | | |
Net income (loss) | | | | | (151,066) |
Balance, end of period at Sep. 30, 2021 | $ 7 | 1,403,114 | (816,263) | (64) | 586,794 |
Balance, end of period (in shares) at Sep. 30, 2021 | 68,320,659 | | | | |
Balance, beginning of period at Mar. 31, 2021 | $ 7 | 1,359,987 | (721,925) | (73) | 637,996 |
Balance, beginning of period (in shares) at Mar. 31, 2021 | 67,472,615 | | | | |
Statement of Stockholders' Equity (Deficit) | | | | | |
Exercise of stock options | | 16,567 | | | 16,567 |
Exercise of stock options (in shares) | 629,973 | | | | |
Stock-based compensation expense | | 13,526 | | | 13,526 |
Vesting of restricted common stock awards (in shares) | 37,790 | | | | |
Purchase of common stock under benefit plans | | 526 | | | 526 |
Purchase of common stock under benefit plans (in shares) | 19,408 | | | | |
Unrealized gain (loss) on marketable debt securities | | | | 2 | 2 |
Net income (loss) | | | (55,256) | | (55,256) |
Balance, end of period at Jun. 30, 2021 | $ 7 | 1,390,606 | (777,181) | (71) | 613,361 |
Balance, end of period (in shares) at Jun. 30, 2021 | 68,159,786 | | | | |
Statement of Stockholders' Equity (Deficit) | | | | | |
Exercise of stock options | | 2,496 | | | 2,496 |
Exercise of stock options (in shares) | 86,985 | | | | |
Stock-based compensation expense | | 10,012 | | | 10,012 |
Vesting of restricted common stock awards (in shares) | 73,888 | | | | |
Unrealized gain (loss) on marketable debt securities | | | | 7 | 7 |
Net income (loss) | | | (39,082) | | (39,082) |
Balance, end of period at Sep. 30, 2021 | $ 7 | $ 1,403,114 | $ (816,263) | $ (64) | $ 586,794 |
Balance, end of period (in shares) at Sep. 30, 2021 | 68,320,659 | | | | |