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.23.3
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, 2023
Sep. 30, 2022
Sep. 30, 2023
Sep. 30, 2022
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]        
Antidilutive securities excluded from computation of earnings per share (in shares) 36,340,179 94,259,980 77,384,103 94,259,980
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 28,783,333 28,783,333 28,783,333
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) 3,596,979 23,201,266 29,342,561 23,201,266
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) 3,959,867 25,145,381 18,216,147 25,145,381
ESPP        
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]        
Antidilutive securities excluded from computation of earnings per share (in shares) 0   1,042,062  
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   17,130,000