XML 530 R91.htm IDEA: XBRL DOCUMENT v3.24.0.1
Net (Loss) Income Per Share - Schedule of 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, 2023
Dec. 31, 2022
Dec. 31, 2021
Numerator:      
Net (loss) income attributable to common stockholders $ (1,604,497) $ 173,377 $ (79,423)
Debt discount amortization 0 2,258 0
Net (loss) income available to common stockholders $ (1,604,497) $ 175,635 $ (79,423)
Denominator:      
Weighted average shares used to compute net (loss) income per share attributable to common stockholders, basic (in shares) 216,642 211,347 205,132
Weighted average effect of potentially dilutive shares to purchase common stock (in shares) 0 7,810 0
Weighted average shares used to compute net (loss) income per share attributable to common stockholders, diluted (in shares) 216,642 219,157 205,132
Net (loss) income per share attributable to common stockholders      
Basic (in dollars per share) $ (7.41) $ 0.82 $ (0.39)
Diluted (in dollars per share) $ (7.41) $ 0.80 $ (0.39)