XML 126 R65.htm IDEA: XBRL DOCUMENT v3.24.0.1
Net Income (Loss) Per Share - Calculation of Basic and Diluted Net Income Per Share (Details) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Numerator:      
Net income (loss) $ 307,568 $ (694,288) $ 493,507
Add back interest expense, net of tax attributable to assumed conversion of convertible senior notes 6,336 0 4,900
Net income (loss) attributable to common stockholders—diluted $ 313,904 $ (694,288) $ 498,407
Denominator:      
Weighted average common shares outstanding—basic (in shares) 122,503,366 126,778,626 127,224,974
Weighted average common shares outstanding—diluted (in shares) 140,145,406 126,778,626 146,683,324
Net income (loss) per share attributable to common stockholders—basic (in dollars per shares) $ 2.51 $ (5.48) $ 3.88
Net income (loss) per share attributable to common stockholders—diluted (in dollars per share) $ 2.24 $ (5.48) $ 3.40
Common Stock      
Denominator:      
Dilutive effect of assumed conversion (in shares) 2,222,294 0 4,149,248
Restricted stock units      
Denominator:      
Dilutive effect of assumed conversion (in shares) 705,465 0 1,995,336
Convertible senior notes      
Denominator:      
Dilutive effect of assumed conversion of convertible senior notes 14,714,281 0 13,313,766