Condensed Consolidated Statements of Stockholders' Equity - USD ($) $ in Thousands | Total | Common Stock | Additional Paid-In Capital | Accumulated Other Comprehensive Income (Loss) | Accumulated Deficit |
Beginning Balance at Dec. 31, 2020 | $ 860,751 | $ 5 | $ 1,151,920 | $ 53 | $ (291,227) |
Beginning balance, shares at Dec. 31, 2020 | | 51,112,302 | | | |
Issuance of common stock upon exercise of stock options | 1,483 | | 1,483 | | |
Issuance of common stock upon exercise of stock options, shares | | 113,559 | | | |
Stock-based compensation expense | 9,925 | | 9,925 | | |
Other comprehensive loss | (35) | | | (35) | |
Net loss | (50,447) | | | | (50,447) |
Ending Balance at Mar. 31, 2021 | 821,677 | $ 5 | 1,163,328 | 18 | (341,674) |
Ending balance, shares at Mar. 31, 2021 | | 51,225,861 | | | |
Beginning Balance at Dec. 31, 2020 | 860,751 | $ 5 | 1,151,920 | 53 | (291,227) |
Beginning balance, shares at Dec. 31, 2020 | | 51,112,302 | | | |
Other comprehensive loss | (53) | | | | |
Net loss | (106,299) | | | | |
Ending Balance at Jun. 30, 2021 | 779,427 | $ 5 | 1,176,948 | | (397,526) |
Ending balance, shares at Jun. 30, 2021 | | 51,434,408 | | | |
Beginning Balance at Mar. 31, 2021 | 821,677 | $ 5 | 1,163,328 | 18 | (341,674) |
Beginning balance, shares at Mar. 31, 2021 | | 51,225,861 | | | |
Issuance of common stock upon exercise of stock options | 2,228 | | 2,228 | | |
Issuance of common stock upon exercise of stock options, shares | | 131,276 | | | |
Issuance of common stock upon vesting of restricted stock units, net of taxes withheld, shares | | 72,976 | | | |
Issuance of common stock pursuant to employee stock purchase plans | 305 | | 305 | | |
Issuance of common stock pursuant to employee stock purchase plans, shares | | 4,295 | | | |
Stock-based compensation expense | 11,087 | | 11,087 | | |
Other comprehensive loss | (18) | | | (18) | |
Net loss | (55,852) | | | | (55,852) |
Ending Balance at Jun. 30, 2021 | 779,427 | $ 5 | 1,176,948 | | (397,526) |
Ending balance, shares at Jun. 30, 2021 | | 51,434,408 | | | |
Beginning Balance at Dec. 31, 2021 | 663,320 | $ 5 | 1,221,532 | | (558,217) |
Beginning balance, shares at Dec. 31, 2021 | | 51,826,257 | | | |
Issuance of common stock upon exercise of stock options | 1,678 | | 1,678 | | |
Issuance of common stock upon exercise of stock options, shares | | 110,043 | | | |
Issuance of common stock upon vesting of restricted stock units, net of taxes withheld, shares | | 3,581 | | | |
Stock-based compensation expense | 28,095 | | 28,095 | | |
Net loss | (95,709) | | | | (95,709) |
Ending Balance at Mar. 31, 2022 | 597,384 | $ 5 | 1,251,305 | | (653,926) |
Ending balance, shares at Mar. 31, 2022 | | 51,939,881 | | | |
Beginning Balance at Dec. 31, 2021 | 663,320 | $ 5 | 1,221,532 | | (558,217) |
Beginning balance, shares at Dec. 31, 2021 | | 51,826,257 | | | |
Other comprehensive loss | (1,869) | | | | |
Net loss | (186,337) | | | | |
Ending Balance at Jun. 30, 2022 | 530,931 | $ 5 | 1,277,349 | | (744,554) |
Ending balance, shares at Jun. 30, 2022 | | 52,024,621 | | | |
Beginning Balance at Mar. 31, 2022 | 597,384 | $ 5 | 1,251,305 | | (653,926) |
Beginning balance, shares at Mar. 31, 2022 | | 51,939,881 | | | |
Issuance of common stock upon exercise of stock options | 2 | | | | |
Issuance of common stock upon exercise of stock options, shares | | 320 | | | |
Issuance of common stock upon vesting of restricted stock units, net of taxes withheld, shares | | 74,148 | | | |
Issuance of common stock pursuant to employee stock purchase plans | 64 | | 64 | | |
Issuance of common stock pursuant to employee stock purchase plans, shares | | 10,272 | | | |
Stock-based compensation expense | 25,978 | | 25,978 | | |
Other comprehensive loss | (1,869) | | | (1,869) | |
Net loss | (90,628) | | | | (90,628) |
Ending Balance at Jun. 30, 2022 | $ 530,931 | $ 5 | $ 1,277,349 | | $ (744,554) |
Ending balance, shares at Jun. 30, 2022 | | 52,024,621 | | | |