CONDENSED CONSOLIDATED STATEMENTS OF REDEEMABLE CONVERTIBLE PREFERRED STOCK AND STOCKHOLDERS' EQUITY (DEFICIT) (Unaudited) - USD ($) $ in Thousands | Total | Follow-on Offering | Initial Public Offering | Common Stock | Common StockFollow-on Offering | Common StockInitial Public Offering | Additional Paid-In Capital | Additional Paid-In CapitalFollow-on Offering | Additional Paid-In CapitalInitial Public Offering | Accumulated Other Comprehensive Income | Accumulated Deficit | Redeemable Convertible Preferred Stock |
Beginning balance at Dec. 31, 2019 | $ (152,574) | | | | | | $ 4,738 | | | $ 74 | $ (157,386) | |
Redeemable convertible preferred stock, beginning balance, shares at Dec. 31, 2019 | | | | | | | | | | | | 39,600,423 |
Redeemable convertible preferred stock, beginning balance at Dec. 31, 2019 | | | | | | | | | | | | $ 305,109 |
Beginning balance, shares at Dec. 31, 2019 | | | | 3,292,124 | | | | | | | | |
Conversion of redeemable convertible preferred stock into common stock | 305,109 | | | $ 4 | | | 305,105 | | | | | $ (305,109) |
Conversion of redeemable convertible preferred stock into common stock, shares | | | | 39,600,423 | | | | | | | | (39,600,423) |
Issuance of common stock upon offering, net of offering costs | | | $ 250,697 | | | $ 2 | | | $ 250,695 | | | |
Issuance of common stock upon offering, net of offering costs, shares | | | | | | 16,100,000 | | | | | | |
Issuance of common stock pursuant to stock option exercises | 27 | | | | | | 27 | | | | | |
Issuance of common stock pursuant to stock option exercises, shares | | | | 11,097 | | | | | | | | |
Vesting of early exercised stock options | 47 | | | | | | 47 | | | | | |
Stock-based compensation expense | 1,567 | | | | | | 1,567 | | | | | |
Net unrealized gain (loss) on marketable securities | (38) | | | | | | | | | (38) | | |
Net loss | (19,519) | | | | | | | | | | (19,519) | |
Ending balance at Mar. 31, 2020 | 385,316 | | | $ 6 | | | 562,179 | | | 36 | (176,905) | |
Ending balance, shares at Mar. 31, 2020 | | | | 59,003,644 | | | | | | | | |
Beginning balance at Dec. 31, 2019 | (152,574) | | | | | | 4,738 | | | 74 | (157,386) | |
Redeemable convertible preferred stock, beginning balance, shares at Dec. 31, 2019 | | | | | | | | | | | | 39,600,423 |
Redeemable convertible preferred stock, beginning balance at Dec. 31, 2019 | | | | | | | | | | | | $ 305,109 |
Beginning balance, shares at Dec. 31, 2019 | | | | 3,292,124 | | | | | | | | |
Net unrealized gain (loss) on marketable securities | 217 | | | | | | | | | | | |
Net loss | (46,734) | | | | | | | | | | | |
Ending balance at Jun. 30, 2020 | 360,498 | | | $ 6 | | | 564,321 | | | 291 | (204,120) | |
Ending balance, shares at Jun. 30, 2020 | | | | 59,015,868 | | | | | | | | |
Beginning balance at Mar. 31, 2020 | 385,316 | | | $ 6 | | | 562,179 | | | 36 | (176,905) | |
Beginning balance, shares at Mar. 31, 2020 | | | | 59,003,644 | | | | | | | | |
Issuance of common stock pursuant to stock option exercises | 86 | | | | | | 86 | | | | | |
Issuance of common stock pursuant to stock option exercises, shares | | | | 21,578 | | | | | | | | |
Vesting of early exercised stock options | 39 | | | | | | 39 | | | | | |
Repurchase of common stock, shares | | | | (9,354) | | | | | | | | |
Stock-based compensation expense | 2,017 | | | | | | 2,017 | | | | | |
Net unrealized gain (loss) on marketable securities | 255 | | | | | | | | | 255 | | |
Net loss | (27,215) | | | | | | | | | | (27,215) | |
Ending balance at Jun. 30, 2020 | 360,498 | | | $ 6 | | | 564,321 | | | 291 | (204,120) | |
Ending balance, shares at Jun. 30, 2020 | | | | 59,015,868 | | | | | | | | |
Beginning balance at Dec. 31, 2020 | $ 474,676 | | | $ 7 | | | 740,098 | | | 116 | (265,545) | |
Redeemable convertible preferred stock, beginning balance, shares at Dec. 31, 2020 | 0 | | | | | | | | | | | |
Beginning balance, shares at Dec. 31, 2020 | | | | 66,599,748 | | | | | | | | |
Issuance of common stock upon offering, net of offering costs | | $ 281,145 | | | $ 1 | | | $ 281,144 | | | | |
Issuance of common stock upon offering, net of offering costs, shares | | | | | 6,666,666 | | | | | | | |
Issuance of common stock pursuant to stock option exercises | $ 555 | | | | | | 555 | | | | | |
Issuance of common stock pursuant to stock option exercises, shares | | | | 166,897 | | | | | | | | |
Issuance of common stock related to vesting of restricted stock units, shares | | | | 1,798 | | | | | | | | |
Vesting of early exercised stock options | 46 | | | | | | 46 | | | | | |
Stock-based compensation expense | 3,387 | | | | | | 3,387 | | | | | |
Net unrealized gain (loss) on marketable securities | (53) | | | | | | | | | (53) | | |
Net loss | (37,176) | | | | | | | | | | (37,176) | |
Ending balance at Mar. 31, 2021 | 722,580 | | | $ 8 | | | 1,025,230 | | | 63 | (302,721) | |
Ending balance, shares at Mar. 31, 2021 | | | | 73,435,109 | | | | | | | | |
Beginning balance at Dec. 31, 2020 | $ 474,676 | | | $ 7 | | | 740,098 | | | 116 | (265,545) | |
Redeemable convertible preferred stock, beginning balance, shares at Dec. 31, 2020 | 0 | | | | | | | | | | | |
Beginning balance, shares at Dec. 31, 2020 | | | | 66,599,748 | | | | | | | | |
Net unrealized gain (loss) on marketable securities | $ (107) | | | | | | | | | | | |
Net loss | (81,475) | | | | | | | | | | | |
Ending balance at Jun. 30, 2021 | $ 685,006 | | | $ 8 | | | 1,032,009 | | | 9 | (347,020) | |
Redeemable convertible preferred stock, ending balance, shares at Jun. 30, 2021 | 0 | | | | | | | | | | | |
Ending balance, shares at Jun. 30, 2021 | | | | 73,576,989 | | | | | | | | |
Beginning balance at Mar. 31, 2021 | $ 722,580 | | | $ 8 | | | 1,025,230 | | | 63 | (302,721) | |
Beginning balance, shares at Mar. 31, 2021 | | | | 73,435,109 | | | | | | | | |
Issuance of common stock pursuant to stock option exercises | 257 | | | | | | 257 | | | | | |
Issuance of common stock pursuant to stock option exercises, shares | | | | 64,862 | | | | | | | | |
Issuance of common stock related to employee stock purchase plan | 1,175 | | | | | | 1,175 | | | | | |
Issuance of common stock related to employee stock purchase plan, shares | | | | 46,201 | | | | | | | | |
Issuance of common stock related to vesting of restricted stock units, shares | | | | 30,817 | | | | | | | | |
Vesting of early exercised stock options | 34 | | | | | | 34 | | | | | |
Stock-based compensation expense | 5,313 | | | | | | 5,313 | | | | | |
Net unrealized gain (loss) on marketable securities | (54) | | | | | | | | | (54) | | |
Net loss | (44,299) | | | | | | | | | | (44,299) | |
Ending balance at Jun. 30, 2021 | $ 685,006 | | | $ 8 | | | $ 1,032,009 | | | $ 9 | $ (347,020) | |
Redeemable convertible preferred stock, ending balance, shares at Jun. 30, 2021 | 0 | | | | | | | | | | | |
Ending balance, shares at Jun. 30, 2021 | | | | 73,576,989 | | | | | | | | |