Income Taxes - Uncertain Tax Positions (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2024 |
Dec. 31, 2023 |
Dec. 31, 2022 |
|
| Unrecognized Tax Benefits [Roll Forward] | |||
| Gross unrecognized tax benefits—beginning balance | $ 163,266 | $ 137,357 | $ 114,813 |
| Increases related to tax positions taken in a prior year | 294 | 4,690 | 1,566 |
| Increases related to tax positions taken during current year | 52,701 | 39,895 | 25,355 |
| Decreases related to tax positions taken in a prior year | (8,624) | (513) | (3,781) |
| Decreases related to lapse of statute of limitations | (26,010) | (18,163) | (596) |
| Decreases related to settlements with taxing authorities | (150) | 0 | 0 |
| Gross unrecognized tax benefits—ending balance | $ 181,477 | $ 163,266 | $ 137,357 |
| X | ||||||||||
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. No definition available.
|
| X | ||||||||||
- Definition Amount of unrecognized tax benefits. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of decrease in unrecognized tax benefits resulting from tax positions taken in prior period tax returns. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of decrease in unrecognized tax benefits resulting from settlements with taxing authorities. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of increase in unrecognized tax benefits resulting from tax positions that have been or will be taken in current period tax return. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of increase in unrecognized tax benefits resulting from tax positions taken in prior period tax returns. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of decrease in unrecognized tax benefits resulting from lapses of applicable statutes of limitations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|