Quarterly report pursuant to Section 13 or 15(d)

Net Loss Per Share Attributable to Common Stockholders - Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share (Details)

v3.22.2
Net Loss Per Share Attributable to Common Stockholders - Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share (Details) - shares
6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of earnings per share (in shares) 96,401,952 389,920,536
Common stock warrants    
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of earnings per share (in shares) 28,783,333 758,516
Unvested restricted stock units    
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of earnings per share (in shares) 23,480,861 10,255,455
Unvested early exercised common stock options    
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of earnings per share (in shares) 5,381,017 8,556,236
Options to purchase common stock and unvested restricted stock awards    
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of earnings per share (in shares) 21,626,741 25,916,254
Earnout Shares    
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of earnings per share (in shares) 17,130,000 0
Redeemable convertible preferred stock    
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of earnings per share (in shares) 0 344,365,425
Redeemable convertible preferred stock warrants    
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of earnings per share (in shares) 0 68,650