Restructuring - Summary of Changes in the Restructuring Liability (Detail) $ in Thousands  | 
6 Months Ended | 
|---|---|
| 
 Jun. 30, 2023  
USD ($) 
 | |
| Disclosure Of Changes In The Restructuring Liability [Line Items] | |
| Beginning balance | $ 0 | 
| Accrued costs | 19,818 | 
| Payments | (7,593) | 
| Non-cash adjustments | 906 | 
| Ending balance | 13,131 | 
| Operations and technology optimization [Member] | |
| Disclosure Of Changes In The Restructuring Liability [Line Items] | |
| Beginning balance | 0 | 
| Accrued costs | 7,705 | 
| Payments | (2,040) | 
| Non-cash adjustments | 1,343 | 
| Ending balance | 7,008 | 
| Compensation and benefits [Member] | |
| Disclosure Of Changes In The Restructuring Liability [Line Items] | |
| Beginning balance | 0 | 
| Accrued costs | 1,599 | 
| Payments | (1,076) | 
| Non-cash adjustments | 0 | 
| Ending balance | 523 | 
| Asset impairment and other termination costs [Member] | |
| Disclosure Of Changes In The Restructuring Liability [Line Items] | |
| Beginning balance | 0 | 
| Accrued costs | 10,514 | 
| Payments | (4,477) | 
| Non-cash adjustments | (437) | 
| Ending balance | $ 5,600 | 
| X | ||||||||||
- Definition Disclosure of changes in the restructuring liability. No definition available. 
  | 
| X | ||||||||||
- Definition Non cash adjustments. No definition available. 
  | 
| X | ||||||||||
- Definition Amount of cash payments made as the result of exit or disposal activities. Excludes payments associated with a discontinued operation or an asset retirement obligation. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
  | 
| X | ||||||||||
- Definition Amount of expenses associated with exit or disposal activities pursuant to an authorized plan. Excludes expenses related to a discontinued operation or an asset retirement obligation. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition Carrying amount (including both current and noncurrent portions of the accrual) as of the balance sheet date pertaining to a specified type of cost associated with exit from or disposal of business activities or restructuring pursuant to a duly authorized plan. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  |