Income Taxes - Summary of Reconciliation of the Gross Unrecognized Tax Benefits (Detail) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2023 |
Dec. 31, 2022 |
Dec. 31, 2021 |
|
| Reconciliation of Unrecognized Tax Benefits, Excluding Amounts Pertaining to Examined Tax Returns [Roll Forward] | |||
| Unrecognized tax benefit beginning of year | $ 81,904 | $ 65,070 | $ 75,557 |
| Increases in current year tax positions | 14,346 | 5,733 | 19,638 |
| Increases in prior year tax positions | 15,766 | 11,497 | 967 |
| Decreases in prior year tax positions | 0 | (36) | (30,895) |
| Decreases in prior year tax positions due to settlements | 0 | (360) | (197) |
| Decreases in prior year tax positions due to lapse of statute of limitations | 0 | 0 | 0 |
| Unrecognized tax benefit end of year | $ 112,016 | $ 81,904 | $ 65,070 |