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