Income Taxes - Summary of Activity Related to Gross Unrecognized Tax Benefits (Details) - USD ($) $ in Thousands |
12 Months Ended | |
|---|---|---|
Dec. 31, 2022 |
Dec. 31, 2021 |
|
| Reconciliation of Unrecognized Tax Benefits, Excluding Amounts Pertaining to Examined Tax Returns [Roll Forward] | ||
| Beginning balance of unrecognized tax benefits | $ 469,573 | $ 344,971 |
| Additions for current year tax positions | 47,366 | 119,938 |
| Additions for prior year tax positions | 115 | 180 |
| Reductions for prior year tax positions | (3,569) | (996) |
| Changes due to lapse of statute of limitations | (1,887) | (2,077) |
| Changes due to foreign currency translation adjustments | (929) | (357) |
| U.K. corporate rate increase | 0 | 7,914 |
| Ending balance of unrecognized tax benefits (excluding interest and penalties) | 510,669 | 469,573 |
| Interest and penalties associated with unrecognized tax benefits | 385 | 124 |
| Ending balance of unrecognized tax benefits (including interest and penalties) | $ 511,054 | $ 469,697 |