v3.25.4
Net Income (Loss) per Ordinary Share - Schedule of Basic and Diluted Net Income (Loss) per Ordinary Share Computation (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
12 Months Ended
Dec. 31, 2025
Dec. 31, 2024
Dec. 31, 2023
Numerator:      
Net income (loss) $ (356,148) $ 560,120 $ 414,832
Effect of interest on assumed conversions of the 2026 Notes and the 2024 Notes, net of tax 0 10,762 24,876
Net income (loss) for dilutive net income (loss) per ordinary share $ (356,148) $ 570,882 $ 439,708
Denominator:      
Weighted-average ordinary shares used in per share calculations - basic (in shares) 60,981 61,838 63,291
Dilutive effect of the 2026 Notes and the 2024 Notes (in shares) 0 3,540 8,016
Dilutive effect of employee equity incentive and purchase plans (in shares) 0 629 759
Weighted-average ordinary shares used in per share calculations - diluted (in shares) 60,981 66,007 72,066
Net income (loss) per ordinary share:      
Basic (in dollars per share) $ (5.84) $ 9.06 $ 6.55
Diluted (in dollars per share) $ (5.84) $ 8.65 $ 6.10