SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Reconciliation of the net income (Loss) per share of common stock (Details) - USD ($) |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Jun. 30, 2023 |
Jun. 30, 2022 |
Jun. 30, 2023 |
Jun. 30, 2022 |
|
| Class A Common stock | ||||
| Numerator: | ||||
| Allocation of net (loss) income | $ (886,698) | $ 1,493,683 | $ (2,264,201) | $ 3,712,398 |
| Denominator | ||||
| Weighted-average shares outstanding, Basic | 2,002,272 | 27,600,000 | 7,559,570 | 27,600,000 |
| Weighted-average shares outstanding, Diluted | 2,002,272 | 27,600,000 | 7,559,570 | 27,600,000 |
| Basic net (loss) income per common share | $ (0.44) | $ 0.05 | $ (0.30) | $ 0.13 |
| Diluted net (loss) income per common share | $ (0.44) | $ 0.05 | $ (0.30) | $ 0.13 |
| Class B common stock | ||||
| Numerator: | ||||
| Allocation of net (loss) income | $ (3,055,639) | $ 373,421 | $ (2,066,651) | $ 928,099 |
| Denominator | ||||
| Weighted-average shares outstanding, Basic | 6,900,000 | 6,900,000 | 6,900,000 | 6,900,000 |
| Weighted-average shares outstanding, Diluted | 6,900,000 | 6,900,000 | 6,900,000 | 6,900,000 |
| Basic net (loss) income per common share | $ (0.44) | $ 0.05 | $ (0.30) | $ 0.13 |
| Diluted net (loss) income per common share | $ (0.44) | $ 0.05 | $ (0.30) | $ 0.13 |