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 Millions |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2026 |
Jun. 30, 2025 |
|
| Employee equity incentive and purchase plans | ||||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||
| Ordinary shares (in shares) | 0.1 | 6.8 | 0.4 | 5.3 |