Income Taxes - Summary of Reconciliation of Beginning and Ending Amount of Unrecognized Tax Benefits (Details) - USD ($) $ in Thousands |
12 Months Ended | |
|---|---|---|
Dec. 31, 2023 |
Dec. 31, 2022 |
|
| Reconciliation of Unrecognized Tax Benefits, Excluding Amounts Pertaining to Examined Tax Returns [Roll Forward] | ||
| Unrecognized tax benefits at beginning of year | $ 88,028 | $ 66,150 |
| Gross increase for tax positions of current year | 13,166 | 22,888 |
| Gross decrease due to statute expiration | (54) | (317) |
| Gross increase for tax positions of prior years | 140 | 676 |
| Gross decrease for tax positions of prior years | (12,689) | (1,185) |
| Decrease relating to settlements with taxing authorities | (43) | (184) |
| Unrecognized tax benefits balance at end of year | $ 88,548 | $ 88,028 |