| Business Combinations - Purchase Consideration (Details) - USD ($) $ in Thousands | 1 Months Ended | 11 Months Ended | 12 Months Ended | 
|---|---|---|---|
| Dec. 31, 2021 | Dec. 02, 2021 | Dec. 31, 2022 | |
| Business Combinations | |||
| Cash consideration | $ 47,879 | $ 4,989 | $ 5,500 | 
| P3 LLC | |||
| Business Combinations | |||
| Equity | 80,301 | ||
| Fair value of redeemable non-controlling interest | 1,807,428 | ||
| Stock compensation pre-combination services | 26,313 | ||
| Cash consideration | 18,405 | ||
| Payment of P3 LLC's transaction costs | 19,152 | ||
| Total purchase consideration | $ 1,951,599 | 
| X | ||||||||||
| 
- Definition Amount of non-controlling interests of the acquirer in consideration for the business combination. No definition available. 
 | 
| X | ||||||||||
| 
- Definition The amount of fair value of the unvested profits interests attributable to pre-combination services. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Amount of direct costs of the business combination including legal, accounting, and other costs incurred to consummate the business acquisition. No definition available. 
 | 
| 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 Amount of consideration transferred, consisting of acquisition-date fair value of assets transferred by the acquirer, liabilities incurred by the acquirer, and equity interest issued by the acquirer. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| 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 | ||||||||||
| 
- Definition The cash outflow associated with the acquisition of business during the period. The cash portion only of the acquisition price. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Details 
 |