Quarterly report pursuant to Section 13 or 15(d)

Net income (Loss) Per Share Attributable to Common Stockholders - Schedule of Earnings Per Share, Basic and Diluted (Details)

v3.22.2.2
Net income (Loss) Per Share Attributable to Common Stockholders - Schedule of Earnings Per Share, Basic and Diluted (Details) - USD ($)
$ / shares in Units, $ in Thousands
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]        
Net income (loss), basic and diluted $ 7,662 $ (37,498) $ (75,032) $ (103,909)
Net income (loss) per share attributable to common stockholders, basic (in dollars per share) $ 0.05 $ (4.24) $ (1.13) $ (12.42)
Weighted-average shares used in computing net income (loss) per share attributable to common stockholders, basic (in shares) 154,995,402 8,837,011 66,393,538 8,366,464
Effect of dilutive common stock warrants outstanding (in shares) 318,957 0 0 0
Weighted-average shares used in computing net income (loss) per share attributable to common stockholders, diluted (in shares) 166,104,259 8,837,011 66,393,538 8,366,464
Net income (loss) per share attributable to common stockholders, diluted (in dollars per share) $ 0.05 $ (4.24) $ (1.13) $ (12.42)
Common stock options        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Weighted average number of shares outstanding, diluted, adjustment (in shares) 10,234,953 0 0 0
Restricted stock units        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Weighted average number of shares outstanding, diluted, adjustment (in shares) 554,947 0 0 0