Quarterly report pursuant to Section 13 or 15(d)

Summary of Significant Accounting Policies - Earnings per share (Details)

v3.22.2.2
Summary of Significant Accounting Policies - Earnings per share (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2022
Jun. 30, 2022
Mar. 31, 2022
Sep. 30, 2021
Jun. 30, 2021
Mar. 31, 2021
Sep. 30, 2022
Sep. 30, 2021
Numerator:                
Net income (loss) - basic $ (9,083) $ (6,982) $ (13,448) $ (37,049) $ (117) $ (25,489) $ (29,513) $ (62,656)
Effect of liability - classified warrants under the treasury stock method 37     16,537     (236) (823)
Net income (loss) attributable to common stockholders - basic $ (9,083)     $ (37,049)     $ (29,513) $ (318,478)
Denominator:                
Weighted average shares - basic 66,449,593     51,739,452     65,532,409 43,290,675
Weighted average shares - diluted 66,449,593     51,739,452     65,532,409 43,290,675
Net loss per share:                
Basic $ (0.14)     $ (0.72)     $ (0.45) $ (1.45)
Diluted (0.14)     (0.72)     (0.45) (1.45)
Net loss per share attributable to common stockholders:                
Basic (0.14)     (0.72)     (0.45) (7.36)
Diluted $ (0.14)     $ (0.72)     $ (0.45) $ (7.36)