Condensed Consolidated Statements of Redeemable Convertible Preferred Stock and Stockholders' Equity (Deficit) (Unaudited) - USD ($) $ in Thousands | Total | Common Stock | Additional Paid-in Capital | Accumulated Other Comprehensive Income (Loss) | Accumulated Deficit | Redeemable Convertible Preferred Stock |
Beginning balance at Dec. 31, 2020 | $ (272,102) | $ 3 | $ 124,755 | $ 187 | $ (397,047) | |
Beginning balance, shares at Dec. 31, 2020 | | | | | | 85,331,278 |
Beginning balance at Dec. 31, 2020 | | | | | | $ 727,474 |
Beginning balance, shares at Dec. 31, 2020 | | 30,707,113 | | | | |
Exercise of stock options | 11,038 | | 11,038 | | | |
Exercise of stock options, shares | | 1,264,484 | | | | |
Stock-based compensation | 9,710 | | 9,710 | | | |
Stock-based compensation | | | | | | $ 676 |
Foreign currency translation adjustment | (24) | | | (24) | | |
Net loss | (13,732) | | | | (13,732) | |
Ending balance at Mar. 31, 2021 | (265,110) | $ 3 | 145,503 | 163 | (410,779) | |
Ending balance, shares at Mar. 31, 2021 | | | | | | 85,331,278 |
Ending balance at Mar. 31, 2021 | | | | | | $ 728,150 |
Ending balance, shares at Mar. 31, 2021 | | 31,971,597 | | | | |
Beginning balance at Dec. 31, 2020 | (272,102) | $ 3 | 124,755 | 187 | (397,047) | |
Beginning balance, shares at Dec. 31, 2020 | | | | | | 85,331,278 |
Beginning balance at Dec. 31, 2020 | | | | | | $ 727,474 |
Beginning balance, shares at Dec. 31, 2020 | | 30,707,113 | | | | |
Net loss | (214,193) | | | | | |
Ending balance at Sep. 30, 2021 | 1,121,585 | $ 13 | 1,733,411 | (599) | (611,240) | |
Ending balance, shares at Sep. 30, 2021 | | 131,956,462 | | | | |
Beginning balance at Mar. 31, 2021 | (265,110) | $ 3 | 145,503 | 163 | (410,779) | |
Beginning balance, shares at Mar. 31, 2021 | | | | | | 85,331,278 |
Beginning balance at Mar. 31, 2021 | | | | | | $ 728,150 |
Beginning balance, shares at Mar. 31, 2021 | | 31,971,597 | | | | |
Exercise of stock options | 17,658 | | 17,658 | | | |
Exercise of stock options, shares | | 1,644,603 | | | | |
Stock-based compensation | 138,055 | | 138,055 | | | |
Stock-based compensation | | | | | | 225 |
Conversion of redeemable convertible preferred stock to common stock upon initial public offering | 728,375 | $ 9 | 728,366 | | | $ (728,375) |
Conversion of redeemable convertible preferred stock to common stock, shares | | 85,331,278 | | | | (85,331,278) |
Issuance of common stock upon initial public offering, net of underwriting discounts and offering costs | 657,618 | $ 1 | 657,617 | | | |
Issuance of common stock upon initial public offering, net of underwriting discounts and offering costs, shares | | 10,410,000 | | | | |
Issuance of common stock, net of common stock withheld for tax liability upon settlement of restricted stock units | (15) | | (15) | | | |
Issuance of common stock, net of common stock withheld for tax liability, upon settlement of restricted stock units, shares | | 1,709,527 | | | | |
Foreign currency translation adjustment | (200) | | | (200) | | |
Net loss | (149,719) | | | | (149,719) | |
Ending balance at Jun. 30, 2021 | 1,126,662 | $ 13 | 1,687,184 | (37) | (560,498) | |
Ending balance, shares at Jun. 30, 2021 | | 131,067,005 | | | | |
Exercise of stock options | 5,782 | | 5,782 | | | |
Exercise of stock options, shares | | 529,934 | | | | |
Stock-based compensation | 40,434 | | 40,434 | | | |
Issuance of common stock upon settlement of restricted stock units, shares | | 359,523 | | | | |
Offering costs | 11 | | 11 | | | |
Foreign currency translation adjustment | (562) | | | (562) | | |
Net loss | (50,742) | | | | (50,742) | |
Ending balance at Sep. 30, 2021 | 1,121,585 | $ 13 | 1,733,411 | (599) | (611,240) | |
Ending balance, shares at Sep. 30, 2021 | | 131,956,462 | | | | |
Beginning balance at Dec. 31, 2021 | 1,189,289 | $ 13 | 1,852,071 | (583) | (662,212) | |
Beginning balance, shares at Dec. 31, 2021 | | 134,046,926 | | | | |
Exercise of stock options | 6,795 | | 6,795 | | | |
Exercise of stock options, shares | | 697,998 | | | | |
Stock-based compensation | 39,375 | | 39,375 | | | |
Issuance of common stock upon settlement of restricted stock units, shares | | 706,663 | | | | |
Foreign currency translation adjustment | 345 | | | 345 | | |
Net loss | (71,419) | | | | (71,419) | |
Ending balance at Mar. 31, 2022 | 1,164,385 | $ 13 | 1,898,241 | (238) | (733,631) | |
Ending balance, shares at Mar. 31, 2022 | | 135,451,587 | | | | |
Beginning balance at Dec. 31, 2021 | $ 1,189,289 | $ 13 | 1,852,071 | (583) | (662,212) | |
Beginning balance, shares at Dec. 31, 2021 | | 134,046,926 | | | | |
Exercise of stock options, shares | 1,498,783 | | | | | |
Net loss | $ (215,747) | | | | | |
Ending balance at Sep. 30, 2022 | 1,124,301 | $ 14 | 2,004,995 | (2,749) | (877,959) | |
Ending balance, shares at Sep. 30, 2022 | | 137,968,304 | | | | |
Beginning balance at Mar. 31, 2022 | 1,164,385 | $ 13 | 1,898,241 | (238) | (733,631) | |
Beginning balance, shares at Mar. 31, 2022 | | 135,451,587 | | | | |
Exercise of stock options | 8,220 | | 8,220 | | | |
Exercise of stock options, shares | | 509,505 | | | | |
Stock-based compensation | 35,790 | | 35,790 | | | |
Issuance of common stock upon settlement of restricted stock units | 1 | $ 1 | | | | |
Issuance of common stock upon settlement of restricted stock units, shares | | 552,401 | | | | |
Issuance of common stock for employee stock purchase plan | 11,513 | | 11,513 | | | |
Issuance of common stock for employee stock purchase plan, shares | | 286,997 | | | | |
Adjustment of holdback share release for business combination, shares | | (605) | | | | |
Foreign currency translation adjustment | (791) | | | (791) | | |
Net loss | (73,123) | | | | (73,123) | |
Ending balance at Jun. 30, 2022 | 1,145,995 | $ 14 | 1,953,764 | (1,029) | (806,754) | |
Ending balance, shares at Jun. 30, 2022 | | 136,799,885 | | | | |
Exercise of stock options | 4,232 | | 4,232 | | | |
Exercise of stock options, shares | | 291,280 | | | | |
Stock-based compensation | 46,999 | | 46,999 | | | |
Issuance of common stock upon settlement of restricted stock units, shares | | 877,139 | | | | |
Other comprehensive loss | (1,720) | | | (1,720) | | |
Net loss | (71,205) | | | | (71,205) | |
Ending balance at Sep. 30, 2022 | $ 1,124,301 | $ 14 | $ 2,004,995 | $ (2,749) | $ (877,959) | |
Ending balance, shares at Sep. 30, 2022 | | 137,968,304 | | | | |