| CONSOLIDATED STATEMENTS OF STOCKHOLDERS'/MEMBERS' DEFICIT AND MEZZANINE EQUITY (Parenthetical) $ in Thousands | 12 Months Ended | 
|---|---|
| Dec. 31, 2022  USD ($) | |
| Additional Paid-in Capital [Member] | |
| Business Combinations, including the PIPE investment (net of issuance costs) | $ 195,300 | 
| Trust proceeds (net of redemptions) | 37,400 | 
| P3 Llc | |
| Business Combination, Consideration Transferred, Equity Interests Issued and Issuable | 80,301 | 
| P3 Llc | Additional Paid-in Capital [Member] | |
| Business Combination, Consideration Transferred, Equity Interests Issued and Issuable | $ 80,300 | 
| X | ||||||||||
| 
- Definition Value of shares for business combination and PIPE investment included in opening balance. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Amount of trust proceeds net of redemption. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Amount of equity interests of the acquirer, including instruments or interests issued or issuable in consideration for the business combination. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 |