Quarterly report pursuant to Section 13 or 15(d)

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

v3.22.2.2
Net income (Loss) Per Share Attributable to Common Stockholders - Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share (Details) - shares
3 Months Ended 9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Total net income (loss) per share attributable to common stockholders, basic and diluted (in shares) 37,556,358 145,267,973 57,871,857 145,267,973
Convertible preferred stock        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Total net income (loss) per share attributable to common stockholders, basic and diluted (in shares) 0 115,287,015 0 115,287,015
Common stock options        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Total net income (loss) per share attributable to common stockholders, basic and diluted (in shares) 8,099,055 27,718,087 24,168,836 27,718,087
Restricted stock units        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Total net income (loss) per share attributable to common stockholders, basic and diluted (in shares) 303,643 640,348 4,052,914 640,348
Convertible preferred stock warrants        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Total net income (loss) per share attributable to common stockholders, basic and diluted (in shares) 0 735,760 0 735,760
Common stock warrants        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Total net income (loss) per share attributable to common stockholders, basic and diluted (in shares) 403,700 688,349 900,147 688,349
Private and Public Placement Warrants        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Total net income (loss) per share attributable to common stockholders, basic and diluted (in shares) 14,750,000 0 14,750,000 0
Earn-Out Shares        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Total net income (loss) per share attributable to common stockholders, basic and diluted (in shares) 13,999,960 0 13,999,960 0
Shares subject to repurchase        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Total net income (loss) per share attributable to common stockholders, basic and diluted (in shares) 0 198,414 0 198,414