Net Income (Loss) per Ordinary Share - Schedule of Weighted-Average Ordinary Shares Excluded from Computation of Diluted Net Income (Loss) per Share (Details) - shares shares in Thousands |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2025 |
Dec. 31, 2024 |
Dec. 31, 2023 |
|
| Employee equity incentive and purchase plans | |||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | |||
| Ordinary shares (in shares) | 4,369 | 4,074 | 2,973 |
| 2030 Notes | 2030 Notes | |||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | |||
| Ordinary shares (in shares) | 3 | 0 | 0 |