v3.26.1
Net Income (Loss) Per Share - Calculation of Basic and Diluted Net Income (Loss) Per Share (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2026
Jun. 30, 2025
Numerator:        
Net income from continuing operations—basic $ 114,339 $ 45,638 $ 219,001 $ 10,551
Add back interest expense, net of tax attributable to assumed conversion of convertible senior notes 3,333 1,873 6,666 0
Net income from continuing operations—diluted 117,672 47,511 225,667 10,551
Net loss from discontinued operations—basic (160,989) (16,798) (195,971) (33,807)
Net loss from discontinued operations—diluted (160,989) (16,798) (195,971) (33,807)
Total net (loss) income—basic (46,650) 28,840 23,030 (23,256)
Add back interest expense, net of tax attributable to assumed conversion of convertible senior notes 3,333 1,873 6,666  
Total net (loss) income—diluted $ (43,317) $ 30,713 $ 29,696 $ (23,256)
Denominator:        
Weighted-average common shares outstanding—basic (in shares) 94,358 103,212 95,618 105,246
Dilutive effect of outstanding stock-based compensation awards (in shares) 2,730 2,243 2,417 2,147
Weighted-average common shares outstanding—diluted (in shares) 119,961 121,514 120,908 107,393
Basic net income (loss) per share attributable to common stockholders:        
Continuing operations (in dollars per share) $ 1.21 $ 0.44 $ 2.29 $ 0.10
Discontinued operations (in dollars per share) (1.70) (0.16) (2.05) (0.32)
Total basic net (loss) income per share attributable to common stockholders (in dollars per share) (0.49) 0.28 0.24 (0.22)
Diluted net income (loss) per share attributable to common stockholders:        
Continuing operations (in dollars per share) 0.98 0.39 1.87 0.10
Discontinued operations (in dollars per share) (1.34) (0.14) (1.62) (0.32)
Total diluted net (loss) income per share attributable to common stockholders (in dollars per share) $ (0.36) $ 0.25 $ 0.25 $ (0.22)
Convertible senior notes        
Denominator:        
Dilutive effect of assumed conversion of convertible senior notes (in shares) 22,873 16,059 22,873 0