Annual report pursuant to Section 13 and 15(d)

Net Income (Loss) Per Share - Computation of Basic and Diluted Net Income (Loss) per Share (Details)

v3.22.4
Net Income (Loss) Per Share - Computation of Basic and Diluted Net Income (Loss) per Share (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Numerator:      
Net income (loss) attributable to common stockholders $ 173,377 $ (79,423) $ (173,394)
Debt discount amortization 2,258 0 0
Net Income (loss) available to common stockholders $ 175,635 $ (79,423) $ (173,394)
Denominator:      
Weighted average shares used to compute net (loss) income per share attributable to common stockholders, basic (in shares) 211,347 205,132 139,606
Weighted average effect of potentially dilutive shares to purchase common stock (in shares) 7,810 0 0
Weighted average shares used to compute net (loss) income per share attributable to common stockholders, diluted (in shares) 219,157 205,132 139,606
Net income (loss) per share attributable to common stockholders      
Basic (in dollars per share) $ 0.82 $ (0.39) $ (1.24)
Diluted (in dollars per share) $ 0.80 $ (0.39) $ (1.24)