Condensed Consolidated Statements of Convertible Preferred Stock and Stockholders’ Equity (Deficit) (unaudited) - USD ($) $ in Thousands | Total | Series A and Series B Warrants | Convertible preferred stock | Common Stock (Class A and B) | Common Stock (Class A and B)Series A and Series B Warrants | Common Stock (Class A and B)Convertible preferred stock | Additional Paid-in-Capital | Additional Paid-in-CapitalSeries A and Series B Warrants | Additional Paid-in-CapitalConvertible preferred stock | Accumulated Deficit | Accumulated other comprehensive income |
Temporary equity, shares outstanding at beginning of period (in shares) at Dec. 31, 2019 | 75,189,517 | | | | | | | | | | |
Temporary equity, carrying amount attributable to parent at beginning of period at Dec. 31, 2019 | $ 201,109 | | | | | | | | | | |
Increase (Decrease) in Temporary Equity [Roll Forward] | | | | | | | | | | | |
Issuance of Series D Convertible preferred stock inclusive of the convertible notes, net of issuance costs of $228 (in shares) | | | 35,349,630 | | | | | | | | |
Issuance of Series D convertible preferred stock inclusive of the convertible notes, net of issuance costs of $228 | | | $ 236,813 | | | | | | | | |
Temporary equity, shares outstanding at end of period (in shares) at Sep. 30, 2020 | 110,539,147 | | | | | | | | | | |
Temporary equity, carrying amount attributable to parent at end of period at Sep. 30, 2020 | $ 437,922 | | | | | | | | | | |
Common stock, shares outstanding at beginning period (in shares) at Dec. 31, 2019 | | | | 21,637,609 | | | | | | | |
Total stockholders’ equity (deficit) at beginning of period at Dec. 31, 2019 | (124,265) | | | $ 0 | | | $ 2,330 | | | $ (126,595) | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | |
Net loss | (61,240) | | | | | | | | | (61,240) | |
Other comprehensive income | 0 | | | | | | | | | | |
Stock option exercises and other (in shares) | | | | 296,883 | | | | | | | |
Stock option exercises and other | 227 | | | | | | 227 | | | | |
Stock-based compensation | 3,203 | | | | | | 3,203 | | | | |
Common stock, shares outstanding at end period (in shares) at Sep. 30, 2020 | | | | 21,934,492 | | | | | | | |
Total stockholders’ equity (deficit) at end of period at Sep. 30, 2020 | $ (182,075) | | | $ 0 | | | 5,760 | | | (187,835) | |
Temporary equity, shares outstanding at beginning of period (in shares) at Jun. 30, 2020 | 75,189,517 | | | | | | | | | | |
Temporary equity, carrying amount attributable to parent at beginning of period at Jun. 30, 2020 | $ 201,109 | | | | | | | | | | |
Increase (Decrease) in Temporary Equity [Roll Forward] | | | | | | | | | | | |
Issuance of Series D Convertible preferred stock inclusive of the convertible notes, net of issuance costs of $228 (in shares) | | | 35,349,630 | | | | | | | | |
Issuance of Series D convertible preferred stock inclusive of the convertible notes, net of issuance costs of $228 | $ 236,813 | | | | | | | | | | |
Temporary equity, shares outstanding at end of period (in shares) at Sep. 30, 2020 | 110,539,147 | | | | | | | | | | |
Temporary equity, carrying amount attributable to parent at end of period at Sep. 30, 2020 | $ 437,922 | | | | | | | | | | |
Common stock, shares outstanding at beginning period (in shares) at Jun. 30, 2020 | | | | 21,652,277 | | | | | | | |
Total stockholders’ equity (deficit) at beginning of period at Jun. 30, 2020 | (159,438) | | | $ 0 | | | 4,524 | | | (163,962) | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | |
Net loss | (23,873) | | | | | | | | | (23,873) | |
Other comprehensive income | 0 | | | | | | | | | | |
Stock option exercises and other (in shares) | | | | 282,215 | | | | | | | |
Stock option exercises and other | 211 | | | | | | 211 | | | | |
Stock-based compensation | 1,025 | | | | | | 1,025 | | | | |
Common stock, shares outstanding at end period (in shares) at Sep. 30, 2020 | | | | 21,934,492 | | | | | | | |
Total stockholders’ equity (deficit) at end of period at Sep. 30, 2020 | $ (182,075) | | | $ 0 | | | 5,760 | | | (187,835) | |
Temporary equity, shares outstanding at beginning of period (in shares) at Dec. 31, 2020 | 112,088,065 | | | | | | | | | | |
Temporary equity, carrying amount attributable to parent at beginning of period at Dec. 31, 2020 | $ 448,312 | | | | | | | | | | |
Increase (Decrease) in Temporary Equity [Roll Forward] | | | | | | | | | | | |
Conversion of preferred stock to common stock (in shares) | (112,088,065) | | | | | | | | | | |
Conversion of preferred stock to common stock | $ (448,312) | | | | | | | | | | |
Temporary equity, shares outstanding at end of period (in shares) at Sep. 30, 2021 | 0 | | | | | | | | | | |
Temporary equity, carrying amount attributable to parent at end of period at Sep. 30, 2021 | $ 0 | | | | | | | | | | |
Common stock, shares outstanding at beginning period (in shares) at Dec. 31, 2020 | 22,314,685 | | | 22,314,685 | | | | | | | |
Total stockholders’ equity (deficit) at beginning of period at Dec. 31, 2020 | $ (206,289) | | | $ 0 | | | 7,312 | | | (213,601) | $ 0 |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | |
Net loss | (121,546) | | | | | | | | | (121,546) | |
Other comprehensive income | 2 | | | | | | | | | | 2 |
Common stock issuance for initial public offering, net of issuance costs (in shares) | | | | 27,878,787 | | | | | | | |
Common stock issuance for initial public offering, net of issuance costs | $ 462,354 | | | $ 1 | | | 462,353 | | | | |
Conversion of preferred stock to common stock (in shares) | | | | | 129,963 | 115,598,018 | | | | | |
Conversion of preferred stock to common stock and stock warrant exercises | | $ 2,340 | $ 448,312 | | | $ 1 | | $ 2,340 | $ 448,311 | | |
Stock option exercises and other (in shares) | 2,711,021 | | | 2,713,506 | | | | | | | |
Stock option exercises and other | $ 3,359 | | | | | | 3,359 | | | | |
Stock-based compensation | $ 10,500 | | | | | | 10,500 | | | | |
Common stock, shares outstanding at end period (in shares) at Sep. 30, 2021 | 168,634,959 | | | 168,634,959 | | | | | | | |
Total stockholders’ equity (deficit) at end of period at Sep. 30, 2021 | $ 599,032 | | | $ 2 | | | 934,175 | | | (335,147) | 2 |
Temporary equity, shares outstanding at beginning of period (in shares) at Jun. 30, 2021 | 0 | | | | | | | | | | |
Temporary equity, carrying amount attributable to parent at beginning of period at Jun. 30, 2021 | $ 0 | | | | | | | | | | |
Temporary equity, shares outstanding at end of period (in shares) at Sep. 30, 2021 | 0 | | | | | | | | | | |
Temporary equity, carrying amount attributable to parent at end of period at Sep. 30, 2021 | $ 0 | | | | | | | | | | |
Common stock, shares outstanding at beginning period (in shares) at Jun. 30, 2021 | | | | 168,425,907 | | | | | | | |
Total stockholders’ equity (deficit) at beginning of period at Jun. 30, 2021 | 642,714 | | | $ 2 | | | 930,431 | | | (287,719) | 0 |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | |
Net loss | (47,428) | | | | | | | | | (47,428) | |
Other comprehensive income | 2 | | | | | | | | | | 2 |
Stock option exercises and other (in shares) | | | | 209,052 | | | | | | | |
Stock option exercises and other | 382 | | | | | | 382 | | | | |
Stock-based compensation | $ 3,362 | | | | | | 3,362 | | | | |
Common stock, shares outstanding at end period (in shares) at Sep. 30, 2021 | 168,634,959 | | | 168,634,959 | | | | | | | |
Total stockholders’ equity (deficit) at end of period at Sep. 30, 2021 | $ 599,032 | | | $ 2 | | | $ 934,175 | | | $ (335,147) | $ 2 |