Condensed Consolidated Statement of Redeemable Convertible Preferred Stock and Stockholders' Equity (Deficit) - USD ($) $ in Thousands | Total | Common Stock | Additional Paid-in Capital | Accumulated Other Comprehensive Income (loss) | Accumulated Deficit |
Redeemable convertible preferred stock beginning balance (in shares) at Dec. 31, 2020 | 351,844,340 | | | | |
Redeemable convertible preferred stock beginning balance at Dec. 31, 2020 | $ 501,881 | | | | |
Redeemable convertible preferred stock ending balance (in shares) at Mar. 31, 2021 | 351,844,340 | | | | |
Redeemable convertible preferred stock ending balance at Mar. 31, 2021 | $ 501,881 | | | | |
Balance at the beginning of the period (in shares) at Dec. 31, 2020 | | 130,312,838 | | | |
Balance at the beginning of the period at Dec. 31, 2020 | (213,717) | $ 13 | $ 39,769 | $ 25 | $ (253,524) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Issuance of common stock upon exercise of vested options (in shares) | | 1,904,186 | | | |
Issuance of common stock upon exercise of options | 1,410 | | 1,410 | | |
Repurchase of early exercised stock options (in shares) | | (18,567) | | | |
Issuance of common stock upon early exercise of unvested options ( in shares) | | 319,883 | | | |
Vesting of early exercised stock options | 223 | | 223 | | |
Share-based compensation expense | 11,392 | | 11,392 | | |
Change in accumulated other comprehensive income (loss) | (45) | | | (45) | |
Net loss | (12,838) | | | | (12,838) |
Balance at the end of the period (in shares) at Mar. 31, 2021 | | 132,518,340 | | | |
Balance at the end of the period at Mar. 31, 2021 | $ (213,575) | $ 13 | 52,794 | (20) | (266,362) |
Redeemable convertible preferred stock beginning balance (in shares) at Dec. 31, 2020 | 351,844,340 | | | | |
Redeemable convertible preferred stock beginning balance at Dec. 31, 2020 | $ 501,881 | | | | |
Redeemable convertible preferred stock ending balance (in shares) at Jun. 30, 2021 | 0 | | | | |
Redeemable convertible preferred stock ending balance at Jun. 30, 2021 | $ 0 | | | | |
Balance at the beginning of the period (in shares) at Dec. 31, 2020 | | 130,312,838 | | | |
Balance at the beginning of the period at Dec. 31, 2020 | (213,717) | $ 13 | 39,769 | 25 | (253,524) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Net loss | (81,392) | | | | |
Balance at the end of the period (in shares) at Jun. 30, 2021 | | 538,883,451 | | | |
Balance at the end of the period at Jun. 30, 2021 | $ 1,585,986 | $ 54 | 1,920,936 | (88) | (334,916) |
Redeemable convertible preferred stock beginning balance (in shares) at Mar. 31, 2021 | 351,844,340 | | | | |
Redeemable convertible preferred stock beginning balance at Mar. 31, 2021 | $ 501,881 | | | | |
Preferred Stock | | | | | |
Conversion of redeemable convertible preferred stock to common stock upon initial public offering (in shares) | (351,844,340) | | | | |
Conversion of redeemable convertible preferred stock to common stock upon initial public offering | $ (501,881) | | | | |
Redeemable convertible preferred stock ending balance (in shares) at Jun. 30, 2021 | 0 | | | | |
Redeemable convertible preferred stock ending balance at Jun. 30, 2021 | $ 0 | | | | |
Balance at the beginning of the period (in shares) at Mar. 31, 2021 | | 132,518,340 | | | |
Balance at the beginning of the period at Mar. 31, 2021 | (213,575) | $ 13 | 52,794 | (20) | (266,362) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Issuance of common stock upon exercise of vested options (in shares) | | 859,343 | | | |
Issuance of common stock upon exercise of options | 1,161 | | 1,161 | | |
Repurchase of early exercised stock options (in shares) | | (9,897) | | | |
Issuance of common stock net settlement of restricted stock units (in shares) | | 730,186 | | | |
Issuance of common stock upon net settlement of restricted stock units | (10,273) | | (10,273) | | |
Vesting of common stock warrants | 2,102 | | 2,102 | | |
Issuance of common stock upon Initial public offering, net of issuance costs (in shares) | | 52,272,727 | | | |
Issuance of common stock upon initial public offering, net of issuance costs | 1,312,338 | $ 7 | 1,312,331 | | |
Conversion of redeemable convertible preferred stock to common stock upon initial public offering (in shares) | | 351,844,340 | | | |
Conversion of redeemable convertible preferred stock to common stock upon initial public offering | 501,881 | $ 34 | 501,847 | | |
Reclassification of redeemable convertible preferred stock warrant liabilities to common stock and additional paid-in capital upon initial public offering | 5,438 | | 5,438 | | |
Issuance of common stock upon exercise of common stock warrants (in shares) | | 668,412 | | | |
Issuance of common stock upon exercise of common stock warrants | 0 | | | | |
Share-based compensation expense | 55,536 | | 55,536 | | |
Change in accumulated other comprehensive income (loss) | (68) | | | (68) | |
Net loss | (68,554) | | | | (68,554) |
Balance at the end of the period (in shares) at Jun. 30, 2021 | | 538,883,451 | | | |
Balance at the end of the period at Jun. 30, 2021 | $ 1,585,986 | $ 54 | 1,920,936 | (88) | (334,916) |
Redeemable convertible preferred stock beginning balance (in shares) at Dec. 31, 2021 | 0 | | | | |
Redeemable convertible preferred stock beginning balance at Dec. 31, 2021 | $ 0 | | | | |
Redeemable convertible preferred stock ending balance (in shares) at Mar. 31, 2022 | 0 | | | | |
Redeemable convertible preferred stock ending balance at Mar. 31, 2022 | $ 0 | | | | |
Balance at the beginning of the period (in shares) at Dec. 31, 2021 | | 541,383,518 | | | |
Balance at the beginning of the period at Dec. 31, 2021 | 1,573,426 | $ 54 | 1,993,055 | (2,230) | (417,453) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Issuance of common stock upon exercise of vested options (in shares) | | 1,604,022 | | | |
Issuance of common stock upon exercise of options | 2,285 | | 2,285 | | |
Repurchase of early exercised stock options (in shares) | | (22,751) | | | |
Issuance of common stock net settlement of restricted stock units (in shares) | | 642,827 | | | |
Issuance of common stock upon net settlement of restricted stock units | (4,702) | | (4,702) | | |
Vesting of common stock warrants | 2,102 | | 2,102 | | |
Share-based compensation expense | 37,005 | | 37,005 | | |
Change in accumulated other comprehensive income (loss) | (5,886) | | | (5,886) | |
Net loss | (60,598) | | | | (60,598) |
Balance at the end of the period (in shares) at Mar. 31, 2022 | | 543,607,616 | | | |
Balance at the end of the period at Mar. 31, 2022 | $ 1,543,632 | $ 54 | 2,029,745 | (8,116) | (478,051) |
Redeemable convertible preferred stock beginning balance (in shares) at Dec. 31, 2021 | 0 | | | | |
Redeemable convertible preferred stock beginning balance at Dec. 31, 2021 | $ 0 | | | | |
Redeemable convertible preferred stock ending balance (in shares) at Jun. 30, 2022 | 0 | | | | |
Redeemable convertible preferred stock ending balance at Jun. 30, 2022 | $ 0 | | | | |
Balance at the beginning of the period (in shares) at Dec. 31, 2021 | | 541,383,518 | | | |
Balance at the beginning of the period at Dec. 31, 2021 | 1,573,426 | $ 54 | 1,993,055 | (2,230) | (417,453) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Net loss | (105,286) | | | | |
Balance at the end of the period (in shares) at Jun. 30, 2022 | | 545,933,730 | | | |
Balance at the end of the period at Jun. 30, 2022 | $ 1,534,557 | $ 54 | 2,067,435 | (10,193) | (522,739) |
Redeemable convertible preferred stock beginning balance (in shares) at Mar. 31, 2022 | 0 | | | | |
Redeemable convertible preferred stock beginning balance at Mar. 31, 2022 | $ 0 | | | | |
Redeemable convertible preferred stock ending balance (in shares) at Jun. 30, 2022 | 0 | | | | |
Redeemable convertible preferred stock ending balance at Jun. 30, 2022 | $ 0 | | | | |
Balance at the beginning of the period (in shares) at Mar. 31, 2022 | | 543,607,616 | | | |
Balance at the beginning of the period at Mar. 31, 2022 | 1,543,632 | $ 54 | 2,029,745 | (8,116) | (478,051) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | |
Issuance of common stock upon exercise of vested options (in shares) | | 1,314,467 | | | |
Issuance of common stock upon exercise of options | 1,543 | | 1,543 | | |
Repurchase of early exercised stock options (in shares) | | (28,268) | | | |
Issuance of common stock under employee stock purchase plan (in shares) | | 368,955 | | | |
Issuance of common stock under employee stock purchase plan | 2,775 | | 2,775 | | |
Issuance of common stock net settlement of restricted stock units (in shares) | | 670,960 | | | |
Issuance of common stock upon net settlement of restricted stock units | (3,878) | | (3,878) | | |
Vesting of common stock warrants | 2,102 | | 2,102 | | |
Share-based compensation expense | 35,148 | | 35,148 | | |
Change in accumulated other comprehensive income (loss) | (2,077) | | | (2,077) | |
Net loss | (44,688) | | | | (44,688) |
Balance at the end of the period (in shares) at Jun. 30, 2022 | | 545,933,730 | | | |
Balance at the end of the period at Jun. 30, 2022 | $ 1,534,557 | $ 54 | $ 2,067,435 | $ (10,193) | $ (522,739) |