Recurring Fair Value Measurements - Additional information (Detail) - Fair Value, Recurring [Member] - USD ($)  | 
Sep. 30, 2021  | 
Dec. 31, 2020  | 
|---|---|---|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ||
| Aggregate fair value of public warrants | $ 16,033,950 | $ 33,807,463 | 
| Public Warrants [Member] | ||
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ||
| Aggregate fair value of public warrants | 10,200,000 | $ 21,995,964 | 
| Public Warrants [Member] | Warrant Liability [Member] | ||
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ||
| Aggregate fair value of public warrants | $ 10,200,000 | 
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. No definition available. 
  | 
| X | ||||||||||
- Definition Fair value of financial and nonfinancial obligations. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  |