Restructuring Plan - Additional Information (Detail) - USD ($) |
12 Months Ended | ||
|---|---|---|---|
Jan. 25, 2023 |
Dec. 31, 2024 |
Dec. 31, 2023 |
|
| Restructuring Costs [Line Items] | |||
| Employee reduction percentage | 7.00% | ||
| Restructuring charges | $ 3,990,000 | $ 96,843,000 | |
| Liabilities accrued | $ 0 | ||
| Severance, Employee Related Benefits And Other Costs [Member] | |||
| Restructuring Costs [Line Items] | |||
| Restructuring charges | 26,800,000 | ||
| Stock-Based Compensation Expense [Member] | |||
| Restructuring Costs [Line Items] | |||
| Restructuring charges | 1,000,000 | ||
| Facilities [Member] | |||
| Restructuring Costs [Line Items] | |||
| Restructuring charges | 70,000,000 | ||
| Global Office Spaces Leases [Member] | |||
| Restructuring Costs [Line Items] | |||
| Reduction in right-of use assets | 46,800,000 | ||
| Increase in operating lease liabilities | $ 5,900,000 | ||