v3.25.4
Net Income (Loss) per Ordinary Share (Tables)
12 Months Ended
Dec. 31, 2025
Earnings Per Share [Abstract]  
Schedule of Basic and Diluted Net Income (Loss) per Ordinary Share Computation
Basic and diluted net income (loss) per ordinary share were computed as follows (in thousands, except per share amounts):
 Year Ended December 31,
 202520242023
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— 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 - basic60,981 61,838 63,291 
Dilutive effect of the 2026 Notes and the 2024 Notes— 3,540 8,016 
Dilutive effect of employee equity incentive and purchase plans— 629 759 
Weighted-average ordinary shares used in per share calculations - diluted60,981 66,007 72,066 
Net income (loss) per ordinary share:
Basic $(5.84)$9.06 $6.55 
Diluted$(5.84)$8.65 $6.10 
Schedule of Weighted-Average Ordinary Shares Excluded from Computation of Diluted Net Income (Loss) per Share
The following table represents the weighted-average ordinary shares that were excluded from the computation of diluted net income (loss) per ordinary share for the years presented because including them would have an anti-dilutive effect (in thousands):
 Year Ended December 31,
 202520242023
Employee equity incentive and purchase plans4,369 4,074 2,973 
2030 Notes
3 — —