| Equity-Based Compensation - 2021 Incentive Award Plan (Details) - 2021 Plan - shares shares in Millions | 12 Months Ended | ||
|---|---|---|---|
| Dec. 31, 2021 | Dec. 31, 2024 | Jan. 01, 2022 | |
| Equity-Based Compensation | |||
| Aggregate number of shares reserved and available for issuance | 14.6 | 8.0 | |
| Annual increase, as percent of outstanding shares | 1.00% | ||
| Ratio of common units owned to Class A common stock to be maintained by P3 LLC | 1 | ||
| Stock options | |||
| Equity-Based Compensation | |||
| Option term | 10 years | ||
| Class A Common Stock | |||
| Equity-Based Compensation | |||
| Aggregate number of shares reserved and available for issuance | 7.0 | 
| X | ||||||||||
| 
- Definition The annual increase aggregate number of common shares reserved for future issuance as percent of stock outstanding on the final day of the immediately preceding quarter. No definition available. 
 | 
| X | ||||||||||
| 
- Definition The ratio of common units owned by the entity and number outstanding class A common stock be maintained by investee. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Aggregate number of common shares reserved for future issuance. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| 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. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition Period from grant date that an equity-based award expires, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Reference 1: http://www.xbrl.org/2003/role/exampleRef 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 |