Quarterly report pursuant to Section 13 or 15(d)

Summary of Significant Accounting Policies - Net Income (Loss) Per Share (Details)

v3.22.2.2
Summary of Significant Accounting Policies - Net Income (Loss) Per Share (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2022
Jun. 30, 2021
Accounting Policies [Abstract]        
Net (loss) income attributable to common stockholders $ (24,857) $ 14,759 $ (42,219) $ 2,202
Net (loss) income attributable to common stockholders $ (24,857) $ 14,759 $ (42,219) $ 2,202
Basic: Weighted -average number of shares outstanding (in shares) 153,519,283 110,040,532 146,052,371 94,577,520
Plus: Incremental shares from assumed conversion of options (in shares) 0 0 0 382
Incremental shares from assumed conversion of warrants (in shares) 0 0 0 12,871
Incremental shares from assumed conversion of convertible preferred stock (in shares) 0 846 0 846
Weighted-average number of shares outstanding, diluted (in shares) 153,519,283 110,041,378 146,052,371 94,591,619
Earnings (loss) per share, basic (in usd per share) $ (0.16) $ 0.13 $ (0.29) $ 0.02
Earnings (loss) per share, diluted (in usd per share) $ (0.16) $ 0.13 $ (0.29) $ 0.02