Quarterly report pursuant to Section 13 or 15(d)

Recurring Fair Value Measurements - Summary of Assets and Liabilities that are Measured at Fair Value on a Recurring Basis (Detail)

v3.23.2
Recurring Fair Value Measurements - Summary of Assets and Liabilities that are Measured at Fair Value on a Recurring Basis (Detail) - Fair Value Measurements Recurring [Member] - USD ($)
Jun. 30, 2023
Dec. 31, 2022
Level 1 [Member]    
Assets:    
Total Assets   $ 356,976,495
Liabilities:    
Total Liabilities $ 1,536,975 1,093,650
Level 1 [Member] | Money Market Funds [Member]    
Assets:    
Investments held in Trust Account   356,976,495
Level 1 [Member] | Public Warrants [Member]    
Liabilities:    
Warrants 1,536,975 1,093,650
Level 3 [Member]    
Liabilities:    
Total Liabilities 1,585,700 1,125,515
Level 3 [Member] | Private Warrants [Member]    
Liabilities:    
Warrants $ 1,585,700 $ 1,125,515