{
 "instance": {
  "piii-20211231x10k.htm": {
   "axisCustom": 1,
   "axisStandard": 32,
   "contextCount": 678,
   "dts": {
    "calculationLink": {
     "local": [
      "piii-20211231_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "piii-20211231_def.xml"
     ]
    },
    "inline": {
     "local": [
      "piii-20211231x10k.htm"
     ]
    },
    "labelLink": {
     "local": [
      "piii-20211231_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "piii-20211231_pre.xml"
     ]
    },
    "schema": {
     "local": [
      "piii-20211231.xsd"
     ],
     "remote": [
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
      "http://www.xbrl.org/lrr/arcrole/esma-arcrole-2018-11-21.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/net-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd",
      "https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd",
      "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd",
      "https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd",
      "https://xbrl.fasb.org/srt/2021/elts/srt-roles-2021-01-31.xsd",
      "https://xbrl.fasb.org/srt/2021/elts/srt-types-2021-01-31.xsd",
      "https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd",
      "https://xbrl.fasb.org/us-gaap/2021/elts/us-roles-2021-01-31.xsd",
      "https://xbrl.fasb.org/us-gaap/2021/elts/us-types-2021-01-31.xsd",
      "https://xbrl.sec.gov/country/2021/country-2021.xsd",
      "https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd"
     ]
    }
   },
   "elementCount": 854,
   "entityCount": 1,
   "hidden": {
    "http://fasb.org/us-gaap/2021-01-31": 41,
    "http://www.p3hp.org/20211231": 2,
    "http://xbrl.sec.gov/dei/2021q4": 5,
    "total": 48
   },
   "keyCustom": 163,
   "keyStandard": 382,
   "memberCustom": 85,
   "memberStandard": 36,
   "nsprefix": "piii",
   "nsuri": "http://www.p3hp.org/20211231",
   "report": {
    "R1": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "document",
     "isDefault": "true",
     "longName": "00090 - Document - Document and Entity Information",
     "role": "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation",
     "shortName": "Document and Entity Information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R10": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ErrorCorrectionTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "10201 - Disclosure - Restatement of Previously Issued Financial Statements",
     "role": "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatements",
     "shortName": "Restatement of Previously Issued Financial Statements",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ErrorCorrectionTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R100": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:PreferredStockSharesAuthorized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_shares_MBtOv5j9U0qG38o09JM-aQ",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "41801 - Disclosure - Capitalization and Management Incentive Units - Class A Units (Details)",
     "role": "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails",
     "shortName": "Capitalization and Management Incentive Units - Class A Units (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:PreferredStockSharesAuthorized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_shares_MBtOv5j9U0qG38o09JM-aQ",
      "xsiNil": "false"
     }
    },
    "R101": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:PreferredUnitsAuthorized",
       "us-gaap:PreferredUnitsAuthorized",
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_us-gaap_PreferredUnitsByNameAxis_piii_ClassBPreferredUnitsMember_zgwku4iOqE-_eCz8V5c1TA",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:PreferredUnitsAuthorized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_shares_MBtOv5j9U0qG38o09JM-aQ",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "41802 - Disclosure - Capitalization and Management Incentive Units - Class B Units (Details)",
     "role": "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassBUnitsDetails",
     "shortName": "Capitalization and Management Incentive Units - Class B Units (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:PreferredUnitsAuthorized",
       "us-gaap:PreferredUnitsAuthorized",
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_us-gaap_PreferredUnitsByNameAxis_piii_ClassBPreferredUnitsMember_zgwku4iOqE-_eCz8V5c1TA",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:PreferredUnitsAuthorized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_shares_MBtOv5j9U0qG38o09JM-aQ",
      "xsiNil": "false"
     }
    },
    "R102": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_us-gaap_PreferredUnitsByNameAxis_piii_ClassCPreferredUnitsMember_LsZTEEB480e3bUvckgNPig",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:PreferredUnitsAuthorized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_shares_MBtOv5j9U0qG38o09JM-aQ",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "41803 - Disclosure - Capitalization and Management Incentive Units - Class C Units (Details)",
     "role": "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassCUnitsDetails",
     "shortName": "Capitalization and Management Incentive Units - Class C Units (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_us-gaap_PreferredUnitsByNameAxis_piii_ClassCPreferredUnitsMember_LsZTEEB480e3bUvckgNPig",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:PreferredUnitsAuthorized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_shares_MBtOv5j9U0qG38o09JM-aQ",
      "xsiNil": "false"
     }
    },
    "R103": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_12_3_2021_To_12_31_2021_SjDOA1OLqkK8FZ6d6F5Zdw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:RepaymentsOfLongTermDebt",
      "reportCount": 1,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "41804 - Disclosure - Capitalization and Management Incentive Units - Class D Units (Details)",
     "role": "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassDUnitsDetails",
     "shortName": "Capitalization and Management Incentive Units - Class D Units (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_11_14_2019_To_11_14_2019_us-gaap_PreferredUnitsByNameAxis_piii_ClassDPreferredUnitsMember_33RBwnRZzUKaKtEfs4qbxQ",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:ProceedsFromIssuanceOfPreferredLimitedPartnersUnits",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R104": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfNonvestedShareActivityTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_12_3_2021_To_12_31_2021_us-gaap_AwardTypeAxis_piii_TimeBasedProfitsInterestAwardsVestedMember_us-gaap_PreferredUnitsByNameAxis_piii_ClassVSharesMember_vT-Zyp82DUiw_VimhOlThw",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_shares_MBtOv5j9U0qG38o09JM-aQ",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "41901 - Disclosure - Share-Based Compensation - Summary of Class V Share-Based Compensation Activity (Details)",
     "role": "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfClassVShareBasedCompensationActivityDetails",
     "shortName": "Share-Based Compensation - Summary of Class V Share-Based Compensation Activity (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfNonvestedShareActivityTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_12_3_2021_To_12_31_2021_us-gaap_AwardTypeAxis_piii_TimeBasedProfitsInterestAwardsVestedMember_us-gaap_PreferredUnitsByNameAxis_piii_ClassVSharesMember_vT-Zyp82DUiw_VimhOlThw",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_shares_MBtOv5j9U0qG38o09JM-aQ",
      "xsiNil": "false"
     }
    },
    "R105": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfOtherShareBasedCompensationActivityTableTextBlock",
       "us-gaap:ScheduleOfNonvestedShareActivityTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2020_us-gaap_AwardTypeAxis_piii_TimeBasedProfitsInterestAwardsVestedMember_us-gaap_PreferredUnitsByNameAxis_piii_ClassCPreferredUnitsMember_yh72qBqTXEiZAZHk0TNuwg",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
      "reportCount": 1,
      "unitRef": "Unit_Standard_shares_MBtOv5j9U0qG38o09JM-aQ",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "41902 - Disclosure - Share-Based Compensation - Summary of Class C Profits Interest Activity (Details)",
     "role": "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfClassCProfitsInterestActivityDetails",
     "shortName": "Share-Based Compensation - Summary of Class C Profits Interest Activity (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfOtherShareBasedCompensationActivityTableTextBlock",
       "us-gaap:ScheduleOfNonvestedShareActivityTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2018_us-gaap_AwardTypeAxis_piii_TimeBasedProfitsInterestAwardsVestedMember_us-gaap_PreferredUnitsByNameAxis_piii_ClassCPreferredUnitsMember_gCTpLct8m0CiGO9Si8Bvxw",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_shares_MBtOv5j9U0qG38o09JM-aQ",
      "xsiNil": "false"
     }
    },
    "R106": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "piii:NumberOfExecutiveOfficers",
      "reportCount": 1,
      "unitRef": "Unit_Standard_item_L9LUrGGrI0Cr68YaTc4IiQ",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "41903 - Disclosure - Share-Based Compensation (Details)",
     "role": "http://www.p3hp.org/role/DisclosureShareBasedCompensationDetails",
     "shortName": "Share-Based Compensation (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2020_yVgRwumM7UKgMV1wLMeXhg",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R107": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_3_31_2021_To_3_31_2021_A6TM0Qlf602vVfPN53bMRQ",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_pure_5hpGB75VoU2OPR4kLjDpxA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "41904 - Disclosure - Share-Based Compensation - Summary of Valuation of Equity-Based Awards (Details)",
     "role": "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfValuationOfEquityBasedAwardsDetails",
     "shortName": "Share-Based Compensation - Summary of Valuation of Equity-Based Awards (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_3_31_2021_To_3_31_2021_A6TM0Qlf602vVfPN53bMRQ",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_pure_5hpGB75VoU2OPR4kLjDpxA",
      "xsiNil": "false"
     }
    },
    "R108": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_12_3_2021_To_12_31_2021_us-gaap_AwardTypeAxis_piii_ProfitsInterestsVestedTimeBasedAwardsMember_qFZx-Wx7KkubBhPFn2-BVg",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "piii:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodGrantDateFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "41905 - Disclosure - Share-Based Compensation - Summary of Compensation Costs (Details)",
     "role": "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfCompensationCostsDetails",
     "shortName": "Share-Based Compensation - Summary of Compensation Costs (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_12_3_2021_To_12_31_2021_us-gaap_AwardTypeAxis_piii_ProfitsInterestsVestedTimeBasedAwardsMember_qFZx-Wx7KkubBhPFn2-BVg",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "piii:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodGrantDateFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R109": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_12_3_2021_To_12_31_2021_SjDOA1OLqkK8FZ6d6F5Zdw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "42001 - Disclosure - Earnings (Loss) per Share - Computation of net loss per share (Details)",
     "role": "http://www.p3hp.org/role/DisclosureEarningsLossPerShareComputationOfNetLossPerShareDetails",
     "shortName": "Earnings (Loss) per Share - Computation of net loss per share (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_12_3_2021_To_12_31_2021_SjDOA1OLqkK8FZ6d6F5Zdw",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:NetIncomeLossAvailableToCommonStockholdersBasic",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R11": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubstantialDoubtAboutGoingConcernTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "10301 - Disclosure - Going Concern and Liquidity",
     "role": "http://www.p3hp.org/role/DisclosureGoingConcernAndLiquidity",
     "shortName": "Going Concern and Liquidity",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubstantialDoubtAboutGoingConcernTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R110": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_12_3_2021_To_12_31_2021_SjDOA1OLqkK8FZ6d6F5Zdw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_shares_MBtOv5j9U0qG38o09JM-aQ",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "42002 - Disclosure - Earnings (Loss) per Share - Computation of diluted net loss per share (Details)",
     "role": "http://www.p3hp.org/role/DisclosureEarningsLossPerShareComputationOfDilutedNetLossPerShareDetails",
     "shortName": "Earnings (Loss) per Share - Computation of diluted net loss per share (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_12_3_2021_To_12_31_2021_SjDOA1OLqkK8FZ6d6F5Zdw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_shares_MBtOv5j9U0qG38o09JM-aQ",
      "xsiNil": "false"
     }
    },
    "R111": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "piii:PremiumDeficiencyReserveCurrent",
      "reportCount": 1,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "42101 - Disclosure - Premium Deficiency Reserve (\"PDR\") (Details)",
     "role": "http://www.p3hp.org/role/DisclosurePremiumDeficiencyReservepdrDetails",
     "shortName": "Premium Deficiency Reserve (\"PDR\") (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R112": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:PropertyPlantAndEquipmentPolicyTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_srt_RangeAxis_srt_MaximumMember_1bAn8WxHZE2NFLDLa4RO8Q",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LesseeOperatingLeaseTermOfContract",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "42201 - Disclosure - Leases (Details)",
     "role": "http://www.p3hp.org/role/DisclosureLeasesDetails",
     "shortName": "Leases (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_srt_RangeAxis_srt_MinimumMember_us-gaap_PropertyPlantAndEquipmentByTypeAxis_us-gaap_RealEstateMember_soB4gw365kW8VlYC5sUqYw",
      "decimals": "INF",
      "lang": null,
      "name": "piii:NumberOfOptionsToRenew",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_Option_XBN_WEP0-EieEg6TRVe1Kg",
      "xsiNil": "false"
     }
    },
    "R113": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:LeaseCostTableTextBlock",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_12_3_2021_To_12_31_2021_SjDOA1OLqkK8FZ6d6F5Zdw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLeaseCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "42202 - Disclosure - Leases - Operating Lease Costs (Details)",
     "role": "http://www.p3hp.org/role/DisclosureLeasesOperatingLeaseCostsDetails",
     "shortName": "Leases - Operating Lease Costs (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:LeaseCostTableTextBlock",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_12_3_2021_To_12_31_2021_SjDOA1OLqkK8FZ6d6F5Zdw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLeaseCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R114": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "piii:ScheduleOfWeightedAverageRemainingLeaseTermsAndWeightedAverageDiscountRatesLeasesTableTextBlock",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OperatingLeaseWeightedAverageRemainingLeaseTerm1",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "42203 - Disclosure - Leases - Lease Terms And Discount Rates (Details)",
     "role": "http://www.p3hp.org/role/DisclosureLeasesLeaseTermsAndDiscountRatesDetails",
     "shortName": "Leases - Lease Terms And Discount Rates (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "piii:ScheduleOfWeightedAverageRemainingLeaseTermsAndWeightedAverageDiscountRatesLeasesTableTextBlock",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OperatingLeaseWeightedAverageRemainingLeaseTerm1",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R115": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "42204 - Disclosure - Leases - Future Minimum Lease Payments (Details)",
     "role": "http://www.p3hp.org/role/DisclosureLeasesFutureMinimumLeasePaymentsDetails",
     "shortName": "Leases - Future Minimum Lease Payments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R116": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLeaseLiabilityCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "42205 - Disclosure - Leases - Current Portions Of ROU Liabilities (Details)",
     "role": "http://www.p3hp.org/role/DisclosureLeasesCurrentPortionsOfRouLiabilitiesDetails",
     "shortName": "Leases - Current Portions Of ROU Liabilities (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLeaseLiabilityCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R117": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "piii:ScheduleOfSupplementalCashFlowsAndOtherInformationRelatedToLeasesTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_12_3_2021_To_12_31_2021_SjDOA1OLqkK8FZ6d6F5Zdw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "42206 - Disclosure - Leases - Supplemental Cash Flows And Other Information (Details)",
     "role": "http://www.p3hp.org/role/DisclosureLeasesSupplementalCashFlowsAndOtherInformationDetails",
     "shortName": "Leases - Supplemental Cash Flows And Other Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "piii:ScheduleOfSupplementalCashFlowsAndOtherInformationRelatedToLeasesTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_12_3_2021_To_12_31_2021_SjDOA1OLqkK8FZ6d6F5Zdw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R118": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:DefinedContributionPlanTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_12_3_2021_To_12_31_2021_SjDOA1OLqkK8FZ6d6F5Zdw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:DefinedContributionPlanEmployerDiscretionaryContributionAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "42301 - Disclosure - Retirement Plan (Details)",
     "role": "http://www.p3hp.org/role/DisclosureRetirementPlanDetails",
     "shortName": "Retirement Plan (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:DefinedContributionPlanTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_12_3_2021_To_12_31_2021_SjDOA1OLqkK8FZ6d6F5Zdw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:DefinedContributionPlanEmployerDiscretionaryContributionAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R119": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:MinorityInterestDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "piii:RedeemableNoncontrollingInterestEquityFairValueRemeasurementAdjustment",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "42401 - Disclosure - Redeemable Non-Controlling Interests (Details)",
     "role": "http://www.p3hp.org/role/DisclosureRedeemableNonControllingInterestsDetails",
     "shortName": "Redeemable Non-Controlling Interests (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:MinorityInterestDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "piii:RedeemableNoncontrollingInterestEquityFairValueRemeasurementAdjustment",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R12": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "10401 - Disclosure - Significant Accounting Policies",
     "role": "http://www.p3hp.org/role/DisclosureSignificantAccountingPolicies",
     "shortName": "Significant Accounting Policies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R120": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:SegmentReportingPolicyPolicyTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:NumberOfReportableSegments",
      "reportCount": 1,
      "unitRef": "Unit_Standard_segment_EgZTJZ1v4UeuVEkQfRP8KA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "42501 - Disclosure - Segment Reporting (Details)",
     "role": "http://www.p3hp.org/role/DisclosureSegmentReportingDetails",
     "shortName": "Segment Reporting (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R121": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_10_1_2021_To_12_31_2021_n3_g0-oYlEqO48xIUAcYHw",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "piii:NumberOfHealthPlansResultingInRenegotiation",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_plan_y4W-WgSddk2PnbYVpJB6wg",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "42601 - Disclosure - Commitments and Contingencies (Details)",
     "role": "http://www.p3hp.org/role/DisclosureCommitmentsAndContingenciesDetails",
     "shortName": "Commitments and Contingencies (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_10_1_2021_To_12_31_2021_n3_g0-oYlEqO48xIUAcYHw",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "piii:NumberOfHealthPlansResultingInRenegotiation",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_plan_y4W-WgSddk2PnbYVpJB6wg",
      "xsiNil": "false"
     }
    },
    "R122": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_2_2021_uJRa8AUnVUG7qiVj-OJlHQ",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableRelatedParties",
      "reportCount": 1,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "42701 - Disclosure - Related Parties (Details)",
     "role": "http://www.p3hp.org/role/DisclosureRelatedPartiesDetails",
     "shortName": "Related Parties (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_12_3_2021_To_12_31_2021_SjDOA1OLqkK8FZ6d6F5Zdw",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableRelatedPartiesAdditions",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R123": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "42801 - Disclosure - Variable Interest Entities (Details)",
     "role": "http://www.p3hp.org/role/DisclosureVariableInterestEntitiesDetails",
     "shortName": "Variable Interest Entities (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfVariableInterestEntitiesTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_srt_ConsolidatedEntitiesAxis_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_wycwnTHRqEqmdwy3HU61MQ",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R124": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "piii:WarrantsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_us-gaap_StatementClassOfStockAxis_us-gaap_CommonClassAMember_d2Xxb4hfm0iK-HHED8RAUg",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:ClassOfWarrantOrRightOutstanding",
      "reportCount": 1,
      "unitRef": "Unit_Standard_shares_MBtOv5j9U0qG38o09JM-aQ",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "42901 - Disclosure - Warrants (Details)",
     "role": "http://www.p3hp.org/role/DisclosureWarrantsDetails",
     "shortName": "Warrants (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "piii:WarrantsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_12_3_2021_To_12_31_2021_us-gaap_StatementClassOfStockAxis_us-gaap_CommonClassAMember_e05q2pAemUi6e0YWimzQuQ",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:FairValueAdjustmentOfWarrants",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R125": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "piii:HealthPlanSettlementReceivablesCurrent",
      "reportCount": 1,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "43001 - Disclosure - Restatement of Quarterly Financial Information (Unaudited) - Condensed (Details)",
     "role": "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails",
     "shortName": "Restatement of Quarterly Financial Information (Unaudited) - Condensed (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "piii:RestatementOfQuarterlyFinancialInformationOfBalanceSheetAndStatementOfOperationsTableTextBlock",
       "us-gaap:QuarterlyFinancialInformationTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_7_1_2021_To_9_30_2021_us-gaap_StatementClassOfStockAxis_piii_ClassPreferredUnitsMember_ru-8yK3ZsESAlsQ0U9GfRw",
      "decimals": "2",
      "lang": null,
      "name": "us-gaap:PreferredStockDividendRatePercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_pure_5hpGB75VoU2OPR4kLjDpxA",
      "xsiNil": "false"
     }
    },
    "R126": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:GoodwillAndIntangibleAssetsGoodwillPolicy",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_12_3_2021_To_12_31_2021_SjDOA1OLqkK8FZ6d6F5Zdw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:GoodwillImpairmentLoss",
      "reportCount": 1,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "43101 - Disclosure - Subsequent Events (Details)",
     "role": "http://www.p3hp.org/role/DisclosureSubsequentEventsDetails",
     "shortName": "Subsequent Events (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:SubsequentEventsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_4_1_2022_To_6_30_2022_us-gaap_SubsequentEventTypeAxis_us-gaap_SubsequentEventMember_-0J7FWZtjUamaElWP7vArw",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:GoodwillImpairmentLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R13": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "piii:RecentAccountingPronouncementsAdoptedTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "10501 - Disclosure - Recent Accounting Pronouncements Adopted",
     "role": "http://www.p3hp.org/role/DisclosureRecentAccountingPronouncementsAdopted",
     "shortName": "Recent Accounting Pronouncements Adopted",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "piii:RecentAccountingPronouncementsAdoptedTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R14": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "piii:RecentAccountingPronouncementsNotYetAdoptedTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "10601 - Disclosure - Recent Accounting Pronouncements Not Yet Adopted",
     "role": "http://www.p3hp.org/role/DisclosureRecentAccountingPronouncementsNotYetAdopted",
     "shortName": "Recent Accounting Pronouncements Not Yet Adopted",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "piii:RecentAccountingPronouncementsNotYetAdoptedTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R15": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BusinessCombinationDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "10701 - Disclosure - Business Combinations",
     "role": "http://www.p3hp.org/role/DisclosureBusinessCombinations",
     "shortName": "Business Combinations",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BusinessCombinationDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R16": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "10801 - Disclosure - Fair Value Measurements and Hierarchy",
     "role": "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchy",
     "shortName": "Fair Value Measurements and Hierarchy",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R17": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FinancingReceivablesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "10901 - Disclosure - Patient Fees Receivable",
     "role": "http://www.p3hp.org/role/DisclosurePatientFeesReceivable",
     "shortName": "Patient Fees Receivable",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FinancingReceivablesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R18": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "11001 - Disclosure - Property and Equipment",
     "role": "http://www.p3hp.org/role/DisclosurePropertyAndEquipment",
     "shortName": "Property and Equipment",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R19": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:GoodwillDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "11101 - Disclosure - Goodwill",
     "role": "http://www.p3hp.org/role/DisclosureGoodwill",
     "shortName": "Goodwill",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:GoodwillDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R2": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "00100 - Statement - CONSOLIDATED BALANCE SHEETS",
     "role": "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets",
     "shortName": "CONSOLIDATED BALANCE SHEETS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:OperatingLeaseRightOfUseAsset",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R20": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IntangibleAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "11201 - Disclosure - Intangible Assets",
     "role": "http://www.p3hp.org/role/DisclosureIntangibleAssets",
     "shortName": "Intangible Assets",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IntangibleAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R21": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "11301 - Disclosure - Notes Receivable, Net",
     "role": "http://www.p3hp.org/role/DisclosureNotesReceivableNet",
     "shortName": "Notes Receivable, Net",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R22": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "piii:TaxReceivableAgreementTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "11401 - Disclosure - Tax Receivable Agreement",
     "role": "http://www.p3hp.org/role/DisclosureTaxReceivableAgreement",
     "shortName": "Tax Receivable Agreement",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "piii:TaxReceivableAgreementTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R23": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LiabilityForFuturePolicyBenefitsAndUnpaidClaimsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "11501 - Disclosure - Claims Payable",
     "role": "http://www.p3hp.org/role/DisclosureClaimsPayable",
     "shortName": "Claims Payable",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LiabilityForFuturePolicyBenefitsAndUnpaidClaimsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R24": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LongTermDebtTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "11601 - Disclosure - Debt",
     "role": "http://www.p3hp.org/role/DisclosureDebt",
     "shortName": "Debt",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LongTermDebtTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R25": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "11701 - Disclosure - Income Taxes",
     "role": "http://www.p3hp.org/role/DisclosureIncomeTaxes",
     "shortName": "Income Taxes",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R26": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PartnersCapitalNotesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "11801 - Disclosure - Capitalization and Management Incentive Units",
     "role": "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnits",
     "shortName": "Capitalization and Management Incentive Units",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PartnersCapitalNotesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R27": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "11901 - Disclosure - Share-Based Compensation",
     "role": "http://www.p3hp.org/role/DisclosureShareBasedCompensation",
     "shortName": "Share-Based Compensation",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R28": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "12001 - Disclosure - Earnings (Loss) per Share",
     "role": "http://www.p3hp.org/role/DisclosureEarningsLossPerShare",
     "shortName": "Earnings (Loss) per Share",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R29": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "piii:PremiumDeficiencyReserveTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "12101 - Disclosure - Premium Deficiency Reserve (\"PDR\")",
     "role": "http://www.p3hp.org/role/DisclosurePremiumDeficiencyReservepdr",
     "shortName": "Premium Deficiency Reserve (\"PDR\")",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "piii:PremiumDeficiencyReserveTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R3": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "link:footnote",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentsInAndAdvancesToAffiliatesBalancePrincipalAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "00105 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)",
     "role": "http://www.p3hp.org/role/StatementConsolidatedBalanceSheetsParenthetical",
     "shortName": "CONSOLIDATED BALANCE SHEETS (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "link:footnote",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:InvestmentsInAndAdvancesToAffiliatesBalancePrincipalAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R30": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LesseeOperatingLeasesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "12201 - Disclosure - Leases",
     "role": "http://www.p3hp.org/role/DisclosureLeases",
     "shortName": "Leases",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LesseeOperatingLeasesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R31": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DefinedContributionPlanTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "12301 - Disclosure - Retirement Plan",
     "role": "http://www.p3hp.org/role/DisclosureRetirementPlan",
     "shortName": "Retirement Plan",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DefinedContributionPlanTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R32": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:MinorityInterestDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "12401 - Disclosure - Redeemable Non-Controlling Interests",
     "role": "http://www.p3hp.org/role/DisclosureRedeemableNonControllingInterests",
     "shortName": "Redeemable Non-Controlling Interests",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:MinorityInterestDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R33": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SegmentReportingDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "12501 - Disclosure - Segment Reporting",
     "role": "http://www.p3hp.org/role/DisclosureSegmentReporting",
     "shortName": "Segment Reporting",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SegmentReportingDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R34": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "12601 - Disclosure - Commitments and Contingencies",
     "role": "http://www.p3hp.org/role/DisclosureCommitmentsAndContingencies",
     "shortName": "Commitments and Contingencies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R35": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "12701 - Disclosure - Related Parties",
     "role": "http://www.p3hp.org/role/DisclosureRelatedParties",
     "shortName": "Related Parties",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R36": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:VariableInterestEntityDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "12801 - Disclosure - Variable Interest Entities",
     "role": "http://www.p3hp.org/role/DisclosureVariableInterestEntities",
     "shortName": "Variable Interest Entities",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:VariableInterestEntityDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R37": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "piii:WarrantsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "12901 - Disclosure - Warrants",
     "role": "http://www.p3hp.org/role/DisclosureWarrants",
     "shortName": "Warrants",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "piii:WarrantsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R38": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:QuarterlyFinancialInformationTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "13001 - Disclosure - Restatement of Quarterly Financial Information (Unaudited)",
     "role": "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnaudited",
     "shortName": "Restatement of Quarterly Financial Information (Unaudited)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:QuarterlyFinancialInformationTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R39": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "13101 - Disclosure - Subsequent Events",
     "role": "http://www.p3hp.org/role/DisclosureSubsequentEvents",
     "shortName": "Subsequent Events",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R4": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_12_3_2021_To_12_31_2021_SjDOA1OLqkK8FZ6d6F5Zdw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
      "reportCount": 1,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "00200 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS",
     "role": "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations",
     "shortName": "CONSOLIDATED STATEMENTS OF OPERATIONS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_12_3_2021_To_12_31_2021_SjDOA1OLqkK8FZ6d6F5Zdw",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:GeneralAndAdministrativeExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R40": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "20302 - Disclosure - Significant Accounting Policies (Policies)",
     "role": "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPolicies",
     "shortName": "Significant Accounting Policies (Policies)",
     "subGroupType": "policies",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R41": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "30203 - Disclosure - Restatement of Previously Issued Financial Statements (Tables)",
     "role": "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsTables",
     "shortName": "Restatement of Previously Issued Financial Statements (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R42": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfCashAndCashEquivalentsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "30403 - Disclosure - Significant Accounting Policies (Tables)",
     "role": "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesTables",
     "shortName": "Significant Accounting Policies (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfCashAndCashEquivalentsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R43": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BusinessAcquisitionProFormaInformationTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "30703 - Disclosure - Business Combinations (Tables)",
     "role": "http://www.p3hp.org/role/DisclosureBusinessCombinationsTables",
     "shortName": "Business Combinations (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BusinessAcquisitionProFormaInformationTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R44": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "piii:ScheduleOfCarryingAmountOfFinancialInstrumentsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "30803 - Disclosure - Fair Value Measurements and Hierarchy (Tables)",
     "role": "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyTables",
     "shortName": "Fair Value Measurements and Hierarchy (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "piii:ScheduleOfCarryingAmountOfFinancialInstrumentsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R45": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:FinancingReceivablesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ContractWithCustomerAssetAndLiabilityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "30903 - Disclosure - Patient Fees Receivable (Tables)",
     "role": "http://www.p3hp.org/role/DisclosurePatientFeesReceivableTables",
     "shortName": "Patient Fees Receivable (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:FinancingReceivablesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ContractWithCustomerAssetAndLiabilityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R46": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "31003 - Disclosure - Property and Equipment (Tables)",
     "role": "http://www.p3hp.org/role/DisclosurePropertyAndEquipmentTables",
     "shortName": "Property and Equipment (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R47": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:GoodwillDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfGoodwillTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "31103 - Disclosure - Goodwill (Tables)",
     "role": "http://www.p3hp.org/role/DisclosureGoodwillTables",
     "shortName": "Goodwill (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:GoodwillDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfGoodwillTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R48": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:IntangibleAssetsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "31203 - Disclosure - Intangible Assets (Tables)",
     "role": "http://www.p3hp.org/role/DisclosureIntangibleAssetsTables",
     "shortName": "Intangible Assets (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:IntangibleAssetsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R49": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:LiabilityForFuturePolicyBenefitsAndUnpaidClaimsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfLiabilityForUnpaidClaimsAndClaimsAdjustmentExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "31503 - Disclosure - Claims Payable (Tables)",
     "role": "http://www.p3hp.org/role/DisclosureClaimsPayableTables",
     "shortName": "Claims Payable (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:LiabilityForFuturePolicyBenefitsAndUnpaidClaimsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfLiabilityForUnpaidClaimsAndClaimsAdjustmentExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R5": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2018_us-gaap_StatementEquityComponentsAxis_us-gaap_RetainedEarningsMember_f951w1itXUu5HpKLp-43gw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:LimitedLiabilityCompanyLlcMembersEquityIncludingPortionAttributableToNoncontrollingInterest",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "00300 - Statement - CONSOLIDATED STATEMENTS OF MEMBERS' EQUITY (DEFICIT)",
     "role": "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit",
     "shortName": "CONSOLIDATED STATEMENTS OF MEMBERS' EQUITY (DEFICIT)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2018_us-gaap_StatementEquityComponentsAxis_us-gaap_RetainedEarningsMember_f951w1itXUu5HpKLp-43gw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:LimitedLiabilityCompanyLlcMembersEquityIncludingPortionAttributableToNoncontrollingInterest",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R50": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDebtTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "31603 - Disclosure - Debt (Tables)",
     "role": "http://www.p3hp.org/role/DisclosureDebtTables",
     "shortName": "Debt (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDebtTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R51": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "31703 - Disclosure - Income Taxes (Tables)",
     "role": "http://www.p3hp.org/role/DisclosureIncomeTaxesTables",
     "shortName": "Income Taxes (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R52": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "31903 - Disclosure - Share-Based Compensation (Tables)",
     "role": "http://www.p3hp.org/role/DisclosureShareBasedCompensationTables",
     "shortName": "Share-Based Compensation (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R53": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "32003 - Disclosure - Earnings (Loss) per Share (Tables)",
     "role": "http://www.p3hp.org/role/DisclosureEarningsLossPerShareTables",
     "shortName": "Earnings (Loss) per Share (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R54": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LeaseCostTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "32203 - Disclosure - Leases (Tables)",
     "role": "http://www.p3hp.org/role/DisclosureLeasesTables",
     "shortName": "Leases (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LeaseCostTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R55": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "32703 - Disclosure - Related Parties (Tables)",
     "role": "http://www.p3hp.org/role/DisclosureRelatedPartiesTables",
     "shortName": "Related Parties (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R56": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfVariableInterestEntitiesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "32803 - Disclosure - Variable Interest Entities (Tables)",
     "role": "http://www.p3hp.org/role/DisclosureVariableInterestEntitiesTables",
     "shortName": "Variable Interest Entities (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfVariableInterestEntitiesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R57": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:QuarterlyFinancialInformationTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "piii:RestatementOfQuarterlyFinancialInformationOfBalanceSheetAndStatementOfOperationsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "33001 - Disclosure - Restatement of Quarterly Financial Information (Unaudited) (Tables)",
     "role": "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedTables",
     "shortName": "Restatement of Quarterly Financial Information (Unaudited) (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:QuarterlyFinancialInformationTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "piii:RestatementOfQuarterlyFinancialInformationOfBalanceSheetAndStatementOfOperationsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R58": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "piii:NumberOfHealthPlansAgreementsEntered",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_agreement_gKSbt1VoI0mxLZxb6RDEQA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40101 - Disclosure - Company Operations (Details)",
     "role": "http://www.p3hp.org/role/DisclosureCompanyOperationsDetails",
     "shortName": "Company Operations (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "piii:NumberOfHealthPlansAgreementsEntered",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_agreement_gKSbt1VoI0mxLZxb6RDEQA",
      "xsiNil": "false"
     }
    },
    "R59": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "piii:HealthPlanSettlementReceivablesCurrent",
      "reportCount": 1,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40201 - Disclosure - Restatement of Previously Issued Financial Statements (Details)",
     "role": "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
     "shortName": "Restatement of Previously Issued Financial Statements (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2020_To_12_31_2020_srt_ProductOrServiceAxis_piii_CapitatedRevenueMember_WL7QmjdAS0W8Jozbg2xBWQ",
      "decimals": "0",
      "lang": null,
      "name": "piii:AdjustmentsUnderRiskAdjustmentModel",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R6": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_3_2021_us-gaap_StatementClassOfStockAxis_us-gaap_CommonClassAMember_us-gaap_StatementEquityComponentsAxis_us-gaap_CommonStockMember_dMsrBYSbiUGqSmw1_fuqrw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "00400 - Statement - CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY (DEFICIT) AND MEZZANINE EQUITY",
     "role": "http://www.p3hp.org/role/StatementConsolidatedStatementsOfStockholdersEquityDeficitAndMezzanineEquity",
     "shortName": "CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY (DEFICIT) AND MEZZANINE EQUITY",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_3_2021_us-gaap_StatementClassOfStockAxis_us-gaap_CommonClassAMember_us-gaap_StatementEquityComponentsAxis_us-gaap_CommonStockMember_dMsrBYSbiUGqSmw1_fuqrw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R60": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_12_3_2021_To_12_31_2021_SjDOA1OLqkK8FZ6d6F5Zdw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40301 - Disclosure - Going Concern and Liquidity (Details)",
     "role": "http://www.p3hp.org/role/DisclosureGoingConcernAndLiquidityDetails",
     "shortName": "Going Concern and Liquidity (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R61": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:SegmentReportingPolicyPolicyTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:NumberOfReportableSegments",
      "reportCount": 1,
      "unitRef": "Unit_Standard_segment_EgZTJZ1v4UeuVEkQfRP8KA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40401 - Disclosure - Significant Accounting Policies - Consolidation, Cash and Restricted Cash (Details)",
     "role": "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesConsolidationCashAndRestrictedCashDetails",
     "shortName": "Significant Accounting Policies - Consolidation, Cash and Restricted Cash (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R62": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_12_3_2021_To_12_31_2021_SjDOA1OLqkK8FZ6d6F5Zdw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
      "reportCount": 1,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40402 - Disclosure - Significant Accounting Policies - Revenue Recognition (Details)",
     "role": "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesRevenueRecognitionDetails",
     "shortName": "Significant Accounting Policies - Revenue Recognition (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:SchedulesOfConcentrationOfRiskByRiskFactorTextBlock",
       "us-gaap:RevenueFromContractWithCustomerPolicyTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_12_3_2021_To_12_31_2021_srt_ProductOrServiceAxis_piii_CapitatedRevenueMember_us-gaap_ConcentrationRiskByBenchmarkAxis_us-gaap_SalesRevenueNetMember_us-gaap_ConcentrationRiskByTypeAxis_us-gaap_CustomerConcentrationRiskMember_XtqpvxhgkUm4nM8YlJPwHg",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R63": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_12_3_2021_To_12_31_2021_SjDOA1OLqkK8FZ6d6F5Zdw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
      "reportCount": 1,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40403 - Disclosure - Significant Accounting Policies - Concentration of revenue (Details)",
     "role": "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesConcentrationOfRevenueDetails",
     "shortName": "Significant Accounting Policies - Concentration of revenue (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "us-gaap:RevenueFromContractWithCustomerPolicyTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_12_3_2021_To_12_31_2021_piii_HealthPlanNameAxis_piii_HealthPlanMember_us-gaap_ConcentrationRiskByBenchmarkAxis_us-gaap_SalesRevenueNetMember_us-gaap_ConcentrationRiskByTypeAxis_us-gaap_CustomerConcentrationRiskMember_FGPB5H6Ghk2r6rlEgs1b3A",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R64": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "piii:HealthPlansTermOfContract",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40404 - Disclosure - Significant Accounting Policies - Capitated Revenue (Details)",
     "role": "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesCapitatedRevenueDetails",
     "shortName": "Significant Accounting Policies - Capitated Revenue (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "piii:HealthPlansTermOfContract",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R65": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "piii:HealthPlanSettlementReceivablesCurrent",
      "reportCount": 1,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40405 - Disclosure - Significant Accounting Policies - Health Plan Settlement Receivables (Details)",
     "role": "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementReceivablesDetails",
     "shortName": "Significant Accounting Policies - Health Plan Settlement Receivables (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "piii:ScheduleOfSettlementReceivablesHealthPlanSurplusesAndSettlementPayablesHealthPlanDeficitsByHealthPlanByYearTableTextBlock",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_piii_HealthPlanNameAxis_piii_HealthPlanMember_srt_ProductOrServiceAxis_piii_CapitatedRevenueMember_j9eviVg5hESLmNQ8Ne9hiQ",
      "decimals": "0",
      "lang": null,
      "name": "piii:HealthPlanSettlementReceivablesCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R66": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "piii:HealthPlansSettlementsPayableCurrent",
      "reportCount": 1,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40406 - Disclosure - Significant Accounting Policies - Health Plan Settlement Payables (Details)",
     "role": "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementPayablesDetails",
     "shortName": "Significant Accounting Policies - Health Plan Settlement Payables (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "piii:ScheduleOfSettlementReceivablesHealthPlanSurplusesAndSettlementPayablesHealthPlanDeficitsByHealthPlanByYearTableTextBlock",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_piii_HealthPlanNameAxis_piii_HealthPlanBMember_s5uKRd_X70GXYluDGFS4FA",
      "decimals": "0",
      "lang": null,
      "name": "piii:HealthPlansSettlementsPayableCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R67": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "piii:NumberOfRevenuePracticalExpedientsElected",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_item_L9LUrGGrI0Cr68YaTc4IiQ",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40407 - Disclosure - Significant Accounting Policies - Clinical Fees and Insurance Revenue (Details)",
     "role": "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesClinicalFeesAndInsuranceRevenueDetails",
     "shortName": "Significant Accounting Policies - Clinical Fees and Insurance Revenue (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "piii:NumberOfRevenuePracticalExpedientsElected",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_item_L9LUrGGrI0Cr68YaTc4IiQ",
      "xsiNil": "false"
     }
    },
    "R68": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_srt_ProductOrServiceAxis_piii_HealthCareSharedRiskRevenueMember_hE1xWBfiHEun0thKnnNQlw",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "piii:PercentageOfSharedRiskSavingsReceived",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_pure_5hpGB75VoU2OPR4kLjDpxA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40408 - Disclosure - Significant Accounting Policies - Shared Risk Revenue (Details)",
     "role": "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesSharedRiskRevenueDetails",
     "shortName": "Significant Accounting Policies - Shared Risk Revenue (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_srt_ProductOrServiceAxis_piii_HealthCareSharedRiskRevenueMember_hE1xWBfiHEun0thKnnNQlw",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "piii:PercentageOfSharedRiskSavingsReceived",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_pure_5hpGB75VoU2OPR4kLjDpxA",
      "xsiNil": "false"
     }
    },
    "R69": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:PropertyPlantAndEquipmentGross",
      "reportCount": 1,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40409 - Disclosure - Significant Accounting Policies - Property and Equipment (Details)",
     "role": "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPropertyAndEquipmentDetails",
     "shortName": "Significant Accounting Policies - Property and Equipment (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "piii:PropertyPlantAndEquipmentEstimatedUsefulLifeTableTextBlock",
       "us-gaap:PropertyPlantAndEquipmentPolicyTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_srt_RangeAxis_srt_MinimumMember_us-gaap_PropertyPlantAndEquipmentByTypeAxis_us-gaap_LeaseholdsAndLeaseholdImprovementsMember_iFRBE0Xq70iGtPpB-fhU-g",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentUsefulLife",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R7": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "link:footnote",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_us-gaap_StatementEquityComponentsAxis_us-gaap_AdditionalPaidInCapitalMember_1l4Nto0uVkSjzQFyhvE-lA",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "piii:BusinessCombinationAndPipeInvestmentSharesValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "00405 - Statement - CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY (DEFICIT) AND MEZZANINE EQUITY (Parenthetical)",
     "role": "http://www.p3hp.org/role/StatementConsolidatedStatementsOfStockholdersEquityDeficitAndMezzanineEquityParenthetical",
     "shortName": "CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY (DEFICIT) AND MEZZANINE EQUITY (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "link:footnote",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_us-gaap_StatementEquityComponentsAxis_us-gaap_AdditionalPaidInCapitalMember_1l4Nto0uVkSjzQFyhvE-lA",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "piii:BusinessCombinationAndPipeInvestmentSharesValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R70": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:GoodwillAndIntangibleAssetsGoodwillPolicy",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_12_3_2021_To_12_31_2021_SjDOA1OLqkK8FZ6d6F5Zdw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:GoodwillImpairmentLoss",
      "reportCount": 1,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40410 - Disclosure - Significant Accounting Policies - Goodwill (Details)",
     "role": "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesGoodwillDetails",
     "shortName": "Significant Accounting Policies - Goodwill (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R71": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock",
       "piii:WarrantLiabilityPolicyTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_us-gaap_MeasurementInputTypeAxis_us-gaap_MeasurementInputPriceVolatilityMember_Tq3gtZRFkkOqzYOc_EPaDQ",
      "decimals": "1",
      "first": true,
      "lang": null,
      "name": "us-gaap:WarrantsAndRightsOutstandingMeasurementInput",
      "reportCount": 1,
      "unitRef": "Unit_Standard_pure_5hpGB75VoU2OPR4kLjDpxA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40411 - Disclosure - Significant Accounting Policies - Warrant Liability (Details)",
     "role": "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesWarrantLiabilityDetails",
     "shortName": "Significant Accounting Policies - Warrant Liability (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R72": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "piii:PremiumDeficiencyReserveCurrent",
      "reportCount": 1,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40412 - Disclosure - Significant Accounting Policies - PDR (Details)",
     "role": "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPdrDetails",
     "shortName": "Significant Accounting Policies - PDR (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R73": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "piii:HealthcareServicesExpenseAndClaimsPayablePolicyTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "piii:LiabilitiesForHealthcareServicesIncurredButNotYetReported",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40413 - Disclosure - Significant Accounting Policies - Medical Expenses (Details)",
     "role": "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesMedicalExpensesDetails",
     "shortName": "Significant Accounting Policies - Medical Expenses (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "piii:HealthcareServicesExpenseAndClaimsPayablePolicyTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "piii:LiabilitiesForHealthcareServicesIncurredButNotYetReported",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R74": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_12_3_2021_To_12_31_2021_SjDOA1OLqkK8FZ6d6F5Zdw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:SellingAndMarketingExpense",
      "reportCount": 1,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40414 - Disclosure - Significant Accounting Policies - Sales and Marketing Expenses (Details)",
     "role": "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesSalesAndMarketingExpensesDetails",
     "shortName": "Significant Accounting Policies - Sales and Marketing Expenses (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R75": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_12_3_2021_To_12_31_2021_SjDOA1OLqkK8FZ6d6F5Zdw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:PaymentsToAcquireBusinessesGross",
      "reportCount": 1,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40701 - Disclosure - Business Combinations - Purchase Consideration (Details)",
     "role": "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchaseConsiderationDetails",
     "shortName": "Business Combinations - Purchase Consideration (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_12_3_2021_To_12_3_2021_us-gaap_BusinessAcquisitionAxis_piii_P3LlcMember_MxEmUiB3rUSqKtzfMe9duQ",
      "decimals": "2",
      "lang": null,
      "name": "piii:PercentageOfPaymentOfIncomeTaxBenefits",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_pure_5hpGB75VoU2OPR4kLjDpxA",
      "xsiNil": "false"
     }
    },
    "R76": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:Goodwill",
      "reportCount": 1,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40702 - Disclosure - Business Combinations - Purchase Price Allocation (Details)",
     "role": "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails",
     "shortName": "Business Combinations - Purchase Price Allocation (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_3_2021_us-gaap_BusinessAcquisitionAxis_piii_P3LlcMember_gmyLdR-rLEeO7xWOk46S2w",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R77": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:Goodwill",
      "reportCount": 1,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40703 - Disclosure - Business Combinations - Medcore Health Plan, Inc and Omni IPA Medical Group, Inc (Details)",
     "role": "http://www.p3hp.org/role/DisclosureBusinessCombinationsMedcoreHealthPlanIncAndOmniIpaMedicalGroupIncDetails",
     "shortName": "Business Combinations - Medcore Health Plan, Inc and Omni IPA Medical Group, Inc (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_us-gaap_BusinessAcquisitionAxis_piii_MedcoreHealthPlanIncAndOmniIpaMedicalGroupIncMember_JisDcEhF_km8rESoR9K9ZA",
      "decimals": "INF",
      "lang": null,
      "name": "piii:BusinessCombinationNumberOfBusinessAcquired",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_item_L9LUrGGrI0Cr68YaTc4IiQ",
      "xsiNil": "false"
     }
    },
    "R78": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:BusinessAcquisitionProFormaInformationTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:BusinessAcquisitionsProFormaRevenue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40704 - Disclosure - Business Combinations - Pro Forma Financial Information (Details)",
     "role": "http://www.p3hp.org/role/DisclosureBusinessCombinationsProFormaFinancialInformationDetails",
     "shortName": "Business Combinations - Pro Forma Financial Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:BusinessAcquisitionProFormaInformationTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:BusinessAcquisitionsProFormaRevenue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R79": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40801 - Disclosure - Fair Value Measurements and Hierarchy - Carrying Value of Financial Instruments (Details)",
     "role": "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyCarryingValueOfFinancialInstrumentsDetails",
     "shortName": "Fair Value Measurements and Hierarchy - Carrying Value of Financial Instruments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R8": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_12_3_2021_To_12_31_2021_SjDOA1OLqkK8FZ6d6F5Zdw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "00500 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS",
     "role": "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows",
     "shortName": "CONSOLIDATED STATEMENTS OF CASH FLOWS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_12_3_2021_To_12_31_2021_SjDOA1OLqkK8FZ6d6F5Zdw",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:Depreciation",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R80": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock",
       "piii:WarrantLiabilityPolicyTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_us-gaap_MeasurementInputTypeAxis_us-gaap_MeasurementInputPriceVolatilityMember_Tq3gtZRFkkOqzYOc_EPaDQ",
      "decimals": "1",
      "first": true,
      "lang": null,
      "name": "us-gaap:WarrantsAndRightsOutstandingMeasurementInput",
      "reportCount": 1,
      "unitRef": "Unit_Standard_pure_5hpGB75VoU2OPR4kLjDpxA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40802 - Disclosure - Fair Value Measurements and Hierarchy - Option Pricing (Details)",
     "role": "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyOptionPricingDetails",
     "shortName": "Fair Value Measurements and Hierarchy - Option Pricing (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfStockholdersEquityNoteWarrantsOrRightsTextBlock",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2020_us-gaap_ClassOfWarrantOrRightAxis_piii_ClassDWarrantsMember_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel3Member_us-gaap_MeasurementInputTypeAxis_us-gaap_MeasurementInputPriceVolatilityMember_Brpc0e-w80OridyuK1HA1w",
      "decimals": "1",
      "lang": null,
      "name": "us-gaap:WarrantsAndRightsOutstandingMeasurementInput",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_pure_5hpGB75VoU2OPR4kLjDpxA",
      "xsiNil": "false"
     }
    },
    "R81": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_2_2021_us-gaap_ClassOfWarrantOrRightAxis_piii_PrivatePlacementWarrantsMember_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel3Member_-GcZxD4cVUyAc4Dqmvb32Q",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue",
      "reportCount": 1,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40803 - Disclosure - Fair Value Measurements and Hierarchy - Level 3 Measurement (Details)",
     "role": "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyLevel3MeasurementDetails",
     "shortName": "Fair Value Measurements and Hierarchy - Level 3 Measurement (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_12_3_2021_To_12_31_2021_us-gaap_ClassOfWarrantOrRightAxis_piii_PrivatePlacementWarrantsMember_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel3Member__AYpI7_-Ckasd7qOLy6JWA",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R82": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ContractWithCustomerAssetAndLiabilityTableTextBlock",
       "us-gaap:FinancingReceivablesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:ContractWithCustomerReceivableBeforeAllowanceForCreditLossCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40901 - Disclosure - Patient Fees Receivable (Details)",
     "role": "http://www.p3hp.org/role/DisclosurePatientFeesReceivableDetails",
     "shortName": "Patient Fees Receivable (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ContractWithCustomerAssetAndLiabilityTableTextBlock",
       "us-gaap:FinancingReceivablesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:ContractWithCustomerReceivableBeforeAllowanceForCreditLossCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R83": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:PropertyPlantAndEquipmentGross",
      "reportCount": 1,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "41001 - Disclosure - Property and Equipment (Details)",
     "role": "http://www.p3hp.org/role/DisclosurePropertyAndEquipmentDetails",
     "shortName": "Property and Equipment (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:PropertyPlantAndEquipmentTextBlock",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_us-gaap_PropertyPlantAndEquipmentByTypeAxis_us-gaap_LeaseholdImprovementsMember_KSK1gpMqXUW5DVtnya87Dw",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:PropertyPlantAndEquipmentGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R84": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfGoodwillTextBlock",
       "us-gaap:GoodwillDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_3_2021_ZMyPGgdRGES6Uy7Psm5_gQ",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:Goodwill",
      "reportCount": 1,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "41101 - Disclosure - Goodwill (Details)",
     "role": "http://www.p3hp.org/role/DisclosureGoodwillDetails",
     "shortName": "Goodwill (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfGoodwillTextBlock",
       "us-gaap:GoodwillDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_12_4_2021_To_12_31_2021_flj5cBCcWkSylfBqQ4LKGA",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:GoodwillAcquiredDuringPeriod",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R85": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
       "us-gaap:IntangibleAssetsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_3_2021_ZMyPGgdRGES6Uy7Psm5_gQ",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:IntangibleAssetsNetExcludingGoodwill",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "41201 - Disclosure - Intangible Assets - Changes (Details)",
     "role": "http://www.p3hp.org/role/DisclosureIntangibleAssetsChangesDetails",
     "shortName": "Intangible Assets - Changes (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
       "us-gaap:IntangibleAssetsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_3_2021_ZMyPGgdRGES6Uy7Psm5_gQ",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:IntangibleAssetsNetExcludingGoodwill",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R86": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "41202 - Disclosure - Intangible Assets - Additional Information (Details)",
     "role": "http://www.p3hp.org/role/DisclosureIntangibleAssetsAdditionalInformationDetails",
     "shortName": "Intangible Assets - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R87": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_12_3_2021_To_12_3_2021_IUyKgKyXTUKSXlCRnT2XBQ",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FiniteLivedIntangibleAssetUsefulLife",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "41203 - Disclosure - Intangible Assets - Weighted average remaining useful life (Details)",
     "role": "http://www.p3hp.org/role/DisclosureIntangibleAssetsWeightedAverageRemainingUsefulLifeDetails",
     "shortName": "Intangible Assets - Weighted average remaining useful life (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "piii:ScheduleOfWeightedAverageRemainingUsefulLifeOfFiniteLivedIntangibleAssetsTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_us-gaap_CustomerRelationshipsMember_drxM26m2ZUyUeEuiAIgvEQ",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:FiniteLivedIntangibleAssetUsefulLife",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R88": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "piii:FinancingReceivableNumberOfPromissoryNotesEntered",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_item_L9LUrGGrI0Cr68YaTc4IiQ",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "41301 - Disclosure - Notes Receivable, Net (Details)",
     "role": "http://www.p3hp.org/role/DisclosureNotesReceivableNetDetails",
     "shortName": "Notes Receivable, Net (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "piii:FinancingReceivableNumberOfPromissoryNotesEntered",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_item_L9LUrGGrI0Cr68YaTc4IiQ",
      "xsiNil": "false"
     }
    },
    "R89": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "piii:TaxReceivableAgreementTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_us-gaap_TypeOfArrangementAxis_piii_TaxReceivableAgreementWithSellingEquityHoldersOfP3LlcMember_OkB_itsDYk2-NB1qkS8bEA",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "piii:PaymentOfTaxSavingsRealizedPercentage",
      "reportCount": 1,
      "unitRef": "Unit_Standard_pure_5hpGB75VoU2OPR4kLjDpxA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "41401 - Disclosure - Tax Receivable Agreement (Details)",
     "role": "http://www.p3hp.org/role/DisclosureTaxReceivableAgreementDetails",
     "shortName": "Tax Receivable Agreement (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R9": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "10101 - Disclosure - Company Operations",
     "role": "http://www.p3hp.org/role/DisclosureCompanyOperations",
     "shortName": "Company Operations",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R90": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfLiabilityForUnpaidClaimsAndClaimsAdjustmentExpense",
       "us-gaap:LiabilityForFuturePolicyBenefitsAndUnpaidClaimsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredButNotReportedIBNRClaimsAmount",
      "reportCount": 1,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "41501 - Disclosure - Claims Payable (Details)",
     "role": "http://www.p3hp.org/role/DisclosureClaimsPayableDetails",
     "shortName": "Claims Payable (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfLiabilityForUnpaidClaimsAndClaimsAdjustmentExpense",
       "us-gaap:LiabilityForFuturePolicyBenefitsAndUnpaidClaimsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_12_3_2021_To_12_31_2021_SjDOA1OLqkK8FZ6d6F5Zdw",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:SupplementalInformationForPropertyCasualtyInsuranceUnderwritersCurrentYearClaimsAndClaimsAdjustmentExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R91": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_2_2021_uJRa8AUnVUG7qiVj-OJlHQ",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentCarryingAmount",
      "reportCount": 1,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "41601 - Disclosure - Debt - Paragraphs (Details)",
     "role": "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails",
     "shortName": "Debt - Paragraphs (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_3_2021_ZMyPGgdRGES6Uy7Psm5_gQ",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:DebtInstrumentCarryingAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R92": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_2_2021_uJRa8AUnVUG7qiVj-OJlHQ",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentCarryingAmount",
      "reportCount": 1,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "41602 - Disclosure - Debt - Rollforward (Details)",
     "role": "http://www.p3hp.org/role/DisclosureDebtRollforwardDetails",
     "shortName": "Debt - Rollforward (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_12_3_2021_To_12_31_2021_SjDOA1OLqkK8FZ6d6F5Zdw",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:RepaymentsOfDebt",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R93": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "41603 - Disclosure - Debt - Maturity (Details)",
     "role": "http://www.p3hp.org/role/DisclosureDebtMaturityDetails",
     "shortName": "Debt - Maturity (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R94": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:LongTermDebt",
      "reportCount": 1,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "41604 - Disclosure - Debt - Composition (Details)",
     "role": "http://www.p3hp.org/role/DisclosureDebtCompositionDetails",
     "shortName": "Debt - Composition (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDebtInstrumentsTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2020_To_12_31_2020_VxW-5Rxi4kK0YrhduOdI3A",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:DebtRelatedCommitmentFeesAndDebtIssuanceCosts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R95": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShortTermDebtTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "piii:ShortTermBorrowingsDueInFirstQuarter",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "41605 - Disclosure - Debt - Short Term Principal Payments (Details)",
     "role": "http://www.p3hp.org/role/DisclosureDebtShortTermPrincipalPaymentsDetails",
     "shortName": "Debt - Short Term Principal Payments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShortTermDebtTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "piii:ShortTermBorrowingsDueInFirstQuarter",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R96": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_12_3_2021_To_12_31_2021_SjDOA1OLqkK8FZ6d6F5Zdw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
      "reportCount": 1,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "41701 - Disclosure - Income Taxes- Components of Loss Before Taxes (Details)",
     "role": "http://www.p3hp.org/role/DisclosureIncomeTaxesComponentsOfLossBeforeTaxesDetails",
     "shortName": "Income Taxes- Components of Loss Before Taxes (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_12_3_2021_To_12_31_2021_us-gaap_IncomeTaxAuthorityAxis_us-gaap_DomesticCountryMember_DNXW08xIrkicnW8agYntEQ",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R97": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_12_3_2021_To_12_31_2021_SjDOA1OLqkK8FZ6d6F5Zdw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "41702 - Disclosure - Income Taxes - Components of Income Tax Expenses (Details)",
     "role": "http://www.p3hp.org/role/DisclosureIncomeTaxesComponentsOfIncomeTaxExpensesDetails",
     "shortName": "Income Taxes - Components of Income Tax Expenses (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_12_3_2021_To_12_31_2021_SjDOA1OLqkK8FZ6d6F5Zdw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R98": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:DeferredTaxAssetsOperatingLossCarryforwards",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "41703 - Disclosure - Income Taxes - Deferred Income Taxes (Details)",
     "role": "http://www.p3hp.org/role/DisclosureIncomeTaxesDeferredIncomeTaxesDetails",
     "shortName": "Income Taxes - Deferred Income Taxes (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "As_Of_12_31_2021_v-uJTkPjL0aGN81tJutplw",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:DeferredTaxAssetsOperatingLossCarryforwards",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    },
    "R99": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:ValuationAllowanceDeferredTaxAssetChangeInAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "41704 - Disclosure - Income Taxes - Paragraphs (Details)",
     "role": "http://www.p3hp.org/role/DisclosureIncomeTaxesParagraphsDetails",
     "shortName": "Income Taxes - Paragraphs (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "piii-20211231x10k.htm",
      "contextRef": "Duration_1_1_2021_To_12_31_2021_nEohz2mZTk-lTPjuY9lsTw",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:ValuationAllowanceDeferredTaxAssetChangeInAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Standard_USD_0-D_lfAO_kGbn85vUe9XhA",
      "xsiNil": "false"
     }
    }
   },
   "segmentCount": 127,
   "tag": {
    "dei_AmendmentFlag": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission.",
        "label": "Amendment Flag"
       }
      }
     },
     "localname": "AmendmentFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_AuditorFirmId": {
     "auth_ref": [
      "r625",
      "r626",
      "r627"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "PCAOB issued Audit Firm Identifier",
        "label": "Auditor Firm ID"
       }
      }
     },
     "localname": "AuditorFirmId",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "nonemptySequenceNumberItemType"
    },
    "dei_AuditorLocation": {
     "auth_ref": [
      "r625",
      "r626",
      "r627"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Location"
       }
      }
     },
     "localname": "AuditorLocation",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "internationalNameItemType"
    },
    "dei_AuditorName": {
     "auth_ref": [
      "r625",
      "r626",
      "r627"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Name"
       }
      }
     },
     "localname": "AuditorName",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "internationalNameItemType"
    },
    "dei_CityAreaCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Area code of city",
        "label": "City Area Code"
       }
      }
     },
     "localname": "CityAreaCode",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_CoverAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cover page.",
        "label": "Document and Entity Information"
       }
      }
     },
     "localname": "CoverAbstract",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "xbrltype": "stringItemType"
    },
    "dei_CurrentFiscalYearEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "End date of current fiscal year in the format --MM-DD.",
        "label": "Current Fiscal Year End Date"
       }
      }
     },
     "localname": "CurrentFiscalYearEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "gMonthDayItemType"
    },
    "dei_DocumentAnnualReport": {
     "auth_ref": [
      "r625",
      "r626",
      "r627"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as an annual report.",
        "label": "Document Annual Report"
       }
      }
     },
     "localname": "DocumentAnnualReport",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentFiscalPeriodFocus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fiscal period values are FY, Q1, Q2, and Q3.  1st, 2nd and 3rd quarter 10-Q or 10-QT statements have value Q1, Q2, and Q3 respectively, with 10-K, 10-KT or other fiscal year statements having FY.",
        "label": "Document Fiscal Period Focus"
       }
      }
     },
     "localname": "DocumentFiscalPeriodFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "fiscalPeriodItemType"
    },
    "dei_DocumentFiscalYearFocus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This is focus fiscal year of the document report in YYYY format. For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus. Example: 2006.",
        "label": "Document Fiscal Year Focus"
       }
      }
     },
     "localname": "DocumentFiscalYearFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "gYearItemType"
    },
    "dei_DocumentPeriodEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For the EDGAR submission types of Form 8-K: the date of the report, the date of the earliest event reported; for the EDGAR submission types of Form N-1A: the filing date; for all other submission types: the end of the reporting or transition period.  The format of the date is YYYY-MM-DD.",
        "label": "Document Period End Date"
       }
      }
     },
     "localname": "DocumentPeriodEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_DocumentTransitionReport": {
     "auth_ref": [
      "r628"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as a transition report.",
        "label": "Document Transition Report"
       }
      }
     },
     "localname": "DocumentTransitionReport",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentType": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'.",
        "label": "Document Type"
       }
      }
     },
     "localname": "DocumentType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "submissionTypeItemType"
    },
    "dei_EntityAddressAddressLine1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 1 such as Attn, Building Name, Street Name",
        "label": "Entity Address, Address Line One"
       }
      }
     },
     "localname": "EntityAddressAddressLine1",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressCityOrTown": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the City or Town",
        "label": "Entity Address, City or Town"
       }
      }
     },
     "localname": "EntityAddressCityOrTown",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressPostalZipCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Code for the postal or zip code",
        "label": "Entity Address, Postal Zip Code"
       }
      }
     },
     "localname": "EntityAddressPostalZipCode",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressStateOrProvince": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the state or province.",
        "label": "Entity Address State Or Province"
       }
      }
     },
     "localname": "EntityAddressStateOrProvince",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "stateOrProvinceItemType"
    },
    "dei_EntityCentralIndexKey": {
     "auth_ref": [
      "r623"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK.",
        "label": "Entity Central Index Key"
       }
      }
     },
     "localname": "EntityCentralIndexKey",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "centralIndexKeyItemType"
    },
    "dei_EntityCommonStockSharesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate number of shares or other units outstanding of each of registrant's classes of capital or common stock or other ownership interests, if and as stated on cover of related periodic report. Where multiple classes or units exist define each class/interest by adding class of stock items such as Common Class A [Member], Common Class B [Member] or Partnership Interest [Member] onto the Instrument [Domain] of the Entity Listings, Instrument.",
        "label": "Entity Common Stock, Shares Outstanding"
       }
      }
     },
     "localname": "EntityCommonStockSharesOutstanding",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "sharesItemType"
    },
    "dei_EntityCurrentReportingStatus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' whether registrants (1) have filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that registrants were required to file such reports), and (2) have been subject to such filing requirements for the past 90 days. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Current Reporting Status"
       }
      }
     },
     "localname": "EntityCurrentReportingStatus",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "All the names of the entities being reported upon in a document. Any legal structure used to conduct activities or to hold assets. Some examples of such structures are corporations, partnerships, limited liability companies, grantor trusts, and other trusts. This item does not include business and geographical segments which are included in the geographical or business segments domains.",
        "label": "Entity [Domain]"
       }
      }
     },
     "localname": "EntityDomain",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_EntityEmergingGrowthCompany": {
     "auth_ref": [
      "r623"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate if registrant meets the emerging growth company criteria.",
        "label": "Entity Emerging Growth Company"
       }
      }
     },
     "localname": "EntityEmergingGrowthCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityExTransitionPeriod": {
     "auth_ref": [
      "r635"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate if an emerging growth company has elected not to use the extended transition period for complying with any new or revised financial accounting standards.",
        "label": "Entity Ex Transition Period"
       }
      }
     },
     "localname": "EntityExTransitionPeriod",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityFileNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commission file number. The field allows up to 17 characters. The prefix may contain 1-3 digits, the sequence number may contain 1-8 digits, the optional suffix may contain 1-4 characters, and the fields are separated with a hyphen.",
        "label": "Entity File Number"
       }
      }
     },
     "localname": "EntityFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_EntityFilerCategory": {
     "auth_ref": [
      "r623"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate whether the registrant is one of the following: Large Accelerated Filer, Accelerated Filer, Non-accelerated Filer. Definitions of these categories are stated in Rule 12b-2 of the Exchange Act. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Filer Category"
       }
      }
     },
     "localname": "EntityFilerCategory",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "filerCategoryItemType"
    },
    "dei_EntityIncorporationStateCountryCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Two-character EDGAR code representing the state or country of incorporation.",
        "label": "Entity Incorporation, State or Country Code"
       }
      }
     },
     "localname": "EntityIncorporationStateCountryCode",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "edgarStateCountryItemType"
    },
    "dei_EntityInteractiveDataCurrent": {
     "auth_ref": [
      "r633"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant has submitted electronically every Interactive Data File required to be submitted pursuant to Rule 405 of Regulation S-T during the preceding 12 months (or for such shorter period that the registrant was required to submit such files).",
        "label": "Entity Interactive Data Current"
       }
      }
     },
     "localname": "EntityInteractiveDataCurrent",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityPublicFloat": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate market value of the voting and non-voting common equity held by non-affiliates computed by reference to the price at which the common equity was last sold, or the average bid and asked price of such common equity, as of the last business day of the registrant's most recently completed second fiscal quarter.",
        "label": "Entity Public Float"
       }
      }
     },
     "localname": "EntityPublicFloat",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "monetaryItemType"
    },
    "dei_EntityRegistrantName": {
     "auth_ref": [
      "r623"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC.",
        "label": "Entity Registrant Name"
       }
      }
     },
     "localname": "EntityRegistrantName",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityShellCompany": {
     "auth_ref": [
      "r623"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant is a shell company as defined in Rule 12b-2 of the Exchange Act.",
        "label": "Entity Shell Company"
       }
      }
     },
     "localname": "EntityShellCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntitySmallBusiness": {
     "auth_ref": [
      "r623"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates that the company is a Smaller Reporting Company (SRC).",
        "label": "Entity Small Business"
       }
      }
     },
     "localname": "EntitySmallBusiness",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityTaxIdentificationNumber": {
     "auth_ref": [
      "r623"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Tax Identification Number (TIN), also known as an Employer Identification Number (EIN), is a unique 9-digit value assigned by the IRS.",
        "label": "Entity Tax Identification Number"
       }
      }
     },
     "localname": "EntityTaxIdentificationNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "employerIdItemType"
    },
    "dei_EntityVoluntaryFilers": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' if the registrant is not required to file reports pursuant to Section 13 or Section 15(d) of the Act.",
        "label": "Entity Voluntary Filers"
       }
      }
     },
     "localname": "EntityVoluntaryFilers",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityWellKnownSeasonedIssuer": {
     "auth_ref": [
      "r634"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' if the registrant is a well-known seasoned issuer, as defined in Rule 405 of the Securities Act. Is used on Form Type: 10-K, 10-Q, 8-K, 20-F, 6-K, 10-K/A, 10-Q/A, 20-F/A, 6-K/A, N-CSR, N-Q, N-1A.",
        "label": "Entity Well-known Seasoned Issuer"
       }
      }
     },
     "localname": "EntityWellKnownSeasonedIssuer",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_IcfrAuditorAttestationFlag": {
     "auth_ref": [
      "r625",
      "r626",
      "r627"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ICFR Auditor Attestation Flag"
       }
      }
     },
     "localname": "IcfrAuditorAttestationFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_LegalEntityAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The set of legal entities associated with a report.",
        "label": "Legal Entity [Axis]"
       }
      }
     },
     "localname": "LegalEntityAxis",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_LocalPhoneNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Local phone number for entity.",
        "label": "Local Phone Number"
       }
      }
     },
     "localname": "LocalPhoneNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_Security12bTitle": {
     "auth_ref": [
      "r622"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Title of a 12(b) registered security.",
        "label": "Title of 12(b) Security"
       }
      }
     },
     "localname": "Security12bTitle",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "securityTitleItemType"
    },
    "dei_SecurityExchangeName": {
     "auth_ref": [
      "r624"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the Exchange on which a security is registered.",
        "label": "Security Exchange Name"
       }
      }
     },
     "localname": "SecurityExchangeName",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "edgarExchangeCodeItemType"
    },
    "dei_TradingSymbol": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trading symbol of an instrument as listed on an exchange.",
        "label": "Trading Symbol"
       }
      }
     },
     "localname": "TradingSymbol",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "tradingSymbolItemType"
    },
    "piii_AccumulatedAmortizationDiscountForIssuanceOfWarrants": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated amortization of discount given on issuance of  warrants.",
        "label": "Accumulated Amortization, Discount for Issuance of Warrants",
        "terseLabel": "Add: Accumulated Amortization of Discount"
       }
      }
     },
     "localname": "AccumulatedAmortizationDiscountForIssuanceOfWarrants",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtCompositionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_AccumulatedEquityBasedCompensation": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cumulative amount of liability relating to equity based compensation.",
        "label": "Accumulated Equity-Based Compensation"
       }
      }
     },
     "localname": "AccumulatedEquityBasedCompensation",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_AdditionalRevenueRelatedToPriorYearPremiumRiskAdjustments": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the amount of additional revenue related to prior year premium risk adjustments.",
        "label": "Additional Revenue Related To Prior Year Premium Risk Adjustments",
        "terseLabel": "Additional revenue related to prior year premium risk adjustments"
       }
      }
     },
     "localname": "AdditionalRevenueRelatedToPriorYearPremiumRiskAdjustments",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesCapitatedRevenueDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_AdjustmentToLongTermDebtSharesRepurchased": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of shares repurchased adjusted to long term debt.",
        "label": "Adjustment to Long Term Debt Shares Repurchased",
        "terseLabel": "Long term debt increase"
       }
      }
     },
     "localname": "AdjustmentToLongTermDebtSharesRepurchased",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_AdjustmentToMembersDeficitSharesRepurchased": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of shares repurchased adjusted to members deficit.",
        "label": "Adjustment to Members Deficit Shares Repurchased",
        "terseLabel": "Members deficit decrease"
       }
      }
     },
     "localname": "AdjustmentToMembersDeficitSharesRepurchased",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_AdjustmentsUnderRiskAdjustmentModel": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of adjustments under risk adjustment model.",
        "label": "Adjustments Under Risk Adjustment Model",
        "terseLabel": "Total RAF adjustments"
       }
      }
     },
     "localname": "AdjustmentsUnderRiskAdjustmentModel",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_AllOtherHealthPlanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to all other health plan.",
        "label": "All Other Health Plan [Member]",
        "terseLabel": "All Other"
       }
      }
     },
     "localname": "AllOtherHealthPlanMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesConcentrationOfRevenueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_AsRevisedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "It pertains to As revised.",
        "label": "As Restated"
       }
      }
     },
     "localname": "AsRevisedMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_AtrioMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Atrio.",
        "label": "Atrio"
       }
      }
     },
     "localname": "AtrioMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRelatedPartiesDetails",
      "http://www.p3hp.org/role/DisclosureRelatedPartiesTables"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_BusinessAcquisitionNonControllingInterestFairValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of non-controlling interests of the acquirer in consideration for the business combination.",
        "label": "Business Acquisition, Non-controlling Interest Fair Value",
        "terseLabel": "Fair Value of Non-controlling Interest"
       }
      }
     },
     "localname": "BusinessAcquisitionNonControllingInterestFairValue",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchaseConsiderationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_BusinessAcquisitionProFormaNetIncomeLossAttributableToNoncontrollingInterest": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The pro forma net Income or Loss attributable to noncontrolling interest for the period as if the business combination or combinations had been completed at the beginning of a period.",
        "label": "Business Acquisition, Pro Forma Net Income (Loss) Attributable to Noncontrolling Interest",
        "terseLabel": "Net Loss Attributable to Non-controlling Interest"
       }
      }
     },
     "localname": "BusinessAcquisitionProFormaNetIncomeLossAttributableToNoncontrollingInterest",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsProFormaFinancialInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_BusinessCombinationAndPipeInvestmentSharesValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of shares for business combination and PIPE investment included in opening balance.",
        "label": "Business Combination and PIPE Investment, Shares Value",
        "terseLabel": "Business Combinations, including the PIPE investment (net of issuance costs)"
       }
      }
     },
     "localname": "BusinessCombinationAndPipeInvestmentSharesValue",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfStockholdersEquityDeficitAndMezzanineEquityParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_BusinessCombinationNumberOfBusinessAcquired": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of business acquired under business combination.",
        "label": "Business Combination, Number of Business Acquired",
        "terseLabel": "Number of other medical practice acquired"
       }
      }
     },
     "localname": "BusinessCombinationNumberOfBusinessAcquired",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsMedcoreHealthPlanIncAndOmniIpaMedicalGroupIncDetails",
      "http://www.p3hp.org/role/DisclosureGoodwillDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "piii_BusinessCombinationRecognizedIdentifiableAssetAcquiredAndLiabilityAssumedAccruedInterest": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accrued interest assumed in business combination.",
        "label": "Business Combination, Recognized Identifiable Asset Acquired and Liability Assumed, Accrued Interest",
        "terseLabel": "Accrued Interest"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetAcquiredAndLiabilityAssumedAccruedInterest",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_BusinessCombinationRecognizedIdentifiableAssetAcquiredAndLiabilityAssumedAccruedPayroll": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accrued payroll assumed in business combination.",
        "label": "Business Combination, Recognized Identifiable Asset Acquired and Liability Assumed, Accrued Payroll",
        "terseLabel": "Accrued Payroll"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetAcquiredAndLiabilityAssumedAccruedPayroll",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_BusinessCombinationRecognizedIdentifiableAssetAcquiredAndLiabilityAssumedAssetsIncludingGoodwill": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of total assets acquired assumed in business combination.",
        "label": "Business Combination, Recognized Identifiable Asset Acquired and Liability Assumed, Assets Including Goodwill",
        "totalLabel": "Total Assets Acquired"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetAcquiredAndLiabilityAssumedAssetsIncludingGoodwill",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_BusinessCombinationRecognizedIdentifiableAssetAcquiredAndLiabilityAssumedClaimsPayable": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of claims payable assumed in business combination.",
        "label": "Business Combination, Recognized Identifiable Asset Acquired and Liability Assumed, Claims Payable",
        "terseLabel": "Claims Payable"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetAcquiredAndLiabilityAssumedClaimsPayable",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_BusinessCombinationRecognizedIdentifiableAssetAcquiredAndLiabilityAssumedClinicFeesAndInsuranceReceivablesNet": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails": {
       "order": 4.0,
       "parentTag": "piii_BusinessCombinationRecognizedIdentifiableAssetAcquiredAndLiabilityAssumedAssetsIncludingGoodwill",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of clinic fees and insurance receivables, net assumed in business combination.",
        "label": "Business Combination, Recognized Identifiable Asset Acquired and Liability Assumed, Clinic Fees and Insurance Receivables, Net",
        "terseLabel": "Clinic Fees and Insurance Receivables, Net"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetAcquiredAndLiabilityAssumedClinicFeesAndInsuranceReceivablesNet",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_BusinessCombinationRecognizedIdentifiableAssetAcquiredAndLiabilityAssumedHealthPlanSettlementReceivables": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails": {
       "order": 3.0,
       "parentTag": "piii_BusinessCombinationRecognizedIdentifiableAssetAcquiredAndLiabilityAssumedAssetsIncludingGoodwill",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of health plan settlement receivables assumed in business combination.",
        "label": "Business Combination, Recognized Identifiable Asset Acquired and Liability Assumed, Health Plan Settlement Receivables",
        "terseLabel": "Health Plan Settlement Receivables"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetAcquiredAndLiabilityAssumedHealthPlanSettlementReceivables",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_BusinessCombinationRecognizedIdentifiableAssetAcquiredAndLiabilityAssumedHealthPlansSettlementsPayable": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of health plans settlements payable assumed in business combination.",
        "label": "Business Combination, Recognized Identifiable Asset Acquired and Liability Assumed, Health Plans Settlements Payable",
        "terseLabel": "Health Plans Settlements Payable"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetAcquiredAndLiabilityAssumedHealthPlansSettlementsPayable",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_BusinessCombinationRecognizedIdentifiableAssetAcquiredAndLiabilityAssumedOtherReceivables": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails": {
       "order": 5.0,
       "parentTag": "piii_BusinessCombinationRecognizedIdentifiableAssetAcquiredAndLiabilityAssumedAssetsIncludingGoodwill",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of other receivables assumed in business combination.",
        "label": "Business Combination, Recognized Identifiable Asset Acquired and Liability Assumed, Other Receivables",
        "terseLabel": "Other Receivables"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetAcquiredAndLiabilityAssumedOtherReceivables",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_BusinessCombinationRecognizedIdentifiableAssetAcquiredAndLiabilityAssumedPremiumDeficiencyReserve": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of premium deficiency reserve assumed in business combination.",
        "label": "Business Combination, Recognized Identifiable Asset Acquired and Liability Assumed, Premium Deficiency Reserve",
        "terseLabel": "Premium Deficiency Reserve"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetAcquiredAndLiabilityAssumedPremiumDeficiencyReserve",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_BusinessCombinationRecognizedIdentifiableAssetAcquiredAndLiabilityAssumedRestrictedCash": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails": {
       "order": 2.0,
       "parentTag": "piii_BusinessCombinationRecognizedIdentifiableAssetAcquiredAndLiabilityAssumedAssetsIncludingGoodwill",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of restricted cash assumed in business combination.",
        "label": "Business Combination, Recognized Identifiable Asset Acquired and Liability Assumed, Restricted Cash",
        "terseLabel": "Restricted Cash"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetAcquiredAndLiabilityAssumedRestrictedCash",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_BusinessCombinationRecognizedIdentifiableAssetAcquiredAndLiabilityAssumedRightOfUseAssets": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails": {
       "order": 11.0,
       "parentTag": "piii_BusinessCombinationRecognizedIdentifiableAssetAcquiredAndLiabilityAssumedAssetsIncludingGoodwill",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of right of use assets assumed in business combination.",
        "label": "Business Combination, Recognized Identifiable Asset Acquired and Liability Assumed, Right of Use Assets",
        "terseLabel": "Right of Use Assets"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetAcquiredAndLiabilityAssumedRightOfUseAssets",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_BusinessCombinationSharesIssuedLockUpPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The period time when shares issued as of business combination are not allowed to be redeemed, sold or transferred.",
        "label": "Business Combination, Shares Issued Lock Up Period",
        "terseLabel": "Lockup period"
       }
      }
     },
     "localname": "BusinessCombinationSharesIssuedLockUpPeriod",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "piii_CapitatedRevenueMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to capitated revenue.",
        "label": "Capitated Revenue"
       }
      }
     },
     "localname": "CapitatedRevenueMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesCapitatedRevenueDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementReceivablesDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesRevenueRecognitionDetails",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_ChiefExecutiveOfficerAndChiefMedicalOfficerMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Persons with designation of chief executive officer and chief medical officer.",
        "label": "Chief Executive Officer and Chief Medical Officer [Member]"
       }
      }
     },
     "localname": "ChiefExecutiveOfficerAndChiefMedicalOfficerMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSubsequentEventsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_ClaimsPayableCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": 5.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The carrying amount of claims payable in twelve months or in the next operating cycle if longer.",
        "label": "Claims Payable, Current",
        "terseLabel": "Claims Payable"
       }
      }
     },
     "localname": "ClaimsPayableCurrent",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_ClassAndClassDPreferredUnitsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Class A and Class D Preferred Units.",
        "label": "Class A and Class D Units"
       }
      }
     },
     "localname": "ClassAndClassDPreferredUnitsMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_ClassB1PreferredUnitsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Class B-1 Preferred Units.",
        "label": "Class B-1 Preferred Units"
       }
      }
     },
     "localname": "ClassB1PreferredUnitsMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassBUnitsDetails",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_ClassB2PreferredUnitsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Class B-2 Preferred Units.",
        "label": "Class B-2 Preferred Units"
       }
      }
     },
     "localname": "ClassB2PreferredUnitsMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassBUnitsDetails",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_ClassB3PreferredUnitsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Class B-3 Preferred Units.",
        "label": "Class B-3 Preferred Units"
       }
      }
     },
     "localname": "ClassB3PreferredUnitsMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassBUnitsDetails",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_ClassBForesightFounderSharesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Class B Foresight Founder Shares.",
        "label": "Class A Foresight Founder Shares [Member]"
       }
      }
     },
     "localname": "ClassBForesightFounderSharesMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_ClassBPreferredUnitsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Class B Preferred Units.",
        "label": "Class B Preferred Units"
       }
      }
     },
     "localname": "ClassBPreferredUnitsMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassBUnitsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_ClassC1PreferredUnitsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Class C-1 Preferred Units.",
        "label": "Class C-1 Preferred Units"
       }
      }
     },
     "localname": "ClassC1PreferredUnitsMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_ClassC2PreferredUnitsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Class C-2 Preferred Units.",
        "label": "Class C-2 Preferred Units"
       }
      }
     },
     "localname": "ClassC2PreferredUnitsMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_ClassCPreferredUnitsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Class C Preferred Units.",
        "label": "Class C Preferred Units",
        "terseLabel": "Class C units"
       }
      }
     },
     "localname": "ClassCPreferredUnitsMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassCUnitsDetails",
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfClassCProfitsInterestActivityDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationTables",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_ClassDPreferredUnitsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Class D Units.",
        "label": "Class D Preferred Units",
        "terseLabel": "Class D Units"
       }
      }
     },
     "localname": "ClassDPreferredUnitsMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassDUnitsDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_ClassDWarrantsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Class D warrants.",
        "label": "Class D warrants [Member]",
        "terseLabel": "Class D Warrants"
       }
      }
     },
     "localname": "ClassDWarrantsMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyLevel3MeasurementDetails",
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyOptionPricingDetails",
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyTables",
      "http://www.p3hp.org/role/DisclosureWarrantsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_ClassOfWarrantOrRightExercisePeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The exercise period of warrants.",
        "label": "Class of Warrant or Right, Exercise Period",
        "terseLabel": "Warrants exercise period"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightExercisePeriod",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureWarrantsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "piii_ClassOfWarrantOrRightIssued": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of warrants or rights issued.",
        "label": "Class of Warrant or Right, Issued",
        "terseLabel": "Warrants issued"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightIssued",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureWarrantsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "piii_ClassOfWarrantOrRightThresholdStockPriceTrigger": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Threshold Price of the entity's common stock which would be required to be attained to redeem warrants",
        "label": "Class of Warrant or Right, Threshold Stock Price Trigger",
        "terseLabel": "Threshold share price"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightThresholdStockPriceTrigger",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureWarrantsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "piii_ClassOfWarrantOrRightThresholdTradingDays": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Threshold number of specified trading days that common stock price must exceed threshold price to trigger redeem feature.",
        "label": "Class of Warrant or Right, Threshold Trading Days",
        "terseLabel": "Threshold trading days"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightThresholdTradingDays",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureWarrantsDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "piii_ClassOfWarrantOrRightTradingPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trading days that common stock price must exceed threshold price to trigger redeem feature.",
        "label": "Class of Warrant or Right, Trading Period",
        "terseLabel": "Trading period"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightTradingPeriod",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureWarrantsDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "piii_ClassPreferredUnitsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Class A Preferred Units.",
        "label": "Class A Preferred Units",
        "terseLabel": "Class A Units"
       }
      }
     },
     "localname": "ClassPreferredUnitsMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_ClassVSharesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Class V shares.",
        "label": "Class V Shares [Member]",
        "terseLabel": "Class V shares"
       }
      }
     },
     "localname": "ClassVSharesMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfClassVShareBasedCompensationActivityDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationTables"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_ClassaUnitsAdjustmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to restatement adjustments relating to Class A Units.",
        "label": "Class A Units Adjustments",
        "terseLabel": "Class A Units Adjustment"
       }
      }
     },
     "localname": "ClassaUnitsAdjustmentMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_ClassaUnitsSubjectToPossibleRedemptionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Class A units subject to Possible redemption.",
        "label": "Class A Units Subject to Possible Redemption",
        "terseLabel": "Class A Units Subject to Possible Redemption"
       }
      }
     },
     "localname": "ClassaUnitsSubjectToPossibleRedemptionMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_ClassdUnitsSubjectToPossibleRedemptionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Class D units subject to Possible redemption.",
        "label": "Class D Units Subject To Possible Redemption",
        "terseLabel": "Class D Units Subject To Possible Redemption"
       }
      }
     },
     "localname": "ClassdUnitsSubjectToPossibleRedemptionMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_ClinicFeesAndInsuranceReceivablesNetCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The carrying amount of clinic fees and insurance receivables, net due within one year or the normal operating cycle, if longer.",
        "label": "Clinic Fees and Insurance Receivables, Net, Current",
        "terseLabel": "Clinic Fees and Insurance Receivables, Net",
        "verboseLabel": "Client Fees and Insurance Receivable, net"
       }
      }
     },
     "localname": "ClinicFeesAndInsuranceReceivablesNetCurrent",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyCarryingValueOfFinancialInstrumentsDetails",
      "http://www.p3hp.org/role/DisclosureVariableInterestEntitiesDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_CommercialReceivableMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Commercial receivable.",
        "label": "Commercial"
       }
      }
     },
     "localname": "CommercialReceivableMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosurePatientFeesReceivableDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_CommonClassVMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Class V member.",
        "label": "Class V Common"
       }
      }
     },
     "localname": "CommonClassVMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails",
      "http://www.p3hp.org/role/DisclosureEarningsLossPerShareComputationOfDilutedNetLossPerShareDetails",
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheetsParenthetical",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfStockholdersEquityDeficitAndMezzanineEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_CommonStockNumberOfVotingRights": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of voting rights per share.",
        "label": "Common Stock, Number of Voting Rights",
        "terseLabel": "Number of voting rights per share"
       }
      }
     },
     "localname": "CommonStockNumberOfVotingRights",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "piii_CompanyOperationsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Company Operations [Line Items]"
       }
      }
     },
     "localname": "CompanyOperationsLineItems",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCompanyOperationsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "piii_CompanyOperationsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about company operations.",
        "label": "Company Operations [Table]"
       }
      }
     },
     "localname": "CompanyOperationsTable",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCompanyOperationsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "piii_DebtCovenantAgreementPeriodOfRevenueThreshold": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The period over of revenue threshold per debt covenant agreement, , in 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Debt Covenant Agreement, Period Of Revenue Threshold",
        "terseLabel": "Period when revenue should greater than or equal to $125.0 million"
       }
      }
     },
     "localname": "DebtCovenantAgreementPeriodOfRevenueThreshold",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "piii_DebtInstrumentCovenantComplianceMinimumLiquidity": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Minimum liquidity as per debt instrument covenant compliance.",
        "label": "Debt Instrument Covenant Compliance Minimum Liquidity",
        "terseLabel": "Minimum liquidity"
       }
      }
     },
     "localname": "DebtInstrumentCovenantComplianceMinimumLiquidity",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_DebtInstrumentCovenantComplianceMinimumRevenue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Minimum revenue as per debt instrument covenant compliance.",
        "label": "Debt Instrument, Covenant Compliance Minimum Revenue",
        "terseLabel": "Minimum annual revenue"
       }
      }
     },
     "localname": "DebtInstrumentCovenantComplianceMinimumRevenue",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_DebtInstrumentCovenantComplianceMinimumRevenueThreeMonthsAfterClosing": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Minimum revenue for any consecutive three months period after closing as per debt instrument covenant.",
        "label": "Debt Instrument Covenant Compliance, Minimum Revenue Three Months After Closing",
        "terseLabel": "Minimum revenue for any three consecutive months after closing"
       }
      }
     },
     "localname": "DebtInstrumentCovenantComplianceMinimumRevenueThreeMonthsAfterClosing",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_DebtInstrumentExitFee": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of exit fee which is due at maturity.",
        "label": "Debt Instrument Exit Fee",
        "terseLabel": "Amount exit fee due at maturity"
       }
      }
     },
     "localname": "DebtInstrumentExitFee",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_DeferredTaxAssetsInterestLimitation": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureIncomeTaxesDeferredIncomeTaxesDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from interest limitation under Section 163J.",
        "label": "Deferred Tax Assets, Interest Limitation",
        "terseLabel": "Section 163j Interest Limitation"
       }
      }
     },
     "localname": "DeferredTaxAssetsInterestLimitation",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesDeferredIncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_DiscountForIssuanceOfWarrants": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of discount given on issuance of  warrants.",
        "label": "Discount for Issuance of Warrants",
        "terseLabel": "Less: Discount for Issuance of Class D Warrants"
       }
      }
     },
     "localname": "DiscountForIssuanceOfWarrants",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtCompositionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_EffectiveIncomeTaxRateReconciliationAllocableLossFromInvestmentAmount": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureIncomeTaxesComponentsOfIncomeTaxExpensesDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to allocable loss from investment.",
        "label": "Effective Income Tax Rate Reconciliation, Allocable Loss from Investment, Amount",
        "negatedLabel": "Allocable loss from investment in P3 LLC"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationAllocableLossFromInvestmentAmount",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesComponentsOfIncomeTaxExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_EffectiveIncomeTaxRateReconciliationSpacWarrantsChangeInFairValue": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureIncomeTaxesComponentsOfIncomeTaxExpensesDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to SPAC warrants change in fair-value.",
        "label": "Effective Income Tax Rate Reconciliation, SPAC Warrants Change in Fair Value",
        "negatedLabel": "SPAC warrants change in fair-value"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationSpacWarrantsChangeInFairValue",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesComponentsOfIncomeTaxExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_EquipmentOnLeaseMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents equipment on lease.",
        "label": "Equipment on lease"
       }
      }
     },
     "localname": "EquipmentOnLeaseMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureLeasesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_EstimatedPotentialFutureTaxBenefits": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of estimated potential future tax benefits.",
        "label": "Estimated Potential Future Tax Benefits",
        "terseLabel": "Estimated potential future tax benefits"
       }
      }
     },
     "localname": "EstimatedPotentialFutureTaxBenefits",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesParagraphsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_FinancingReceivableInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the interest rate on financing receivables.",
        "label": "Financing Receivable Interest Rate",
        "terseLabel": "Interest rates"
       }
      }
     },
     "localname": "FinancingReceivableInterestRate",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureNotesReceivableNetDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "piii_FinancingReceivableNumberOfFamilyMedicalPracticesWithWhomPromissoryNotesAreEntered": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the number of family medical practices with whom promissory notes are entered.",
        "label": "Financing Receivable Number Of Family Medical Practices With Whom Promissory Notes Are Entered",
        "terseLabel": "Number of family medical practices with whom promissory notes are entered"
       }
      }
     },
     "localname": "FinancingReceivableNumberOfFamilyMedicalPracticesWithWhomPromissoryNotesAreEntered",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureNotesReceivableNetDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "piii_FinancingReceivableNumberOfNotesIncludedInOtherReceivableDueToTheirShortTermMaturityDates": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the number of notes included in Other Receivable due to their short-term maturity dates.",
        "label": "Financing Receivable, Number Of Notes Included In Other Receivable Due To Their Short-Term Maturity Dates",
        "terseLabel": "Number of notes included in Other Receivable due to their short-term maturity dates"
       }
      }
     },
     "localname": "FinancingReceivableNumberOfNotesIncludedInOtherReceivableDueToTheirShortTermMaturityDates",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureNotesReceivableNetDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "piii_FinancingReceivableNumberOfPromissoryNotesEntered": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the number of promissory notes entered.",
        "label": "Financing Receivable Number Of Promissory Notes Entered",
        "terseLabel": "Number of promissory notes entered"
       }
      }
     },
     "localname": "FinancingReceivableNumberOfPromissoryNotesEntered",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureNotesReceivableNetDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "piii_FinancingReceivableSeparateProviderAgreementsWithEachPracticeRelatedToNumberOfPromissoryNotesEntered": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the separate provider agreements with each practice related to number of promissory notes entered.",
        "label": "Financing Receivable Separate Provider Agreements With Each Practice Related To Number Of Promissory Notes Entered",
        "terseLabel": "Separate provider agreements with each practice related to number of promissory notes entered"
       }
      }
     },
     "localname": "FinancingReceivableSeparateProviderAgreementsWithEachPracticeRelatedToNumberOfPromissoryNotesEntered",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureNotesReceivableNetDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "piii_GoingConcernAndLiquidityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "No definition available.",
        "label": "Going Concern and Liquidity"
       }
      }
     },
     "localname": "GoingConcernAndLiquidityAbstract",
     "nsuri": "http://www.p3hp.org/20211231",
     "xbrltype": "stringItemType"
    },
    "piii_HealthCareCareCoordinationManagementFeesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to care coordination / management fees.",
        "label": "Care Coordination / Management Fees"
       }
      }
     },
     "localname": "HealthCareCareCoordinationManagementFeesMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesRevenueRecognitionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_HealthCareClinicalFeesInsuranceRevenueMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to clinical fees &amp; insurance revenue.",
        "label": "Clinical Fees &amp; Insurance Revenue"
       }
      }
     },
     "localname": "HealthCareClinicalFeesInsuranceRevenueMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesClinicalFeesAndInsuranceRevenueDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesRevenueRecognitionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_HealthCareIncentiveFeesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to incentive fees.",
        "label": "Incentive Fees"
       }
      }
     },
     "localname": "HealthCareIncentiveFeesMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesRevenueRecognitionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_HealthCareSharedRiskRevenueMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to shared risk revenue.",
        "label": "Shared Risk Revenue"
       }
      }
     },
     "localname": "HealthCareSharedRiskRevenueMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesRevenueRecognitionDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesSharedRiskRevenueDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_HealthPlanBMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Health Plan B.",
        "label": "Health Plan B",
        "terseLabel": "Health Plan B"
       }
      }
     },
     "localname": "HealthPlanBMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesConcentrationOfRevenueDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementPayablesDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_HealthPlanCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Health Plan C.",
        "label": "Health Plan C",
        "terseLabel": "Health Plan C"
       }
      }
     },
     "localname": "HealthPlanCMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesConcentrationOfRevenueDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementPayablesDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_HealthPlanDMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Health Plan D.",
        "label": "Health Plan D",
        "terseLabel": "Health Plan D"
       }
      }
     },
     "localname": "HealthPlanDMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesConcentrationOfRevenueDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementPayablesDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_HealthPlanEMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Health Plan E.",
        "label": "Health Plan E",
        "terseLabel": "Health Plan E"
       }
      }
     },
     "localname": "HealthPlanEMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesConcentrationOfRevenueDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_HealthPlanFMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Health Plan F.",
        "label": "Health Plan F",
        "terseLabel": "Health Plan F"
       }
      }
     },
     "localname": "HealthPlanFMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesConcentrationOfRevenueDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementPayablesDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_HealthPlanGMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Health Plan G.",
        "label": "Health Plan G",
        "terseLabel": "Health Plan G"
       }
      }
     },
     "localname": "HealthPlanGMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesConcentrationOfRevenueDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementPayablesDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_HealthPlanHMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Health Plan H.",
        "label": "Health Plan H"
       }
      }
     },
     "localname": "HealthPlanHMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_HealthPlanIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Health Plan I.",
        "label": "Health Plan I"
       }
      }
     },
     "localname": "HealthPlanIMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementPayablesDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_HealthPlanJMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Health Plan J.",
        "label": "Health Plan J"
       }
      }
     },
     "localname": "HealthPlanJMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_HealthPlanKMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Health Plan K.",
        "label": "Health Plan K"
       }
      }
     },
     "localname": "HealthPlanKMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_HealthPlanLMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Health Plan L.",
        "label": "Health Plan L"
       }
      }
     },
     "localname": "HealthPlanLMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_HealthPlanLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Health Plan [Line Items]"
       }
      }
     },
     "localname": "HealthPlanLineItems",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementPayablesDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementReceivablesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "piii_HealthPlanMMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Health Plan M.",
        "label": "Health Plan M"
       }
      }
     },
     "localname": "HealthPlanMMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_HealthPlanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Health Plan A.",
        "label": "Health Plan A",
        "terseLabel": "Health Plan A"
       }
      }
     },
     "localname": "HealthPlanMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesConcentrationOfRevenueDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_HealthPlanNMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Health Plan N.",
        "label": "Health Plan N"
       }
      }
     },
     "localname": "HealthPlanNMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_HealthPlanNameAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by name of health plan.",
        "label": "Health Plan Name [Axis]"
       }
      }
     },
     "localname": "HealthPlanNameAxis",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesConcentrationOfRevenueDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementPayablesDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementReceivablesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "piii_HealthPlanNameDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of health plan.",
        "label": "Health Plans"
       }
      }
     },
     "localname": "HealthPlanNameDomain",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesConcentrationOfRevenueDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementPayablesDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_HealthPlanOMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Health Plan O.",
        "label": "Health Plan O"
       }
      }
     },
     "localname": "HealthPlanOMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementPayablesDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_HealthPlanPMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Health Plan O.",
        "label": "Health Plan P"
       }
      }
     },
     "localname": "HealthPlanPMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_HealthPlanQMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Health Plan Q.",
        "label": "Health Plan Q"
       }
      }
     },
     "localname": "HealthPlanQMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_HealthPlanRMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Health Plan R.",
        "label": "Health Plan R"
       }
      }
     },
     "localname": "HealthPlanRMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_HealthPlanSettlementReceivablesCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": 4.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The carrying amount of health plan settlement receivables due within one year or the normal operating cycle, if longer.",
        "label": "Health Plan Settlement Receivables, Current",
        "terseLabel": "Health Plan Settlement Receivables",
        "verboseLabel": "Health Plan Receivables"
       }
      }
     },
     "localname": "HealthPlanSettlementReceivablesCurrent",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementReceivablesDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_HealthPlanTMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Health Plan T.",
        "label": "Health Plan T"
       }
      }
     },
     "localname": "HealthPlanTMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_HealthPlanTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by health plan.",
        "label": "Health Plan [Table]"
       }
      }
     },
     "localname": "HealthPlanTable",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementPayablesDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementReceivablesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "piii_HealthPlanUMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Health Plan U.",
        "label": "Health Plan U"
       }
      }
     },
     "localname": "HealthPlanUMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementPayablesDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementReceivablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_HealthPlanVMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Health Plan V.",
        "label": "Health Plan V"
       }
      }
     },
     "localname": "HealthPlanVMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementPayablesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_HealthPlansSettlementsPayableCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": 6.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The carrying amount of health plans settlements payable in twelve months or in the next operating cycle if longer.",
        "label": "Health Plans Settlements Payable, Current",
        "terseLabel": "Health Plans Settlements Payable"
       }
      }
     },
     "localname": "HealthPlansSettlementsPayableCurrent",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementPayablesDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_HealthPlansTermOfContract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The term of contract of health plans, in 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Health Plans, Term of Contract",
        "terseLabel": "Term of contract"
       }
      }
     },
     "localname": "HealthPlansTermOfContract",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesCapitatedRevenueDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "piii_HealthcareServicesExpenseAndClaimsPayableAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "No definition available.",
        "label": "Healthcare Services Expense and Claims Payable [Abstract]",
        "terseLabel": "Healthcare Services Expense and Claims Payable"
       }
      }
     },
     "localname": "HealthcareServicesExpenseAndClaimsPayableAbstract",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesMedicalExpensesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "piii_HealthcareServicesExpenseAndClaimsPayablePolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for healthcare services expense and claims payable (collectively, \"Medical Expenses\").",
        "label": "Healthcare Services Expense and Claims Payable [Policy Text Block]",
        "terseLabel": "Healthcare Services Expense and Claims Payable (collectively, \"Medical Expenses\")"
       }
      }
     },
     "localname": "HealthcareServicesExpenseAndClaimsPayablePolicyTextBlock",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "piii_IncomeTaxLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Income Tax [Line Items]"
       }
      }
     },
     "localname": "IncomeTaxLineItems",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesComponentsOfLossBeforeTaxesDetails",
      "http://www.p3hp.org/role/DisclosureIncomeTaxesParagraphsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "piii_IncomeTaxTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule providing details of the income tax.",
        "label": "Income Tax [Table]"
       }
      }
     },
     "localname": "IncomeTaxTable",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesComponentsOfLossBeforeTaxesDetails",
      "http://www.p3hp.org/role/DisclosureIncomeTaxesParagraphsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "piii_IncreaseDecreaseInClaimsPayables": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 17.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period for claims payables.",
        "label": "Increase (Decrease) in Claims Payables",
        "terseLabel": "Claims Payable"
       }
      }
     },
     "localname": "IncreaseDecreaseInClaimsPayables",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_IncreaseDecreaseInHealthPlanPayablesPremiums": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 16.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period for health plan payables / premiums.",
        "label": "Increase (Decrease) in Health Plan Payables, Premiums",
        "terseLabel": "Health Plan Payables / Premiums"
       }
      }
     },
     "localname": "IncreaseDecreaseInHealthPlanPayablesPremiums",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_IncreaseDecreaseInHealthPlanReceivablesPremiums": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period for health plan receivables / premiums.",
        "label": "Increase (Decrease) in Health Plan Receivables, Premiums",
        "negatedLabel": "Health Plan Receivables / Premiums"
       }
      }
     },
     "localname": "IncreaseDecreaseInHealthPlanReceivablesPremiums",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_IncreaseDecreaseInOperatingRevenue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of increase (decrease) in operating revenue.",
        "label": "Increase (Decrease) in Operating Revenue",
        "negatedLabel": "Reduction in operating revenue"
       }
      }
     },
     "localname": "IncreaseDecreaseInOperatingRevenue",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_IntangibleAssetRelatedToAcquisition": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of medical practices acquired related to intangible asset.",
        "label": "Intangible Asset, Related To Acquisition",
        "terseLabel": "Customer relationships related medical practices acquired"
       }
      }
     },
     "localname": "IntangibleAssetRelatedToAcquisition",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIntangibleAssetsChangesDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "piii_IntangibleAssetsDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "No definition available.",
        "label": "Intangible Assets"
       }
      }
     },
     "localname": "IntangibleAssetsDisclosureAbstract",
     "nsuri": "http://www.p3hp.org/20211231",
     "xbrltype": "stringItemType"
    },
    "piii_InterestExpenseInterimNet": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net amount of operating interest income (expense) reported at interim.",
        "label": "Interest Expense, Interim, Net",
        "terseLabel": "Interest Expense, net"
       }
      }
     },
     "localname": "InterestExpenseInterimNet",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_InvestmentInOtherEntities": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The carrying amount of investment in other entities.",
        "label": "Investment in Other Entities",
        "terseLabel": "Investment in Other P3 Entities"
       }
      }
     },
     "localname": "InvestmentInOtherEntities",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureVariableInterestEntitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_LiabilitiesForHealthcareServicesIncurredButNotYetReported": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the amount of liabilities for healthcare services incurred, but not yet reported.",
        "label": "Liabilities For Healthcare Services Incurred, But Not Yet Reported"
       }
      }
     },
     "localname": "LiabilitiesForHealthcareServicesIncurredButNotYetReported",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesMedicalExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_LiabilityForUnpaidClaimsAssumedInAcquisitions": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of claims unpaid which are assumed in acquisition.",
        "label": "Liability for Unpaid Claims Assumed in Acquisitions",
        "terseLabel": "Claims Unpaid Assumed in Acquisitions"
       }
      }
     },
     "localname": "LiabilityForUnpaidClaimsAssumedInAcquisitions",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureClaimsPayableDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_LimitedPartnersCapitalAccountPreferredReturns": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of preferred returns.",
        "label": "Limited Partners' Capital Account, Preferred Returns",
        "terseLabel": "Preferred Return(s) at 8%"
       }
      }
     },
     "localname": "LimitedPartnersCapitalAccountPreferredReturns",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_LongTermDebtCashInterestMaturity": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt cash interest.",
        "label": "Long Term Debt Cash Interest Maturity",
        "totalLabel": "Cash Interest"
       }
      }
     },
     "localname": "LongTermDebtCashInterestMaturity",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_LongTermDebtCashInterestMaturityYearFive": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails": {
       "order": 5.0,
       "parentTag": "piii_LongTermDebtCashInterestMaturity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt cash interest maturing in fifth fiscal year following current fiscal year.",
        "label": "Long Term Debt Cash Interest Maturity Year Five",
        "terseLabel": "Cash Interest - 2026"
       }
      }
     },
     "localname": "LongTermDebtCashInterestMaturityYearFive",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_LongTermDebtCashInterestMaturityYearFour": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails": {
       "order": 4.0,
       "parentTag": "piii_LongTermDebtCashInterestMaturity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt cash interest maturing in fourth fiscal year following current fiscal year.",
        "label": "Long Term Debt Cash Interest Maturity Year Four",
        "terseLabel": "Cash Interest - 2025"
       }
      }
     },
     "localname": "LongTermDebtCashInterestMaturityYearFour",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_LongTermDebtCashInterestMaturityYearOne": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails": {
       "order": 1.0,
       "parentTag": "piii_LongTermDebtCashInterestMaturity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt cash interest maturing in next fiscal year following current fiscal year.",
        "label": "Long Term Debt Cash Interest Maturity Year One",
        "terseLabel": "Cash Interest - 2022"
       }
      }
     },
     "localname": "LongTermDebtCashInterestMaturityYearOne",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_LongTermDebtCashInterestMaturityYearThree": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails": {
       "order": 3.0,
       "parentTag": "piii_LongTermDebtCashInterestMaturity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt cash interest maturing in third fiscal year following current fiscal year.",
        "label": "Long Term Debt Cash Interest Maturity Year Three",
        "terseLabel": "Cash Interest - 2024"
       }
      }
     },
     "localname": "LongTermDebtCashInterestMaturityYearThree",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_LongTermDebtCashInterestMaturityYearTwo": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails": {
       "order": 2.0,
       "parentTag": "piii_LongTermDebtCashInterestMaturity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt cash interest maturing in second fiscal year following current fiscal year.",
        "label": "Long Term Debt Cash Interest Maturity Year Two",
        "terseLabel": "Cash Interest - 2023"
       }
      }
     },
     "localname": "LongTermDebtCashInterestMaturityYearTwo",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_LongTermDebtCashKindInterestByMaturityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Long term debt cash interest by maturity abstract.",
        "label": "Long Term Debt Cash Kind Interest By Maturity [Abstract]",
        "terseLabel": "Cash Interest"
       }
      }
     },
     "localname": "LongTermDebtCashKindInterestByMaturityAbstract",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "piii_LongTermDebtPaidInKindInterestByMaturityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Long term debt paid in kind interest by maturity abstract.",
        "label": "Long Term Debt Paid In Kind Interest By Maturity [Abstract]",
        "terseLabel": "PIK"
       }
      }
     },
     "localname": "LongTermDebtPaidInKindInterestByMaturityAbstract",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "piii_LongTermDebtPaidInKindInterestMaturity": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt paid in kind interest.",
        "label": "Long-Term Debt, Paid in Kind Interest Maturity",
        "totalLabel": "PIK- Total"
       }
      }
     },
     "localname": "LongTermDebtPaidInKindInterestMaturity",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_LongTermDebtPaidInKindInterestMaturityYearFive": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails": {
       "order": 5.0,
       "parentTag": "piii_LongTermDebtPaidInKindInterestMaturity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt paid in kind interest maturing in fifth fiscal year following current fiscal year.",
        "label": "Long-Term Debt, Paid in Kind Interest Maturity Year Five",
        "terseLabel": "PIK- 2026"
       }
      }
     },
     "localname": "LongTermDebtPaidInKindInterestMaturityYearFive",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_LongTermDebtPaidInKindInterestMaturityYearFour": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails": {
       "order": 4.0,
       "parentTag": "piii_LongTermDebtPaidInKindInterestMaturity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt paid in kind interest maturing in fourth fiscal year following current fiscal year.",
        "label": "Long-Term Debt, Paid in Kind Interest Maturity Year Four",
        "terseLabel": "PIK- 2025"
       }
      }
     },
     "localname": "LongTermDebtPaidInKindInterestMaturityYearFour",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_LongTermDebtPaidInKindInterestMaturityYearOne": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails": {
       "order": 1.0,
       "parentTag": "piii_LongTermDebtPaidInKindInterestMaturity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt paid in kind interest maturing in next fiscal year following current fiscal year.",
        "label": "Long-Term Debt, Paid in Kind Interest Maturity Year One",
        "terseLabel": "PIK- 2022"
       }
      }
     },
     "localname": "LongTermDebtPaidInKindInterestMaturityYearOne",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_LongTermDebtPaidInKindInterestMaturityYearThree": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails": {
       "order": 3.0,
       "parentTag": "piii_LongTermDebtPaidInKindInterestMaturity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt paid in kind interest maturing in third fiscal year following current fiscal year.",
        "label": "Long-Term Debt, Paid in Kind Interest Maturity Year Three",
        "terseLabel": "PIK- 2024"
       }
      }
     },
     "localname": "LongTermDebtPaidInKindInterestMaturityYearThree",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_LongTermDebtPaidInKindInterestMaturityYearTwo": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails": {
       "order": 2.0,
       "parentTag": "piii_LongTermDebtPaidInKindInterestMaturity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt paid in kind interest maturing in second fiscal year following current fiscal year.",
        "label": "Long-Term Debt, Paid in Kind Interest Maturity Year Two",
        "terseLabel": "PIK- 2023"
       }
      }
     },
     "localname": "LongTermDebtPaidInKindInterestMaturityYearTwo",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_LongTermDebtTotalPaymentsByMaturityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Long term debt total payments by maturity abstract.",
        "label": "Long Term Debt Total Payments By Maturity [Abstract]",
        "terseLabel": "Total Payments"
       }
      }
     },
     "localname": "LongTermDebtTotalPaymentsByMaturityAbstract",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "piii_LongTermDebtTotalPaymentsMaturity": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt total payments.",
        "label": "Long-Term Debt, Total Payments Maturity",
        "totalLabel": "Total Cash Payments - Total"
       }
      }
     },
     "localname": "LongTermDebtTotalPaymentsMaturity",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_LongTermDebtTotalPaymentsMaturityYearFive": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails": {
       "order": 5.0,
       "parentTag": "piii_LongTermDebtTotalPaymentsMaturity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt total payments maturing in fifth fiscal year following current fiscal year.",
        "label": "Long-Term Debt, Total Payments Maturity, Year Five",
        "terseLabel": "Total Cash Payments - 2026"
       }
      }
     },
     "localname": "LongTermDebtTotalPaymentsMaturityYearFive",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_LongTermDebtTotalPaymentsMaturityYearFour": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails": {
       "order": 4.0,
       "parentTag": "piii_LongTermDebtTotalPaymentsMaturity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt total payments maturing in fourth fiscal year following current fiscal year.",
        "label": "Long-Term Debt, Total Payments Maturity, Year Four",
        "terseLabel": "Total Cash Payments - 2025"
       }
      }
     },
     "localname": "LongTermDebtTotalPaymentsMaturityYearFour",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_LongTermDebtTotalPaymentsMaturityYearOne": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails": {
       "order": 1.0,
       "parentTag": "piii_LongTermDebtTotalPaymentsMaturity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt total payments maturing in next fiscal year following current fiscal year.",
        "label": "Long-Term Debt, Total Payments Maturity, Year One",
        "terseLabel": "Total Cash Payments - 2022"
       }
      }
     },
     "localname": "LongTermDebtTotalPaymentsMaturityYearOne",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_LongTermDebtTotalPaymentsMaturityYearThree": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails": {
       "order": 3.0,
       "parentTag": "piii_LongTermDebtTotalPaymentsMaturity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt total payments maturing in third fiscal year following current fiscal year.",
        "label": "Long-Term Debt, Total Payments Maturity, Year Three",
        "terseLabel": "Total Cash Payments - 2024"
       }
      }
     },
     "localname": "LongTermDebtTotalPaymentsMaturityYearThree",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_LongTermDebtTotalPaymentsMaturityYearTwo": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails": {
       "order": 2.0,
       "parentTag": "piii_LongTermDebtTotalPaymentsMaturity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt total payments maturing in second fiscal year following current fiscal year.",
        "label": "Long-Term Debt, Total Payments Maturity, Year Two",
        "terseLabel": "Total Cash Payments - 2023"
       }
      }
     },
     "localname": "LongTermDebtTotalPaymentsMaturityYearTwo",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_LtdCLoanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to LTD-C Loan.",
        "label": "LTD-C"
       }
      }
     },
     "localname": "LtdCLoanMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails",
      "http://www.p3hp.org/role/DisclosureDebtRollforwardDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_LtdDLoanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to LTD-D Loan.",
        "label": "LTD-D"
       }
      }
     },
     "localname": "LtdDLoanMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails",
      "http://www.p3hp.org/role/DisclosureDebtRollforwardDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_LtdELoanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to LTD-E Loan.",
        "label": "LTD-E"
       }
      }
     },
     "localname": "LtdELoanMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails",
      "http://www.p3hp.org/role/DisclosureDebtRollforwardDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_LtdLoanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to LTD-A Loan.",
        "label": "LTD-A"
       }
      }
     },
     "localname": "LtdLoanMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassDUnitsDetails",
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails",
      "http://www.p3hp.org/role/DisclosureDebtRollforwardDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_ManagementFeesWithRelatedParty": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of management fees with related party.",
        "label": "Management Fees with Related Party",
        "verboseLabel": "Management Fees"
       }
      }
     },
     "localname": "ManagementFeesWithRelatedParty",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRelatedPartiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_ManagementIncentivePlanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Management Incentive Plan.",
        "label": "Management Incentive Plan"
       }
      }
     },
     "localname": "ManagementIncentivePlanMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_MarkToMarketAdjustmentOfStockWarrants": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations": {
       "order": 3.0,
       "parentTag": "us-gaap_NonoperatingIncomeExpense",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense (income) related to adjustment mark-to-market adjustment of stock warrants.",
        "label": "Mark-to-Market Adjustment of Stock Warrants",
        "negatedLabel": "Mark-to-Market of Stock Warrants",
        "terseLabel": "Mark-to-Market Adjustment of Stock Warrants"
       }
      }
     },
     "localname": "MarkToMarketAdjustmentOfStockWarrants",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_MaximumPercentageOfUtilizationOfOperatingLossCarryforwardsOfTaxableIncome": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Maximum percentage of utilization of net operating loss carryforwards of taxable income.",
        "label": "Maximum Percentage of Utilization of Operating Loss Carryforwards of Taxable Income",
        "terseLabel": "Maximum percentage of utilization of net operating loss carryforwards of taxable income"
       }
      }
     },
     "localname": "MaximumPercentageOfUtilizationOfOperatingLossCarryforwardsOfTaxableIncome",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesParagraphsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "piii_MedcoreHealthPlanIncAndOmniIpaMedicalGroupIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Medcore Health Plan, Inc and Omni IPA Medical Group, Inc.",
        "label": "Medcore Health Plan, Inc and Omni IPA Medical Group, Inc (\"Medcore Acquisition\") [Member]",
        "terseLabel": "Medcore Health Plan, Inc and Omni IPA Medical Group, Inc"
       }
      }
     },
     "localname": "MedcoreHealthPlanIncAndOmniIpaMedicalGroupIncMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsMedcoreHealthPlanIncAndOmniIpaMedicalGroupIncDetails",
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails",
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsTables"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_MedcoreHpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Medcore HP.",
        "label": "Medcore HP"
       }
      }
     },
     "localname": "MedcoreHpMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsMedcoreHealthPlanIncAndOmniIpaMedicalGroupIncDetails",
      "http://www.p3hp.org/role/DisclosureIncomeTaxesParagraphsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_MedicalEquipmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to medical equipment.\n.",
        "label": "Medical Equipment"
       }
      }
     },
     "localname": "MedicalEquipmentMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosurePropertyAndEquipmentDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPropertyAndEquipmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_MedicalExpenses": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the amount of medical expenses incurred during the period.",
        "label": "Medical Expenses",
        "terseLabel": "Medical Expenses"
       }
      }
     },
     "localname": "MedicalExpenses",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_MedicalLicensesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to medical licenses.",
        "label": "Medical Licenses"
       }
      }
     },
     "localname": "MedicalLicensesMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_MedicalPracticesAcquisitionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to medical practices acquired.",
        "label": "Medical Practices Acquisition [Member]",
        "terseLabel": "Other medical practices"
       }
      }
     },
     "localname": "MedicalPracticesAcquisitionMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsMedcoreHealthPlanIncAndOmniIpaMedicalGroupIncDetails",
      "http://www.p3hp.org/role/DisclosureGoodwillDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_MedicareOrMedicaidReceivableMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Medicare / Medicaid receivable.",
        "label": "Medicare / Medicaid"
       }
      }
     },
     "localname": "MedicareOrMedicaidReceivableMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosurePatientFeesReceivableDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_MinimumEarningsBeforeInterestTaxesDepreciationAndAmortizationForVestingOf100Units": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the minimum EBITDA for vesting of 100% units.",
        "label": "Minimum Earnings Before Interest, Taxes, Depreciation, And Amortization For Vesting Of 100% Units",
        "terseLabel": "Minimum EBITDA for vesting of 100% units"
       }
      }
     },
     "localname": "MinimumEarningsBeforeInterestTaxesDepreciationAndAmortizationForVestingOf100Units",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassBUnitsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_MinimumNetProceedsDistributableAmongMembersForVestingOf100Units": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the minimum net proceeds distributable among the Members for vesting of 100% units.",
        "label": "Minimum Net Proceeds Distributable Among The Members For Vesting Of 100% Units",
        "terseLabel": "Minimum net proceeds distributable among the Members for vesting of 100% units"
       }
      }
     },
     "localname": "MinimumNetProceedsDistributableAmongMembersForVestingOf100Units",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassBUnitsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_NetChangeInRightOfUseAssetsAndLiabilities": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the amount of net change in right of use assets and liabilities.",
        "label": "Net Change in Right of Use Assets and Liabilities",
        "negatedLabel": "Net Change in ROU Assets and Liabilities"
       }
      }
     },
     "localname": "NetChangeInRightOfUseAssetsAndLiabilities",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_NetIncomeLossInterim": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent reported at interim.",
        "label": "Net Income Loss, Interim",
        "terseLabel": "Net Loss (formerly Net Loss Attributable to Controlling Interests)"
       }
      }
     },
     "localname": "NetIncomeLossInterim",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_NetworkAdjustmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to restatement adjustments relating to network.",
        "label": "Network Adjustments",
        "terseLabel": "Network Adjustments"
       }
      }
     },
     "localname": "NetworkAdjustmentsMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_NetworkMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Kahan, Wakefield, Abdou, PLLC and Bacchus, Wakefield, Kahan, PC (collectively, the \"Network\").",
        "label": "Network"
       }
      }
     },
     "localname": "NetworkMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesParagraphsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_NotesReceivableNoncurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The carrying amount of notes receivable, net due after one year or the normal operating cycle, if longer.",
        "label": "Notes Receivable Noncurrent",
        "terseLabel": "Notes Receivable, Net"
       }
      }
     },
     "localname": "NotesReceivableNoncurrent",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureNotesReceivableNetDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_NumberOfExecutiveOfficers": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of executive officers.",
        "label": "Number of Executive Officers",
        "terseLabel": "Executive officer"
       }
      }
     },
     "localname": "NumberOfExecutiveOfficers",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "piii_NumberOfHealthPlansAgreementsEntered": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of health plans with agreements entered.",
        "label": "Number of Health Plans, Agreements Entered",
        "terseLabel": "Number of health plans with agreements entered"
       }
      }
     },
     "localname": "NumberOfHealthPlansAgreementsEntered",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCompanyOperationsDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "piii_NumberOfHealthPlansPercentageOfPaymentContractsEntered": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of health plans percentage of payment contracts entered.",
        "label": "Number of Health Plans, Percentage of Payment Contracts Entered",
        "terseLabel": "Number of health plans percentage of payment contracts entered"
       }
      }
     },
     "localname": "NumberOfHealthPlansPercentageOfPaymentContractsEntered",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesCapitatedRevenueDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "piii_NumberOfHealthPlansResultingInRenegotiation": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of health plans results in renegotiation of agreement.",
        "label": "Number of Health Plans Resulting in Renegotiation",
        "terseLabel": "Number of health plans results in renegotiation"
       }
      }
     },
     "localname": "NumberOfHealthPlansResultingInRenegotiation",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "piii_NumberOfLoansNotPaidFromFinancingProceeds": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of loans not paid from the proceeds for financing, including sale of member's units.",
        "label": "Number of Loans Not Paid From Financing Proceeds",
        "terseLabel": "Number of loans not paid"
       }
      }
     },
     "localname": "NumberOfLoansNotPaidFromFinancingProceeds",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "piii_NumberOfNotesReceivableForgiven": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of notes receivable forgiven.",
        "label": "Number of Notes Receivable Forgiven",
        "terseLabel": "Number of notes receivable forgiven"
       }
      }
     },
     "localname": "NumberOfNotesReceivableForgiven",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureNotesReceivableNetDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "piii_NumberOfOptionsToRenew": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of options to renewal of lease.",
        "label": "Number Of Options To Renew",
        "terseLabel": "Number of options to renew"
       }
      }
     },
     "localname": "NumberOfOptionsToRenew",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureLeasesDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "piii_NumberOfProviderGroupsOfNotesReceivable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of provider groups of notes receivable.",
        "label": "Number of provider Groups of Notes Receivable",
        "terseLabel": "Number of provider groups of notes receivable"
       }
      }
     },
     "localname": "NumberOfProviderGroupsOfNotesReceivable",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureNotesReceivableNetDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "piii_NumberOfRepurchaseAgreementDuringPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of share-repurchase agreement entered during the reporting period.",
        "label": "Number of Repurchase Agreement During the Period",
        "verboseLabel": "Number of share-purchase agreement"
       }
      }
     },
     "localname": "NumberOfRepurchaseAgreementDuringPeriod",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "piii_NumberOfRevenuePracticalExpedientsElected": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of practical expedients elected.",
        "label": "Number of Revenue, Practical Expedients, Elected",
        "terseLabel": "Number of Revenue, Practical Expedients, Elected"
       }
      }
     },
     "localname": "NumberOfRevenuePracticalExpedientsElected",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesClinicalFeesAndInsuranceRevenueDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "piii_NumberOfSeparateArrangements": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the number of separate arrangements.",
        "label": "Number Of Separate Arrangements",
        "terseLabel": "Number of separate arrangements"
       }
      }
     },
     "localname": "NumberOfSeparateArrangements",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesSharedRiskRevenueDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "piii_NumberOfStates": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of states..",
        "label": "Number of states",
        "terseLabel": "Number of states"
       }
      }
     },
     "localname": "NumberOfStates",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesCapitatedRevenueDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "piii_NumberOfTranchesOfUnits": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the number of tranches of units.",
        "label": "Number Of Tranches Of Units",
        "terseLabel": "Number of tranches of units"
       }
      }
     },
     "localname": "NumberOfTranchesOfUnits",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassBUnitsDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "piii_OmniIpaMedicalGroupInc.Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Omni IPA Medical Group, Inc.",
        "label": "Omni IPA Medical Group, Inc."
       }
      }
     },
     "localname": "OmniIpaMedicalGroupInc.Member",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsMedcoreHealthPlanIncAndOmniIpaMedicalGroupIncDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_P3HealthGroupLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to P3 Health Group, LLC.",
        "label": "P3 Health Group, LLC"
       }
      }
     },
     "localname": "P3HealthGroupLlcMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCompanyOperationsDetails",
      "http://www.p3hp.org/role/DisclosureRedeemableNonControllingInterestsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_P3LlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to P3 Llc acquisition.",
        "label": "P3",
        "terseLabel": "P3 LLC"
       }
      }
     },
     "localname": "P3LlcMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsProFormaFinancialInformationDetails",
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchaseConsiderationDetails",
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails",
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsTables",
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails",
      "http://www.p3hp.org/role/DisclosureIncomeTaxesParagraphsDetails",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfStockholdersEquityDeficitAndMezzanineEquityParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_P3NvAndKwaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to P3 NV and KWA.",
        "label": "P3 NV and KWA"
       }
      }
     },
     "localname": "P3NvAndKwaMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRelatedPartiesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_PaidInCashInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest rate paid in cash.",
        "label": "Paid in Cash Interest Rate",
        "terseLabel": "Paid in cash interest, percentage"
       }
      }
     },
     "localname": "PaidInCashInterestRate",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "piii_PaidInKindInterestPaymentTerm": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period of paid in kind interest payment, in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Paid in Kind, Interest Payment Term",
        "terseLabel": "Interest payment term"
       }
      }
     },
     "localname": "PaidInKindInterestPaymentTerm",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "piii_PaidInKindInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest rate paid in kind.",
        "label": "Paid in Kind Interest Rate",
        "terseLabel": "Paid in kind interest, percentage"
       }
      }
     },
     "localname": "PaidInKindInterestRate",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "piii_PaidInKindNumberOfPayments": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of payments for paid in kind.",
        "label": "Paid in Kind, Number of Payments",
        "terseLabel": "Number of payments"
       }
      }
     },
     "localname": "PaidInKindNumberOfPayments",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "piii_PartialPaidInKindInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest rate partially paid in kind.",
        "label": "Partial Paid in Kind Interest Rate",
        "terseLabel": "Partially paid in kind interest, percentage"
       }
      }
     },
     "localname": "PartialPaidInKindInterestRate",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "piii_PartnersCapitalAccountOfferingCosts": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the value of partners capital account offering costs.",
        "label": "Partners' Capital Account, Offering Costs",
        "negatedLabel": "Costs of Issuance of Units",
        "verboseLabel": "Transaction closing costs"
       }
      }
     },
     "localname": "PartnersCapitalAccountOfferingCosts",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassDUnitsDetails",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_PartnersCapitalAccountUnitsModifiedValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of partners capital account units modified.",
        "label": "Partners Capital Account Units Modified, Value",
        "terseLabel": "Modification"
       }
      }
     },
     "localname": "PartnersCapitalAccountUnitsModifiedValue",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_PatientFeesReceivableAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "No definition available.",
        "label": "Patient Fees Receivable"
       }
      }
     },
     "localname": "PatientFeesReceivableAbstract",
     "nsuri": "http://www.p3hp.org/20211231",
     "xbrltype": "stringItemType"
    },
    "piii_PaymentOfClaimsToRelatedParty": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of claims paid to related party.",
        "label": "Payment Of Claims To Related Party",
        "verboseLabel": "Claims Paid"
       }
      }
     },
     "localname": "PaymentOfClaimsToRelatedParty",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRelatedPartiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_PaymentOfTaxSavingsRealizedPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of payment of tax savings realized.",
        "label": "Payment of Tax Savings Realized, Percentage",
        "terseLabel": "Percentage of payment of tax savings realized"
       }
      }
     },
     "localname": "PaymentOfTaxSavingsRealizedPercentage",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesParagraphsDetails",
      "http://www.p3hp.org/role/DisclosureTaxReceivableAgreementDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "piii_PercentageOfPaymentOfIncomeTaxBenefits": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of income tax benefits to be paid.",
        "label": "Percentage of Payment of Income Tax Benefits",
        "terseLabel": "Income tax benefit paid, percentage"
       }
      }
     },
     "localname": "PercentageOfPaymentOfIncomeTaxBenefits",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchaseConsiderationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "piii_PercentageOfSharedRiskSavingsReceived": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the percentage of shared risk savings received.",
        "label": "Percentage Of Shared Risk Savings Received",
        "terseLabel": "Percentage of shared risk savings received"
       }
      }
     },
     "localname": "PercentageOfSharedRiskSavingsReceived",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesSharedRiskRevenueDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "piii_PercentageOfTotalCostSavingsToBeReceivedIfSequentialYoyPmpyAggregateChangeYieldsReduction": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the percentage of total cost savings to be received, if the sequential YoY PMPY aggregate change yields a reduction.",
        "label": "Percentage Of Total Cost Savings To Be Received, If The Sequential Yoy PMPY Aggregate Change Yields A Reduction",
        "terseLabel": "Percentage of total cost savings to be received, if the sequential YoY PMPY aggregate change yields a reduction"
       }
      }
     },
     "localname": "PercentageOfTotalCostSavingsToBeReceivedIfSequentialYoyPmpyAggregateChangeYieldsReduction",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesSharedRiskRevenueDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "piii_PercentageOfTotalRevenuesRecurring": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of total revenues recurring.",
        "label": "Percentage of Total Revenues Recurring",
        "terseLabel": "Percentage of total revenues recurring"
       }
      }
     },
     "localname": "PercentageOfTotalRevenuesRecurring",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "piii_PerformanceBasedProfitsInterestAwardsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share-based payment arrangement awarded as performance-based profit interest awards.",
        "label": "Performance Based units"
       }
      }
     },
     "localname": "PerformanceBasedProfitsInterestAwardsMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfClassCProfitsInterestActivityDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfClassVShareBasedCompensationActivityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_PreferredReturns": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of non cash preferred returns during the period.",
        "label": "Preferred Returns",
        "terseLabel": "Class A and Class D Preferred Returns"
       }
      }
     },
     "localname": "PreferredReturns",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_PreferredReturnsRestatementAdjustmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to restatement adjustments relating to preferred returns.",
        "label": "Preferred Returns Adjustments",
        "terseLabel": "Preferred Returns Adjustments"
       }
      }
     },
     "localname": "PreferredReturnsRestatementAdjustmentMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_PremiumDeficiencyReserveAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "No definition available.",
        "label": "Premium Deficiency Reserve (\"PDR\")"
       }
      }
     },
     "localname": "PremiumDeficiencyReserveAbstract",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPdrDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "piii_PremiumDeficiencyReserveCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": 4.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The carrying amount of premium deficiency reserve payable in twelve months or in the next operating cycle if longer.",
        "label": "Premium Deficiency Reserve, Current",
        "terseLabel": "Premium Deficiency Reserve"
       }
      }
     },
     "localname": "PremiumDeficiencyReserveCurrent",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosurePremiumDeficiencyReservepdrDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPdrDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_PremiumDeficiencyReservePolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for premium deficiency reserve (\"PDR\").",
        "label": "Premium Deficiency Reserve [Policy Text Block]",
        "terseLabel": "Premium Deficiency Reserve (\"PDR\")"
       }
      }
     },
     "localname": "PremiumDeficiencyReservePolicyTextBlock",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "piii_PremiumDeficiencyReserveTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure of Premium Deficiency Reserve.",
        "label": "Premium Deficiency Reserve [Text Block]",
        "terseLabel": "Premium Deficiency Reserve (\"PDR\")"
       }
      }
     },
     "localname": "PremiumDeficiencyReserveTextBlock",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosurePremiumDeficiencyReservepdr"
     ],
     "xbrltype": "textBlockItemType"
    },
    "piii_PremiumDeficiencyTestingExpenseLongDurationContractAmount1": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations": {
       "order": 2.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the amount of medical expenses incurred during the period.",
        "label": "Premium Deficiency Testing Expense Long Duration Contract Amount1",
        "terseLabel": "Premium Deficiency Reserve"
       }
      }
     },
     "localname": "PremiumDeficiencyTestingExpenseLongDurationContractAmount1",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_PrivatePlacementPursuantToSubscriptionAgreementsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to private placement pursuant to subscription agreements (PIPE Investment).",
        "label": "PIPE Investment"
       }
      }
     },
     "localname": "PrivatePlacementPursuantToSubscriptionAgreementsMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_PrivatePlacementWarrantsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to private placement warrants.",
        "label": "Private Placement Warrants"
       }
      }
     },
     "localname": "PrivatePlacementWarrantsMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyLevel3MeasurementDetails",
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyOptionPricingDetails",
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyTables"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_PrivateWarrantsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to private warrants.",
        "label": "Private Warrants"
       }
      }
     },
     "localname": "PrivateWarrantsMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureEarningsLossPerShareComputationOfDilutedNetLossPerShareDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_ProceedsFromIssuanceOfDebtGross": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow during the period from additional borrowings in aggregate debt. Includes gross proceeds from short-term and long-term debt.",
        "label": "Proceeds from Issuance of Debt Gross",
        "terseLabel": "Gross proceeds from debt"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfDebtGross",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_ProceedsOrPaymentsFromHealthPlanSettlementsReceivableOrPremiumsReceivable": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of proceeds or payments from health plan settlements receivable premiums receivable.",
        "label": "Proceeds or Payments from Health Plan Settlements Receivable or Premiums Receivable",
        "terseLabel": "Health Plan Settlements Receivable/Premiums Receivable"
       }
      }
     },
     "localname": "ProceedsOrPaymentsFromHealthPlanSettlementsReceivableOrPremiumsReceivable",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_ProfitAndLossInterim": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest, reported at interim.",
        "label": "Profit and Loss, Interim",
        "terseLabel": "Net Loss"
       }
      }
     },
     "localname": "ProfitAndLossInterim",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_ProfitsInterestsGrantedPerformanceBasedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to profits interests granted - performance-based.",
        "label": "Profits interests granted - performance-based"
       }
      }
     },
     "localname": "ProfitsInterestsGrantedPerformanceBasedMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfCompensationCostsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_ProfitsInterestsGrantedTimeBasedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to profits interests granted - time-based.",
        "label": "Profits interests granted - time-based"
       }
      }
     },
     "localname": "ProfitsInterestsGrantedTimeBasedMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfCompensationCostsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_ProfitsInterestsVestedPerformanceBasedAwardsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to profits interests vested - performance-based.",
        "label": "Profits interests vested - performance-based"
       }
      }
     },
     "localname": "ProfitsInterestsVestedPerformanceBasedAwardsMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfCompensationCostsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_ProfitsInterestsVestedTimeBasedAwardsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to profits interests vested - time-based.",
        "label": "Profits interests vested - time-based"
       }
      }
     },
     "localname": "ProfitsInterestsVestedTimeBasedAwardsMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfCompensationCostsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_PropertyPlantAndEquipmentEstimatedUsefulLifeTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The tabular disclosure of estimated useful lives applicable to property, plant and equipment.",
        "label": "Property, Plant And Equipment, Estimated Useful Life [Table Text Block]",
        "terseLabel": "Summary of estimated useful lives applicable to PP&amp;E"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentEstimatedUsefulLifeTableTextBlock",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "piii_ProviderContractsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to provider contracts.",
        "label": "Provider Contracts"
       }
      }
     },
     "localname": "ProviderContractsMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIntangibleAssetsChangesDetails",
      "http://www.p3hp.org/role/DisclosureIntangibleAssetsWeightedAverageRemainingUsefulLifeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_PublicWarrantsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to public warrants.",
        "label": "Public Warrants"
       }
      }
     },
     "localname": "PublicWarrantsMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureEarningsLossPerShareComputationOfDilutedNetLossPerShareDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_RecentAccountingPronouncementsAdoptedAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "No definition available.",
        "label": "Recent Accounting Pronouncements Adopted"
       }
      }
     },
     "localname": "RecentAccountingPronouncementsAdoptedAbstract",
     "nsuri": "http://www.p3hp.org/20211231",
     "xbrltype": "stringItemType"
    },
    "piii_RecentAccountingPronouncementsAdoptedTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure on recent accounting pronouncements adopted.",
        "label": "Recent Accounting Pronouncements Adopted [Text Block]",
        "terseLabel": "Recent Accounting Pronouncements Adopted"
       }
      }
     },
     "localname": "RecentAccountingPronouncementsAdoptedTextBlock",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRecentAccountingPronouncementsAdopted"
     ],
     "xbrltype": "textBlockItemType"
    },
    "piii_RecentAccountingPronouncementsNotYetAdoptedAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "No definition available.",
        "label": "Recent Accounting Pronouncements Not Yet Adopted"
       }
      }
     },
     "localname": "RecentAccountingPronouncementsNotYetAdoptedAbstract",
     "nsuri": "http://www.p3hp.org/20211231",
     "xbrltype": "stringItemType"
    },
    "piii_RecentAccountingPronouncementsNotYetAdoptedTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure on recent accounting pronouncements not yet adopted.",
        "label": "Recent Accounting Pronouncements Not Yet Adopted [Text Block]",
        "terseLabel": "Recent Accounting Pronouncements Not Yet Adopted"
       }
      }
     },
     "localname": "RecentAccountingPronouncementsNotYetAdoptedTextBlock",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRecentAccountingPronouncementsNotYetAdopted"
     ],
     "xbrltype": "textBlockItemType"
    },
    "piii_RedeemableNoncontrollingInterestEquityFairValueRemeasurementAdjustment": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of re-measurement adjustment of fair value as of the reporting date of all noncontrolling interests which are redeemable.",
        "label": "Redeemable Noncontrolling Interest, Equity, Fair Value, Remeasurement Adjustment",
        "terseLabel": "Re-measurement adjustment recorded against fair value of redeemable noncontrolling interest"
       }
      }
     },
     "localname": "RedeemableNoncontrollingInterestEquityFairValueRemeasurementAdjustment",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRedeemableNonControllingInterestsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_RedeemableNoncontrollingInterestsPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for redeemable noncontrolling interests.",
        "label": "Redeemable Noncontrolling Interests [Policy Text Block]",
        "terseLabel": "Redeemable Non-controlling Interests"
       }
      }
     },
     "localname": "RedeemableNoncontrollingInterestsPolicyTextBlock",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "piii_RedemptionOfProfitsInterestMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to redemption of profits interest.",
        "label": "Redemption of Profits Interests"
       }
      }
     },
     "localname": "RedemptionOfProfitsInterestMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_RedemptionOfProfitsInterests": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": 4.0,
       "parentTag": "us-gaap_LimitedLiabilityCompanyLlcMembersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of redemption of profits interests.",
        "label": "Redemption of Profits Interests.",
        "terseLabel": "Redemption of Profits Interests (Predecessor)"
       }
      }
     },
     "localname": "RedemptionOfProfitsInterests",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_RenegotiationOfAgreementOfHealthPlanDueToDiscrepancyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to renegotiation of agreement of health plan due to discrepancy.",
        "label": "Renegotiation of Health Plan Agreement Due to Discrepancy [Member]"
       }
      }
     },
     "localname": "RenegotiationOfAgreementOfHealthPlanDueToDiscrepancyMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_RestatementOfQuarterlyFinancialInformationOfBalanceSheetAndStatementOfOperationsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure for restatement of quarterly financial information of Balance sheet and Statement of Operations.",
        "label": "Restatement of Quarterly Financial Information of Balance Sheet and Statement of Operations [Table Text Block]",
        "terseLabel": "Restatement of previously issued financial statements"
       }
      }
     },
     "localname": "RestatementOfQuarterlyFinancialInformationOfBalanceSheetAndStatementOfOperationsTableTextBlock",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "piii_RetainedEarningsAccumulatedDeficitFromControllingInterest": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit from non controlling interest.",
        "label": "Retained Earnings (Accumulated Deficit) from Controlling Interest",
        "terseLabel": "Accumulated Loss from Controlling Interests"
       }
      }
     },
     "localname": "RetainedEarningsAccumulatedDeficitFromControllingInterest",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_RetainedIncomeLossFromNonControllingInterest": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit from non controlling interest.",
        "label": "Retained Income (Loss) from Non Controlling Interest",
        "terseLabel": "Retained Loss from Non-Controlling Interests"
       }
      }
     },
     "localname": "RetainedIncomeLossFromNonControllingInterest",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_RetainedPercentageOfCashSavings": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The retained percentage of cash savings.",
        "label": "Retained Percentage of Cash Savings",
        "terseLabel": "Retained percentage of cash savings"
       }
      }
     },
     "localname": "RetainedPercentageOfCashSavings",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesParagraphsDetails",
      "http://www.p3hp.org/role/DisclosureTaxReceivableAgreementDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "piii_RevenueAdjustmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to restatement adjustments relating to revenue.",
        "label": "Revenue Adjustments",
        "terseLabel": "Revenue Adjustment"
       }
      }
     },
     "localname": "RevenueAdjustmentMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_ScheduleOfCarryingAmountOfFinancialInstrumentsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of carrying amounts of financial instruments.",
        "label": "Schedule of Carrying Amount of Financial Instruments [Table Text Block]",
        "terseLabel": "Schedule of carrying amounts of financial instruments"
       }
      }
     },
     "localname": "ScheduleOfCarryingAmountOfFinancialInstrumentsTableTextBlock",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "piii_ScheduleOfSettlementReceivablesHealthPlanSurplusesAndSettlementPayablesHealthPlanDeficitsByHealthPlanByYearTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The tabular disclosure of settlement receivables (health plan surpluses) and settlement payables (health plan deficits), by health plan, by year.",
        "label": "Schedule Of Settlement Receivables (Health Plan Surpluses) And Settlement Payables (Health Plan Deficits), By Health Plan, By Year [Table Text Block]",
        "terseLabel": "Summary of settlement receivables (health plan surpluses) and settlement payables (health plan deficits), by health plan, by year"
       }
      }
     },
     "localname": "ScheduleOfSettlementReceivablesHealthPlanSurplusesAndSettlementPayablesHealthPlanDeficitsByHealthPlanByYearTableTextBlock",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "piii_ScheduleOfSupplementalCashFlowsAndOtherInformationRelatedToLeasesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of supplemental cash flows and other information related to leases.",
        "label": "Schedule Of Supplemental Cash Flows And Other Information Related To Leases [Table Text Block]",
        "terseLabel": "Schedule of supplemental cash flows and other information related to leases"
       }
      }
     },
     "localname": "ScheduleOfSupplementalCashFlowsAndOtherInformationRelatedToLeasesTableTextBlock",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureLeasesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "piii_ScheduleOfWeightedAverageRemainingLeaseTermsAndWeightedAverageDiscountRatesLeasesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of weighted-average remaining lease terms and weighted-average discount rates for operating leases and finance leases of lessee.",
        "label": "Schedule of Weighted-Average Remaining Lease Terms And Weighted-Average Discount Rates Leases [Table Text Block]",
        "terseLabel": "Summary of lease terms and discount rates"
       }
      }
     },
     "localname": "ScheduleOfWeightedAverageRemainingLeaseTermsAndWeightedAverageDiscountRatesLeasesTableTextBlock",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureLeasesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "piii_ScheduleOfWeightedAverageRemainingUsefulLifeOfFiniteLivedIntangibleAssetsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of weighted average remaining useful life of finite lived intangible assets.",
        "label": "Schedule of Weighted Average Remaining Useful Life of Finite Lived Intangible Assets [Table Text Block]",
        "terseLabel": "Schedule of weighted average remaining useful life of definite lived intangible assets"
       }
      }
     },
     "localname": "ScheduleOfWeightedAverageRemainingUsefulLifeOfFiniteLivedIntangibleAssetsTableTextBlock",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIntangibleAssetsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "piii_SecurityAgreementLendersCollateralPercentageOfPledgedStockItsSubsidiariesAndBankAccounts": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of pledged stock, its subsidiaries (including tangible and intangible personal property) and bank accounts that is provided as collateral to the lenders under the security agreement.",
        "label": "Security Agreement, Lenders Collateral, Percentage Of Pledged Stock, Its Subsidiaries And Bank Accounts",
        "terseLabel": "Percentage of pledged stock, Its subsidiaries and bank accounts"
       }
      }
     },
     "localname": "SecurityAgreementLendersCollateralPercentageOfPledgedStockItsSubsidiariesAndBankAccounts",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "piii_SelfPayReceivableMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Self Pay receivable.",
        "label": "Self Pay"
       }
      }
     },
     "localname": "SelfPayReceivableMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosurePatientFeesReceivableDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodGrantDateFairValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value at grant date for non-vested equity-based awards granted during the period on other than stock (or unit) option plans.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period, Grant Date Fair Value",
        "terseLabel": "Grant Date Fair Value"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodGrantDateFairValue",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfCompensationCostsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of vested equity-based payment instruments, excluding stock options, that are outstanding as of the balance sheet date.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested, Number",
        "terseLabel": "Number of units vested"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedNumber",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassBUnitsDetails",
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassCUnitsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "piii_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsFairMarketValueAtGrantDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The estimated measure of the fair market value of awards on grant date.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Fair Market Value at Grant Date",
        "terseLabel": "FMV Range / Unit at Grant Date"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsFairMarketValueAtGrantDate",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfValuationOfEquityBasedAwardsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "piii_ShareBasedCompensationArrangementByShareBasedPaymentAwardUnvestedProfitsInterestAttributableToPostCombinationServiceFairValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of fair value of the unvested profits interests attributable to post-combination services.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Unvested Profits Interest attributable to Post Combination Service, Fair Value",
        "terseLabel": "Post-combination services"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardUnvestedProfitsInterestAttributableToPostCombinationServiceFairValue",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_ShareBasedCompensationArrangementByShareBasedPaymentAwardUnvestedProfitsInterestAttributableToPreCombinationServiceFairValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of fair value of the unvested profits interests attributable to pre-combination services.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Unvested Profits Interest attributable to Pre Combination Service, Fair Value",
        "terseLabel": "Pre-combination services",
        "verboseLabel": "Stock Compensation Pre-combination Services"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardUnvestedProfitsInterestAttributableToPreCombinationServiceFairValue",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchaseConsiderationDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_ShareRepurchaseAgreementAmountExchangeForNotes": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the of original investment exchanged for notes in a share repurchase agreement.",
        "label": "Share Repurchase Agreement, Amount Exchange for Notes",
        "terseLabel": "Original investor contribution exchange for notes"
       }
      }
     },
     "localname": "ShareRepurchaseAgreementAmountExchangeForNotes",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_ShortTermBorrowingsDueInFirstQuarter": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureDebtShortTermPrincipalPaymentsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_ShortTermBorrowings",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of short term borrowings due in first quarter.",
        "label": "Short Term Borrowings Due in First Quarter",
        "terseLabel": "First quarter 2022"
       }
      }
     },
     "localname": "ShortTermBorrowingsDueInFirstQuarter",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtShortTermPrincipalPaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_ShortTermBorrowingsDueInSecondQuarter": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureDebtShortTermPrincipalPaymentsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_ShortTermBorrowings",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of short term borrowings due in second quarter.",
        "label": "Short Term Borrowings Due in Second Quarter",
        "verboseLabel": "Second quarter 2022"
       }
      }
     },
     "localname": "ShortTermBorrowingsDueInSecondQuarter",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtShortTermPrincipalPaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_ShortTermBorrowingsDueInThirdQuarter": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureDebtShortTermPrincipalPaymentsDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_ShortTermBorrowings",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of short term borrowings due in third quarter.",
        "label": "Short Term Borrowings Due in Third Quarter",
        "terseLabel": "Third quarter 2022"
       }
      }
     },
     "localname": "ShortTermBorrowingsDueInThirdQuarter",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtShortTermPrincipalPaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_TaxReceivableAgreementAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "No definition available.",
        "label": "Tax Receivable Agreement"
       }
      }
     },
     "localname": "TaxReceivableAgreementAbstract",
     "nsuri": "http://www.p3hp.org/20211231",
     "xbrltype": "stringItemType"
    },
    "piii_TaxReceivableAgreementLiability": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of tax receivable agreement liability.",
        "label": "Tax Receivable Agreement Liability",
        "terseLabel": "TRA liability"
       }
      }
     },
     "localname": "TaxReceivableAgreementLiability",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesParagraphsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_TaxReceivableAgreementTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for tax receivable agreement.",
        "label": "Tax Receivable Agreement [Text Block]",
        "terseLabel": "Tax Receivable Agreement"
       }
      }
     },
     "localname": "TaxReceivableAgreementTextBlock",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureTaxReceivableAgreement"
     ],
     "xbrltype": "textBlockItemType"
    },
    "piii_TaxReceivableAgreementWithSellingEquityHoldersOfP3LlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Tax Receivable Agreement (\"TRA\") with selling equity holders of P3 LLC.",
        "label": "Tax Receivable Agreement with Selling Equity Holders of P3 LLC"
       }
      }
     },
     "localname": "TaxReceivableAgreementWithSellingEquityHoldersOfP3LlcMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesParagraphsDetails",
      "http://www.p3hp.org/role/DisclosureTaxReceivableAgreementDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_TemporaryEquityConversionOfDebtSecuritiesValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Change in temporary equity during the year due to conversion of debt securities.",
        "label": "Temporary Equity, Conversion of Debt Securities, Value",
        "terseLabel": "Conversion of Debt to Class A Units"
       }
      }
     },
     "localname": "TemporaryEquityConversionOfDebtSecuritiesValue",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_TemporaryEquityIssuanceCosts": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the value of offering costs.",
        "label": "Temporary Equity, Issuance Costs",
        "negatedLabel": "Costs of Issuance of Class D Units"
       }
      }
     },
     "localname": "TemporaryEquityIssuanceCosts",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_TemporaryEquityIssuanceOfUnits": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of units issued by the entity.",
        "label": "Temporary Equity, Issuance of Units",
        "terseLabel": "Issuance of Units (in units)"
       }
      }
     },
     "localname": "TemporaryEquityIssuanceOfUnits",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit"
     ],
     "xbrltype": "sharesItemType"
    },
    "piii_TemporaryEquityIssuanceOfUnitsValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of units issued by the entity.",
        "label": "Temporary Equity, Issuance Of Units, Value",
        "terseLabel": "Issuance of Units"
       }
      }
     },
     "localname": "TemporaryEquityIssuanceOfUnitsValue",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_TemporaryEquityModificationsOfUnitsValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total change in temporary equity during the year due to modification.",
        "label": "Temporary Equity, Modifications Of Units, Value",
        "terseLabel": "Modification of Class A"
       }
      }
     },
     "localname": "TemporaryEquityModificationsOfUnitsValue",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_TemporaryEquityRedemptionOfUnits": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of units redeemed during the period.",
        "label": "Temporary Equity, Redemption Of Units",
        "negatedLabel": "Redemption of Class A Units (in units)"
       }
      }
     },
     "localname": "TemporaryEquityRedemptionOfUnits",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit"
     ],
     "xbrltype": "sharesItemType"
    },
    "piii_TemporaryEquityRedemptionOfUnitsValue": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total change in temporary equity during the year due to redemptions.",
        "label": "Temporary Equity, Redemption Of Units, Value",
        "negatedLabel": "Redemption of Class A Units"
       }
      }
     },
     "localname": "TemporaryEquityRedemptionOfUnitsValue",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_TemporaryEquityStockCompensation": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of stock based compensation classified as temporary equity.",
        "label": "Temporary Equity, Stock Compensation",
        "terseLabel": "Stock Compensation"
       }
      }
     },
     "localname": "TemporaryEquityStockCompensation",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfStockholdersEquityDeficitAndMezzanineEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_TemporaryEquityUnitsConversionOfDebtSecurities": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of units converted into debt during the period.",
        "label": "Temporary Equity, Units, Conversion of Debt Securities",
        "terseLabel": "Conversion of Debt to Class A Units (in units)"
       }
      }
     },
     "localname": "TemporaryEquityUnitsConversionOfDebtSecurities",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit"
     ],
     "xbrltype": "sharesItemType"
    },
    "piii_TimeBasedProfitsInterestAwardsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to class c time-based profits interest awards.",
        "label": "Time-Based Unit"
       }
      }
     },
     "localname": "TimeBasedProfitsInterestAwardsMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_TimeBasedProfitsInterestAwardsVestedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share-based payment arrangement awarded as time-based units vested.",
        "label": "Time-Based units vested"
       }
      }
     },
     "localname": "TimeBasedProfitsInterestAwardsVestedMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfClassCProfitsInterestActivityDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfClassVShareBasedCompensationActivityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_TotalOperatingExpenses.Interim": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Generally recurring costs associated with normal operations except for the portion of these expenses which can be clearly related to production and included in cost of sales or services. Includes selling, general and administrative expense.",
        "label": "Total Operating Expenses. Interim",
        "terseLabel": "Total Operating Expenses"
       }
      }
     },
     "localname": "TotalOperatingExpenses.Interim",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_TotalOtherIncomeExpenseInterim": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate amount of income or expense from ancillary business-related activities (that is to say, excluding major activities considered part of the normal operations of the business).",
        "label": "Total Other Income (Expense), Interim",
        "terseLabel": "Total Other Expense"
       }
      }
     },
     "localname": "TotalOtherIncomeExpenseInterim",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_TrustProceedsNetOfRedemptions": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of trust proceeds net of redemption.",
        "label": "Trust Proceeds Net of Redemptions",
        "terseLabel": "Trust proceeds (net of redemptions)"
       }
      }
     },
     "localname": "TrustProceedsNetOfRedemptions",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfStockholdersEquityDeficitAndMezzanineEquityParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_VariableInterestEntitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "No definition available.",
        "label": "Variable Interest Entities"
       }
      }
     },
     "localname": "VariableInterestEntitiesAbstract",
     "nsuri": "http://www.p3hp.org/20211231",
     "xbrltype": "stringItemType"
    },
    "piii_VariableInterestEntityAssetsLiabilitiesWithoutRecourseToEntityAssets": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of liabilities of variable interest entities that have no recourse to the entity's total assets.",
        "label": "Variable Interest Entity Assets, Liabilities Without Recourse to Entity Assets",
        "terseLabel": "Liabilities without recourse to company assets"
       }
      }
     },
     "localname": "VariableInterestEntityAssetsLiabilitiesWithoutRecourseToEntityAssets",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_VariableInterestEntityAssetsSettleObligations": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of total assets of variable interest entities that can be used to settle obligations.",
        "label": "Variable Interest Entity Assets, Settle Obligations",
        "terseLabel": "Assets to settle obligations"
       }
      }
     },
     "localname": "VariableInterestEntityAssetsSettleObligations",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "piii_WarrantLiabilityPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for warrant liability.",
        "label": "Warrant Liability [Policy Text Block]",
        "terseLabel": "Warrant Liability"
       }
      }
     },
     "localname": "WarrantLiabilityPolicyTextBlock",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "piii_WarrantsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "No definition available.",
        "label": "Warrants."
       }
      }
     },
     "localname": "WarrantsAbstract",
     "nsuri": "http://www.p3hp.org/20211231",
     "xbrltype": "stringItemType"
    },
    "piii_WarrantsExercisableForOneShareOfCommonStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to warrants exercisable for one share of Class A common stock at an exercise price of $11.50.",
        "label": "Warrants Exercisable For One Share Of Common Stock [Member]",
        "terseLabel": "Warrants"
       }
      }
     },
     "localname": "WarrantsExercisableForOneShareOfCommonStockMember",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "domainItemType"
    },
    "piii_WarrantsTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure of warrants.",
        "label": "Warrants [Text Block]",
        "terseLabel": "Warrants"
       }
      }
     },
     "localname": "WarrantsTextBlock",
     "nsuri": "http://www.p3hp.org/20211231",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureWarrants"
     ],
     "xbrltype": "textBlockItemType"
    },
    "srt_ConsolidatedEntitiesAxis": {
     "auth_ref": [
      "r111",
      "r257",
      "r262",
      "r268",
      "r440",
      "r441",
      "r448",
      "r449",
      "r515",
      "r617"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidated Entities [Axis]"
       }
      }
     },
     "localname": "ConsolidatedEntitiesAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesParagraphsDetails",
      "http://www.p3hp.org/role/DisclosureVariableInterestEntitiesDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ConsolidatedEntitiesDomain": {
     "auth_ref": [
      "r111",
      "r257",
      "r262",
      "r268",
      "r440",
      "r441",
      "r448",
      "r449",
      "r515",
      "r617"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidated Entities [Domain]"
       }
      }
     },
     "localname": "ConsolidatedEntitiesDomain",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesParagraphsDetails",
      "http://www.p3hp.org/role/DisclosureVariableInterestEntitiesDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MaximumMember": {
     "auth_ref": [
      "r273",
      "r304",
      "r355",
      "r357",
      "r527",
      "r528",
      "r529",
      "r530",
      "r531",
      "r532",
      "r533",
      "r590",
      "r592",
      "r618",
      "r619"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum"
       }
      }
     },
     "localname": "MaximumMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassCUnitsDetails",
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails",
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails",
      "http://www.p3hp.org/role/DisclosureLeasesDetails",
      "http://www.p3hp.org/role/DisclosureNotesReceivableNetDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPropertyAndEquipmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MinimumMember": {
     "auth_ref": [
      "r273",
      "r304",
      "r355",
      "r357",
      "r527",
      "r528",
      "r529",
      "r530",
      "r531",
      "r532",
      "r533",
      "r590",
      "r592",
      "r618",
      "r619"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Minimum"
       }
      }
     },
     "localname": "MinimumMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassCUnitsDetails",
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails",
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails",
      "http://www.p3hp.org/role/DisclosureLeasesDetails",
      "http://www.p3hp.org/role/DisclosureNotesReceivableNetDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPropertyAndEquipmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_OwnershipAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Ownership [Axis]"
       }
      }
     },
     "localname": "OwnershipAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRedeemableNonControllingInterestsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_OwnershipDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Ownership [Domain]"
       }
      }
     },
     "localname": "OwnershipDomain",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRedeemableNonControllingInterestsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ProductOrServiceAxis": {
     "auth_ref": [
      "r195",
      "r331",
      "r333",
      "r534",
      "r589",
      "r591"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Product and Service [Axis]"
       }
      }
     },
     "localname": "ProductOrServiceAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesCapitatedRevenueDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesClinicalFeesAndInsuranceRevenueDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementReceivablesDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesRevenueRecognitionDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesSharedRiskRevenueDetails",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ProductsAndServicesDomain": {
     "auth_ref": [
      "r195",
      "r331",
      "r333",
      "r534",
      "r589",
      "r591"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Product and Service [Domain]"
       }
      }
     },
     "localname": "ProductsAndServicesDomain",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesCapitatedRevenueDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesClinicalFeesAndInsuranceRevenueDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementReceivablesDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesRevenueRecognitionDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesSharedRiskRevenueDetails",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RangeAxis": {
     "auth_ref": [
      "r273",
      "r304",
      "r342",
      "r355",
      "r357",
      "r527",
      "r528",
      "r529",
      "r530",
      "r531",
      "r532",
      "r533",
      "r590",
      "r592",
      "r618",
      "r619"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Axis]"
       }
      }
     },
     "localname": "RangeAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassCUnitsDetails",
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails",
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails",
      "http://www.p3hp.org/role/DisclosureLeasesDetails",
      "http://www.p3hp.org/role/DisclosureNotesReceivableNetDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPropertyAndEquipmentDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RangeMember": {
     "auth_ref": [
      "r273",
      "r304",
      "r342",
      "r355",
      "r357",
      "r527",
      "r528",
      "r529",
      "r530",
      "r531",
      "r532",
      "r533",
      "r590",
      "r592",
      "r618",
      "r619"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Domain]"
       }
      }
     },
     "localname": "RangeMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassCUnitsDetails",
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails",
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails",
      "http://www.p3hp.org/role/DisclosureLeasesDetails",
      "http://www.p3hp.org/role/DisclosureNotesReceivableNetDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPropertyAndEquipmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RestatementAxis": {
     "auth_ref": [
      "r1",
      "r113",
      "r114",
      "r115",
      "r116",
      "r117",
      "r118",
      "r119",
      "r120",
      "r121",
      "r123",
      "r124",
      "r125",
      "r126",
      "r127",
      "r128",
      "r147",
      "r206",
      "r207",
      "r384",
      "r408",
      "r461",
      "r462",
      "r463",
      "r464",
      "r593",
      "r594",
      "r595",
      "r596",
      "r597",
      "r598",
      "r599",
      "r600",
      "r601",
      "r602",
      "r636",
      "r637"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revision of Prior Period [Axis]"
       }
      }
     },
     "localname": "RestatementAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RestatementDomain": {
     "auth_ref": [
      "r1",
      "r113",
      "r114",
      "r115",
      "r116",
      "r117",
      "r118",
      "r119",
      "r120",
      "r121",
      "r123",
      "r124",
      "r125",
      "r126",
      "r127",
      "r128",
      "r147",
      "r206",
      "r207",
      "r384",
      "r408",
      "r461",
      "r462",
      "r463",
      "r464",
      "r593",
      "r594",
      "r595",
      "r596",
      "r597",
      "r598",
      "r599",
      "r600",
      "r601",
      "r602",
      "r636",
      "r637"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revision of Prior Period [Domain]"
       }
      }
     },
     "localname": "RestatementDomain",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScenarioPreviouslyReportedMember": {
     "auth_ref": [
      "r1",
      "r113",
      "r115",
      "r116",
      "r117",
      "r118",
      "r119",
      "r120",
      "r121",
      "r123",
      "r124",
      "r126",
      "r127",
      "r147",
      "r206",
      "r207",
      "r384",
      "r408",
      "r461",
      "r462",
      "r463",
      "r464",
      "r593",
      "r594",
      "r595",
      "r596",
      "r597",
      "r598",
      "r599",
      "r600",
      "r601",
      "r602",
      "r636",
      "r637"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Previously Reported [Member]",
        "terseLabel": "As Previously Reported"
       }
      }
     },
     "localname": "ScenarioPreviouslyReportedMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_TitleOfIndividualAxis": {
     "auth_ref": [
      "r200",
      "r511"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Title of Individual [Axis]"
       }
      }
     },
     "localname": "TitleOfIndividualAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSubsequentEventsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_TitleOfIndividualWithRelationshipToEntityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Title of Individual [Domain]"
       }
      }
     },
     "localname": "TitleOfIndividualWithRelationshipToEntityDomain",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSubsequentEventsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountingChangesAndErrorCorrectionsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restatement of Previously Issued Financial Statements"
       }
      }
     },
     "localname": "AccountingChangesAndErrorCorrectionsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountingPoliciesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Significant Accounting Policies"
       }
      }
     },
     "localname": "AccountingPoliciesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountsNotesAndLoansReceivableLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Accounts, Notes, Loans and Financing Receivable [Line Items]"
       }
      }
     },
     "localname": "AccountsNotesAndLoansReceivableLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureNotesReceivableNetDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis": {
     "auth_ref": [
      "r54"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of receivable.",
        "label": "Receivable Type [Axis]"
       }
      }
     },
     "localname": "AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosurePatientFeesReceivableDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent": {
     "auth_ref": [
      "r44"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": 8.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying values as of the balance sheet date of obligations incurred through that date and due within one year (or the operating cycle, if longer), including liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received, taxes, interest, rent and utilities, accrued salaries and bonuses, payroll taxes and fringe benefits.",
        "label": "Accounts Payable and Accrued Liabilities, Current",
        "terseLabel": "Accounts Payable and Accrued Expenses"
       }
      }
     },
     "localname": "AccountsPayableAndAccruedLiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyCarryingValueOfFinancialInstrumentsDetails",
      "http://www.p3hp.org/role/DisclosureVariableInterestEntitiesDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccruedPayrollTaxesCurrent": {
     "auth_ref": [
      "r8",
      "r46"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": 7.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of obligations incurred and payable for statutory payroll taxes incurred through that date and withheld from employees pertaining to services received from them, including entity's matching share of the employees FICA taxes and contributions to the state and federal unemployment insurance programs. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Accrued Payroll Taxes, Current",
        "terseLabel": "Accrued Payroll"
       }
      }
     },
     "localname": "AccruedPayrollTaxesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureVariableInterestEntitiesDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedAmortizationDeferredFinanceCosts": {
     "auth_ref": [
      "r41",
      "r487"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated amortization of debt issuance costs.",
        "label": "Accumulated Amortization, Debt Issuance Costs",
        "terseLabel": "Add: Accumulated Amortization of Loan Origination Fees"
       }
      }
     },
     "localname": "AccumulatedAmortizationDeferredFinanceCosts",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtCompositionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment": {
     "auth_ref": [
      "r40",
      "r238"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_PropertyPlantAndEquipmentNet",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated depreciation, depletion and amortization for physical assets used in the normal conduct of business to produce goods and services.",
        "label": "Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment",
        "negatedLabel": "Less: Accumulated Depreciation"
       }
      }
     },
     "localname": "AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosurePropertyAndEquipmentDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax": {
     "auth_ref": [
      "r33",
      "r57",
      "r58",
      "r59",
      "r575",
      "r598",
      "r602"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_LimitedLiabilityCompanyLlcMembersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated change in equity from transactions and other events and circumstances from non-owner sources, net of tax effect, at period end. Excludes Net Income (Loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners. Includes foreign currency translation items, certain pension adjustments, unrealized gains and losses on certain investments in debt and equity securities, other than temporary impairment (OTTI) losses related to factors other than credit losses on available-for-sale and held-to-maturity debt securities that an entity does not intend to sell and it is not more likely than not that the entity will be required to sell before recovery of the amortized cost basis, as well as changes in the fair value of derivatives related to the effective portion of a designated cash flow hedge.",
        "label": "Accumulated Other Comprehensive Income (Loss), Net of Tax",
        "terseLabel": "Accumulated Equity-Based Compensation (Predecessor)"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdditionalPaidInCapital": {
     "auth_ref": [
      "r31",
      "r384",
      "r520"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": 6.0,
       "parentTag": "us-gaap_LimitedLiabilityCompanyLlcMembersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of excess of issue price over par or stated value of stock and from other transaction involving stock or stockholder. Includes, but is not limited to, additional paid-in capital (APIC) for common and preferred stock.",
        "label": "Additional Paid in Capital.",
        "terseLabel": "Additional Paid in Capital"
       }
      }
     },
     "localname": "AdditionalPaidInCapital",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdditionalPaidInCapitalMember": {
     "auth_ref": [
      "r113",
      "r114",
      "r115",
      "r381",
      "r382",
      "r383",
      "r462"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Excess of issue price over par or stated value of the entity's capital stock and amounts received from other transactions involving the entity's stock or stockholders.",
        "label": "Additional Paid in Capital"
       }
      }
     },
     "localname": "AdditionalPaidInCapitalMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfStockholdersEquityDeficitAndMezzanineEquity",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfStockholdersEquityDeficitAndMezzanineEquityParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AdjustmentForAmortization": {
     "auth_ref": [
      "r90",
      "r231"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate amount of recurring noncash expense charged against earnings in the period to allocate the cost of assets over their estimated remaining economic lives.",
        "label": "Amortization",
        "terseLabel": "Amortization expense adjustment"
       }
      }
     },
     "localname": "AdjustmentForAmortization",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsProFormaFinancialInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract]",
        "terseLabel": "Adjustments to Reconcile Net Loss to Net Cash Used in Operating Activities:"
       }
      }
     },
     "localname": "AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AllocatedShareBasedCompensationExpense": {
     "auth_ref": [
      "r359",
      "r378",
      "r386"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for award under share-based payment arrangement. Excludes amount capitalized.",
        "label": "Share-based Payment Arrangement, Expense",
        "terseLabel": "Compensation expense"
       }
      }
     },
     "localname": "AllocatedShareBasedCompensationExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfCompensationCostsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AmortizationOfDebtDiscountPremium": {
     "auth_ref": [
      "r75",
      "r90",
      "r286",
      "r485"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of noncash expense included in interest expense to amortize debt discount and premium associated with the related debt instruments. Excludes amortization of financing costs. Alternate captions include noncash interest expense.",
        "label": "Amortization of Debt Discount (Premium)",
        "terseLabel": "Amortization of Discount from Issuance of Debt"
       }
      }
     },
     "localname": "AmortizationOfDebtDiscountPremium",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AmortizationOfFinancingCosts": {
     "auth_ref": [
      "r69",
      "r90",
      "r286",
      "r487"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization expense attributable to debt issuance costs.",
        "label": "Amortization of Debt Issuance Costs",
        "terseLabel": "Amortization of Debt Origination Fees"
       }
      }
     },
     "localname": "AmortizationOfFinancingCosts",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AmortizationOfIntangibleAssets": {
     "auth_ref": [
      "r90",
      "r223",
      "r231"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations": {
       "order": 3.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate expense charged against earnings to allocate the cost of intangible assets (nonphysical assets not used in production) in a systematic and rational manner to the periods expected to benefit from such assets. As a noncash expense, this element is added back to net income when calculating cash provided by or used in operations using the indirect method.",
        "label": "Amortization of Intangible Assets",
        "negatedLabel": "Amortization",
        "terseLabel": "Amortization of Intangible Assets"
       }
      }
     },
     "localname": "AmortizationOfIntangibleAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIntangibleAssetsChangesDetails",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount": {
     "auth_ref": [
      "r144"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) or earnings per unit (EPU) in the future that were not included in the computation of diluted EPS or EPU because to do so would increase EPS or EPU amounts or decrease loss per share or unit amounts for the period presented.",
        "label": "Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount",
        "verboseLabel": "Diluted net income (loss) per share"
       }
      }
     },
     "localname": "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureEarningsLossPerShareComputationOfDilutedNetLossPerShareDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis": {
     "auth_ref": [
      "r144"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of antidilutive security.",
        "label": "Antidilutive Securities [Axis]"
       }
      }
     },
     "localname": "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails",
      "http://www.p3hp.org/role/DisclosureEarningsLossPerShareComputationOfDilutedNetLossPerShareDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]"
       }
      }
     },
     "localname": "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureEarningsLossPerShareComputationOfDilutedNetLossPerShareDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AntidilutiveSecuritiesNameDomain": {
     "auth_ref": [
      "r144"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Incremental common shares attributable to securities that were not included in diluted earnings per share (EPS) because to do so would increase EPS amounts or decrease loss per share amounts for the period presented.",
        "label": "Antidilutive Securities, Name [Domain]"
       }
      }
     },
     "localname": "AntidilutiveSecuritiesNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails",
      "http://www.p3hp.org/role/DisclosureEarningsLossPerShareComputationOfDilutedNetLossPerShareDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ArrangementsAndNonarrangementTransactionsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Collaborative arrangement and arrangement other than collaborative applicable to revenue-generating activity or operations.",
        "label": "Collaborative Arrangement and Arrangement Other than Collaborative [Domain]"
       }
      }
     },
     "localname": "ArrangementsAndNonarrangementTransactionsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesParagraphsDetails",
      "http://www.p3hp.org/role/DisclosureTaxReceivableAgreementDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_Assets": {
     "auth_ref": [
      "r106",
      "r175",
      "r185",
      "r191",
      "r204",
      "r257",
      "r258",
      "r259",
      "r261",
      "r262",
      "r263",
      "r264",
      "r265",
      "r266",
      "r268",
      "r269",
      "r440",
      "r448",
      "r476",
      "r518",
      "r520",
      "r552",
      "r572"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are recognized. Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets",
        "terseLabel": "TOTAL ASSETS",
        "totalLabel": "TOTAL ASSETS",
        "verboseLabel": "Total Assets"
       }
      }
     },
     "localname": "Assets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails",
      "http://www.p3hp.org/role/DisclosureVariableInterestEntitiesDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets [Abstract]",
        "terseLabel": "ASSETS"
       }
      }
     },
     "localname": "AssetsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureVariableInterestEntitiesDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsCurrent": {
     "auth_ref": [
      "r6",
      "r7",
      "r56",
      "r106",
      "r204",
      "r257",
      "r258",
      "r259",
      "r261",
      "r262",
      "r263",
      "r264",
      "r265",
      "r266",
      "r268",
      "r269",
      "r440",
      "r448",
      "r476",
      "r518",
      "r520"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are expected to be realized in cash, sold, or consumed within one year (or the normal operating cycle, if longer). Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets, Current",
        "totalLabel": "TOTAL CURRENT ASSETS",
        "verboseLabel": "Total Current Assets"
       }
      }
     },
     "localname": "AssetsCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsCurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets, Current [Abstract]",
        "terseLabel": "CURRENT ASSETS:"
       }
      }
     },
     "localname": "AssetsCurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsNoncurrent": {
     "auth_ref": [
      "r14",
      "r15",
      "r16",
      "r17",
      "r18",
      "r19",
      "r20",
      "r21",
      "r106",
      "r204",
      "r257",
      "r258",
      "r259",
      "r261",
      "r262",
      "r263",
      "r264",
      "r265",
      "r266",
      "r268",
      "r269",
      "r440",
      "r448",
      "r476",
      "r518"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are expected to be realized in cash, sold or consumed after one year or beyond the normal operating cycle, if longer.",
        "label": "Assets, Noncurrent",
        "totalLabel": "TOTAL LONG-TERM ASSETS"
       }
      }
     },
     "localname": "AssetsNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsNoncurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets, Noncurrent [Abstract]",
        "terseLabel": "LONG-TERM ASSETS:"
       }
      }
     },
     "localname": "AssetsNoncurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AwardTypeAxis": {
     "auth_ref": [
      "r361",
      "r380"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of award under share-based payment arrangement.",
        "label": "Award Type [Axis]"
       }
      }
     },
     "localname": "AwardTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfClassCProfitsInterestActivityDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfClassVShareBasedCompensationActivityDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfCompensationCostsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BalanceSheetRelatedDisclosuresAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Balance Sheet Related Disclosures [Abstract]",
        "terseLabel": "Condensed Consolidated Balance Sheet"
       }
      }
     },
     "localname": "BalanceSheetRelatedDisclosuresAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BasisOfAccountingPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for basis of accounting, or basis of presentation, used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS).",
        "label": "Basis of Accounting, Policy [Policy Text Block]",
        "terseLabel": "Basis of Presentation"
       }
      }
     },
     "localname": "BasisOfAccountingPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_BusinessAcquisitionAcquireeDomain": {
     "auth_ref": [
      "r354",
      "r356"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identification of the acquiree in a material business combination (or series of individually immaterial business combinations), which may include the name or other type of identification of the acquiree.",
        "label": "Business Acquisition, Acquiree [Domain]"
       }
      }
     },
     "localname": "BusinessAcquisitionAcquireeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsMedcoreHealthPlanIncAndOmniIpaMedicalGroupIncDetails",
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsProFormaFinancialInformationDetails",
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchaseConsiderationDetails",
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails",
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsTables",
      "http://www.p3hp.org/role/DisclosureCompanyOperationsDetails",
      "http://www.p3hp.org/role/DisclosureGoodwillDetails",
      "http://www.p3hp.org/role/DisclosureIncomeTaxesParagraphsDetails",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfStockholdersEquityDeficitAndMezzanineEquityParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BusinessAcquisitionAxis": {
     "auth_ref": [
      "r354",
      "r356",
      "r420",
      "r421"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by business combination or series of individually immaterial business combinations.",
        "label": "Business Acquisition [Axis]"
       }
      }
     },
     "localname": "BusinessAcquisitionAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsMedcoreHealthPlanIncAndOmniIpaMedicalGroupIncDetails",
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsProFormaFinancialInformationDetails",
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchaseConsiderationDetails",
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails",
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsTables",
      "http://www.p3hp.org/role/DisclosureCompanyOperationsDetails",
      "http://www.p3hp.org/role/DisclosureGoodwillDetails",
      "http://www.p3hp.org/role/DisclosureIncomeTaxesParagraphsDetails",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfStockholdersEquityDeficitAndMezzanineEquityParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessAcquisitionCostOfAcquiredEntityTransactionCosts": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of direct costs of the business combination including legal, accounting, and other costs incurred to consummate the business acquisition.",
        "label": "Business Acquisition, Transaction Costs",
        "terseLabel": "Payment of P3 Health Group Holdings, LLC's Transaction",
        "verboseLabel": "Transaction Costs"
       }
      }
     },
     "localname": "BusinessAcquisitionCostOfAcquiredEntityTransactionCosts",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsProFormaFinancialInformationDetails",
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchaseConsiderationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessAcquisitionLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Business Acquisition [Line Items]"
       }
      }
     },
     "localname": "BusinessAcquisitionLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsMedcoreHealthPlanIncAndOmniIpaMedicalGroupIncDetails",
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsProFormaFinancialInformationDetails",
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchaseConsiderationDetails",
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails",
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired": {
     "auth_ref": [
      "r417"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of voting equity interests acquired at the acquisition date in the business combination.",
        "label": "Business Acquisition, Percentage of Voting Interests Acquired",
        "terseLabel": "Ownership percentage"
       }
      }
     },
     "localname": "BusinessAcquisitionPercentageOfVotingInterestsAcquired",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsMedcoreHealthPlanIncAndOmniIpaMedicalGroupIncDetails",
      "http://www.p3hp.org/role/DisclosureCompanyOperationsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_BusinessAcquisitionProFormaInformationTextBlock": {
     "auth_ref": [
      "r418",
      "r419"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of pro forma results of operations for a material business acquisition or series of individually immaterial business acquisitions that are material in the aggregate.",
        "label": "Business Acquisition, Pro Forma Information [Table Text Block]",
        "terseLabel": "Summary of future consolidated results of operations"
       }
      }
     },
     "localname": "BusinessAcquisitionProFormaInformationTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount": {
     "auth_ref": [
      "r434"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of goodwill arising from a business combination that is expected to be deductible for tax purposes.",
        "label": "Business Acquisition, Goodwill, Expected Tax Deductible Amount",
        "terseLabel": "Goodwill expected to be deductible for tax purposes"
       }
      }
     },
     "localname": "BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsMedcoreHealthPlanIncAndOmniIpaMedicalGroupIncDetails",
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessAcquisitionsProFormaIncomeLossFromContinuingOperationsBeforeChangesInAccountingAndExtraordinaryItemsNetOfTax": {
     "auth_ref": [
      "r418",
      "r419"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax of pro forma income from continuing operations as if the business combination had been completed at the beginning of a period.",
        "label": "Business Acquisition, Pro Forma Income (Loss) from Continuing Operations, Net of Tax",
        "terseLabel": "Net Loss"
       }
      }
     },
     "localname": "BusinessAcquisitionsProFormaIncomeLossFromContinuingOperationsBeforeChangesInAccountingAndExtraordinaryItemsNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsProFormaFinancialInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss": {
     "auth_ref": [
      "r418",
      "r419"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The pro forma net Income or Loss for the period as if the business combination or combinations had been completed at the beginning of a period.",
        "label": "Business Acquisition, Pro Forma Net Income (Loss)",
        "terseLabel": "Net Loss Attributable to Controlling Interest"
       }
      }
     },
     "localname": "BusinessAcquisitionsProFormaNetIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsProFormaFinancialInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessAcquisitionsProFormaRevenue": {
     "auth_ref": [
      "r418",
      "r419"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The pro forma revenue for a period as if the business combination or combinations had been completed at the beginning of the period.",
        "label": "Business Acquisition, Pro Forma Revenue",
        "terseLabel": "Total Operating Revenue"
       }
      }
     },
     "localname": "BusinessAcquisitionsProFormaRevenue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsProFormaFinancialInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationConsiderationTransferred1": {
     "auth_ref": [
      "r429",
      "r430",
      "r432"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Business Combination, Consideration Transferred",
        "terseLabel": "Consideration for acquisition of equity interests"
       }
      }
     },
     "localname": "BusinessCombinationConsiderationTransferred1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsMedcoreHealthPlanIncAndOmniIpaMedicalGroupIncDetails",
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchaseConsiderationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable": {
     "auth_ref": [
      "r429",
      "r430"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of equity interests of the acquirer, including instruments or interests issued or issuable in consideration for the business combination.",
        "label": "Business Combination, Consideration Transferred, Equity Interests Issued and Issuable",
        "terseLabel": "Equity",
        "verboseLabel": "Equity consideration transferred"
       }
      }
     },
     "localname": "BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchaseConsiderationDetails",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfStockholdersEquityDeficitAndMezzanineEquityParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationContingentConsiderationLiabilityNoncurrent": {
     "auth_ref": [
      "r428",
      "r431"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liability recognized arising from contingent consideration in a business combination, expected to be settled beyond one year or the normal operating cycle, if longer.",
        "label": "Business Combination, Contingent Consideration, Liability, Noncurrent",
        "terseLabel": "Contingent Consideration"
       }
      }
     },
     "localname": "BusinessCombinationContingentConsiderationLiabilityNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsMedcoreHealthPlanIncAndOmniIpaMedicalGroupIncDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationDisclosureTextBlock": {
     "auth_ref": [
      "r435"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for a business combination (or series of individually immaterial business combinations) completed during the period, including background, timing, and recognized assets and liabilities. The disclosure may include leverage buyout transactions (as applicable).",
        "label": "Business Combination Disclosure [Text Block]",
        "terseLabel": "Business Combinations"
       }
      }
     },
     "localname": "BusinessCombinationDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinations"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Assets [Abstract]",
        "terseLabel": "Assets Acquired:"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCapitalLeaseObligation": {
     "auth_ref": [
      "r423"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails": {
       "order": 8.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lease obligation assumed in business combination.",
        "label": "Business Combination, Recognized Identifiable Asset Acquired and Liability Assumed, Lease Obligation",
        "terseLabel": "Lease Liability"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCapitalLeaseObligation",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents": {
     "auth_ref": [
      "r423"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails": {
       "order": 1.0,
       "parentTag": "piii_BusinessCombinationRecognizedIdentifiableAssetAcquiredAndLiabilityAssumedAssetsIncludingGoodwill",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of currency on hand as well as demand deposits with banks or financial institutions, acquired at the acquisition date. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Cash and Equivalents",
        "terseLabel": "Cash"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets": {
     "auth_ref": [
      "r423"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails": {
       "order": 6.0,
       "parentTag": "piii_BusinessCombinationRecognizedIdentifiableAssetAcquiredAndLiabilityAssumedAssetsIncludingGoodwill",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of asset related to consideration paid in advance for costs that provide economic benefits in future periods, and amount of other assets that are expected to be realized or consumed within one year or the normal operating cycle, if longer, acquired at the acquisition date.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Assets, Prepaid Expense and Other Assets",
        "terseLabel": "Prepaid Expenses and Other Current Assets"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables": {
     "auth_ref": [
      "r423"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails": {
       "order": 10.0,
       "parentTag": "piii_BusinessCombinationRecognizedIdentifiableAssetAcquiredAndLiabilityAssumedAssetsIncludingGoodwill",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount due from customers or clients for goods or services, including trade receivables, that have been delivered or sold in the normal course of business, and amounts due from others, including related parties expected to be converted to cash, sold or exchanged within one year or the normal operating cycle, if longer, acquired at the acquisition date.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Assets, Receivables",
        "terseLabel": "Notes Receivable, Net"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable": {
     "auth_ref": [
      "r423"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities incurred for goods and services received that are used in an entity's business and related party payables, assumed at the acquisition date.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Liabilities, Accounts Payable",
        "terseLabel": "Accounts Payable and Accrued Expenses"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesLongTermDebt": {
     "auth_ref": [
      "r423"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails": {
       "order": 7.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt due within one year or within the normal operating cycle, if longer, assumed at the acquisition date.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Liabilities, Long-term Debt",
        "terseLabel": "Current Portion of Long-Term Debt"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesLongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill": {
     "auth_ref": [
      "r423"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails": {
       "order": 8.0,
       "parentTag": "piii_BusinessCombinationRecognizedIdentifiableAssetAcquiredAndLiabilityAssumedAssetsIncludingGoodwill",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of intangible assets, excluding goodwill, acquired at the acquisition date.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Intangible Assets, Other than Goodwill",
        "terseLabel": "Intangible Assets, Net:"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities": {
     "auth_ref": [
      "r423"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities assumed at the acquisition date.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Liabilities",
        "totalLabel": "Total Liabilities Assumed"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Liabilities [Abstract]",
        "terseLabel": "Liabilities Assumed:"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebt": {
     "auth_ref": [
      "r423"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails": {
       "order": 9.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt due after one year or the normal operating cycle, if longer, assumed at the acquisition date.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Noncurrent Liabilities, Long-term Debt",
        "terseLabel": "Long-Term Debt"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment": {
     "auth_ref": [
      "r422",
      "r423"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails": {
       "order": 7.0,
       "parentTag": "piii_BusinessCombinationRecognizedIdentifiableAssetAcquiredAndLiabilityAssumedAssetsIncludingGoodwill",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of property, plant, and equipment recognized as of the acquisition date.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Property, Plant, and Equipment",
        "terseLabel": "Property, Plant and Equipment, Net"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet": {
     "auth_ref": [
      "r423"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount recognized for assets, including goodwill, in excess of (less than) the aggregate liabilities assumed.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired, Goodwill, and Liabilities Assumed, Net",
        "totalLabel": "Net Assets Acquired"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Combinations"
       }
      }
     },
     "localname": "BusinessCombinationsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessCombinationsPolicy": {
     "auth_ref": [
      "r416"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for completed business combinations (purchase method, acquisition method or combination of entities under common control). This accounting policy may include a general discussion of the purchase method or acquisition method of accounting (including for example, the treatment accorded contingent consideration, the identification of assets and liabilities, the purchase price allocation process, how the fair values of acquired assets and liabilities are determined) and the entity's specific application thereof. An entity that acquires another entity in a leveraged buyout transaction generally discloses the accounting policy followed by the acquiring entity in determining the basis used to value its interest in the acquired entity, and the rationale for that accounting policy.",
        "label": "Business Combinations Policy [Policy Text Block]",
        "terseLabel": "Business Combinations"
       }
      }
     },
     "localname": "BusinessCombinationsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CapitalExpendituresIncurredButNotYetPaid": {
     "auth_ref": [
      "r97",
      "r98",
      "r99"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Future cash outflow to pay for purchases of fixed assets that have occurred.",
        "label": "Capital Expenditures Incurred but Not yet Paid",
        "terseLabel": "Accrued Costs for Software (Development in Process)"
       }
      }
     },
     "localname": "CapitalExpendituresIncurredButNotYetPaid",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CapitalizedComputerSoftwareImpairments1": {
     "auth_ref": [
      "r620",
      "r621"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of impairment loss from capitalized computer software costs.",
        "label": "Capitalized Computer Software, Impairments",
        "terseLabel": "Capitalized costs placed into service"
       }
      }
     },
     "localname": "CapitalizedComputerSoftwareImpairments1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPropertyAndEquipmentDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAcquiredInExcessOfPaymentsToAcquireBusiness": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow associated with the acquisition of a business when the cash held by the acquired business exceeds the cash payments to acquire the business.",
        "label": "Cash Acquired in Excess of Payments to Acquire Business",
        "terseLabel": "Proceeds from PIPE, Net of Issuance Costs"
       }
      }
     },
     "localname": "CashAcquiredInExcessOfPaymentsToAcquireBusiness",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAndCashEquivalentsAtCarryingValue": {
     "auth_ref": [
      "r5",
      "r37",
      "r92"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesConsolidationCashAndRestrictedCashDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
       "weight": 1.0
      },
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": 6.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation.",
        "label": "Cash and Cash Equivalents, at Carrying Value",
        "terseLabel": "Cash",
        "verboseLabel": "Checking"
       }
      }
     },
     "localname": "CashAndCashEquivalentsAtCarryingValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyCarryingValueOfFinancialInstrumentsDetails",
      "http://www.p3hp.org/role/DisclosureGoingConcernAndLiquidityDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesConsolidationCashAndRestrictedCashDetails",
      "http://www.p3hp.org/role/DisclosureVariableInterestEntitiesDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy": {
     "auth_ref": [
      "r13",
      "r95",
      "r550"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Entity's cash and cash equivalents accounting policy with respect to restricted balances.  Restrictions may include legally restricted deposits held as compensating balances against short-term borrowing arrangements, contracts entered into with others, or company statements of intention with regard to particular deposits; however, time deposits and short-term certificates of deposit are not generally included in legally restricted deposits.",
        "label": "Cash and Cash Equivalents, Restricted Cash and Cash Equivalents, Policy [Policy Text Block]",
        "terseLabel": "Cash and Restricted Cash"
       }
      }
     },
     "localname": "CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents": {
     "auth_ref": [
      "r85",
      "r92",
      "r100"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesConsolidationCashAndRestrictedCashDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage. Excludes amount for disposal group and discontinued operations. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents",
        "periodEndLabel": "Cash and Restricted Cash at End of Period",
        "periodStartLabel": "Cash and Restricted Cash at Beginning of Period",
        "totalLabel": "Total Cash Balances"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesConsolidationCashAndRestrictedCashDetails",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents [Abstract]"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesConsolidationCashAndRestrictedCashDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect": {
     "auth_ref": [
      "r85",
      "r477"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in cash, cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; including effect from exchange rate change. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Period Increase (Decrease), Including Exchange Rate Effect",
        "totalLabel": "Net Change in Cash and Restricted Cash"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashFDICInsuredAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of cash deposited in financial institutions as of the balance sheet date that is insured by the Federal Deposit Insurance Corporation.",
        "label": "Cash, FDIC Insured Amount",
        "terseLabel": "Amount insured by Federal Deposit Insurance Corporation"
       }
      }
     },
     "localname": "CashFDICInsuredAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesConsolidationCashAndRestrictedCashDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ClassOfStockDomain": {
     "auth_ref": [
      "r104",
      "r106",
      "r132",
      "r133",
      "r138",
      "r141",
      "r143",
      "r153",
      "r154",
      "r155",
      "r204",
      "r257",
      "r262",
      "r263",
      "r264",
      "r268",
      "r269",
      "r302",
      "r303",
      "r305",
      "r306",
      "r476",
      "r629"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share of stock differentiated by the voting rights the holder receives. Examples include, but are not limited to, common stock, redeemable preferred stock, nonredeemable preferred stock, and convertible stock.",
        "label": "Class of Stock [Domain]",
        "terseLabel": "Class of Stock [Domain]"
       }
      }
     },
     "localname": "ClassOfStockDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails",
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails",
      "http://www.p3hp.org/role/DisclosureWarrantsDetails",
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheetsParenthetical",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfStockholdersEquityDeficitAndMezzanineEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ClassOfWarrantOrRightAxis": {
     "auth_ref": [
      "r316",
      "r358"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of warrant or right issued.",
        "label": "Class of Warrant or Right [Axis]",
        "terseLabel": "Class of Warrant or Right [Axis]"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyLevel3MeasurementDetails",
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyOptionPricingDetails",
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyTables",
      "http://www.p3hp.org/role/DisclosureWarrantsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ClassOfWarrantOrRightDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the class or type of warrant or right outstanding. Warrants and rights represent derivative securities that give the holder the right to purchase securities (usually equity) from the issuer at a specific price within a certain time frame. Warrants are often included in a new debt issue to entice investors by a higher return potential. The main difference between warrants and call options is that warrants are issued and guaranteed by the company, whereas options are exchange instruments and are not issued by the company. Also, the lifetime of a warrant is often measured in years, while the lifetime of a typical option is measured in months.",
        "label": "Class of Warrant or Right [Domain]",
        "terseLabel": "Class of Warrant or Right [Domain]"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyLevel3MeasurementDetails",
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyOptionPricingDetails",
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyTables",
      "http://www.p3hp.org/role/DisclosureWarrantsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1": {
     "auth_ref": [
      "r308"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Exercise price per share or per unit of warrants or rights outstanding.",
        "label": "Class of Warrant or Right, Exercise Price of Warrants or Rights",
        "terseLabel": "Exercise price (in $ per share)"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails",
      "http://www.p3hp.org/role/DisclosureWarrantsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ClassOfWarrantOrRightLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Class of Warrant or Right [Line Items]",
        "terseLabel": "Warrants"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyLevel3MeasurementDetails",
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyOptionPricingDetails",
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyTables",
      "http://www.p3hp.org/role/DisclosureWarrantsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByEachWarrantOrRight": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of securities into which each warrant or right may be converted. For example, but not limited to, each warrant may be converted into two shares.",
        "label": "Class of Warrant or Right, Number of Securities Called by Each Warrant or Right",
        "terseLabel": "Warrant to purchase"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightNumberOfSecuritiesCalledByEachWarrantOrRight",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureWarrantsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights": {
     "auth_ref": [
      "r308"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of securities into which the class of warrant or right may be converted. For example, but not limited to, 500,000 warrants may be converted into 1,000,000 shares.",
        "label": "Class of Warrant or Right, Number of Securities Called by Warrants or Rights",
        "terseLabel": "Warrant issued for securities"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails",
      "http://www.p3hp.org/role/DisclosureWarrantsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ClassOfWarrantOrRightOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of warrants or rights outstanding.",
        "label": "Class of Warrant or Right, Outstanding",
        "terseLabel": "Warrants outstanding (shares)"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureWarrantsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ClassOfWarrantOrRightTable": {
     "auth_ref": [
      "r316",
      "r358"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure for warrants or rights issued, which includes the title of issue of securities called for by warrants and rights outstanding, the aggregate amount of securities called for by warrants and rights outstanding, the date from which the warrants or rights are exercisable, and the price at which the warrant or right is exercisable.",
        "label": "Class of Warrant or Right [Table]",
        "terseLabel": "Class of Warrant or Right [Table]"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyLevel3MeasurementDetails",
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyOptionPricingDetails",
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyTables",
      "http://www.p3hp.org/role/DisclosureWarrantsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Collaborative Arrangement and Arrangement Other than Collaborative [Line Items]"
       }
      }
     },
     "localname": "CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureTaxReceivableAgreementDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CommitmentsAndContingencies": {
     "auth_ref": [
      "r51",
      "r245",
      "r560",
      "r579"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": 4.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the caption on the face of the balance sheet to indicate that the entity has entered into (1) purchase or supply arrangements that will require expending a portion of its resources to meet the terms thereof, and (2) is exposed to potential losses or, less frequently, gains, arising from (a) possible claims against a company's resources due to future performance under contract terms, and (b) possible losses or likely gains from uncertainties that will ultimately be resolved when one or more future events that are deemed likely to occur do occur or fail to occur.",
        "label": "Commitments and Contingencies",
        "terseLabel": "COMMITMENTS AND CONTINGENCIES (NOTE 26)"
       }
      }
     },
     "localname": "CommitmentsAndContingencies",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and Contingencies."
       }
      }
     },
     "localname": "CommitmentsAndContingenciesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureTextBlock": {
     "auth_ref": [
      "r242",
      "r243",
      "r244",
      "r252",
      "r613"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for commitments and contingencies.",
        "label": "Commitments and Contingencies Disclosure [Text Block]",
        "terseLabel": "Commitments and Contingencies"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCommitmentsAndContingencies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CommonClassAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Classification of common stock representing ownership interest in a corporation.",
        "label": "Class A Common",
        "terseLabel": "Common Class A [Member]"
       }
      }
     },
     "localname": "CommonClassAMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails",
      "http://www.p3hp.org/role/DisclosureWarrantsDetails",
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheetsParenthetical",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfStockholdersEquityDeficitAndMezzanineEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonStockMember": {
     "auth_ref": [
      "r113",
      "r114",
      "r462"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock that is subordinate to all other stock of the issuer.",
        "label": "Common Stock"
       }
      }
     },
     "localname": "CommonStockMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfStockholdersEquityDeficitAndMezzanineEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonStockParOrStatedValuePerShare": {
     "auth_ref": [
      "r30"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face amount or stated value per share of common stock.",
        "label": "Common Stock, Par or Stated Value Per Share",
        "terseLabel": "Common stock par or stated value per share"
       }
      }
     },
     "localname": "CommonStockParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_CommonStockSharesAuthorized": {
     "auth_ref": [
      "r30"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of common shares permitted to be issued by an entity's charter and bylaws.",
        "label": "Common Stock, Shares Authorized",
        "terseLabel": "Common stock shares authorized"
       }
      }
     },
     "localname": "CommonStockSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesIssued": {
     "auth_ref": [
      "r30"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury). These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized. Shares issued include shares outstanding and shares held in the treasury.",
        "label": "Common Stock, Shares, Issued",
        "terseLabel": "Common stock shares issued"
       }
      }
     },
     "localname": "CommonStockSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesOutstanding": {
     "auth_ref": [
      "r30",
      "r307"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation.",
        "label": "Common Stock, Shares, Outstanding",
        "terseLabel": "Common stock shares outstanding"
       }
      }
     },
     "localname": "CommonStockSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockValue": {
     "auth_ref": [
      "r30",
      "r520"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": 5.0,
       "parentTag": "us-gaap_LimitedLiabilityCompanyLlcMembersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate par or stated value of issued nonredeemable common stock (or common stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable common shares, par value and other disclosure concepts are in another section within stockholders' equity.",
        "label": "Common Stock, Value, Issued",
        "terseLabel": "Common stock"
       }
      }
     },
     "localname": "CommonStockValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CommonUnitIssued": {
     "auth_ref": [
      "r312"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of common units issued of limited liability company (LLC).",
        "label": "Common Unit, Issued",
        "terseLabel": "Common unit issued"
       }
      }
     },
     "localname": "CommonUnitIssued",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonUnitOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of common units of ownership outstanding of a limited liability company (LLC).",
        "label": "Common Unit, Outstanding",
        "terseLabel": "Common unit outstanding"
       }
      }
     },
     "localname": "CommonUnitOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CompensationAndRetirementDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Retirement Plan"
       }
      }
     },
     "localname": "CompensationAndRetirementDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_CompensationExpenseExcludingCostOfGoodAndServiceSold": {
     "auth_ref": [
      "r70"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for salary, wage, profit sharing; incentive and equity-based compensation; and other employee benefit. Other employee benefit expense includes, but is not limited to, service component of net periodic benefit cost for defined benefit plan. Excludes compensation cost in cost of good and service sold.",
        "label": "Compensation Expense, Excluding Cost of Good and Service Sold",
        "terseLabel": "Aggregate payments provided by bonus agreement"
       }
      }
     },
     "localname": "CompensationExpenseExcludingCostOfGoodAndServiceSold",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSubsequentEventsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CompensationRelatedCostsPolicyTextBlock": {
     "auth_ref": [
      "r365"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for salaries, bonuses, incentive awards, postretirement and postemployment benefits granted to employees, including equity-based arrangements; discloses methodologies for measurement, and the bases for recognizing related assets and liabilities and recognizing and reporting compensation expense.",
        "label": "Compensation Related Costs, Policy [Policy Text Block]",
        "terseLabel": "Equity-Based Compensation"
       }
      }
     },
     "localname": "CompensationRelatedCostsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ComponentsOfDeferredTaxAssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Components of Deferred Tax Assets [Abstract]",
        "terseLabel": "Deferred tax assets:"
       }
      }
     },
     "localname": "ComponentsOfDeferredTaxAssetsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesDeferredIncomeTaxesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ComponentsOfDeferredTaxLiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Components of Deferred Tax Liabilities [Abstract]",
        "terseLabel": "Deferred tax liabilities:"
       }
      }
     },
     "localname": "ComponentsOfDeferredTaxLiabilitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesDeferredIncomeTaxesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ComputerEquipmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Long lived, depreciable assets that are used in the creation, maintenance and utilization of information systems.",
        "label": "Computer Equipment &amp; Software"
       }
      }
     },
     "localname": "ComputerEquipmentMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosurePropertyAndEquipmentDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPropertyAndEquipmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ConcentrationRiskBenchmarkDomain": {
     "auth_ref": [
      "r162",
      "r163",
      "r198",
      "r473",
      "r474",
      "r612"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The denominator in a calculation of a disclosed concentration risk percentage.",
        "label": "Concentration Risk Benchmark [Domain]"
       }
      }
     },
     "localname": "ConcentrationRiskBenchmarkDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesConcentrationOfRevenueDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesRevenueRecognitionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ConcentrationRiskByBenchmarkAxis": {
     "auth_ref": [
      "r162",
      "r163",
      "r198",
      "r473",
      "r474",
      "r605",
      "r612"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by benchmark of concentration risk.",
        "label": "Concentration Risk Benchmark [Axis]"
       }
      }
     },
     "localname": "ConcentrationRiskByBenchmarkAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesConcentrationOfRevenueDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesRevenueRecognitionDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskByTypeAxis": {
     "auth_ref": [
      "r162",
      "r163",
      "r198",
      "r473",
      "r474",
      "r605",
      "r612"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of concentration risk, for example, but not limited to, asset, liability, net assets, geographic, customer, employees, supplier, lender.",
        "label": "Concentration Risk Type [Axis]"
       }
      }
     },
     "localname": "ConcentrationRiskByTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesConcentrationOfRevenueDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesRevenueRecognitionDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Concentration Risk [Line Items]"
       }
      }
     },
     "localname": "ConcentrationRiskLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesConcentrationOfRevenueDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskPercentage1": {
     "auth_ref": [
      "r162",
      "r163",
      "r198",
      "r473",
      "r474"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For an entity that discloses a concentration risk in relation to quantitative amount, which serves as the \"benchmark\" (or denominator) in the equation, this concept represents the concentration percentage derived from the division.",
        "label": "Concentration Risk, Percentage",
        "terseLabel": "Percentage of total revenue"
       }
      }
     },
     "localname": "ConcentrationRiskPercentage1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesConcentrationOfRevenueDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesRevenueRecognitionDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ConcentrationRiskTable": {
     "auth_ref": [
      "r160",
      "r162",
      "r163",
      "r164",
      "r473",
      "r475",
      "r612"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Describes the nature of a concentration, a benchmark to which it is compared, and the percentage that the risk is to the benchmark.",
        "label": "Concentration Risk [Table]"
       }
      }
     },
     "localname": "ConcentrationRiskTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesConcentrationOfRevenueDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskTypeDomain": {
     "auth_ref": [
      "r162",
      "r163",
      "r198",
      "r473",
      "r474",
      "r612"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For an entity that discloses a concentration risk as a percentage of some financial balance or benchmark, identifies the type (for example, asset, liability, net assets, geographic, customer, employees, supplier, lender) of the concentration.",
        "label": "Concentration Risk Type [Domain]"
       }
      }
     },
     "localname": "ConcentrationRiskTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesConcentrationOfRevenueDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesRevenueRecognitionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ConsolidationPolicyTextBlock": {
     "auth_ref": [
      "r102",
      "r442"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy regarding (1) the principles it follows in consolidating or combining the separate financial statements, including the principles followed in determining the inclusion or exclusion of subsidiaries or other entities in the consolidated or combined financial statements and (2) its treatment of interests (for example, common stock, a partnership interest or other means of exerting influence) in other entities, for example consolidation or use of the equity or cost methods of accounting.  The accounting policy may also address the accounting treatment for intercompany accounts and transactions, noncontrolling interest, and the income statement treatment in consolidation for issuances of stock by a subsidiary.",
        "label": "Consolidation, Policy [Policy Text Block]",
        "terseLabel": "Principles of Consolidation"
       }
      }
     },
     "localname": "ConsolidationPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ConsolidationVariableInterestEntityPolicy": {
     "auth_ref": [
      "r447",
      "r451",
      "r453"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for consolidation to describe the significant judgments and assumptions made in determining whether a variable interest held by the entity requires the variable interest entity to be consolidated and (or) disclose information about its involvement with the variable interest entity; the methodology used by the entity for determining whether or not it is the primary beneficiary of the variable interest entity; and the significant factors considered and judgments made in determining that the power to direct the activities that significantly impact the economic performance of the variable interest entity are shared (as defined).",
        "label": "Consolidation, Variable Interest Entity, Policy [Policy Text Block]",
        "terseLabel": "Variable Interest Entities (\"VIE\" or \"VIEs\")"
       }
      }
     },
     "localname": "ConsolidationVariableInterestEntityPolicy",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ContractWithCustomerAssetAndLiabilityTableTextBlock": {
     "auth_ref": [
      "r320"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of receivable, contract asset, and contract liability from contract with customer. Includes, but is not limited to, change in contract asset and contract liability.",
        "label": "Contract with Customer, Contract Asset, Contract Liability, and Receivable [Table Text Block]",
        "terseLabel": "Schedule of patient fees receivable"
       }
      }
     },
     "localname": "ContractWithCustomerAssetAndLiabilityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosurePatientFeesReceivableTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ContractWithCustomerReceivableAfterAllowanceForCreditLossCurrent": {
     "auth_ref": [
      "r318",
      "r319",
      "r332"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allowance for credit loss, of right to consideration in exchange for good or service transferred to customer when right to consideration is unconditional, classified as current.",
        "label": "Contract with Customer, Receivable, after Allowance for Credit Loss, Current",
        "terseLabel": "Receivables Net of Contractual Allowances"
       }
      }
     },
     "localname": "ContractWithCustomerReceivableAfterAllowanceForCreditLossCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosurePatientFeesReceivableDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ContractWithCustomerReceivableAllowanceForCreditLossCurrent": {
     "auth_ref": [
      "r208",
      "r319"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of allowance for credit loss for right to consideration in exchange for good or service transferred to customer when right to consideration is unconditional, classified as current.",
        "label": "Contract with Customer, Receivable, Allowance for Credit Loss, Current",
        "negatedLabel": "Less: Contractual Allowances"
       }
      }
     },
     "localname": "ContractWithCustomerReceivableAllowanceForCreditLossCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosurePatientFeesReceivableDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ContractWithCustomerReceivableBeforeAllowanceForCreditLossCurrent": {
     "auth_ref": [
      "r318",
      "r319"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before allowance for credit loss, of right to consideration in exchange for good or service transferred to customer when right to consideration is unconditional, classified as current.",
        "label": "Contract with Customer, Receivable, before Allowance for Credit Loss, Current",
        "terseLabel": "Total Receivables: Gross"
       }
      }
     },
     "localname": "ContractWithCustomerReceivableBeforeAllowanceForCreditLossCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosurePatientFeesReceivableDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ContractualRightsMember": {
     "auth_ref": [
      "r427"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rights that arise from a contractual arrangement with a third party (not including franchise rights and license agreements).",
        "label": "Payor Contracts"
       }
      }
     },
     "localname": "ContractualRightsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ConversionOfStockAmountConverted1": {
     "auth_ref": [
      "r97",
      "r98",
      "r99"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The value of the stock converted in a noncash (or part noncash) transaction. Noncash is defined as transactions during a period that do not result in cash receipts or cash payments in the period. \"Part noncash\" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period.",
        "label": "Conversion of Stock, Amount Converted",
        "terseLabel": "Conversion of Class A Units to Long-Term Debt"
       }
      }
     },
     "localname": "ConversionOfStockAmountConverted1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ConversionOfStockSharesConverted1": {
     "auth_ref": [
      "r97",
      "r98",
      "r99"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares converted in a noncash (or part noncash) transaction. Noncash is defined as transactions during a period that do not result in cash receipts or cash payments in the period. \"Part noncash\" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period.",
        "label": "Conversion of Stock, Shares Converted",
        "terseLabel": "Converted shares"
       }
      }
     },
     "localname": "ConversionOfStockSharesConverted1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CustomerConcentrationRiskMember": {
     "auth_ref": [
      "r161",
      "r198"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reflects the percentage that revenues in the period from one or more significant customers is to net revenues, as defined by the entity, such as total net revenues, product line revenues, segment revenues. The risk is the materially adverse effects of loss of a significant customer.",
        "label": "Customer Concentration Risk [Member]",
        "terseLabel": "Customer Concentration"
       }
      }
     },
     "localname": "CustomerConcentrationRiskMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesConcentrationOfRevenueDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesRevenueRecognitionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CustomerRelationshipsMember": {
     "auth_ref": [
      "r426"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Customer relationship that exists between an entity and its customer, for example, but not limited to, tenant relationships.",
        "label": "Customer Relationships"
       }
      }
     },
     "localname": "CustomerRelationshipsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails",
      "http://www.p3hp.org/role/DisclosureIntangibleAssetsChangesDetails",
      "http://www.p3hp.org/role/DisclosureIntangibleAssetsWeightedAverageRemainingUsefulLifeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtConversionOriginalDebtAmount1": {
     "auth_ref": [
      "r97",
      "r99"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of the original debt being converted in a noncash (or part noncash) transaction. \"Part noncash\" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period.",
        "label": "Debt Conversion, Original Debt, Amount",
        "terseLabel": "Conversion of Long-Term Debt to Class A Units"
       }
      }
     },
     "localname": "DebtConversionOriginalDebtAmount1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt"
       }
      }
     },
     "localname": "DebtDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentCarryingAmount": {
     "auth_ref": [
      "r23",
      "r288",
      "r555",
      "r571"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt.",
        "label": "Long-term Debt, Gross",
        "periodEndLabel": "Ending Balance",
        "periodStartLabel": "Beginning Balance",
        "terseLabel": "Debt outstanding"
       }
      }
     },
     "localname": "DebtInstrumentCarryingAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails",
      "http://www.p3hp.org/role/DisclosureDebtRollforwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentDecreaseForgiveness": {
     "auth_ref": [
      "r105"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Decrease for amounts of indebtedness forgiven by the holder of the debt instrument.",
        "label": "Debt Instrument, Decrease, Forgiveness",
        "terseLabel": "Interest forgiven"
       }
      }
     },
     "localname": "DebtInstrumentDecreaseForgiveness",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureNotesReceivableNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentFaceAmount": {
     "auth_ref": [
      "r270",
      "r290",
      "r291",
      "r486",
      "r488",
      "r489"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face (par) amount of debt instrument at time of issuance.",
        "label": "Debt Instrument, Face Amount",
        "terseLabel": "Debt face amount"
       }
      }
     },
     "localname": "DebtInstrumentFaceAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentInterestRateStatedPercentage": {
     "auth_ref": [
      "r48",
      "r271"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contractual interest rate for funds borrowed, under the debt agreement.",
        "label": "Debt Instrument, Interest Rate, Stated Percentage",
        "terseLabel": "Interest rate"
       }
      }
     },
     "localname": "DebtInstrumentInterestRateStatedPercentage",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Debt Instrument [Line Items]"
       }
      }
     },
     "localname": "DebtInstrumentLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails",
      "http://www.p3hp.org/role/DisclosureDebtRollforwardDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentPeriodicPayment": {
     "auth_ref": [
      "r49",
      "r568"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the required periodic payments including both interest and principal payments.",
        "label": "Debt Instrument, Periodic Payment",
        "terseLabel": "Monthly payment"
       }
      }
     },
     "localname": "DebtInstrumentPeriodicPayment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentTable": {
     "auth_ref": [
      "r49",
      "r105",
      "r111",
      "r270",
      "r271",
      "r272",
      "r273",
      "r274",
      "r275",
      "r276",
      "r277",
      "r278",
      "r279",
      "r280",
      "r281",
      "r282",
      "r283",
      "r284",
      "r285",
      "r286",
      "r287",
      "r290",
      "r291",
      "r292",
      "r293",
      "r308",
      "r309",
      "r310",
      "r311",
      "r485",
      "r486",
      "r488",
      "r489",
      "r569"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A table or schedule providing information pertaining to long-term debt instruments or arrangements, including identification, terms, features, collateral requirements and other information necessary to a fair presentation. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
        "label": "Schedule of Long-term Debt Instruments [Table]"
       }
      }
     },
     "localname": "DebtInstrumentTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails",
      "http://www.p3hp.org/role/DisclosureDebtRollforwardDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentTerm": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period of time between issuance and maturity of debt instrument, in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Debt Instrument, Term",
        "terseLabel": "Debt instrument term"
       }
      }
     },
     "localname": "DebtInstrumentTerm",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_DebtRelatedCommitmentFeesAndDebtIssuanceCosts": {
     "auth_ref": [
      "r75"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the charge against earnings during the period for commitment fees and debt issuance expenses.",
        "label": "Debt Related Commitment Fees and Debt Issuance Costs",
        "negatedLabel": "Less: Loan Origination Fees"
       }
      }
     },
     "localname": "DebtRelatedCommitmentFeesAndDebtIssuanceCosts",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtCompositionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtWeightedAverageInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average interest rate of debt outstanding.",
        "label": "Debt, Weighted Average Interest Rate",
        "terseLabel": "Weighted average interest rate"
       }
      }
     },
     "localname": "DebtWeightedAverageInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DeferredIncomeTaxLiabilities": {
     "auth_ref": [
      "r25",
      "r26",
      "r397",
      "r554",
      "r570"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureIncomeTaxesDeferredIncomeTaxesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DeferredTaxAssetsLiabilitiesNet",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax liability attributable to taxable temporary differences.",
        "label": "Deferred Tax Liabilities, Gross",
        "negatedTotalLabel": "Total deferred tax liabilities"
       }
      }
     },
     "localname": "DeferredIncomeTaxLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesDeferredIncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsGross": {
     "auth_ref": [
      "r398"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureIncomeTaxesDeferredIncomeTaxesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DeferredTaxAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards.",
        "label": "Deferred Tax Assets, Gross",
        "totalLabel": "Total deferred tax assets"
       }
      }
     },
     "localname": "DeferredTaxAssetsGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesDeferredIncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsLiabilitiesNet": {
     "auth_ref": [
      "r400"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureIncomeTaxesDeferredIncomeTaxesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allocation of valuation allowances and deferred tax liability, of deferred tax asset attributable to deductible differences and carryforwards, without jurisdictional netting.",
        "label": "Deferred Tax Assets, Net",
        "terseLabel": "Deferred tax",
        "totalLabel": "Net deferred tax asset"
       }
      }
     },
     "localname": "DeferredTaxAssetsLiabilitiesNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesDeferredIncomeTaxesDetails",
      "http://www.p3hp.org/role/DisclosureIncomeTaxesParagraphsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsNet": {
     "auth_ref": [
      "r400"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureIncomeTaxesDeferredIncomeTaxesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_DeferredTaxAssetsLiabilitiesNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards.",
        "label": "Deferred Tax Assets, Net of Valuation Allowance",
        "totalLabel": "Net deferred tax assets"
       }
      }
     },
     "localname": "DeferredTaxAssetsNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesDeferredIncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsOperatingLossCarryforwards": {
     "auth_ref": [
      "r404",
      "r405"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureIncomeTaxesDeferredIncomeTaxesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible operating loss carryforwards.",
        "label": "Deferred Tax Assets, Operating Loss Carryforwards",
        "terseLabel": "Net operating loss carryforwards"
       }
      }
     },
     "localname": "DeferredTaxAssetsOperatingLossCarryforwards",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesDeferredIncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsOther": {
     "auth_ref": [
      "r404",
      "r405"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureIncomeTaxesDeferredIncomeTaxesDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before allocation of valuation allowance, of deferred tax asset attributable to deductible temporary differences, classified as other.",
        "label": "Deferred Tax Assets, Other",
        "terseLabel": "Other deferred tax assets"
       }
      }
     },
     "localname": "DeferredTaxAssetsOther",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesDeferredIncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilities": {
     "auth_ref": [
      "r404",
      "r405"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureIncomeTaxesDeferredIncomeTaxesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from accrued liabilities.",
        "label": "Deferred Tax Assets, Tax Deferred Expense, Reserves and Accruals, Accrued Liabilities",
        "terseLabel": "Accrued liabilities"
       }
      }
     },
     "localname": "DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesDeferredIncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsValuationAllowance": {
     "auth_ref": [
      "r399"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureIncomeTaxesDeferredIncomeTaxesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_DeferredTaxAssetsNet",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized.",
        "label": "Deferred Tax Assets, Valuation Allowance",
        "negatedLabel": "Valuation allowance"
       }
      }
     },
     "localname": "DeferredTaxAssetsValuationAllowance",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesDeferredIncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssets": {
     "auth_ref": [
      "r404",
      "r405"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureIncomeTaxesDeferredIncomeTaxesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DeferredIncomeTaxLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax liability attributable to taxable temporary differences from intangible assets including goodwill.",
        "label": "Deferred Tax Liabilities, Goodwill and Intangible Assets",
        "negatedLabel": "Goodwill and identifiable intangible assets"
       }
      }
     },
     "localname": "DeferredTaxLiabilitiesGoodwillAndIntangibleAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesDeferredIncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxLiabilitiesOther": {
     "auth_ref": [
      "r404",
      "r405"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureIncomeTaxesDeferredIncomeTaxesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_DeferredIncomeTaxLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax liability attributable to taxable temporary differences classified as other.",
        "label": "Deferred Tax Liabilities, Other",
        "negatedLabel": "Other deferred tax liabilities"
       }
      }
     },
     "localname": "DeferredTaxLiabilitiesOther",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesDeferredIncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedContributionPlanEmployerDiscretionaryContributionAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of discretionary contributions made by an employer to a defined contribution plan.",
        "label": "Defined Contribution Plan, Employer Discretionary Contribution Amount",
        "terseLabel": "Employer contribution"
       }
      }
     },
     "localname": "DefinedContributionPlanEmployerDiscretionaryContributionAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRetirementPlanDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedContributionPlanTextBlock": {
     "auth_ref": [
      "r352",
      "r353"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for defined contribution plan.",
        "label": "Defined Contribution Plan [Text Block]",
        "terseLabel": "Retirement Plan"
       }
      }
     },
     "localname": "DefinedContributionPlanTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRetirementPlan"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_Depreciation": {
     "auth_ref": [
      "r90",
      "r236"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of expense recognized in the current period that reflects the allocation of the cost of tangible assets over the assets' useful lives. Includes production and non-production related depreciation.",
        "label": "Depreciation",
        "terseLabel": "Depreciation Expense"
       }
      }
     },
     "localname": "Depreciation",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DepreciationAndAmortization": {
     "auth_ref": [
      "r90",
      "r236"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations": {
       "order": 6.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The current period expense charged against earnings on long-lived, physical assets not used in production, and which are not intended for resale, to allocate or recognize the cost of such assets over their useful lives; or to record the reduction in book value of an intangible asset over the benefit period of such asset; or to reflect consumption during the period of an asset that is not used in production.",
        "label": "Depreciation, Depletion and Amortization, Nonproduction",
        "terseLabel": "Depreciation"
       }
      }
     },
     "localname": "DepreciationAndAmortization",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DisaggregationOfRevenueLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Disaggregation of Revenue [Line Items]"
       }
      }
     },
     "localname": "DisaggregationOfRevenueLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosurePatientFeesReceivableDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesCapitatedRevenueDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesClinicalFeesAndInsuranceRevenueDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesRevenueRecognitionDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesSharedRiskRevenueDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DisaggregationOfRevenueTable": {
     "auth_ref": [
      "r331",
      "r333",
      "r334",
      "r335",
      "r336",
      "r337",
      "r338",
      "r339"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about disaggregation of revenue into categories depicting how nature, amount, timing, and uncertainty of revenue and cash flows are affected by economic factor.",
        "label": "Disaggregation of Revenue [Table]"
       }
      }
     },
     "localname": "DisaggregationOfRevenueTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosurePatientFeesReceivableDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesCapitatedRevenueDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesClinicalFeesAndInsuranceRevenueDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesRevenueRecognitionDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesSharedRiskRevenueDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock": {
     "auth_ref": [
      "r387"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for share-based payment arrangement.",
        "label": "Share-based Payment Arrangement [Text Block]",
        "terseLabel": "Share-Based Compensation"
       }
      }
     },
     "localname": "DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureShareBasedCompensation"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation"
       }
      }
     },
     "localname": "DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DomesticCountryMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Designated tax department of the government that is entitled to levy and collect income taxes from the entity in its country of domicile.",
        "label": "Domestic"
       }
      }
     },
     "localname": "DomesticCountryMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesComponentsOfLossBeforeTaxesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DueToAffiliateCurrentAndNoncurrent": {
     "auth_ref": [
      "r509",
      "r517",
      "r558",
      "r581",
      "r607"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of payable due to an entity that is affiliated with the reporting entity by means of direct or indirect ownership.",
        "label": "Due to Affiliate",
        "terseLabel": "Due to affiliates"
       }
      }
     },
     "localname": "DueToAffiliateCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DueToRelatedPartiesNoncurrent": {
     "auth_ref": [
      "r50",
      "r110",
      "r260",
      "r262",
      "r263",
      "r267",
      "r268",
      "r269",
      "r509"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Portion of the carrying amount as of the balance sheet date of obligations due all related parties that is payable after one year or beyond the normal operating cycle if longer.",
        "label": "Due to Related Parties, Noncurrent",
        "terseLabel": "Due to Consolidated Entities of P3"
       }
      }
     },
     "localname": "DueToRelatedPartiesNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureVariableInterestEntitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EarningsPerShareAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings (Loss) per Share"
       }
      }
     },
     "localname": "EarningsPerShareAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_EarningsPerShareBasic": {
     "auth_ref": [
      "r68",
      "r118",
      "r119",
      "r121",
      "r122",
      "r123",
      "r129",
      "r132",
      "r141",
      "r142",
      "r143",
      "r147",
      "r148",
      "r463",
      "r464",
      "r564",
      "r583"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period.",
        "label": "Earnings Per Share, Basic",
        "netLabel": "Loss per Share Attributable to Class A Common Shareholders - Basic",
        "terseLabel": "NET LOSS PER SHARE (BASIC)"
       }
      }
     },
     "localname": "EarningsPerShareBasic",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureEarningsLossPerShareComputationOfNetLossPerShareDetails",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerShareDiluted": {
     "auth_ref": [
      "r68",
      "r118",
      "r119",
      "r121",
      "r122",
      "r123",
      "r132",
      "r141",
      "r142",
      "r143",
      "r147",
      "r148",
      "r463",
      "r464",
      "r564",
      "r583"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period.",
        "label": "Earnings Per Share, Diluted",
        "netLabel": "Loss per Share Attributable to Class A Common Shareholders - Diluted",
        "terseLabel": "NET LOSS PER SHARE (DILUTED)"
       }
      }
     },
     "localname": "EarningsPerShareDiluted",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureEarningsLossPerShareComputationOfNetLossPerShareDetails",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerSharePolicyTextBlock": {
     "auth_ref": [
      "r144",
      "r145"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for computing basic and diluted earnings or loss per share for each class of common stock and participating security. Addresses all significant policy factors, including any antidilutive items that have been excluded from the computation and takes into account stock dividends, splits and reverse splits that occur after the balance sheet date of the latest reporting period but before the issuance of the financial statements.",
        "label": "Earnings Per Share, Policy [Policy Text Block]",
        "terseLabel": "Earnings (Loss) per Share and Member Unit"
       }
      }
     },
     "localname": "EarningsPerSharePolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EarningsPerShareTextBlock": {
     "auth_ref": [
      "r144",
      "r145",
      "r146",
      "r149"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for earnings per share.",
        "label": "Earnings Per Share [Text Block]",
        "terseLabel": "Earnings (Loss) per Share"
       }
      }
     },
     "localname": "EarningsPerShareTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureEarningsLossPerShare"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1": {
     "auth_ref": [
      "r379"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted-average period over which cost not yet recognized is expected to be recognized for award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Share-based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Period for Recognition",
        "terseLabel": "Weighted-average period to recognize unrecognized compensation expense"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions": {
     "auth_ref": [
      "r379"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cost to be recognized for nonvested award under share-based payment arrangement. Excludes share and unit options.",
        "label": "Share-based Payment Arrangement, Nonvested Award, Excluding Option, Cost Not yet Recognized, Amount",
        "terseLabel": "Unrecognized compensation expense"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense": {
     "auth_ref": [
      "r378"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of tax benefit for recognition of expense of award under share-based payment arrangement.",
        "label": "Share-based Payment Arrangement, Expense, Tax Benefit",
        "terseLabel": "Tax benefits recognized related to stock-based compensation"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityComponentDomain": {
     "auth_ref": [
      "r0",
      "r63",
      "r64",
      "r65",
      "r113",
      "r114",
      "r115",
      "r117",
      "r124",
      "r127",
      "r152",
      "r205",
      "r307",
      "r312",
      "r381",
      "r382",
      "r383",
      "r407",
      "r408",
      "r462",
      "r478",
      "r479",
      "r480",
      "r481",
      "r482",
      "r483",
      "r593",
      "r594",
      "r595",
      "r637"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Components of equity are the parts of the total Equity balance including that which is allocated to common, preferred, treasury stock, retained earnings, etc.",
        "label": "Equity Component [Domain]"
       }
      }
     },
     "localname": "EquityComponentDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfStockholdersEquityDeficitAndMezzanineEquity",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfStockholdersEquityDeficitAndMezzanineEquityParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ErrorCorrectionTextBlock": {
     "auth_ref": [
      "r125"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for reporting error correction.",
        "label": "Error Correction [Text Block]",
        "terseLabel": "Restatement of Previously Issued Financial Statements"
       }
      }
     },
     "localname": "ErrorCorrectionTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatements"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Error Corrections and Prior Period Adjustments Restatement [Line Items]",
        "terseLabel": "Restatement of Previously Issued Financial Statements"
       }
      }
     },
     "localname": "ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAdjustmentOfWarrants": {
     "auth_ref": [
      "r90",
      "r295"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense (income) related to adjustment to fair value of warrant liability.",
        "label": "Fair Value Adjustment of Warrants",
        "terseLabel": "Gain (loss) from change in fair value of warrant liability"
       }
      }
     },
     "localname": "FairValueAdjustmentOfWarrants",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureWarrantsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Fair Value Measurement Inputs and Valuation Techniques [Line Items]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesWarrantLiabilityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable": {
     "auth_ref": [
      "r466"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about input and valuation technique used to measure fair value and change in valuation approach and technique for each separate class of asset and liability measured on recurring and nonrecurring basis.",
        "label": "Fair Value Measurement Inputs and Valuation Techniques [Table]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesWarrantLiabilityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock": {
     "auth_ref": [
      "r466"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of input and valuation technique used to measure fair value and change in valuation approach and technique for each separate class of asset and liability measured on recurring and nonrecurring basis.",
        "label": "Fair Value Measurement Inputs and Valuation Techniques [Table Text Block]",
        "terseLabel": "Summary of key inputs into the option pricing model"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "auth_ref": [
      "r279",
      "r290",
      "r291",
      "r343",
      "r344",
      "r345",
      "r346",
      "r347",
      "r348",
      "r349",
      "r351",
      "r465",
      "r524",
      "r525",
      "r526"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by level within fair value hierarchy and fair value measured at net asset value per share as practical expedient.",
        "label": "Fair Value Hierarchy and NAV [Axis]"
       }
      }
     },
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyLevel3MeasurementDetails",
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyOptionPricingDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosuresAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Measurements and Hierarchy"
       }
      }
     },
     "localname": "FairValueDisclosuresAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosuresTextBlock": {
     "auth_ref": [
      "r471"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for the fair value of financial instruments (as defined), including financial assets and financial liabilities (collectively, as defined), and the measurements of those instruments as well as disclosures related to the fair value of non-financial assets and liabilities. Such disclosures about the financial instruments, assets, and liabilities would include: (1) the fair value of the required items together with their carrying amounts (as appropriate); (2) for items for which it is not practicable to estimate fair value, disclosure would include: (a) information pertinent to estimating fair value (including, carrying amount, effective interest rate, and maturity, and (b) the reasons why it is not practicable to estimate fair value; (3) significant concentrations of credit risk including: (a) information about the activity, region, or economic characteristics identifying a concentration, (b) the maximum amount of loss the entity is exposed to based on the gross fair value of the related item, (c) policy for requiring collateral or other security and information as to accessing such collateral or security, and (d) the nature and brief description of such collateral or security; (4) quantitative information about market risks and how such risks are managed; (5) for items measured on both a recurring and nonrecurring basis information regarding the inputs used to develop the fair value measurement; and (6) for items presented in the financial statement for which fair value measurement is elected: (a) information necessary to understand the reasons for the election, (b) discussion of the effect of fair value changes on earnings, (c) a description of [similar groups] items for which the election is made and the relation thereof to the balance sheet, the aggregate carrying value of items included in the balance sheet that are not eligible for the election; (7) all other required (as defined) and desired information.",
        "label": "Fair Value Disclosures [Text Block]",
        "terseLabel": "Fair Value Measurements and Hierarchy"
       }
      }
     },
     "localname": "FairValueDisclosuresTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "auth_ref": [
      "r279",
      "r290",
      "r291",
      "r343",
      "r344",
      "r345",
      "r346",
      "r347",
      "r348",
      "r349",
      "r351",
      "r465",
      "r526"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Level 3"
       }
      }
     },
     "localname": "FairValueInputsLevel3Member",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyLevel3MeasurementDetails",
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyOptionPricingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock": {
     "auth_ref": [
      "r468",
      "r472"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the fair value measurement of liabilities using significant unobservable inputs (Level 3), a reconciliation of the beginning and ending balances, separately presenting changes attributable to the following: (1) total gains or losses for the period (realized and unrealized), segregating those gains or losses included in earnings (or changes in net assets), and gains or losses recognized in other comprehensive income (loss) and a description of where those gains or losses included in earnings (or changes in net assets) are reported in the statement of income (or activities); (2) purchases, sales, issues, and settlements (each type disclosed separately); and (3) transfers in and transfers out of Level 3 (for example, transfers due to changes in the observability of significant inputs) by class of liability.",
        "label": "Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Table Text Block]",
        "terseLabel": "Summary of changes in company's Level 3 fair value measurements"
       }
      }
     },
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueMeasurementPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for fair value measurements of financial and non-financial assets, liabilities and instruments classified in shareholders' equity. Disclosures include, but are not limited to, how an entity that manages a group of financial assets and liabilities on the basis of its net exposure measures the fair value of those assets and liabilities.",
        "label": "Fair Value Measurement, Policy [Policy Text Block]",
        "terseLabel": "Fair Value Measurements"
       }
      }
     },
     "localname": "FairValueMeasurementPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings": {
     "auth_ref": [
      "r469"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain (loss) recognized in income from liability measured at fair value on recurring basis using unobservable input (level 3).",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Gain (Loss) Included in Earnings",
        "terseLabel": "Mark-to-Market Adjustment for Stock Warrants"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyLevel3MeasurementDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityIssues": {
     "auth_ref": [
      "r470"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of issuances of financial instrument classified as a liability measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Issuances",
        "terseLabel": "Issuance of Class D Warrants"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityIssues",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyLevel3MeasurementDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue": {
     "auth_ref": [
      "r468"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of financial instrument classified as a liability measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability Value",
        "periodEndLabel": "Ending Balance",
        "periodStartLabel": "Beginning Balance"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyLevel3MeasurementDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "auth_ref": [
      "r279",
      "r290",
      "r291",
      "r343",
      "r344",
      "r345",
      "r346",
      "r347",
      "r348",
      "r349",
      "r351",
      "r524",
      "r525",
      "r526"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Categories used to prioritize the inputs to valuation techniques to measure fair value.",
        "label": "Fair Value Hierarchy and NAV [Domain]"
       }
      }
     },
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyLevel3MeasurementDetails",
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyOptionPricingDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueRecurringBasisUnobservableInputReconciliationLiabilityGainLossStatementOfIncomeExtensibleList": {
     "auth_ref": [
      "r469"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates line item in statement in which net income is reported that includes gain (loss) from liability measured at fair value using unobservable input (level 3).",
        "label": "Fair Value, Liability, Recurring Basis, Unobservable Input Reconciliation, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration]"
       }
      }
     },
     "localname": "FairValueRecurringBasisUnobservableInputReconciliationLiabilityGainLossStatementOfIncomeExtensibleList",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyLevel3MeasurementDetails"
     ],
     "xbrltype": "enumerationSetItemType"
    },
    "us-gaap_FinancialDesignationPredecessorAndSuccessorFixedList": {
     "auth_ref": [
      "r516"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates designation of financial information when substantially all business or separately identifiable line of business transfers from one entity to another entity. Acceptable values are \"Predecessor\" and \"Successor\".",
        "label": "Financial Designation, Predecessor and Successor [Fixed List]"
       }
      }
     },
     "localname": "FinancialDesignationPredecessorAndSuccessorFixedList",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureClaimsPayableDetails",
      "http://www.p3hp.org/role/DisclosureDebtCompositionDetails",
      "http://www.p3hp.org/role/DisclosureDebtRollforwardDetails",
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyCarryingValueOfFinancialInstrumentsDetails",
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyLevel3MeasurementDetails",
      "http://www.p3hp.org/role/DisclosureGoodwillDetails",
      "http://www.p3hp.org/role/DisclosureIncomeTaxesComponentsOfIncomeTaxExpensesDetails",
      "http://www.p3hp.org/role/DisclosureIncomeTaxesComponentsOfLossBeforeTaxesDetails",
      "http://www.p3hp.org/role/DisclosureIncomeTaxesDeferredIncomeTaxesDetails",
      "http://www.p3hp.org/role/DisclosureIntangibleAssetsChangesDetails",
      "http://www.p3hp.org/role/DisclosureLeasesFutureMinimumLeasePaymentsDetails",
      "http://www.p3hp.org/role/DisclosureLeasesLeaseTermsAndDiscountRatesDetails",
      "http://www.p3hp.org/role/DisclosureLeasesOperatingLeaseCostsDetails",
      "http://www.p3hp.org/role/DisclosureLeasesSupplementalCashFlowsAndOtherInformationDetails",
      "http://www.p3hp.org/role/DisclosurePatientFeesReceivableDetails",
      "http://www.p3hp.org/role/DisclosurePropertyAndEquipmentDetails",
      "http://www.p3hp.org/role/DisclosureRelatedPartiesDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesConcentrationOfRevenueDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesConsolidationCashAndRestrictedCashDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementPayablesDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesHealthPlanSettlementReceivablesDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesRevenueRecognitionDetails",
      "http://www.p3hp.org/role/DisclosureVariableInterestEntitiesDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfStockholdersEquityDeficitAndMezzanineEquity"
     ],
     "xbrltype": "financialDesignationType"
    },
    "us-gaap_FinancingReceivableAccruedInterestBeforeAllowanceForCreditLoss": {
     "auth_ref": [
      "r211"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before allowance for credit loss, of accrued interest on financing receivable.",
        "label": "Financing Receivable, Accrued Interest, before Allowance for Credit Loss",
        "terseLabel": "Notes receivable accrued interest"
       }
      }
     },
     "localname": "FinancingReceivableAccruedInterestBeforeAllowanceForCreditLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureNotesReceivableNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLosses": {
     "auth_ref": [
      "r201",
      "r208",
      "r209",
      "r210",
      "r557",
      "r630",
      "r631",
      "r632"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of allowance for credit loss on financing receivable. Excludes allowance for financing receivable covered under loss sharing agreement.",
        "label": "Financing Receivable, Allowance for Credit Loss",
        "terseLabel": "Notes receivable valuation allowances"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLosses",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureNotesReceivableNetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivablesTextBlock": {
     "auth_ref": [
      "r202",
      "r203"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for financing receivable.",
        "label": "Financing Receivables [Text Block]",
        "terseLabel": "Patient Fees Receivable"
       }
      }
     },
     "localname": "FinancingReceivablesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosurePatientFeesReceivable"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetUsefulLife": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Useful life of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Finite-Lived Intangible Asset, Useful Life",
        "terseLabel": "Useful life of intangible assets (in years)"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetUsefulLife",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchaseConsiderationDetails",
      "http://www.p3hp.org/role/DisclosureIntangibleAssetsWeightedAverageRemainingUsefulLifeDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths": {
     "auth_ref": [
      "r232"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year One",
        "terseLabel": "2022"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIntangibleAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive": {
     "auth_ref": [
      "r232"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year Five",
        "terseLabel": "2026"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearFive",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIntangibleAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour": {
     "auth_ref": [
      "r232"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in fourth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year Four",
        "terseLabel": "2025"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearFour",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIntangibleAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree": {
     "auth_ref": [
      "r232"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in third fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year Three",
        "terseLabel": "2024"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearThree",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIntangibleAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo": {
     "auth_ref": [
      "r232"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in second fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year Two",
        "terseLabel": "2023"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIntangibleAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis": {
     "auth_ref": [
      "r224",
      "r226",
      "r230",
      "r233",
      "r535",
      "r536"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by major type or class of finite-lived intangible assets.",
        "label": "Finite-Lived Intangible Assets by Major Class [Axis]"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsByMajorClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails",
      "http://www.p3hp.org/role/DisclosureIntangibleAssetsChangesDetails",
      "http://www.p3hp.org/role/DisclosureIntangibleAssetsWeightedAverageRemainingUsefulLifeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsFutureAmortizationExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Finite-Lived Intangible Assets, Net, Amortization Expense, Fiscal Year Maturity [Abstract]",
        "terseLabel": "Anticipated amortization of intangible assets"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsFutureAmortizationExpenseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIntangibleAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Finite-Lived Intangible Assets [Line Items]"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIntangibleAssetsChangesDetails",
      "http://www.p3hp.org/role/DisclosureIntangibleAssetsWeightedAverageRemainingUsefulLifeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain": {
     "auth_ref": [
      "r224",
      "r229"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The major class of finite-lived intangible asset (for example, patents, trademarks, copyrights, etc.) A major class is composed of intangible assets that can be grouped together because they are similar, either by their nature or by their use in the operations of a company.",
        "label": "Finite-Lived Intangible Assets, Major Class Name [Domain]"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsMajorClassNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails",
      "http://www.p3hp.org/role/DisclosureIntangibleAssetsChangesDetails",
      "http://www.p3hp.org/role/DisclosureIntangibleAssetsWeightedAverageRemainingUsefulLifeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinitelivedIntangibleAssetsAcquired1": {
     "auth_ref": [
      "r225"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase in assets, excluding financial assets, lacking physical substance with a definite life, from an acquisition.",
        "label": "Finite-lived Intangible Assets Acquired",
        "terseLabel": "Acquisitions"
       }
      }
     },
     "localname": "FinitelivedIntangibleAssetsAcquired1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIntangibleAssetsChangesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FurnitureAndFixturesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equipment commonly used in offices and stores that have no permanent connection to the structure of a building or utilities. Examples include, but are not limited to, desks, chairs, tables, and bookcases.",
        "label": "Furniture &amp; Fixtures"
       }
      }
     },
     "localname": "FurnitureAndFixturesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosurePropertyAndEquipmentDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPropertyAndEquipmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_GeneralAndAdministrativeExpense": {
     "auth_ref": [
      "r73"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations": {
       "order": 4.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate total of expenses of managing and administering the affairs of an entity, including affiliates of the reporting entity, which are not directly or indirectly associated with the manufacture, sale or creation of a product or product line.",
        "label": "General and Administrative Expense",
        "terseLabel": "Corporate, General and Administrative Expenses"
       }
      }
     },
     "localname": "GeneralAndAdministrativeExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Goodwill": {
     "auth_ref": [
      "r213",
      "r215",
      "r520",
      "r551"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails": {
       "order": 9.0,
       "parentTag": "piii_BusinessCombinationRecognizedIdentifiableAssetAcquiredAndLiabilityAssumedAssetsIncludingGoodwill",
       "weight": 1.0
      },
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.",
        "label": "Goodwill.",
        "periodEndLabel": "Balance at the end",
        "periodStartLabel": "Balance at the beginning",
        "terseLabel": "Goodwill"
       }
      }
     },
     "localname": "Goodwill",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsMedcoreHealthPlanIncAndOmniIpaMedicalGroupIncDetails",
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails",
      "http://www.p3hp.org/role/DisclosureGoodwillDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GoodwillAcquiredDuringPeriod": {
     "auth_ref": [
      "r216"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase in asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized resulting from a business combination.",
        "label": "Goodwill, Acquired During Period",
        "terseLabel": "Acquisitions"
       }
      }
     },
     "localname": "GoodwillAcquiredDuringPeriod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureGoodwillDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Goodwill"
       }
      }
     },
     "localname": "GoodwillAndIntangibleAssetsDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_GoodwillAndIntangibleAssetsGoodwillPolicy": {
     "auth_ref": [
      "r218"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for goodwill. This accounting policy also may address how an entity assesses and measures impairment of goodwill, how reporting units are determined, how goodwill is allocated to such units, and how the fair values of the reporting units are determined.",
        "label": "Goodwill and Intangible Assets, Goodwill, Policy [Policy Text Block]",
        "terseLabel": "Goodwill"
       }
      }
     },
     "localname": "GoodwillAndIntangibleAssetsGoodwillPolicy",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_GoodwillAndIntangibleAssetsIntangibleAssetsPolicy": {
     "auth_ref": [
      "r227"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for intangible assets. This accounting policy may address both intangible assets subject to amortization and those that are not. The following also may be disclosed: (1) a description of intangible assets (2) the estimated useful lives of those assets (3) the amortization method used (4) how the entity assesses and measures impairment of such assets (5) how future cash flows are estimated (6) how the fair values of such asset are determined.",
        "label": "Goodwill and Intangible Assets, Intangible Assets, Policy [Policy Text Block]",
        "terseLabel": "Intangible Assets"
       }
      }
     },
     "localname": "GoodwillAndIntangibleAssetsIntangibleAssetsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_GoodwillDisclosureTextBlock": {
     "auth_ref": [
      "r221"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for goodwill.",
        "label": "Goodwill Disclosure [Text Block]",
        "terseLabel": "Goodwill"
       }
      }
     },
     "localname": "GoodwillDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureGoodwill"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_GoodwillImpairmentLoss": {
     "auth_ref": [
      "r90",
      "r214",
      "r217",
      "r219"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of loss from the write-down of an asset representing the future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.",
        "label": "Goodwill, Impairment Loss",
        "terseLabel": "Impairment charges"
       }
      }
     },
     "localname": "GoodwillImpairmentLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureGoodwillDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesGoodwillDetails",
      "http://www.p3hp.org/role/DisclosureSubsequentEventsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GoodwillLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Goodwill [Line Items]"
       }
      }
     },
     "localname": "GoodwillLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureGoodwillDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_HealthCarePatientServiceMember": {
     "auth_ref": [
      "r333"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Service provided to patient for maintenance, diagnosis and treatment of physical and mental health. Excludes service to resident in health care facility.",
        "label": "Other Patient Service Revenue"
       }
      }
     },
     "localname": "HealthCarePatientServiceMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesRevenueRecognitionDetails",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ImpairmentOrDisposalOfLongLivedAssetsPolicyTextBlock": {
     "auth_ref": [
      "r235",
      "r240"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for recognizing and measuring the impairment of long-lived assets. An entity also may disclose its accounting policy for long-lived assets to be sold. This policy excludes goodwill and intangible assets.",
        "label": "Impairment or Disposal of Long-Lived Assets, Policy [Policy Text Block]",
        "terseLabel": "Impairment of Long-Lived Assets"
       }
      }
     },
     "localname": "ImpairmentOrDisposalOfLongLivedAssetsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest": {
     "auth_ref": [
      "r66",
      "r175",
      "r184",
      "r187",
      "r190",
      "r193",
      "r549",
      "r562",
      "r566",
      "r584"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of income (loss) from continuing operations, including income (loss) from equity method investments, before deduction of income tax expense (benefit), and income (loss) attributable to noncontrolling interest.",
        "label": "Income (Loss) from Continuing Operations before Income Taxes, Noncontrolling Interest",
        "totalLabel": "LOSS BEFORE INCOME TAXES",
        "verboseLabel": "Components of net loss before the provision for income taxes"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesComponentsOfLossBeforeTaxesDetails",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeStatementAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CONSOLIDATED STATEMENTS OF OPERATIONS",
        "terseLabel": "Consolidated Statement of Operations"
       }
      }
     },
     "localname": "IncomeStatementAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeStatementRelatedDisclosuresAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Statement Related Disclosures [Abstract]",
        "terseLabel": "Condensed Consolidated Statement of Operations"
       }
      }
     },
     "localname": "IncomeStatementRelatedDisclosuresAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxAuthorityAxis": {
     "auth_ref": [
      "r394"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by tax jurisdiction.",
        "label": "Income Tax Authority [Axis]"
       }
      }
     },
     "localname": "IncomeTaxAuthorityAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesComponentsOfLossBeforeTaxesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxAuthorityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Agency, division or body classification that levies income taxes, examines tax returns for compliance, or grants exemptions from or makes other decisions pertaining to income taxes.",
        "label": "Income Tax Authority [Domain]"
       }
      }
     },
     "localname": "IncomeTaxAuthorityDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesComponentsOfLossBeforeTaxesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IncomeTaxDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Taxes"
       }
      }
     },
     "localname": "IncomeTaxDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxDisclosureTextBlock": {
     "auth_ref": [
      "r108",
      "r393",
      "r395",
      "r402",
      "r409",
      "r411",
      "r413",
      "r414",
      "r415"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for income taxes. Disclosures may include net deferred tax liability or asset recognized in an enterprise's statement of financial position, net change during the year in the total valuation allowance, approximate tax effect of each type of temporary difference and carryforward that gives rise to a significant portion of deferred tax liabilities and deferred tax assets, utilization of a tax carryback, and tax uncertainties information.",
        "label": "Income Tax Disclosure [Text Block]",
        "terseLabel": "Income Taxes"
       }
      }
     },
     "localname": "IncomeTaxDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxes"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r109",
      "r126",
      "r127",
      "r174",
      "r391",
      "r410",
      "r412",
      "r585"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureIncomeTaxesComponentsOfIncomeTaxExpensesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations": {
       "order": 2.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.",
        "label": "Income Tax Expense (Benefit)",
        "negatedLabel": "PROVISION FOR INCOME TAXES",
        "terseLabel": "Tax benefit",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "IncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesComponentsOfIncomeTaxExpensesDetails",
      "http://www.p3hp.org/role/DisclosureIncomeTaxesParagraphsDetails",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxPolicyTextBlock": {
     "auth_ref": [
      "r62",
      "r389",
      "r390",
      "r395",
      "r396",
      "r401",
      "r406"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for income taxes, which may include its accounting policies for recognizing and measuring deferred tax assets and liabilities and related valuation allowances, recognizing investment tax credits, operating loss carryforwards, tax credit carryforwards, and other carryforwards, methodologies for determining its effective income tax rate and the characterization of interest and penalties in the financial statements.",
        "label": "Income Tax, Policy [Policy Text Block]",
        "terseLabel": "Income Taxes"
       }
      }
     },
     "localname": "IncomeTaxPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance": {
     "auth_ref": [
      "r392"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureIncomeTaxesComponentsOfIncomeTaxExpensesDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to increase (decrease) in the valuation allowance for deferred tax assets.",
        "label": "Effective Income Tax Rate Reconciliation, Change in Deferred Tax Assets Valuation Allowance, Amount",
        "terseLabel": "Change in valuation allowance"
       }
      }
     },
     "localname": "IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesComponentsOfIncomeTaxExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate": {
     "auth_ref": [
      "r392"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureIncomeTaxesComponentsOfIncomeTaxExpensesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of income tax expense or benefit for the period computed by applying the domestic federal statutory tax rates to pretax income from continuing operations.",
        "label": "Effective Income Tax Rate Reconciliation at Federal Statutory Income Tax Rate, Amount",
        "negatedLabel": "Tax at Federal statutory rate"
       }
      }
     },
     "localname": "IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesComponentsOfIncomeTaxExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxReconciliationMinorityInterestIncomeExpense": {
     "auth_ref": [
      "r392"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureIncomeTaxesComponentsOfIncomeTaxExpensesDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to noncontrolling interest income (loss) exempt from income taxes.",
        "label": "Effective Income Tax Rate Reconciliation, Noncontrolling Interest Income (Loss), Amount",
        "terseLabel": "Non-controlling interest and nontaxable income"
       }
      }
     },
     "localname": "IncomeTaxReconciliationMinorityInterestIncomeExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesComponentsOfIncomeTaxExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther": {
     "auth_ref": [
      "r392"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureIncomeTaxesComponentsOfIncomeTaxExpensesDetails": {
       "order": 7.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to other nondeductible expenses.",
        "label": "Effective Income Tax Rate Reconciliation, Nondeductible Expense, Other, Amount",
        "terseLabel": "Permanent book to tax differences"
       }
      }
     },
     "localname": "IncomeTaxReconciliationNondeductibleExpenseOther",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesComponentsOfIncomeTaxExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes": {
     "auth_ref": [
      "r392"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureIncomeTaxesComponentsOfIncomeTaxExpensesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to state and local income tax expense (benefit).",
        "label": "Effective Income Tax Rate Reconciliation, State and Local Income Taxes, Amount",
        "negatedLabel": "State taxes, net of Federal Benefit"
       }
      }
     },
     "localname": "IncomeTaxReconciliationStateAndLocalIncomeTaxes",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesComponentsOfIncomeTaxExpensesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccountsPayableTrade": {
     "auth_ref": [
      "r89"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 13.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Change in recurring obligations of a business that arise from the acquisition of merchandise, materials, supplies and services used in the production and sale of goods and services.",
        "label": "Increase (Decrease) in Accounts Payable, Trade",
        "terseLabel": "Accounts Payable"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccountsPayableTrade",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccountsReceivable": {
     "auth_ref": [
      "r89"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in amount due within one year (or one business cycle) from customers for the credit sale of goods and services.",
        "label": "Increase (Decrease) in Accounts Receivable",
        "negatedLabel": "Accounts Receivable"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccountsReceivable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInInterestPayableNet": {
     "auth_ref": [
      "r89"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 15.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in interest payable, which represents the amount owed to note holders, bond holders, and other parties for interest earned on loans or credit extended to the reporting entity.",
        "label": "Increase (Decrease) in Interest Payable, Net",
        "terseLabel": "Accrued Interest"
       }
      }
     },
     "localname": "IncreaseDecreaseInInterestPayableNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInOperatingCapitalAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (Decrease) in Operating Capital [Abstract]",
        "terseLabel": "Changes in Assets and Liabilities, net of Acquisitions:"
       }
      }
     },
     "localname": "IncreaseDecreaseInOperatingCapitalAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncreaseDecreaseInOtherAccruedLiabilities": {
     "auth_ref": [
      "r89"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 14.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in other expenses incurred but not yet paid.",
        "label": "Increase (Decrease) in Other Accrued Liabilities",
        "terseLabel": "Accrued Payroll"
       }
      }
     },
     "localname": "IncreaseDecreaseInOtherAccruedLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInOtherCurrentAssets": {
     "auth_ref": [
      "r89"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in current assets classified as other.",
        "label": "Increase (Decrease) in Other Current Assets",
        "negatedLabel": "Other Current Assets"
       }
      }
     },
     "localname": "IncreaseDecreaseInOtherCurrentAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInStockholdersEquityRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Increase (Decrease) in Stockholders' Equity [Roll Forward]"
       }
      }
     },
     "localname": "IncreaseDecreaseInStockholdersEquityRollForward",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfStockholdersEquityDeficitAndMezzanineEquity"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncreaseDecreaseInTemporaryEquityRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Increase (Decrease) in Temporary Equity [Roll Forward]"
       }
      }
     },
     "localname": "IncreaseDecreaseInTemporaryEquityRollForward",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfStockholdersEquityDeficitAndMezzanineEquity"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IntangibleAssetsDisclosureTextBlock": {
     "auth_ref": [
      "r234"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for all or part of the information related to intangible assets.",
        "label": "Intangible Assets Disclosure [Text Block]",
        "terseLabel": "Intangible Assets"
       }
      }
     },
     "localname": "IntangibleAssetsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIntangibleAssets"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IntangibleAssetsNetExcludingGoodwill": {
     "auth_ref": [
      "r222",
      "r228"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": 4.0,
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts of all intangible assets, excluding goodwill, as of the balance sheet date, net of accumulated amortization and impairment charges.",
        "label": "Intangible Assets, Net (Excluding Goodwill)",
        "periodEndLabel": "Balance at the end",
        "periodStartLabel": "Balance at the beginning",
        "terseLabel": "Intangible Assets, Net"
       }
      }
     },
     "localname": "IntangibleAssetsNetExcludingGoodwill",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIntangibleAssetsChangesDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeExpenseNet": {
     "auth_ref": [
      "r565"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations": {
       "order": 2.0,
       "parentTag": "us-gaap_NonoperatingIncomeExpense",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net amount of operating interest income (expense).",
        "label": "Interest Income (Expense), Net",
        "terseLabel": "Interest Expense, net"
       }
      }
     },
     "localname": "InterestIncomeExpenseNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPaidNet": {
     "auth_ref": [
      "r83",
      "r86",
      "r96"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash paid for interest, excluding capitalized interest, classified as operating activity. Includes, but is not limited to, payment to settle zero-coupon bond for accreted interest of debt discount and debt instrument with insignificant coupon interest rate in relation to effective interest rate of borrowing attributable to accreted interest of debt discount.",
        "label": "Interest Paid, Excluding Capitalized Interest, Operating Activities",
        "terseLabel": "Cash Paid for Interest"
       }
      }
     },
     "localname": "InterestPaidNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPayableCurrent": {
     "auth_ref": [
      "r8",
      "r9",
      "r46"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of [accrued] interest payable on all forms of debt, including trade payables, that has been incurred and is unpaid. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Interest Payable, Current",
        "terseLabel": "Accrued Interest"
       }
      }
     },
     "localname": "InterestPayableCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPayableCurrentAndNoncurrent": {
     "auth_ref": [
      "r559",
      "r580"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest payable on debt, including, but not limited to, trade payables.",
        "label": "Interest Payable",
        "terseLabel": "Accrued interest"
       }
      }
     },
     "localname": "InterestPayableCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentsInAndAdvancesToAffiliatesBalancePrincipalAmount": {
     "auth_ref": [
      "r611"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of principal loans outstanding to affiliates for management investment companies.",
        "label": "Investments in and Advances to Affiliates, Balance, Principal Amount",
        "terseLabel": "Investment in affiliates"
       }
      }
     },
     "localname": "InvestmentsInAndAdvancesToAffiliatesBalancePrincipalAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LeaseCostTableTextBlock": {
     "auth_ref": [
      "r502"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of lessee's lease cost. Includes, but is not limited to, interest expense for finance lease, amortization of right-of-use asset for finance lease, operating lease cost, short-term lease cost, variable lease cost and sublease income.",
        "label": "Lease, Cost [Table Text Block]",
        "terseLabel": "Summary of operating lease costs"
       }
      }
     },
     "localname": "LeaseCostTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureLeasesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LeaseholdImprovementsMember": {
     "auth_ref": [
      "r237"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Additions or improvements to assets held under a lease arrangement.",
        "label": "Leasehold Improvements"
       }
      }
     },
     "localname": "LeaseholdImprovementsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosurePropertyAndEquipmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LeaseholdsAndLeaseholdImprovementsMember": {
     "auth_ref": [
      "r237"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Assets held by a lessee under a capital lease and any addition or improvement to assets held under a lease arrangement (including addition or improvement to assets held by lessee under an operating lease arrangement).",
        "label": "Leaseholds and Leasehold Improvements [Member]",
        "terseLabel": "Leasehold Improvements (Cycle: Lease Term)"
       }
      }
     },
     "localname": "LeaseholdsAndLeaseholdImprovementsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPropertyAndEquipmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LesseeDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Leases"
       }
      }
     },
     "localname": "LesseeDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_LesseeLeaseDescriptionLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Lessee, Lease, Description [Line Items]"
       }
      }
     },
     "localname": "LesseeLeaseDescriptionLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureLeasesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LesseeLeaseDescriptionTable": {
     "auth_ref": [
      "r496"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about lessee's leases.",
        "label": "Lessee, Lease, Description [Table]"
       }
      }
     },
     "localname": "LesseeLeaseDescriptionTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureLeasesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LesseeLeasesPolicyTextBlock": {
     "auth_ref": [
      "r494"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for leasing arrangement entered into by lessee.",
        "label": "Lessee, Leases [Policy Text Block]",
        "terseLabel": "Leases"
       }
      }
     },
     "localname": "LesseeLeasesPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock": {
     "auth_ref": [
      "r503"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of undiscounted cash flows of lessee's operating lease liability. Includes, but is not limited to, reconciliation of undiscounted cash flows to operating lease liability recognized in statement of financial position.",
        "label": "Lessee, Operating Lease, Liability, Maturity [Table Text Block]",
        "terseLabel": "Schedule of reconciliation of undiscounted future minimum lease payments"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureLeasesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue": {
     "auth_ref": [
      "r503"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureLeasesFutureMinimumLeasePaymentsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.p3hp.org/role/DisclosureLeasesFutureMinimumLeasePaymentsDetailsCalc2": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease.",
        "label": "Lessee, Operating Lease, Liability, to be Paid",
        "totalLabel": "Total Payments for Operating Leases"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureLeasesFutureMinimumLeasePaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive": {
     "auth_ref": [
      "r503"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureLeasesFutureMinimumLeasePaymentsDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease due after fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, after Year Five",
        "terseLabel": "Thereafter"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureLeasesFutureMinimumLeasePaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths": {
     "auth_ref": [
      "r503"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureLeasesFutureMinimumLeasePaymentsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year One",
        "terseLabel": "2022"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureLeasesFutureMinimumLeasePaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive": {
     "auth_ref": [
      "r503"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureLeasesFutureMinimumLeasePaymentsDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Five",
        "terseLabel": "2026"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearFive",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureLeasesFutureMinimumLeasePaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour": {
     "auth_ref": [
      "r503"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureLeasesFutureMinimumLeasePaymentsDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in fourth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Four",
        "terseLabel": "2025"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearFour",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureLeasesFutureMinimumLeasePaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree": {
     "auth_ref": [
      "r503"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureLeasesFutureMinimumLeasePaymentsDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in third fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Three",
        "terseLabel": "2024"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearThree",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureLeasesFutureMinimumLeasePaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo": {
     "auth_ref": [
      "r503"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureLeasesFutureMinimumLeasePaymentsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in second fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Two",
        "terseLabel": "2023"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureLeasesFutureMinimumLeasePaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount": {
     "auth_ref": [
      "r503"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureLeasesFutureMinimumLeasePaymentsDetailsCalc2": {
       "order": 1.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payments in excess of discounted obligation for lease payments for operating lease.",
        "label": "Lessee, Operating Lease, Liability, Undiscounted Excess Amount",
        "negatedLabel": "Less: Interest"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityUndiscountedExcessAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureLeasesFutureMinimumLeasePaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseRenewalTerm": {
     "auth_ref": [
      "r495"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Term of lessee's operating lease renewal, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Lessee, Operating Lease, Renewal Term",
        "terseLabel": "Extension term of lease"
       }
      }
     },
     "localname": "LesseeOperatingLeaseRenewalTerm",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureLeasesDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_LesseeOperatingLeaseTermOfContract": {
     "auth_ref": [
      "r495"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Term of lessee's operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Lessee, Operating Lease, Term of Contract",
        "terseLabel": "Lease term",
        "verboseLabel": "Lease term"
       }
      }
     },
     "localname": "LesseeOperatingLeaseTermOfContract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureLeasesDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPropertyAndEquipmentDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_LesseeOperatingLeasesTextBlock": {
     "auth_ref": [
      "r505"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for operating leases of lessee. Includes, but is not limited to, description of operating lease and maturity analysis of operating lease liability.",
        "label": "Lessee, Operating Leases [Text Block]",
        "terseLabel": "Leases"
       }
      }
     },
     "localname": "LesseeOperatingLeasesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureLeases"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_Liabilities": {
     "auth_ref": [
      "r45",
      "r106",
      "r186",
      "r204",
      "r257",
      "r258",
      "r259",
      "r262",
      "r263",
      "r264",
      "r265",
      "r266",
      "r268",
      "r269",
      "r441",
      "r448",
      "r449",
      "r476",
      "r518",
      "r519"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": 5.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all liabilities that are recognized. Liabilities are probable future sacrifices of economic benefits arising from present obligations of an entity to transfer assets or provide services to other entities in the future.",
        "label": "Liabilities",
        "terseLabel": "TOTAL LIABILITIES",
        "totalLabel": "TOTAL LIABILITIES (1)"
       }
      }
     },
     "localname": "Liabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureVariableInterestEntitiesDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquity": {
     "auth_ref": [
      "r34",
      "r106",
      "r204",
      "r476",
      "r520",
      "r556",
      "r577"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any.",
        "label": "Liabilities and Equity",
        "terseLabel": "TOTAL LIABILITIES AND MEMBERS' DEFICIT",
        "totalLabel": "TOTAL LIABILITIES, MEZZANINE EQUITY &amp; STOCKHOLDERS'/MEMBERS' EQUITY (DEFICIT)",
        "verboseLabel": "Total Liabilities, Mezzanine Equity &amp; Members' Equity (Deficit)"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails",
      "http://www.p3hp.org/role/DisclosureVariableInterestEntitiesDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities and Equity [Abstract]",
        "terseLabel": "LIABILITIES, MEZZANINE EQUITY and STOCKHOLDERS'/MEMBERS' EQUITY (DEFICIT)",
        "verboseLabel": "LIABILITIES AND MEMBERS' DEFICIT"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureVariableInterestEntitiesDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesCurrent": {
     "auth_ref": [
      "r47",
      "r106",
      "r204",
      "r257",
      "r258",
      "r259",
      "r262",
      "r263",
      "r264",
      "r265",
      "r266",
      "r268",
      "r269",
      "r441",
      "r448",
      "r449",
      "r476",
      "r518",
      "r519",
      "r520"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total obligations incurred as part of normal operations that are expected to be paid during the following twelve months or within one business cycle, if longer.",
        "label": "Liabilities, Current",
        "totalLabel": "TOTAL CURRENT LIABILITIES"
       }
      }
     },
     "localname": "LiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesCurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities, Current [Abstract]",
        "terseLabel": "CURRENT LIABILITIES:"
       }
      }
     },
     "localname": "LiabilitiesCurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesNoncurrent": {
     "auth_ref": [
      "r10",
      "r11",
      "r12",
      "r23",
      "r24",
      "r106",
      "r204",
      "r257",
      "r258",
      "r259",
      "r262",
      "r263",
      "r264",
      "r265",
      "r266",
      "r268",
      "r269",
      "r441",
      "r448",
      "r449",
      "r476",
      "r518",
      "r519"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of obligation due after one year or beyond the normal operating cycle, if longer.",
        "label": "Liabilities, Noncurrent",
        "totalLabel": "TOTAL LONG-TERM LIABILITIES"
       }
      }
     },
     "localname": "LiabilitiesNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesNoncurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities, Noncurrent [Abstract]",
        "terseLabel": "LONG-TERM LIABILITIES:"
       }
      }
     },
     "localname": "LiabilitiesNoncurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilityForFuturePolicyBenefitsAndUnpaidClaimsDisclosureTextBlock": {
     "auth_ref": [
      "r604"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for liabilities related to future policy benefits and unpaid claims and claim adjustments.",
        "label": "Liability for Future Policy Benefits and Unpaid Claims Disclosure [Text Block]",
        "terseLabel": "Claims Payable"
       }
      }
     },
     "localname": "LiabilityForFuturePolicyBenefitsAndUnpaidClaimsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureClaimsPayable"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liability for Unpaid Claims and Claims Adjustment Expense, Claims Paid [Abstract]",
        "terseLabel": "Paid, Related to:"
       }
      }
     },
     "localname": "LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureClaimsPayableDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidCurrentYear1": {
     "auth_ref": [
      "r587"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureClaimsPayableDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_PaymentsForLossesAndLossAdjustmentExpense",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after effects of reinsurance, of payments to settle claims incurred in the current period and related claims settlement costs.",
        "label": "Liability for Unpaid Claims and Claims Adjustment Expense, Claims Paid, Current Year",
        "terseLabel": "Current Period"
       }
      }
     },
     "localname": "LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidCurrentYear1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureClaimsPayableDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidPriorYears1": {
     "auth_ref": [
      "r587"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureClaimsPayableDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_PaymentsForLossesAndLossAdjustmentExpense",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after effects of reinsurance, of payments to settle claims incurred in prior periods and related claims settlement costs.",
        "label": "Liability for Unpaid Claims and Claims Adjustment Expense, Claims Paid, Prior Years",
        "terseLabel": "Prior Period (s)"
       }
      }
     },
     "localname": "LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidPriorYears1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureClaimsPayableDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredButNotReportedIBNRClaimsAmount": {
     "auth_ref": [
      "r603"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Estimated costs as of the balance sheet date of settling insured claims and costs incurred in the claims settlement process for claims that have not yet been submitted to the insurance company for reimbursement.",
        "label": "Liability for Unpaid Claims and Claims Adjustment Expense, Incurred but Not Reported (IBNR) Claims, Amount",
        "periodEndLabel": "Claims Unpaid, End of Period",
        "periodStartLabel": "Claims Unpaid, Beginning of Period",
        "terseLabel": "IBNR"
       }
      }
     },
     "localname": "LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredButNotReportedIBNRClaimsAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureClaimsPayableDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredClaims1": {
     "auth_ref": [
      "r586"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureClaimsPayableDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after effects of reinsurance, of expense (reversal of expense) for claims incurred and costs incurred in the claim settlement process.",
        "label": "Liability for Unpaid Claims and Claims Adjustment Expense, Incurred Claims",
        "totalLabel": "Total Incurred"
       }
      }
     },
     "localname": "LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredClaims1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureClaimsPayableDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredClaimsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liability for Unpaid Claims and Claims Adjustment Expense, Incurred Claims [Abstract]",
        "terseLabel": "Incurred, Related to:"
       }
      }
     },
     "localname": "LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredClaimsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureClaimsPayableDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LimitedLiabilityCompanyLlcMembersEquityIncludingPortionAttributableToNoncontrollingInterest": {
     "auth_ref": [
      "r152",
      "r312"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of ownership interest in a limited liability company (LLC), including portions attributable to both the parent and noncontrolling interests.",
        "label": "Limited Liability Company (LLC) Members' Equity, Including Portion Attributable to Noncontrolling Interest",
        "periodEndLabel": "Balance at the end",
        "periodStartLabel": "Balance at the beginning",
        "terseLabel": "MEMBERS' DEFICIT",
        "totalLabel": "TOTAL STOCKHOLDERS'/MEMBERS' EQUITY (DEFICIT)",
        "verboseLabel": "Total Member's Deficit"
       }
      }
     },
     "localname": "LimitedLiabilityCompanyLlcMembersEquityIncludingPortionAttributableToNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails",
      "http://www.p3hp.org/role/DisclosureVariableInterestEntitiesDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LimitedPartnersCapitalAccount": {
     "auth_ref": [
      "r315"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_LimitedLiabilityCompanyLlcMembersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of the limited partners' ownership interests.",
        "label": "Limited Partners' Capital Account",
        "terseLabel": "Class A Preferred Returns (Predecessor)",
        "verboseLabel": "Class A Preferred Returns"
       }
      }
     },
     "localname": "LimitedPartnersCapitalAccount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A contractual arrangement with a lender under which borrowings can be made up to a specific amount at any point in time, and under which borrowings outstanding may be either short-term or long-term, depending upon the particulars.",
        "label": "Line of Credit [Member]",
        "terseLabel": "Short term financing agreements"
       }
      }
     },
     "localname": "LineOfCreditMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LitigationSettlementAmountAwardedToOtherParty": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount awarded to other party in judgment or settlement of litigation.",
        "label": "Litigation Settlement, Amount Awarded to Other Party",
        "terseLabel": "Agreed claim settlement amount"
       }
      }
     },
     "localname": "LitigationSettlementAmountAwardedToOtherParty",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansAndLeasesReceivableRelatedParties": {
     "auth_ref": [
      "r509",
      "r561"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For an unclassified balance sheet, reflects the carrying amount of unpaid loan amounts due from related parties at the balance sheet date.",
        "label": "Loans and Leases Receivable, Related Parties",
        "periodEndLabel": "Balance at End of Year",
        "periodStartLabel": "Balance at Beginning of Year"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableRelatedParties",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRelatedPartiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansAndLeasesReceivableRelatedPartiesAdditions": {
     "auth_ref": [
      "r509",
      "r561"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reflects the amount of new advances made to related parties in the form of loan and lease receivables.",
        "label": "Loans and Leases Receivable, Related Parties, Additions",
        "terseLabel": "Advanced During Period"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableRelatedPartiesAdditions",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRelatedPartiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansAndLeasesReceivableRelatedPartiesPeriodIncreaseDecrease": {
     "auth_ref": [
      "r509",
      "r561"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in loans and leases receivable due from related parties.",
        "label": "Loans and Leases Receivable, Related Parties, Period Increase (Decrease)",
        "verboseLabel": "Interest Accrued During period"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableRelatedPartiesPeriodIncreaseDecrease",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRelatedPartiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansNotesTradeAndOtherReceivablesDisclosureTextBlock": {
     "auth_ref": [
      "r202"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for claims held for amounts due a entity, excluding financing receivables. Examples include, but are not limited to, trade accounts receivables, notes receivables, loans receivables. Includes disclosure for allowance for credit losses.",
        "label": "Loans, Notes, Trade and Other Receivables Disclosure [Text Block]",
        "terseLabel": "Notes Receivable, Net"
       }
      }
     },
     "localname": "LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureNotesReceivableNet"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LoansReceivableBasisSpreadOnVariableRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage added to reference rate used to compute variable rate on loan receivable.",
        "label": "Loans Receivable, Basis Spread on Variable Rate",
        "terseLabel": "Spread on variable interest rate"
       }
      }
     },
     "localname": "LoansReceivableBasisSpreadOnVariableRate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCompanyOperationsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_LongTermDebt": {
     "auth_ref": [
      "r23",
      "r278",
      "r289",
      "r290",
      "r291",
      "r555",
      "r574"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations.",
        "label": "Long-term Debt",
        "totalLabel": "Principal- Total",
        "verboseLabel": "Total Principal"
       }
      }
     },
     "localname": "LongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtCompositionDetails",
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtByMaturityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-term Debt, Fiscal Year Maturity [Abstract]",
        "terseLabel": "Principal"
       }
      }
     },
     "localname": "LongTermDebtByMaturityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LongTermDebtCurrent": {
     "auth_ref": [
      "r44"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after unamortized (discount) premium and debt issuance costs, of long-term debt, classified as current. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations.",
        "label": "Long-term Debt, Current Maturities",
        "negatedLabel": "Less: Current Portion of Long-Term Debt",
        "terseLabel": "Current Portion of Long-Term Debt"
       }
      }
     },
     "localname": "LongTermDebtCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtCompositionDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths": {
     "auth_ref": [
      "r111",
      "r255",
      "r282"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LongTermDebt",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Long-Term Debt, Maturity, Year One",
        "terseLabel": "Principal- 2022"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive": {
     "auth_ref": [
      "r111",
      "r255",
      "r282"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_LongTermDebt",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Long-Term Debt, Maturity, Year Five",
        "terseLabel": "Principal- 2026"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour": {
     "auth_ref": [
      "r111",
      "r255",
      "r282"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_LongTermDebt",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in fourth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Long-Term Debt, Maturity, Year Four",
        "terseLabel": "Principal- 2025"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtNoncurrent": {
     "auth_ref": [
      "r49"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after unamortized (discount) premium and debt issuance costs of long-term debt classified as noncurrent and excluding amounts to be repaid within one year or the normal operating cycle, if longer. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations.",
        "label": "Long-term Debt, Excluding Current Maturities",
        "terseLabel": "Long-Term Debt",
        "verboseLabel": "Long Term Debt"
       }
      }
     },
     "localname": "LongTermDebtNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtCompositionDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtTextBlock": {
     "auth_ref": [
      "r294"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for long-term debt.",
        "label": "Long-term Debt [Text Block]",
        "terseLabel": "Debt"
       }
      }
     },
     "localname": "LongTermDebtTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebt"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LongtermDebtTypeAxis": {
     "auth_ref": [
      "r49"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of long-term debt.",
        "label": "Long-term Debt, Type [Axis]"
       }
      }
     },
     "localname": "LongtermDebtTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassDUnitsDetails",
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails",
      "http://www.p3hp.org/role/DisclosureDebtRollforwardDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LongtermDebtTypeDomain": {
     "auth_ref": [
      "r49",
      "r256"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of long-term debt arrangement, such as notes, line of credit, commercial paper, asset-based financing, project financing, letter of credit financing. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
        "label": "Long-term Debt, Type [Domain]"
       }
      }
     },
     "localname": "LongtermDebtTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassDUnitsDetails",
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails",
      "http://www.p3hp.org/role/DisclosureDebtRollforwardDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LossContingenciesByNatureOfContingencyAxis": {
     "auth_ref": [
      "r245",
      "r246",
      "r247",
      "r248",
      "r249",
      "r250",
      "r251",
      "r253",
      "r254"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of existing condition, situation, or set of circumstances involving uncertainty as to possible loss to an enterprise that will ultimately be resolved when one or more future events occur or fail to occur.",
        "label": "Loss Contingency Nature [Axis]"
       }
      }
     },
     "localname": "LossContingenciesByNatureOfContingencyAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LossContingenciesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Loss Contingencies [Line Items]"
       }
      }
     },
     "localname": "LossContingenciesLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LossContingenciesTable": {
     "auth_ref": [
      "r245",
      "r246",
      "r247",
      "r248",
      "r249",
      "r250",
      "r251",
      "r253",
      "r254"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Discloses the specific components (such as the nature, name, and date) of the loss contingency and gives an estimate of the possible loss or range of loss, or states that a reasonable estimate cannot be made. Excludes environmental contingencies, warranties and unconditional purchase obligations.",
        "label": "Loss Contingencies [Table]"
       }
      }
     },
     "localname": "LossContingenciesTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LossContingencyAccrualAtCarryingValue": {
     "auth_ref": [
      "r245"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of loss contingency liability.",
        "label": "Loss Contingency Accrual",
        "terseLabel": "Additional payment to health plan"
       }
      }
     },
     "localname": "LossContingencyAccrualAtCarryingValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LossContingencyNatureDomain": {
     "auth_ref": [
      "r245",
      "r246",
      "r247",
      "r248",
      "r249",
      "r250",
      "r251",
      "r253",
      "r254"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "An existing condition, situation, or set of circumstances involving uncertainty as to possible loss to an enterprise that will ultimately be resolved when one or more future events occur or fail to occur. Resolution of the uncertainty may confirm the incurrence of a loss or impairment of an asset or the incurrence of a liability.",
        "label": "Loss Contingency, Nature [Domain]"
       }
      }
     },
     "localname": "LossContingencyNatureDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCommitmentsAndContingenciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputExercisePriceMember": {
     "auth_ref": [
      "r466"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using agreed upon price for exchange of underlying asset.",
        "label": "Exercise Price"
       }
      }
     },
     "localname": "MeasurementInputExercisePriceMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyOptionPricingDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesWarrantLiabilityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputExpectedTermMember": {
     "auth_ref": [
      "r466"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using period financial instrument is expected to be outstanding. Excludes maturity date.",
        "label": "Expected Term"
       }
      }
     },
     "localname": "MeasurementInputExpectedTermMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyOptionPricingDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesWarrantLiabilityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputPriceVolatilityMember": {
     "auth_ref": [
      "r466"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using rate at which price of security will increase (decrease) for given set of returns.",
        "label": "Volatility"
       }
      }
     },
     "localname": "MeasurementInputPriceVolatilityMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyOptionPricingDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesWarrantLiabilityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputRiskFreeInterestRateMember": {
     "auth_ref": [
      "r466"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using interest rate on instrument with zero risk of financial loss.",
        "label": "Risk-Free Interest rate"
       }
      }
     },
     "localname": "MeasurementInputRiskFreeInterestRateMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyOptionPricingDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesWarrantLiabilityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputTypeAxis": {
     "auth_ref": [
      "r466"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of measurement input used to determine value of asset and liability.",
        "label": "Measurement Input Type [Axis]"
       }
      }
     },
     "localname": "MeasurementInputTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyOptionPricingDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesWarrantLiabilityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_MeasurementInputTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input used to determine value of asset and liability.",
        "label": "Measurement Input Type [Domain]"
       }
      }
     },
     "localname": "MeasurementInputTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyOptionPricingDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesWarrantLiabilityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MembersCapital": {
     "auth_ref": [
      "r312"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_LimitedLiabilityCompanyLlcMembersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of member capital in limited liability company (LLC).",
        "label": "Members' Capital",
        "terseLabel": "Contributed Capital (Predecessor)",
        "verboseLabel": "Contributed Capital"
       }
      }
     },
     "localname": "MembersCapital",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MembersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Members' Equity [Abstract]",
        "terseLabel": "STOCKHOLDERS'/MEMBERS' EQUITY (DEFICIT):"
       }
      }
     },
     "localname": "MembersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_MinorityInterestDisclosureTextBlock": {
     "auth_ref": [
      "r460"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for noncontrolling interest in consolidated subsidiaries, which could include the name of the subsidiary, the ownership percentage held by the parent, the ownership percentage held by the noncontrolling owners, the amount of the noncontrolling interest, the location of this amount on the balance sheet (when not reported separately), an explanation of the increase or decrease in the amount of the noncontrolling interest, the noncontrolling interest share of the net Income or Loss of the subsidiary, the location of this amount on the income statement (when not reported separately), the nature of the noncontrolling interest such as background information and terms, the amount of the noncontrolling interest represented by preferred stock, a description of the preferred stock, and the dividend requirements of the preferred stock.",
        "label": "Noncontrolling Interest Disclosure [Text Block]",
        "terseLabel": "Redeemable Non-Controlling Interests"
       }
      }
     },
     "localname": "MinorityInterestDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRedeemableNonControllingInterests"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_MinorityInterestLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Noncontrolling Interest [Line Items]"
       }
      }
     },
     "localname": "MinorityInterestLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRedeemableNonControllingInterestsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_MinorityInterestOwnershipPercentageByNoncontrollingOwners": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The equity interest of noncontrolling shareholders, partners or other equity holders in consolidated entity.",
        "label": "Noncontrolling Interest, Ownership Percentage by Noncontrolling Owners",
        "terseLabel": "Non-controlling interests, ownership percentage by noncontrolling owners"
       }
      }
     },
     "localname": "MinorityInterestOwnershipPercentageByNoncontrollingOwners",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRedeemableNonControllingInterestsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_MinorityInterestTable": {
     "auth_ref": [
      "r55",
      "r72",
      "r438",
      "r446"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of noncontrolling interest disclosure which includes the name of the subsidiary, the ownership percentage held by the parent, the ownership percentage held by the noncontrolling owners, the amount of the noncontrolling interest, the location of this amount on the balance sheet (when not reported separately), an explanation of the increase or decrease in the amount of the noncontrolling interest, the noncontrolling interest share of the net Income or Loss of the subsidiary, the location of this amount on the income statement (when not reported separately), the nature of the noncontrolling interest such as background information and terms, the amount of the noncontrolling interest represented by preferred stock, a description of the preferred stock, and the dividend requirements of the preferred stock.",
        "label": "Noncontrolling Interest [Table]"
       }
      }
     },
     "localname": "MinorityInterestTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRedeemableNonControllingInterestsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivities": {
     "auth_ref": [
      "r85"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from financing activities, including discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.",
        "label": "Net Cash Provided by (Used in) Financing Activities",
        "totalLabel": "Net Cash Provided by Financing Activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Financing Activities [Abstract]",
        "terseLabel": "Cash Flows From Financing Activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivities": {
     "auth_ref": [
      "r85"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from investing activities, including discontinued operations. Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets.",
        "label": "Net Cash Provided by (Used in) Investing Activities",
        "totalLabel": "Net Cash Used in Investing Activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Investing Activities [Abstract]",
        "terseLabel": "Cash Flows From Investing Activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivities": {
     "auth_ref": [
      "r85",
      "r88",
      "r91"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from operating activities, including discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.",
        "label": "Net Cash Provided by (Used in) Operating Activities",
        "totalLabel": "Net Cash Used in Operating Activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLoss": {
     "auth_ref": [
      "r2",
      "r60",
      "r61",
      "r65",
      "r67",
      "r91",
      "r106",
      "r116",
      "r118",
      "r119",
      "r121",
      "r122",
      "r126",
      "r127",
      "r139",
      "r175",
      "r184",
      "r187",
      "r190",
      "r193",
      "r204",
      "r257",
      "r258",
      "r259",
      "r262",
      "r263",
      "r264",
      "r265",
      "r266",
      "r268",
      "r269",
      "r464",
      "r476",
      "r563",
      "r582"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent.",
        "label": "Net Income (Loss) Attributable to Parent",
        "terseLabel": "Net Loss (formerly Net Loss Attributable to Controlling Interests)",
        "totalLabel": "NET LOSS ATTRIBUTABLE TO CONTROLLING INTERESTS"
       }
      }
     },
     "localname": "NetIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossAttributableToNoncontrollingInterest": {
     "auth_ref": [
      "r60",
      "r61",
      "r65",
      "r126",
      "r127",
      "r444",
      "r458"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of Net Income (Loss) attributable to noncontrolling interest.",
        "label": "Net Income (Loss) Attributable to Noncontrolling Interest",
        "terseLabel": "LESS NET LOSS ATTRIBUTABLE TO REDEEMABLE NON-CONTROLLING INTERESTS",
        "verboseLabel": "Net Loss Attributable to Noncontrolling Interest"
       }
      }
     },
     "localname": "NetIncomeLossAttributableToNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureEarningsLossPerShareComputationOfNetLossPerShareDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic": {
     "auth_ref": [
      "r118",
      "r119",
      "r121",
      "r122",
      "r129",
      "r130",
      "r140",
      "r143",
      "r175",
      "r184",
      "r187",
      "r190",
      "r193"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities; of income (loss) available to common shareholders.",
        "label": "Net Income (Loss) Available to Common Stockholders, Basic",
        "terseLabel": "Net Loss Attributable to Class A Common Stockholders - Basic"
       }
      }
     },
     "localname": "NetIncomeLossAvailableToCommonStockholdersBasic",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureEarningsLossPerShareComputationOfNetLossPerShareDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted": {
     "auth_ref": [
      "r131",
      "r134",
      "r135",
      "r136",
      "r137",
      "r140",
      "r143"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities, and addition from assumption of issuance of common shares for dilutive potential common shares; of income (loss) available to common shareholders.",
        "label": "Net Income (Loss) Available to Common Stockholders, Diluted",
        "terseLabel": "Net Loss Attributable to Class A Common Stockholders - Diluted"
       }
      }
     },
     "localname": "NetIncomeLossAvailableToCommonStockholdersDiluted",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureEarningsLossPerShareComputationOfNetLossPerShareDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossIncludingPortionAttributableToNonredeemableNoncontrollingInterest": {
     "auth_ref": [
      "r299",
      "r444",
      "r445"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after income tax of income (loss) including the portion attributable to nonredeemable noncontrolling interest. Excludes the portion attributable to redeemable noncontrolling interest recognized as temporary equity.",
        "label": "Net Income (Loss), Including Portion Attributable to Nonredeemable Noncontrolling Interest",
        "terseLabel": "Net Loss"
       }
      }
     },
     "localname": "NetIncomeLossIncludingPortionAttributableToNonredeemableNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfStockholdersEquityDeficitAndMezzanineEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoncontrollingInterestAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Redeemable Non-Controlling Interests."
       }
      }
     },
     "localname": "NoncontrollingInterestAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_NoncontrollingInterestMember": {
     "auth_ref": [
      "r113",
      "r114",
      "r115",
      "r312",
      "r437"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents that portion of equity (net assets) in a subsidiary not attributable, directly or indirectly, to the parent. A noncontrolling interest is sometimes called a minority interest.",
        "label": "Redeemable Non-controlling Interests",
        "terseLabel": "Non-Controlling"
       }
      }
     },
     "localname": "NoncontrollingInterestMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfStockholdersEquityDeficitAndMezzanineEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NonoperatingIncomeExpense": {
     "auth_ref": [
      "r74"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate amount of income or expense from ancillary business-related activities (that is to say, excluding major activities considered part of the normal operations of the business).",
        "label": "Nonoperating Income (Expense)",
        "totalLabel": "TOTAL OTHER INCOME (EXPENSE)",
        "verboseLabel": "Total Other Income (Expense)"
       }
      }
     },
     "localname": "NonoperatingIncomeExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NonoperatingIncomeExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Nonoperating Income (Expense) [Abstract]",
        "terseLabel": "OTHER INCOME (EXPENSES):"
       }
      }
     },
     "localname": "NonoperatingIncomeExpenseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NumberOfReportableSegments": {
     "auth_ref": [
      "r169"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of segments reported by the entity. A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements.",
        "label": "Number of Reportable Segments",
        "terseLabel": "Number of reportable segments"
       }
      }
     },
     "localname": "NumberOfReportableSegments",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSegmentReportingDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesConsolidationCashAndRestrictedCashDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_OperatingExpenses": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Generally recurring costs associated with normal operations except for the portion of these expenses which can be clearly related to production and included in cost of sales or services. Includes selling, general and administrative expense.",
        "label": "Operating Expenses.",
        "terseLabel": "Expenses",
        "totalLabel": "TOTAL OPERATING EXPENSES",
        "verboseLabel": "Total Operating Expenses"
       }
      }
     },
     "localname": "OperatingExpenses",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCommitmentsAndContingenciesDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureVariableInterestEntitiesDetails",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingExpensesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Expenses [Abstract]",
        "terseLabel": "OPERATING EXPENSES:"
       }
      }
     },
     "localname": "OperatingExpensesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OperatingIncomeLoss": {
     "auth_ref": [
      "r175",
      "r184",
      "r187",
      "r190",
      "r193"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations": {
       "order": 2.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net result for the period of deducting operating expenses from operating revenues.",
        "label": "Operating Income (Loss)",
        "terseLabel": "Operating Loss",
        "totalLabel": "OPERATING LOSS"
       }
      }
     },
     "localname": "OperatingIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingIncomeLossAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Income (Loss) [Abstract]",
        "terseLabel": "OPERATING REVENUE:"
       }
      }
     },
     "localname": "OperatingIncomeLossAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OperatingLeaseCost": {
     "auth_ref": [
      "r497",
      "r504"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of single lease cost, calculated by allocation of remaining cost of lease over remaining lease term. Includes, but is not limited to, single lease cost, after impairment of right-of-use asset, calculated by amortization of remaining right-of-use asset and accretion of lease liability.",
        "label": "Operating Lease, Cost",
        "terseLabel": "Operating Lease Costs"
       }
      }
     },
     "localname": "OperatingLeaseCost",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureLeasesOperatingLeaseCostsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiability": {
     "auth_ref": [
      "r491"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureLeasesFutureMinimumLeasePaymentsDetailsCalc2": {
       "order": 2.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease.",
        "label": "Operating Lease, Liability",
        "terseLabel": "Present Value of Operating Lease Liabilities"
       }
      }
     },
     "localname": "OperatingLeaseLiability",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureLeasesFutureMinimumLeasePaymentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiabilityCurrent": {
     "auth_ref": [
      "r491"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease, classified as current.",
        "label": "Operating Lease, Liability, Current",
        "terseLabel": "ROU liabilities, current"
       }
      }
     },
     "localname": "OperatingLeaseLiabilityCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureLeasesCurrentPortionsOfRouLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiabilityCurrentStatementOfFinancialPositionExtensibleList": {
     "auth_ref": [
      "r492"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates line item in statement of financial position that includes current operating lease liability.",
        "label": "Operating Lease, Liability, Current, Statement of Financial Position [Extensible Enumeration]"
       }
      }
     },
     "localname": "OperatingLeaseLiabilityCurrentStatementOfFinancialPositionExtensibleList",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureLeasesCurrentPortionsOfRouLiabilitiesDetails"
     ],
     "xbrltype": "enumerationSetItemType"
    },
    "us-gaap_OperatingLeaseLiabilityNoncurrent": {
     "auth_ref": [
      "r491"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": 4.0,
       "parentTag": "us-gaap_LiabilitiesNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease, classified as noncurrent.",
        "label": "Operating Lease, Liability, Noncurrent",
        "terseLabel": "Right of Use Liability"
       }
      }
     },
     "localname": "OperatingLeaseLiabilityNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeasePayments": {
     "auth_ref": [
      "r493",
      "r498"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow from operating lease, excluding payments to bring another asset to condition and location necessary for its intended use.",
        "label": "Operating Lease, Payments",
        "terseLabel": "Operating Cash Flows Paid for Operating Leases"
       }
      }
     },
     "localname": "OperatingLeasePayments",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureLeasesSupplementalCashFlowsAndOtherInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseRightOfUseAsset": {
     "auth_ref": [
      "r490"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's right to use underlying asset under operating lease.",
        "label": "Operating Lease, Right-of-Use Asset",
        "terseLabel": "Right of Use Asset"
       }
      }
     },
     "localname": "OperatingLeaseRightOfUseAsset",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent": {
     "auth_ref": [
      "r501",
      "r504"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average discount rate for operating lease calculated at point in time.",
        "label": "Operating Lease, Weighted Average Discount Rate, Percent",
        "terseLabel": "Weighted Average Discount Rate"
       }
      }
     },
     "localname": "OperatingLeaseWeightedAverageDiscountRatePercent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureLeasesLeaseTermsAndDiscountRatesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1": {
     "auth_ref": [
      "r500",
      "r504"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average remaining lease term for operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Operating Lease, Weighted Average Remaining Lease Term",
        "terseLabel": "Weighted Average Remaining Lease Term (Years)"
       }
      }
     },
     "localname": "OperatingLeaseWeightedAverageRemainingLeaseTerm1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureLeasesLeaseTermsAndDiscountRatesDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_OperatingLossCarryforwards": {
     "auth_ref": [
      "r403"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of operating loss carryforward, before tax effects, available to reduce future taxable income under enacted tax laws.",
        "label": "Operating Loss Carryforwards",
        "terseLabel": "Net operating loss carryforwards"
       }
      }
     },
     "localname": "OperatingLossCarryforwards",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesParagraphsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Company Operations"
       }
      }
     },
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock": {
     "auth_ref": [
      "r4",
      "r460"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for organization, consolidation and basis of presentation of financial statements disclosure.",
        "label": "Organization, Consolidation and Presentation of Financial Statements Disclosure [Text Block]",
        "terseLabel": "Company Operations"
       }
      }
     },
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCompanyOperations"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_OtherCapitalizedPropertyPlantAndEquipmentMember": {
     "auth_ref": [
      "r237"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "All other long term capitalized assets related to property plant and equipment not otherwise previously categorized.",
        "label": "Other Capitalized Property Plant and Equipment [Member]",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "OtherCapitalizedPropertyPlantAndEquipmentMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosurePropertyAndEquipmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherIntangibleAssetsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Intangible assets classified as other.",
        "label": "Other",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "OtherIntangibleAssetsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIntangibleAssetsChangesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherNonoperatingIncomeExpense": {
     "auth_ref": [
      "r76"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_NonoperatingIncomeExpense",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of income (expense) related to nonoperating activities, classified as other.",
        "label": "Other Nonoperating Income (Expense)",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "OtherNonoperatingIncomeExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherReceivablesNetCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allowance, of receivables classified as other, due within one year or the operating cycle, if longer.",
        "label": "Other Receivables, Net, Current",
        "terseLabel": "Other Receivables"
       }
      }
     },
     "localname": "OtherReceivablesNetCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyCarryingValueOfFinancialInstrumentsDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ParentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Portion of equity, or net assets, in the consolidated entity attributable, directly or indirectly, to the parent. Excludes noncontrolling interests.",
        "label": "Controlling Interests",
        "terseLabel": "Controlling Interests"
       }
      }
     },
     "localname": "ParentMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfStockholdersEquityDeficitAndMezzanineEquity",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfStockholdersEquityDeficitAndMezzanineEquityParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PartnerCapitalComponentsAxis": {
     "auth_ref": [
      "r312"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by partner capital components which are allocated for example, but not limited to accumulated other comprehensive income or comprehensive income.",
        "label": "Partner Capital Components [Axis]"
       }
      }
     },
     "localname": "PartnerCapitalComponentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PartnerCapitalComponentsDomain": {
     "auth_ref": [
      "r312"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Partner capital components are the parts of the total Partners' Capital balance including that which is allocated to accumulated other comprehensive income, comprehensive income.",
        "label": "Partner Capital Components [Domain]"
       }
      }
     },
     "localname": "PartnerCapitalComponentsDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PartnersCapitalAccountExchangesAndConversions": {
     "auth_ref": [
      "r312",
      "r315"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total change in each class of partners' capital accounts during the year due to exchanges and conversions. Partners include general, limited and preferred partners.",
        "label": "Partners' Capital Account, Exchanges and Conversions",
        "terseLabel": "Conversion of Debt to Units"
       }
      }
     },
     "localname": "PartnersCapitalAccountExchangesAndConversions",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PartnersCapitalAccountRedemptions": {
     "auth_ref": [
      "r312",
      "r315"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total change in each class of partners' capital accounts during the year due to redemptions and adjustments to redemption value. All partners include general, limited and preferred partners.",
        "label": "Partners' Capital Account, Redemptions",
        "negatedLabel": "Redemption of Units"
       }
      }
     },
     "localname": "PartnersCapitalAccountRedemptions",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PartnersCapitalAccountSaleOfUnits": {
     "auth_ref": [
      "r312",
      "r315"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total change in each class of partners' capital accounts during the year due to the sale of units. All partners include general, limited and preferred partners.",
        "label": "Partners' Capital Account, Sale of Units",
        "terseLabel": "Units Issued"
       }
      }
     },
     "localname": "PartnersCapitalAccountSaleOfUnits",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PartnersCapitalAccountUnitBasedCompensation": {
     "auth_ref": [
      "r312",
      "r315"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in partners' capital account for unit-based payment arrangement issued by partnership. Partner includes, but is not limited to, general, limited and preferred partners.",
        "label": "Partners' Capital Account, Unit-based Payment Arrangement, Amount",
        "terseLabel": "Unit Based Compensation"
       }
      }
     },
     "localname": "PartnersCapitalAccountUnitBasedCompensation",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PartnersCapitalAccountUnits": {
     "auth_ref": [
      "r314",
      "r608",
      "r609"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of each class of partnership units outstanding at the balance sheet date. Units represent shares of ownership of the general, limited, and preferred partners.",
        "label": "Partners' Capital Account, Units",
        "periodEndLabel": "Balance at the end (in shares)",
        "periodStartLabel": "Balance at the beginning (in shares)"
       }
      }
     },
     "localname": "PartnersCapitalAccountUnits",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PartnersCapitalAccountUnitsRedeemed": {
     "auth_ref": [
      "r312",
      "r315"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of units redeemed during the year of each class of partners' capital account. Units represent shares of ownership of the general, limited, and preferred partners.",
        "label": "Partners' Capital Account, Units, Redeemed",
        "negatedLabel": "Redemption of Units (in shares)"
       }
      }
     },
     "localname": "PartnersCapitalAccountUnitsRedeemed",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PartnersCapitalAccountUnitsSaleOfUnits": {
     "auth_ref": [
      "r312"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total units issued during the year due to the sale of units. All partners include general, limited and preferred partners.",
        "label": "Partners' Capital Account, Units, Sale of Units",
        "terseLabel": "Units Issued (in shares)",
        "verboseLabel": "Number of units issued (in shares)"
       }
      }
     },
     "localname": "PartnersCapitalAccountUnitsSaleOfUnits",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassDUnitsDetails",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PartnersCapitalAccountUnitsUnitbasedCompensation": {
     "auth_ref": [
      "r312"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of units issued for unit-based payment arrangement issued by partnership. Partner includes, but is not limited to, general, limited and preferred partners.",
        "label": "Partners' Capital Account, Unit-based Payment Arrangement, Number of Units",
        "terseLabel": "Unit Based Compensation (in shares)"
       }
      }
     },
     "localname": "PartnersCapitalAccountUnitsUnitbasedCompensation",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PartnersCapitalNotesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capitalization and Management Incentive Units."
       }
      }
     },
     "localname": "PartnersCapitalNotesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_PartnersCapitalNotesDisclosureTextBlock": {
     "auth_ref": [
      "r317"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for the formation, structure, control and ownership of the partnership. Disclosures related to accounts comprising partners' capital. Includes balances of general partners' capital account, limited partners' capital account, preferred partners' capital account and total partners' capital account and units outstanding; accumulated other comprehensive income; amount and nature of changes to amount of partner's capital and units outstanding by class, rights and privileges for each class of units; distribution policies and distributions paid by unit class; impact of and correction of an error in previously issued financial statements; limitations of partners' liability; redemption, conversion and distribution policies; and deferred compensation related to the issuance of units.",
        "label": "Partners' Capital Notes Disclosure [Text Block]",
        "terseLabel": "Capitalization and Management Incentive Units"
       }
      }
     },
     "localname": "PartnersCapitalNotesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnits"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PaymentsForLossesAndLossAdjustmentExpense": {
     "auth_ref": [
      "r87",
      "r587"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureClaimsPayableDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after effects of reinsurance, of payments to settle insured claims and pay costs incurred in the claims settlement process.",
        "label": "Liability for Unpaid Claims and Claims Adjustment Expense, Claims Paid",
        "totalLabel": "Total Paid"
       }
      }
     },
     "localname": "PaymentsForLossesAndLossAdjustmentExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureClaimsPayableDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsForProceedsFromLoansReceivable": {
     "auth_ref": [
      "r93",
      "r94"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net amount paid or received by the reporting entity associated with purchase (sale or collection) of loans receivable arising from the financing of goods and services.",
        "label": "Payments for (Proceeds from) Loans Receivable",
        "negatedLabel": "Notes Receivable, Net"
       }
      }
     },
     "localname": "PaymentsForProceedsFromLoansReceivable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfDebtIssuanceCosts": {
     "auth_ref": [
      "r82"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow paid to third parties in connection with debt origination, which will be amortized over the remaining maturity period of the associated long-term debt.",
        "label": "Payments of Debt Issuance Costs",
        "verboseLabel": "Debt issuance cost"
       }
      }
     },
     "localname": "PaymentsOfDebtIssuanceCosts",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireBusinessesGross": {
     "auth_ref": [
      "r77",
      "r433"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow associated with the acquisition of business during the period. The cash portion only of the acquisition price.",
        "label": "Payments to Acquire Businesses, Gross",
        "negatedLabel": "Acquisitions, Net of Cash Acquired",
        "terseLabel": "Cash Consideration"
       }
      }
     },
     "localname": "PaymentsToAcquireBusinessesGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsMedcoreHealthPlanIncAndOmniIpaMedicalGroupIncDetails",
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchaseConsiderationDetails",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquirePropertyPlantAndEquipment": {
     "auth_ref": [
      "r78"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow associated with the acquisition of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale; includes cash outflows to pay for construction of self-constructed assets.",
        "label": "Payments to Acquire Property, Plant, and Equipment",
        "negatedLabel": "Purchases of Property, Plant and Equipment"
       }
      }
     },
     "localname": "PaymentsToAcquirePropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PlanNameAxis": {
     "auth_ref": [
      "r361",
      "r380"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by plan name for share-based payment arrangement.",
        "label": "Plan Name [Axis]"
       }
      }
     },
     "localname": "PlanNameAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PlanNameDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plan name for share-based payment arrangement.",
        "label": "Plan Name [Domain]"
       }
      }
     },
     "localname": "PlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PreferredStockDividendRatePercentage": {
     "auth_ref": [
      "r303"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage rate used to calculate dividend payments on preferred stock.",
        "label": "Preferred Stock, Dividend Rate, Percentage",
        "terseLabel": "Preferred return"
       }
      }
     },
     "localname": "PreferredStockDividendRatePercentage",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassDUnitsDetails",
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_PreferredStockParOrStatedValuePerShare": {
     "auth_ref": [
      "r29",
      "r302"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face amount or stated value per share of preferred stock nonredeemable or redeemable solely at the option of the issuer.",
        "label": "Preferred Stock, Par or Stated Value Per Share",
        "terseLabel": "Preferred stock, par value"
       }
      }
     },
     "localname": "PreferredStockParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_PreferredStockSharesAuthorized": {
     "auth_ref": [
      "r29"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) permitted to be issued by an entity's charter and bylaws.",
        "label": "Preferred Stock, Shares Authorized",
        "terseLabel": "Preferred stock, shares authorized"
       }
      }
     },
     "localname": "PreferredStockSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredStockSharesOutstanding": {
     "auth_ref": [
      "r29"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate share number for all nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer) held by stockholders. Does not include preferred shares that have been repurchased.",
        "label": "Preferred Stock, Shares Outstanding",
        "terseLabel": "Preferred stock, shares outstanding"
       }
      }
     },
     "localname": "PreferredStockSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredUnitsAuthorized": {
     "auth_ref": [
      "r315"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of preferred units authorized to be issued.",
        "label": "Preferred Units, Authorized",
        "terseLabel": "Units authorized"
       }
      }
     },
     "localname": "PreferredUnitsAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassBUnitsDetails",
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassCUnitsDetails",
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredUnitsByNameAxis": {
     "auth_ref": [
      "r314",
      "r606"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type or class of preferred units or special units.",
        "label": "Preferred Units by Name [Axis]"
       }
      }
     },
     "localname": "PreferredUnitsByNameAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassBUnitsDetails",
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassCUnitsDetails",
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassDUnitsDetails",
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails",
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfClassCProfitsInterestActivityDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfClassVShareBasedCompensationActivityDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationTables",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheetsParenthetical",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PreferredUnitsClassDomain": {
     "auth_ref": [
      "r315"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type or class of preferred units or special units.",
        "label": "Preferred Units, Class [Domain]"
       }
      }
     },
     "localname": "PreferredUnitsClassDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassBUnitsDetails",
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassCUnitsDetails",
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassDUnitsDetails",
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails",
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfClassCProfitsInterestActivityDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfClassVShareBasedCompensationActivityDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationTables",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheetsParenthetical",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PreferredUnitsIssued": {
     "auth_ref": [
      "r315"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of preferred units issued.",
        "label": "Preferred Units, Issued",
        "terseLabel": "Units issued"
       }
      }
     },
     "localname": "PreferredUnitsIssued",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassCUnitsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredUnitsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Preferred Units [Line Items]",
        "terseLabel": "CONSOLIDATED BALANCE SHEETS"
       }
      }
     },
     "localname": "PreferredUnitsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassBUnitsDetails",
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassCUnitsDetails",
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassDUnitsDetails",
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PreferredUnitsOfferingCosts": {
     "auth_ref": [
      "r314"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cumulative amount of offering costs allocated to the preferred partners.",
        "label": "Preferred Units, Offering Costs",
        "terseLabel": "Units Subject to Possible Redemption, Issuance Costs"
       }
      }
     },
     "localname": "PreferredUnitsOfferingCosts",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PreferredUnitsOutstanding": {
     "auth_ref": [
      "r315"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of preferred units outstanding.",
        "label": "Preferred Units, Outstanding",
        "terseLabel": "Units outstanding"
       }
      }
     },
     "localname": "PreferredUnitsOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassBUnitsDetails",
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PrepaidExpenseAndOtherAssetsCurrent": {
     "auth_ref": [
      "r6",
      "r35",
      "r36"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of asset related to consideration paid in advance for costs that provide economic benefits in future periods, and amount of other assets that are expected to be realized or consumed within one year or the normal operating cycle, if longer.",
        "label": "Prepaid Expense and Other Assets, Current",
        "terseLabel": "Prepaid Expenses and Other Current Assets"
       }
      }
     },
     "localname": "PrepaidExpenseAndOtherAssetsCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureVariableInterestEntitiesDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PrimeRateMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest rate charged by financial institutions to their most creditworthy borrowers.",
        "label": "Prime rate"
       }
      }
     },
     "localname": "PrimeRateMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCompanyOperationsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfDebt": {
     "auth_ref": [
      "r80"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow during the period from additional borrowings in aggregate debt. Includes proceeds from short-term and long-term debt.",
        "label": "Proceeds from Issuance of Debt",
        "terseLabel": "Net proceeds from debt",
        "verboseLabel": "Issued"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails",
      "http://www.p3hp.org/role/DisclosureDebtRollforwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfLongTermDebt": {
     "auth_ref": [
      "r80"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from a debt initially having maturity due after one year or beyond the operating cycle, if longer.",
        "label": "Proceeds from Issuance of Long-term Debt",
        "terseLabel": "Proceeds from Long-Term Debt, Net of Discount and Issuance Costs"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfLongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfPreferredLimitedPartnersUnits": {
     "auth_ref": [
      "r79"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from the issuance of preferred limited partners units during the period.",
        "label": "Proceeds from Issuance of Preferred Limited Partners Units",
        "verboseLabel": "Total funding commitments received"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfPreferredLimitedPartnersUnits",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassDUnitsDetails",
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromRepurchaseOfRedeemablePreferredStock": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash inflows (outflows) from issuing and redeeming redeemable preferred stock; includes convertible and nonconvertible redeemable preferred stock.",
        "label": "Proceeds from (Repurchase of) Redeemable Preferred Stock",
        "terseLabel": "Issuance (Redemption) of Class A, C and D Units"
       }
      }
     },
     "localname": "ProceedsFromRepurchaseOfRedeemablePreferredStock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromShortTermDebt": {
     "auth_ref": [
      "r80"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from a borrowing having initial term of repayment within one year or the normal operating cycle, if longer.",
        "label": "Proceeds from Short-term Debt",
        "terseLabel": "Proceeds from Short-Term Debt"
       }
      }
     },
     "localname": "ProceedsFromShortTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProfitLoss": {
     "auth_ref": [
      "r2",
      "r60",
      "r61",
      "r65",
      "r84",
      "r106",
      "r116",
      "r126",
      "r127",
      "r175",
      "r184",
      "r187",
      "r190",
      "r193",
      "r204",
      "r257",
      "r258",
      "r259",
      "r262",
      "r263",
      "r264",
      "r265",
      "r266",
      "r268",
      "r269",
      "r439",
      "r443",
      "r445",
      "r458",
      "r459",
      "r464",
      "r476",
      "r566"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations": {
       "order": 2.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest.",
        "label": "Net Income (Loss), Including Portion Attributable to Noncontrolling Interest",
        "negatedLabel": "Net Loss",
        "terseLabel": "Net Loss",
        "totalLabel": "NET LOSS"
       }
      }
     },
     "localname": "ProfitLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureEarningsLossPerShareComputationOfNetLossPerShareDetails",
      "http://www.p3hp.org/role/DisclosureGoingConcernAndLiquidityDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureVariableInterestEntitiesDetails",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property and Equipment."
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentByTypeAxis": {
     "auth_ref": [
      "r40",
      "r239"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of long-lived, physical assets used to produce goods and services and not intended for resale.",
        "label": "Long-Lived Tangible Asset [Axis]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentByTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureLeasesDetails",
      "http://www.p3hp.org/role/DisclosurePropertyAndEquipmentDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPropertyAndEquipmentDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock": {
     "auth_ref": [
      "r241",
      "r614",
      "r615",
      "r616"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for long-lived, physical asset used in normal conduct of business and not intended for resale. Includes, but is not limited to, work of art, historical treasure, and similar asset classified as collections.",
        "label": "Property, Plant and Equipment Disclosure [Text Block]",
        "terseLabel": "Property and Equipment"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosurePropertyAndEquipment"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentGross": {
     "auth_ref": [
      "r39",
      "r237"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_PropertyPlantAndEquipmentNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.",
        "label": "Property and Equipment",
        "terseLabel": "Property and Equipment",
        "verboseLabel": "Property and Equipment, Gross"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosurePropertyAndEquipmentDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPropertyAndEquipmentDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Property, Plant and Equipment [Line Items]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosurePropertyAndEquipmentDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPropertyAndEquipmentDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentNet": {
     "auth_ref": [
      "r17",
      "r18",
      "r239",
      "r520",
      "r567",
      "r578"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": 5.0,
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business to produce goods and services and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.",
        "label": "Property, Plant and Equipment, Net",
        "terseLabel": "Property and Equipment, Net",
        "totalLabel": "Property and Equipment, Net"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosurePropertyAndEquipmentDetails",
      "http://www.p3hp.org/role/DisclosureVariableInterestEntitiesDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentNetByTypeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, Plant and Equipment, Net, by Type [Abstract]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentNetByTypeAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosurePropertyAndEquipmentDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentPolicyTextBlock": {
     "auth_ref": [
      "r38",
      "r239",
      "r614",
      "r615"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for long-lived, physical asset used in normal conduct of business and not intended for resale. Includes, but is not limited to, work of art, historical treasure, and similar asset classified as collections.",
        "label": "Property, Plant and Equipment, Policy [Policy Text Block]",
        "terseLabel": "Property and Equipment"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentTextBlock": {
     "auth_ref": [
      "r17",
      "r239"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, balances by class of assets, depreciation and depletion expense and method used, including composite depreciation, and accumulated deprecation.",
        "label": "Property, Plant and Equipment [Table Text Block]",
        "terseLabel": "Summary of property and equipment balances"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosurePropertyAndEquipmentTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentTypeDomain": {
     "auth_ref": [
      "r17",
      "r237"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Listing of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale. Examples include land, buildings, machinery and equipment, and other types of furniture and equipment including, but not limited to, office equipment, furniture and fixtures, and computer equipment and software.",
        "label": "Long-Lived Tangible Asset [Domain]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureLeasesDetails",
      "http://www.p3hp.org/role/DisclosurePropertyAndEquipmentDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPropertyAndEquipmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentUsefulLife": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Useful life of long lived, physical assets used in the normal conduct of business and not intended for resale, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Examples include, but not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment.",
        "label": "Estimated useful lives"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentUsefulLife",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPropertyAndEquipmentDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_QuarterlyFinancialInformationDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restatement of Quarterly Financial Information (Unaudited)"
       }
      }
     },
     "localname": "QuarterlyFinancialInformationDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_QuarterlyFinancialInformationTextBlock": {
     "auth_ref": [
      "r150",
      "r151"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for quarterly financial data. Includes, but is not limited to, tabular presentation of financial information for fiscal quarters, effect of year-end adjustments, and an explanation of matters or transactions that affect comparability of the information.",
        "label": "Quarterly Financial Information [Text Block]",
        "terseLabel": "Restatement of Quarterly Financial Information (Unaudited)"
       }
      }
     },
     "localname": "QuarterlyFinancialInformationTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnaudited"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RealEstateMember": {
     "auth_ref": [
      "r333"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Property consisting of land, land improvement and buildings.",
        "label": "Real estate on lease"
       }
      }
     },
     "localname": "RealEstateMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureLeasesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ReceivableTypeDomain": {
     "auth_ref": [
      "r54"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing arrangement representing a contractual right to receive money either on demand or on fixed and determinable dates.",
        "label": "Receivable [Domain]"
       }
      }
     },
     "localname": "ReceivableTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosurePatientFeesReceivableDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ReceivablesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Notes Receivable, Net."
       }
      }
     },
     "localname": "ReceivablesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_RedeemableNoncontrollingInterestEquityCarryingAmount": {
     "auth_ref": [
      "r297",
      "r298",
      "r300",
      "r301"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "As of the reporting date, the aggregate carrying amount of all noncontrolling interests which are redeemable by the (parent) entity (1) at a fixed or determinable price on a fixed or determinable date, (2) at the option of the holder of the noncontrolling interest, or (3) upon occurrence of an event that is not solely within the control of the (parent) entity. This item includes noncontrolling interest holder's ownership (or holders' ownership) regardless of the type of equity interest (common, preferred, other) including all potential organizational (legal) forms of the investee entity.",
        "label": "Redeemable Noncontrolling Interest, Equity, Carrying Amount",
        "terseLabel": "Redeemable Non-Controlling Interest"
       }
      }
     },
     "localname": "RedeemableNoncontrollingInterestEquityCarryingAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RelatedPartyDomain": {
     "auth_ref": [
      "r350",
      "r508",
      "r509"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related parties include affiliates; other entities for which investments are accounted for by the equity method by the entity; trusts for benefit of employees; and principal owners, management, and members of immediate families. It also may include other parties with which the entity may control or can significantly influence the management or operating policies of the other to an extent that one of the transacting parties might be prevented from fully pursuing its own separate interests.",
        "label": "Related Party [Domain]"
       }
      }
     },
     "localname": "RelatedPartyDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRelatedPartiesDetails",
      "http://www.p3hp.org/role/DisclosureRelatedPartiesTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RelatedPartyTransactionLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Related Party Transaction [Line Items]"
       }
      }
     },
     "localname": "RelatedPartyTransactionLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRelatedPartiesDetails",
      "http://www.p3hp.org/role/DisclosureRelatedPartiesTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Parties"
       }
      }
     },
     "localname": "RelatedPartyTransactionsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsByRelatedPartyAxis": {
     "auth_ref": [
      "r350",
      "r508",
      "r512",
      "r537",
      "r538",
      "r539",
      "r540",
      "r541",
      "r542",
      "r543",
      "r544",
      "r545",
      "r546",
      "r547",
      "r548"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of related party. Related parties include, but not limited to, affiliates; other entities for which investments are accounted for by the equity method by the entity; trusts for benefit of employees; and principal owners, management, and members of immediate families. It also may include other parties with which the entity may control or can significantly influence the management or operating policies of the other to an extent that one of the transacting parties might be prevented from fully pursuing its own separate interests.",
        "label": "Related Party [Axis]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsByRelatedPartyAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRelatedPartiesDetails",
      "http://www.p3hp.org/role/DisclosureRelatedPartiesTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsDisclosureTextBlock": {
     "auth_ref": [
      "r506",
      "r507",
      "r509",
      "r513",
      "r514"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for related party transactions. Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates.",
        "label": "Related Party Transactions Disclosure [Text Block]",
        "terseLabel": "Related Parties"
       }
      }
     },
     "localname": "RelatedPartyTransactionsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRelatedParties"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RepaymentsOfDebt": {
     "auth_ref": [
      "r81"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow during the period from the repayment of aggregate short-term and long-term debt. Excludes payment of capital lease obligations.",
        "label": "Repayments of Debt",
        "negatedLabel": "Principal Payments"
       }
      }
     },
     "localname": "RepaymentsOfDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtRollforwardDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RepaymentsOfLongTermDebt": {
     "auth_ref": [
      "r81"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for debt initially having maturity due after one year or beyond the normal operating cycle, if longer.",
        "label": "Repayments of Long-term Debt",
        "negatedLabel": "Repayment of Long-Term Debt",
        "terseLabel": "Repayments of bridge loans"
       }
      }
     },
     "localname": "RepaymentsOfLongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassDUnitsDetails",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RestrictedCashCurrent": {
     "auth_ref": [
      "r5",
      "r13",
      "r100"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesConsolidationCashAndRestrictedCashDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
       "weight": 1.0
      },
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": 5.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash restricted as to withdrawal or usage, classified as current. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits.",
        "label": "Restricted Cash, Current",
        "terseLabel": "Restricted Cash",
        "verboseLabel": "Restricted"
       }
      }
     },
     "localname": "RestrictedCashCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyCarryingValueOfFinancialInstrumentsDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesConsolidationCashAndRestrictedCashDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RestrictedStockMember": {
     "auth_ref": [
      "r144"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock including a provision that prohibits sale or substantive sale of an equity instrument for a specified period of time or until specified performance conditions are met.",
        "label": "Restricted Shares"
       }
      }
     },
     "localname": "RestrictedStockMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails",
      "http://www.p3hp.org/role/DisclosureEarningsLossPerShareComputationOfDilutedNetLossPerShareDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RetainedEarningsAccumulatedDeficit": {
     "auth_ref": [
      "r32",
      "r312",
      "r384",
      "r520",
      "r576",
      "r597",
      "r602"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": 7.0,
       "parentTag": "us-gaap_LimitedLiabilityCompanyLlcMembersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
        "label": "Retained Earnings (Accumulated Deficit)",
        "terseLabel": "Accumulated Deficit (formerly Accumulated Loss from Controlling Interests)",
        "verboseLabel": "Accumulated Deficit"
       }
      }
     },
     "localname": "RetainedEarningsAccumulatedDeficit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RetainedEarningsMember": {
     "auth_ref": [
      "r0",
      "r113",
      "r114",
      "r115",
      "r117",
      "r124",
      "r127",
      "r205",
      "r381",
      "r382",
      "r383",
      "r407",
      "r408",
      "r462",
      "r593",
      "r595"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
        "label": "Accumulated Deficit"
       }
      }
     },
     "localname": "RetainedEarningsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfStockholdersEquityDeficitAndMezzanineEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax": {
     "auth_ref": [
      "r172",
      "r173",
      "r183",
      "r188",
      "r189",
      "r195",
      "r196",
      "r198",
      "r330",
      "r331",
      "r534"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations": {
       "order": 2.0,
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, excluding tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer. Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value added and excise.",
        "label": "Revenue from Contract with Customer, Excluding Assessed Tax",
        "netLabel": "Total Revenue by Year",
        "terseLabel": "TOTAL OPERATING REVENUE",
        "verboseLabel": "Total Operating Revenue"
       }
      }
     },
     "localname": "RevenueFromContractWithCustomerExcludingAssessedTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesConcentrationOfRevenueDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesRevenueRecognitionDetails",
      "http://www.p3hp.org/role/DisclosureVariableInterestEntitiesDetails",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenueFromContractWithCustomerPolicyTextBlock": {
     "auth_ref": [
      "r103",
      "r321",
      "r322",
      "r323",
      "r324",
      "r325",
      "r326",
      "r327",
      "r328",
      "r341"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for revenue from contract with customer.",
        "label": "Revenue from Contract with Customer [Policy Text Block]",
        "terseLabel": "Revenue Recognition and Revenue Sources"
       }
      }
     },
     "localname": "RevenueFromContractWithCustomerPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RevenueFromRelatedParties": {
     "auth_ref": [
      "r71",
      "r260",
      "r262",
      "r263",
      "r267",
      "r268",
      "r269",
      "r610"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of revenue, fees and commissions earned from transactions between (a) a parent company and its subsidiaries; (b) subsidiaries of a common parent; (c) an entity and trusts for the benefit of employees, for example, but not limited to, pension and profit-sharing trusts that are managed by or under the trusteeship of the entity's management; (d) an entity and its principal, owners, management, or members of their immediate families; and (e) affiliates.",
        "label": "Revenue from Related Parties",
        "verboseLabel": "Revenue Earned from Capitation"
       }
      }
     },
     "localname": "RevenueFromRelatedParties",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRelatedPartiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenuePracticalExpedientFinancingComponent": {
     "auth_ref": [
      "r329"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates (true false) whether practical expedient was elected not to adjust consideration for effect of financing component when transfer and customer payment for product or service occurs within one year or less.",
        "label": "Revenue, Practical Expedient, Financing Component [true false]",
        "terseLabel": "Practical expedient for not adjusting effects of a significant financing component"
       }
      }
     },
     "localname": "RevenuePracticalExpedientFinancingComponent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesCapitatedRevenueDetails"
     ],
     "xbrltype": "booleanItemType"
    },
    "us-gaap_RevenuePracticalExpedientIncrementalCostOfObtainingContract": {
     "auth_ref": [
      "r212",
      "r329"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates (true false) whether practical expedient was elected to recognize incremental cost of obtaining contract as expense when incurred if amortization period would have been one year or less.",
        "label": "Revenue, Practical Expedient, Incremental Cost of Obtaining Contract [true false]",
        "terseLabel": "Practical expedients, expensed all incremental customer contract acquisition costs as incurred"
       }
      }
     },
     "localname": "RevenuePracticalExpedientIncrementalCostOfObtainingContract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesClinicalFeesAndInsuranceRevenueDetails"
     ],
     "xbrltype": "booleanItemType"
    },
    "us-gaap_RevenuePracticalExpedientInitialApplicationAndTransitionNondisclosureOfTransactionPriceAllocationToRemainingPerformanceObligation": {
     "auth_ref": [
      "r340"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates (true false) whether practical expedient was elected not to disclose amount of transaction price allocated to remaining performance obligation and explanation of expected timing of revenue recognition for reporting period presented prior to date of initial application under retrospective method.",
        "label": "Revenue, Practical Expedient, Initial Application and Transition, Nondisclosure of Transaction Price Allocation to Remaining Performance Obligation [true false]",
        "terseLabel": "Practical expedients, not adjust the transaction price for any financing components"
       }
      }
     },
     "localname": "RevenuePracticalExpedientInitialApplicationAndTransitionNondisclosureOfTransactionPriceAllocationToRemainingPerformanceObligation",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesClinicalFeesAndInsuranceRevenueDetails"
     ],
     "xbrltype": "booleanItemType"
    },
    "us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability": {
     "auth_ref": [
      "r499",
      "r504"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase in right-of-use asset obtained in exchange for operating lease liability.",
        "label": "New Assets Obtained in Exchange for Operating Lease Liabilities",
        "terseLabel": "New Assets Obtained in Exchange for Operating Lease Liabilities"
       }
      }
     },
     "localname": "RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureLeasesSupplementalCashFlowsAndOtherInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RollForwardInLiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Claims Payable."
       }
      }
     },
     "localname": "RollForwardInLiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_SaleOfStockNameOfTransactionDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sale of the entity's stock, including, but not limited to, initial public offering (IPO) and private placement.",
        "label": "Sale of Stock [Domain]"
       }
      }
     },
     "localname": "SaleOfStockNameOfTransactionDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SalesRevenueNetMember": {
     "auth_ref": [
      "r162",
      "r198"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Revenue from sale of product and rendering of service and other sources of income, when it serves as benchmark in concentration of risk calculation.",
        "label": "Revenue Benchmark [Member]",
        "terseLabel": "Revenue"
       }
      }
     },
     "localname": "SalesRevenueNetMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesConcentrationOfRevenueDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesRevenueRecognitionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable": {
     "auth_ref": [
      "r54"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule itemizing specific types of trade accounts and notes receivable, and for each the gross carrying value, allowance, and net carrying value as of the balance sheet date. Presentation is categorized by current, noncurrent and unclassified receivables.",
        "label": "Schedule of Accounts, Notes, Loans and Financing Receivable [Table]"
       }
      }
     },
     "localname": "ScheduleOfAccountsNotesLoansAndFinancingReceivableTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureNotesReceivableNetDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable": {
     "auth_ref": [
      "r144"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule for securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) in the future that were not included in the computation of diluted EPS because to do so would increase EPS amounts or decrease loss per share amounts for the period presented, by Antidilutive Securities.",
        "label": "Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share [Table]"
       }
      }
     },
     "localname": "ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureEarningsLossPerShareComputationOfDilutedNetLossPerShareDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock": {
     "auth_ref": [
      "r144"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) in the future that were not included in the computation of diluted EPS because to do so would increase EPS amounts or decrease loss per share amounts for the period presented, by antidilutive securities.",
        "label": "Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share [Table Text Block]",
        "terseLabel": "Schedule of potential dilutive securities excluded from the computation of diluted net loss per share their effect would have been anti-dilutive"
       }
      }
     },
     "localname": "ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureEarningsLossPerShareTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable": {
     "auth_ref": [
      "r420",
      "r421"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule reflecting each material business combination (or series of individually immaterial business combinations) completed during the period, including background, timing, and recognized assets and liabilities.",
        "label": "Schedule of Business Acquisitions, by Acquisition [Table]"
       }
      }
     },
     "localname": "ScheduleOfBusinessAcquisitionsByAcquisitionTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsMedcoreHealthPlanIncAndOmniIpaMedicalGroupIncDetails",
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsProFormaFinancialInformationDetails",
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchaseConsiderationDetails",
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails",
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock": {
     "auth_ref": [
      "r420",
      "r421"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of a material business combination completed during the period, including background, timing, and recognized assets and liabilities. This table  does not include leveraged buyouts.",
        "label": "Schedule of Business Acquisitions, by Acquisition [Table Text Block]",
        "terseLabel": "Summary of purchase consideration"
       }
      }
     },
     "localname": "ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfCashAndCashEquivalentsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the components of cash and cash equivalents.",
        "label": "Schedule of Cash and Cash Equivalents [Table Text Block]",
        "terseLabel": "Summary of total cash balances"
       }
      }
     },
     "localname": "ScheduleOfCashAndCashEquivalentsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable": {
     "auth_ref": [
      "r436"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about collaborative arrangement and arrangement other than collaborative applicable to revenue-generating activity or operations.",
        "label": "Collaborative Arrangement and Arrangement Other than Collaborative [Table]"
       }
      }
     },
     "localname": "ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureTaxReceivableAgreementDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfDebtInstrumentsTextBlock": {
     "auth_ref": [
      "r49",
      "r111",
      "r290",
      "r292",
      "r308",
      "r309",
      "r310",
      "r311",
      "r485",
      "r486",
      "r489",
      "r569"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of long-debt instruments or arrangements, including identification, terms, features, collateral requirements and other information necessary to a fair presentation. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the entity, if longer.",
        "label": "Schedule of Long-term Debt Instruments [Table Text Block]",
        "terseLabel": "Schedule of total payments cash and non-Cash of interest"
       }
      }
     },
     "localname": "ScheduleOfDebtInstrumentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDebtTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of information pertaining to short-term and long-debt instruments or arrangements, including but not limited to identification of terms, features, collateral requirements and other information necessary to a fair presentation.",
        "label": "Schedule of Debt [Table Text Block]",
        "terseLabel": "Schedule of rollforward the long-term debt balances"
       }
      }
     },
     "localname": "ScheduleOfDebtTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock": {
     "auth_ref": [
      "r400"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the components of net deferred tax asset or liability recognized in an entity's statement of financial position, including the following: the total of all deferred tax liabilities, the total of all deferred tax assets, the total valuation allowance recognized for deferred tax assets.",
        "label": "Schedule of Deferred Tax Assets and Liabilities [Table Text Block]",
        "terseLabel": "Schedule of deferred income tax assets and liabilities"
       }
      }
     },
     "localname": "ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock": {
     "auth_ref": [
      "r143"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations.",
        "label": "Schedule of Earnings Per Share, Basic and Diluted [Table Text Block]",
        "terseLabel": "Schedule of computation of basic net loss per share"
       }
      }
     },
     "localname": "ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureEarningsLossPerShareTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock": {
     "auth_ref": [
      "r392"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the reconciliation using percentage or dollar amounts of the reported amount of income tax expense attributable to continuing operations for the year to the amount of income tax expense that would result from applying domestic federal statutory tax rates to pretax income from continuing operations.",
        "label": "Schedule of Effective Income Tax Rate Reconciliation [Table Text Block]",
        "terseLabel": "Schedule of reconciliation between the income tax provision computed by applying the statutory federal rate and the actual provision"
       }
      }
     },
     "localname": "ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock": {
     "auth_ref": [
      "r359",
      "r377",
      "r386"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of allocation of amount expensed and capitalized for award under share-based payment arrangement to statement of income or comprehensive income and statement of financial position. Includes, but is not limited to, corresponding line item in financial statement.",
        "label": "Share-based Payment Arrangement, Expensed and Capitalized, Amount [Table Text Block]",
        "terseLabel": "Schedule of compensation costs"
       }
      }
     },
     "localname": "ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentRestatementTable": {
     "auth_ref": [
      "r118",
      "r119",
      "r120",
      "r123",
      "r124",
      "r126",
      "r127",
      "r147"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of prior period adjustments to correct an error in previously issued financial statements. The disclosure may include, but is not limited to: (1) the effect of the correction on each financial statement line item and any per-share amounts affected for each prior period presented (2) the cumulative effect of the change on retained earnings or other appropriate components of equity or net assets in the statement of financial position, as of the beginning of the earliest period presented, and (3) the effect of the prior period adjustment (both gross and net of applicable income tax) on the net income of each prior period presented in the entity's annual report for the year in which the adjustments are made. This table can be used to disclose the amounts as previously reported and the effect of the correction or other adjustment on per line item or per share amount basis. This table uses as its line items financial statement line items that are affected by prior period adjustments.",
        "label": "Schedule of Error Corrections and Prior Period Adjustment Restatement [Table]"
       }
      }
     },
     "localname": "ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentRestatementTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentsTextBlock": {
     "auth_ref": [
      "r125",
      "r126",
      "r127"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of prior period adjustments to previously issued financial statements including (1) the effect of the correction on each financial statement line item and any per-share amounts affected for each prior period presented (2) the cumulative effect of the change on retained earnings or other appropriate components of equity or net assets in the statement of financial position, as of the beginning of the earliest period presented, and (3) the effect of the prior period adjustments (both gross and net of applicable income tax) on the net income of each prior period presented in the entity's annual report for the year in which the adjustments are made.",
        "label": "Schedule of Error Corrections and Prior Period Adjustments [Table Text Block]",
        "terseLabel": "Summary of the effects of the restatement adjustments on each financial statement line item affected by the restatement as of the dates, and for the periods"
       }
      }
     },
     "localname": "ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable": {
     "auth_ref": [
      "r224",
      "r229",
      "r535"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Schedule of Finite-Lived Intangible Assets [Table]"
       }
      }
     },
     "localname": "ScheduleOfFiniteLivedIntangibleAssetsTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIntangibleAssetsChangesDetails",
      "http://www.p3hp.org/role/DisclosureIntangibleAssetsWeightedAverageRemainingUsefulLifeDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock": {
     "auth_ref": [
      "r224",
      "r229"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of assets, excluding financial assets and goodwill, lacking physical substance with a finite life, by either major class or business segment.",
        "label": "Schedule of Finite-Lived Intangible Assets [Table Text Block]",
        "terseLabel": "Schedule of changes in other intangible assets"
       }
      }
     },
     "localname": "ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIntangibleAssetsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfGoodwillTable": {
     "auth_ref": [
      "r218",
      "r220"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of goodwill and the changes during the year due to acquisition, sale, impairment or for other reasons.",
        "label": "Schedule of Goodwill [Table]"
       }
      }
     },
     "localname": "ScheduleOfGoodwillTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureGoodwillDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfGoodwillTextBlock": {
     "auth_ref": [
      "r218",
      "r220"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of goodwill by reportable segment and in total which includes a rollforward schedule.",
        "label": "Schedule of Goodwill [Table Text Block]",
        "terseLabel": "Summary of changes in goodwill"
       }
      }
     },
     "localname": "ScheduleOfGoodwillTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureGoodwillTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock": {
     "auth_ref": [
      "r107"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of income before income tax between domestic and foreign jurisdictions.",
        "label": "Schedule of Income before Income Tax, Domestic and Foreign [Table Text Block]",
        "terseLabel": "Schedule of components of loss before taxes"
       }
      }
     },
     "localname": "ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfLiabilityForUnpaidClaimsAndClaimsAdjustmentExpense": {
     "auth_ref": [
      "r588"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the activity in the reserve for settling insured claims and expenses incurred in the claims settlement process for the period. The estimated liability includes the amount of money that will be required for future payments of (a) claims that have been reported to the insurer, (b) claims related to insured events that have occurred but that have not been reported to the insurer as of the date the liability is estimated, and (c) claim adjustment expenses. Claim adjustment expenses include costs incurred in the claim settlement process such as legal fees; outside adjuster fees; and costs to record, process, and adjust claims.",
        "label": "Schedule of Liability for Unpaid Claims and Claims Adjustment Expense [Table Text Block]",
        "terseLabel": "Summary of activity in the liability for claims payable and healthcare expenses"
       }
      }
     },
     "localname": "ScheduleOfLiabilityForUnpaidClaimsAndClaimsAdjustmentExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureClaimsPayableTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfMaturitiesOfLongTermDebtTableTextBlock": {
     "auth_ref": [
      "r255"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of maturity and sinking fund requirement for long-term debt.",
        "label": "Schedule of Maturities of Long-term Debt [Table Text Block]",
        "terseLabel": "Schedule of long tern debt fiscal maturity disclosures"
       }
      }
     },
     "localname": "ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfNonvestedShareActivityTableTextBlock": {
     "auth_ref": [
      "r367"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the changes in outstanding nonvested shares.",
        "label": "Schedule of Nonvested Share Activity [Table Text Block]",
        "terseLabel": "Schedule of share-based compensation activity"
       }
      }
     },
     "localname": "ScheduleOfNonvestedShareActivityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfOtherShareBasedCompensationActivityTableTextBlock": {
     "auth_ref": [
      "r367"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of activity for outstanding award under share-based payment arrangement excluding share and unit options and nonvested award.",
        "label": "Share-based Payment Arrangement, Outstanding Award, Activity, Excluding Option [Table Text Block]",
        "terseLabel": "Schedule of number of Class C Units (Performance-based and Time- based) activity and weighted average fair market values"
       }
      }
     },
     "localname": "ScheduleOfOtherShareBasedCompensationActivityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfPreferredUnitsTable": {
     "auth_ref": [
      "r314",
      "r606"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule providing details of the units of a Master Limited Partnership that have priority over limited partner units in areas including liquidation, redemption, conversion, tax status of distribution or sharing in distributions. Details include the preferred units authorized, issued and outstanding, the cumulative cash distributions made to preferred partners, the cumulative net income shared by preferred partners, and the aggregate account balances of preferred partners.",
        "label": "Schedule of Preferred Units [Table]"
       }
      }
     },
     "localname": "ScheduleOfPreferredUnitsTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassBUnitsDetails",
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassCUnitsDetails",
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassDUnitsDetails",
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfPropertyPlantAndEquipmentTable": {
     "auth_ref": [
      "r40",
      "r239"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, balances by class of assets, depreciation and depletion expense and method used, including composite depreciation, and accumulated deprecation.",
        "label": "Property, Plant and Equipment [Table]"
       }
      }
     },
     "localname": "ScheduleOfPropertyPlantAndEquipmentTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosurePropertyAndEquipmentDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPropertyAndEquipmentDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock": {
     "auth_ref": [
      "r424"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the amounts recognized as of the acquisition date for each major class of assets acquired and liabilities assumed. May include but not limited to the following: (a) acquired receivables; (b) contingencies recognized at the acquisition date; and (c) the fair value of noncontrolling interests in the acquiree.",
        "label": "Schedule of Recognized Identified Assets Acquired and Liabilities Assumed [Table Text Block]",
        "terseLabel": "Summary of purchase price allocation to assets and liabilities"
       }
      }
     },
     "localname": "ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable": {
     "auth_ref": [
      "r510",
      "r512"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of quantitative and qualitative information pertaining to related party transactions. Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates.",
        "label": "Schedule of Related Party Transactions, by Related Party [Table]"
       }
      }
     },
     "localname": "ScheduleOfRelatedPartyTransactionsByRelatedPartyTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRelatedPartiesDetails",
      "http://www.p3hp.org/role/DisclosureRelatedPartiesTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfRelatedPartyTransactionsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of related party transactions. Examples of related party transactions include, but are not limited to, transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners and (d) affiliates.",
        "label": "Schedule of Related Party Transactions [Table Text Block]",
        "terseLabel": "Schedule of related party transactions"
       }
      }
     },
     "localname": "ScheduleOfRelatedPartyTransactionsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRelatedPartiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable": {
     "auth_ref": [
      "r361",
      "r380"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about share-based payment arrangement.",
        "label": "Schedule of Share-based Compensation Arrangements by Share-based Payment Award [Table]"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfClassCProfitsInterestActivityDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfClassVShareBasedCompensationActivityDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfCompensationCostsDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock": {
     "auth_ref": [
      "r373"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the significant assumptions used during the year to estimate the fair value of stock options, including, but not limited to: (a) expected term of share options and similar instruments, (b) expected volatility of the entity's shares, (c) expected dividends, (d) risk-free rate(s), and (e) discount for post-vesting restrictions.",
        "label": "Schedule of Share-based Payment Award, Stock Options, Valuation Assumptions [Table Text Block]",
        "terseLabel": "Schedule of fair value assumptions"
       }
      }
     },
     "localname": "ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfShortTermDebtTextBlock": {
     "auth_ref": [
      "r43"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of short-term debt arrangements (having initial terms of repayment within one year or the normal operating cycle, if longer) including: (1) description of the short-term debt arrangement; (2) identification of the lender or type of lender; (3) repayment terms; (4) weighted average interest rate; (5) carrying amount of funds borrowed under the specified short-term debt arrangement as of the balance sheet date; (6) description of the refinancing of a short-term obligation when that obligation is excluded from current liabilities in the balance sheet; and (7) amount of a short-term obligation that has been excluded from current liabilities in the balance sheet because of a refinancing of the obligation.",
        "label": "Schedule of Short-term Debt [Table Text Block]",
        "terseLabel": "Schedule of short term debt"
       }
      }
     },
     "localname": "ScheduleOfShortTermDebtTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfStockholdersEquityNoteWarrantsOrRightsTextBlock": {
     "auth_ref": [
      "r316",
      "r358"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of warrants or rights issued. Warrants and rights outstanding are derivative securities that give the holder the right to purchase securities (usually equity) from the issuer at a specific price within a certain time frame. Warrants are often included in a new debt issue to entice investors by a higher return potential. The main difference between warrants and call options is that warrants are issued and guaranteed by the company, whereas options are exchange instruments and are not issued by the company. Also, the lifetime of a warrant is often measured in years, while the lifetime of a typical option is measured in months. Disclose the title of issue of securities called for by warrants and rights outstanding, the aggregate amount of securities called for by warrants and rights outstanding, the date from which the warrants or rights are exercisable, and the price at which the warrant or right is exercisable.",
        "label": "Schedule of Stockholders' Equity Note, Warrants or Rights [Table Text Block]",
        "terseLabel": "Summary of Level 3 inputs into option pricing model"
       }
      }
     },
     "localname": "ScheduleOfStockholdersEquityNoteWarrantsOrRightsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfVariableInterestEntitiesTable": {
     "auth_ref": [
      "r440",
      "r441",
      "r448",
      "r449",
      "r450",
      "r452",
      "r454",
      "r455",
      "r456"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of qualitative and quantitative information related to variable interests the entity holds, whether or not such variable interest entity (VIE) is included in the reporting entity's consolidated financial statements. Includes, but is not limited to, description of the significant judgments and assumptions made in determining whether a variable interest (as defined) held by the entity requires the variable interest entity (VIE) (as defined) to be consolidated and (or) disclose information about its involvement with the VIE, individually or in aggregate (as applicable); the nature of restrictions, if any, on the consolidated VIE's assets and on the settlement of its liabilities reported by an entity in its statement of financial position, including the carrying amounts of such assets and liabilities; the nature of, and changes in, the risks associated with involvement in the VIE; how involvement with the VIE affects the entity's financial position, financial performance, and cash flows; the lack of recourse if creditors (or beneficial interest holders) of the consolidated VIE have no recourse to the general credit of the primary beneficiary (if applicable); the terms of arrangements, giving consideration to both explicit arrangements and implicit variable interests, if any, that could require the entity to provide financial support to the VIE, including events or circumstances that could expose the entity to a loss; the methodology used by the entity for determining whether or not it is the primary beneficiary of the variable interest entity; the significant factors considered and judgments made in determining that the power to direct the activities of a VIE that most significantly impact the VIE's economic performance are shared (as defined); the carrying amounts and classification of assets and liabilities of the VIE included in the statement of financial position; the entity's maximum exposure to loss, if any, as a result of its involvement with the VIE, including how the maximum exposure is determined and significant sources of the entity's exposure to the VIE; a tabular comparison of the carrying amounts of the assets and liabilities and the entity's maximum exposure to loss; information about any liquidity arrangements, guarantees, and (or) other commitments by third parties that may affect the fair value or risk of the entity's variable interest in the VIE; whether or not the entity has provided financial support or other support (explicitly or implicitly) to the VIE that it was not previously contractually required to provide or whether the entity intends to provide that support, including the type and amount of the support and the primary reasons for providing the support; and supplemental information the entity determines necessary to provide.",
        "label": "Schedule of Variable Interest Entities [Table]"
       }
      }
     },
     "localname": "ScheduleOfVariableInterestEntitiesTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureVariableInterestEntitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfVariableInterestEntitiesTextBlock": {
     "auth_ref": [
      "r450",
      "r452",
      "r454",
      "r455",
      "r456"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the significant judgments and assumptions made in determining whether a variable interest (as defined) held by the entity requires the variable interest entity (VIE) (as defined) to be consolidated and (or) disclose information about its involvement with the VIE, individually or in aggregate (as applicable); the nature of restrictions, if any, on the consolidated VIE's assets and on the settlement of its liabilities reported by an entity in its statement of financial position, including the carrying amounts of such assets and liabilities; the nature of, and changes in, the risks associated with involvement in the VIE; how involvement with the VIE affects the entity's financial position, financial performance, and cash flows; the lack of recourse if creditors (or beneficial interest holders) of the consolidated VIE have no recourse to the general credit of the primary beneficiary (if applicable); the terms of arrangements, giving consideration to both explicit arrangements and implicit variable interests, if any, that could require the entity to provide financial support to the VIE, including events or circumstances that could expose the entity to a loss; the methodology used by the entity for determining whether or not it is the primary beneficiary of the variable interest entity; the significant factors considered and judgments made in determining that the power to direct the activities of a VIE that most significantly impact the VIE's economic performance are shared (as defined); the carrying amounts and classification of assets and liabilities of the VIE included in the statement of financial position; the entity's maximum exposure to loss, if any, as a result of its involvement with the VIE, including how the maximum exposure is determined and significant sources of the entity's exposure to the VIE; a comparison of the carrying amounts of the assets and liabilities and the entity's maximum exposure to loss; information about any liquidity arrangements, guarantees, and (or) other commitments by third parties that may affect the fair value or risk of the entity's variable interest in the VIE; whether or not the entity has provided financial support or other support (explicitly or implicitly) to the VIE that it was not previously contractually required to provide or whether the entity intends to provide that support, including the type and amount of the support and the primary reasons for providing the support; and supplemental information the entity determines necessary to provide.",
        "label": "Schedule of Variable Interest Entities [Table Text Block]",
        "terseLabel": "Summary of balance sheet and income statement of VIEs"
       }
      }
     },
     "localname": "ScheduleOfVariableInterestEntitiesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureVariableInterestEntitiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SchedulesOfConcentrationOfRiskByRiskFactorTextBlock": {
     "auth_ref": [
      "r160",
      "r162",
      "r163",
      "r164",
      "r473",
      "r475"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the nature of a concentration, a benchmark to which it is compared, and the percentage that the risk is to the benchmark.",
        "label": "Schedules of Concentration of Risk, by Risk Factor [Table Text Block]",
        "terseLabel": "Summary of health plans from which the Company has a concentration of revenue that is 10.0%, or more"
       }
      }
     },
     "localname": "SchedulesOfConcentrationOfRiskByRiskFactorTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SegmentReportingAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reporting"
       }
      }
     },
     "localname": "SegmentReportingAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_SegmentReportingDisclosureTextBlock": {
     "auth_ref": [
      "r168",
      "r170",
      "r171",
      "r175",
      "r176",
      "r187",
      "r191",
      "r192",
      "r193",
      "r194",
      "r195",
      "r197",
      "r198",
      "r199"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for reporting segments including data and tables. Reportable segments include those that meet any of the following quantitative thresholds a) it's reported revenue, including sales to external customers and intersegment sales or transfers is 10 percent or more of the combined revenue, internal and external, of all operating segments b) the absolute amount of its reported profit or loss is 10 percent or more of the greater, in absolute amount of 1) the combined reported profit of all operating segments that did not report a loss or 2) the combined reported loss of all operating segments that did report a loss c) its assets are 10 percent or more of the combined assets of all operating segments.",
        "label": "Segment Reporting Disclosure [Text Block]",
        "terseLabel": "Segment Reporting"
       }
      }
     },
     "localname": "SegmentReportingDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSegmentReporting"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SegmentReportingPolicyPolicyTextBlock": {
     "auth_ref": [
      "r177",
      "r178",
      "r179",
      "r180",
      "r181",
      "r182",
      "r196"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for segment reporting.",
        "label": "Segment Reporting, Policy [Policy Text Block]",
        "terseLabel": "Segment Reporting"
       }
      }
     },
     "localname": "SegmentReportingPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SellingAndMarketingExpense": {
     "auth_ref": [],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations": {
       "order": 5.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate total amount of expenses directly related to the marketing or selling of products or services.",
        "label": "Selling and Marketing Expense",
        "terseLabel": "Sales and Marketing Expenses"
       }
      }
     },
     "localname": "SellingAndMarketingExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesSalesAndMarketingExpensesDetails",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SellingAndMarketingExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Selling and Marketing Expense [Abstract]",
        "terseLabel": "Sales and Marketing Expenses"
       }
      }
     },
     "localname": "SellingAndMarketingExpenseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesSalesAndMarketingExpensesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock": {
     "auth_ref": [
      "r388"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for inclusion of significant items in the selling, general and administrative (or similar) expense report caption.",
        "label": "Selling, General and Administrative Expenses, Policy [Policy Text Block]",
        "terseLabel": "Sales and Marketing Expenses"
       }
      }
     },
     "localname": "SellingGeneralAndAdministrativeExpensesPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SeriesDPreferredStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Outstanding nonredeemable series D preferred stock or outstanding series D preferred stock. Classified within stockholders' equity if nonredeemable or redeemable solely at the option of the issuer. Classified within temporary equity if redemption is outside the control of the issuer.",
        "label": "Series D Preferred units"
       }
      }
     },
     "localname": "SeriesDPreferredStockMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShareBasedCompensation": {
     "auth_ref": [
      "r89"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of noncash expense for share-based payment arrangement.",
        "label": "Share-based Payment Arrangement, Noncash Expense",
        "terseLabel": "Stock-Based Compensation"
       }
      }
     },
     "localname": "ShareBasedCompensation",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardRequisiteServicePeriod1": {
     "auth_ref": [
      "r362"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Estimated period over which an employee is required to provide service in exchange for the equity-based payment award, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Award Requisite Service Period",
        "terseLabel": "Service period"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardRequisiteServicePeriod1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassCUnitsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1": {
     "auth_ref": [
      "r362"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period over which grantee's right to exercise award under share-based payment arrangement is no longer contingent on satisfaction of service or performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Includes, but is not limited to, combination of market, performance or service condition.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period",
        "terseLabel": "Vesting period"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassCUnitsDetails",
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod": {
     "auth_ref": [
      "r366"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of equity-based payment instruments, excluding stock (or unit) options, that were forfeited during the reporting period.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Forfeited in Period",
        "negatedLabel": "Cancelled/forfeited"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfClassCProfitsInterestActivityDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfClassVShareBasedCompensationActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r371"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average fair value as of the grant date of equity-based award plans other than stock (unit) option plans that were not exercised or put into effect as a result of the occurrence of a terminating event.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Forfeitures, Weighted Average Grant Date Fair Value",
        "terseLabel": "Weighted average grant date fair value, Cancelled/forfeited"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfClassCProfitsInterestActivityDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfClassVShareBasedCompensationActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod": {
     "auth_ref": [
      "r369"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of grants made during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period",
        "terseLabel": "Granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfClassCProfitsInterestActivityDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfClassVShareBasedCompensationActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r369"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average fair value at grant date for nonvested equity-based awards issued during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period, Weighted Average Grant Date Fair Value",
        "terseLabel": "Weighted average grant date fair value, granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfClassCProfitsInterestActivityDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfClassVShareBasedCompensationActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber": {
     "auth_ref": [
      "r368"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of non-vested equity-based payment instruments, excluding stock (or unit) options, that validly exist and are outstanding as of the balance sheet date.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number",
        "periodEndLabel": "Outstanding, ending balance",
        "periodStartLabel": "Outstanding, beginning balance",
        "terseLabel": "Awards outstanding",
        "verboseLabel": "Number of units unvested"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassBUnitsDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfClassCProfitsInterestActivityDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfClassVShareBasedCompensationActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r368"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or unit weighted-average fair value of nonvested award under share-based payment arrangement. Excludes share and unit options.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value",
        "periodEndLabel": "Weighted average grant date fair value, ending balance",
        "periodStartLabel": "Weighted average grant date fair value, beginning balance"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfClassCProfitsInterestActivityDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfClassVShareBasedCompensationActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod": {
     "auth_ref": [
      "r370"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of equity-based payment instruments, excluding stock (or unit) options, that vested during the reporting period.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period",
        "negatedLabel": "Vested"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfClassCProfitsInterestActivityDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfClassVShareBasedCompensationActivityDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r370"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average fair value as of grant date pertaining to an equity-based award plan other than a stock (or unit) option plan for which the grantee gained the right during the reporting period, by satisfying service and performance requirements, to receive or retain shares or units, other instruments, or cash in accordance with the terms of the arrangement.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period, Weighted Average Grant Date Fair Value",
        "terseLabel": "Weighted average grant date fair value, Vested"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfClassCProfitsInterestActivityDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfClassVShareBasedCompensationActivityDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate": {
     "auth_ref": [
      "r375"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The estimated measure of the percentage by which a share price is expected to fluctuate during a period. Volatility also may be defined as a probability-weighted measure of the dispersion of returns about the mean. The volatility of a share price is the standard deviation of the continuously compounded rates of return on the share over a specified period. That is the same as the standard deviation of the differences in the natural logarithms of the stock prices plus dividends, if any, over the period.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Volatility Rate",
        "terseLabel": "Volatility"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfValuationOfEquityBasedAwardsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate": {
     "auth_ref": [
      "r376"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The risk-free interest rate assumption that is used in valuing an option on its own shares.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Risk Free Interest Rate",
        "terseLabel": "RF Rate"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfValuationOfEquityBasedAwardsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award [Line Items]"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfClassCProfitsInterestActivityDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfClassVShareBasedCompensationActivityDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfCompensationCostsDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized": {
     "auth_ref": [
      "r363"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares authorized for issuance under share-based payment arrangement.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Authorized",
        "verboseLabel": "Number of shares authorized"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod": {
     "auth_ref": [
      "r380"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares issued under share-based payment arrangement.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Shares Issued in Period",
        "terseLabel": "Shares issued"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain": {
     "auth_ref": [
      "r358",
      "r364"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Award under share-based payment arrangement.",
        "label": "Award Type [Domain]"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfClassCProfitsInterestActivityDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfClassVShareBasedCompensationActivityDetails",
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfCompensationCostsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SharePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Price of a single share of a number of saleable stocks of a company.",
        "label": "Share Price",
        "terseLabel": "Share price"
       }
      }
     },
     "localname": "SharePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage": {
     "auth_ref": [
      "r362"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of vesting of award under share-based payment arrangement.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Rights, Percentage",
        "terseLabel": "Vesting percentage"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassBUnitsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardCompensationCost1": {
     "auth_ref": [
      "r377"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cost expensed and capitalized for award under share-based payment arrangement.",
        "label": "Share-based Payment Arrangement, Expensed and Capitalized, Amount",
        "terseLabel": "Compensation costs"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardCompensationCost1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1": {
     "auth_ref": [
      "r374",
      "r385"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Expected term of award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Expected Term.",
        "terseLabel": "Term (Years)"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureShareBasedCompensationSummaryOfValuationOfEquityBasedAwardsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares issued which are neither cancelled nor held in the treasury.",
        "label": "Shares, Outstanding",
        "periodEndLabel": "STOCKHOLDERS' EQUITY (in shares)",
        "periodStartLabel": "STOCKHOLDERS' EQUITY (in shares)"
       }
      }
     },
     "localname": "SharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfStockholdersEquityDeficitAndMezzanineEquity"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_SharesSubjectToMandatoryRedemptionSettlementTermsFairValueOfShares": {
     "auth_ref": [
      "r296"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_LiabilitiesNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The fair value of shares that would be issued, determined under the conditions specified in the contract if the settlement were to occur at the reporting date.",
        "label": "Financial Instruments Subject to Mandatory Redemption, Settlement Terms, Fair Value of Shares",
        "terseLabel": "Warrant Liabilities",
        "verboseLabel": "Liability for Warrants"
       }
      }
     },
     "localname": "SharesSubjectToMandatoryRedemptionSettlementTermsFairValueOfShares",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyCarryingValueOfFinancialInstrumentsDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShortTermBorrowings": {
     "auth_ref": [
      "r22",
      "r520",
      "r553",
      "r573"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureDebtShortTermPrincipalPaymentsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reflects the total carrying amount as of the balance sheet date of debt having initial terms less than one year or the normal operating cycle, if longer.",
        "label": "Short-term Debt",
        "terseLabel": "Short-Term Debt",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "ShortTermBorrowings",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtShortTermPrincipalPaymentsDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShortTermDebtTypeAxis": {
     "auth_ref": [
      "r43"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of short-term debt arrangement.",
        "label": "Short-term Debt, Type [Axis]"
       }
      }
     },
     "localname": "ShortTermDebtTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShortTermDebtTypeDomain": {
     "auth_ref": [
      "r42"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of short-term debt arrangement, such as notes, line of credit, commercial paper, asset-based financing, project financing, letter of credit financing.",
        "label": "Short-term Debt, Type [Domain]"
       }
      }
     },
     "localname": "ShortTermDebtTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SignificantAccountingPoliciesTextBlock": {
     "auth_ref": [
      "r101",
      "r112"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for all significant accounting policies of the reporting entity.",
        "label": "Significant Accounting Policies [Text Block]",
        "terseLabel": "Significant Accounting Policies"
       }
      }
     },
     "localname": "SignificantAccountingPoliciesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SoftwareAndSoftwareDevelopmentCostsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Purchased software applications and internally developed software for sale, licensing or long-term internal use.",
        "label": "Software and Software Development Costs [Member]",
        "terseLabel": "Software"
       }
      }
     },
     "localname": "SoftwareAndSoftwareDevelopmentCostsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPropertyAndEquipmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SoftwareDevelopmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Internally developed software for sale, licensing or long-term internal use.",
        "label": "Software (Development in Process)"
       }
      }
     },
     "localname": "SoftwareDevelopmentMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosurePropertyAndEquipmentDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPropertyAndEquipmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_StatementClassOfStockAxis": {
     "auth_ref": [
      "r28",
      "r29",
      "r30",
      "r104",
      "r106",
      "r132",
      "r133",
      "r138",
      "r141",
      "r143",
      "r153",
      "r154",
      "r155",
      "r204",
      "r257",
      "r262",
      "r263",
      "r264",
      "r268",
      "r269",
      "r302",
      "r303",
      "r305",
      "r306",
      "r307",
      "r476",
      "r629"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by the different classes of stock of the entity.",
        "label": "Class of Stock [Axis]",
        "terseLabel": "Class of Stock [Axis]"
       }
      }
     },
     "localname": "StatementClassOfStockAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails",
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails",
      "http://www.p3hp.org/role/DisclosureWarrantsDetails",
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheetsParenthetical",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfStockholdersEquityDeficitAndMezzanineEquity"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementEquityComponentsAxis": {
     "auth_ref": [
      "r0",
      "r53",
      "r63",
      "r64",
      "r65",
      "r113",
      "r114",
      "r115",
      "r117",
      "r124",
      "r127",
      "r152",
      "r205",
      "r307",
      "r312",
      "r381",
      "r382",
      "r383",
      "r407",
      "r408",
      "r462",
      "r478",
      "r479",
      "r480",
      "r481",
      "r482",
      "r483",
      "r593",
      "r594",
      "r595",
      "r637"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by component of equity.",
        "label": "Equity Components [Axis]"
       }
      }
     },
     "localname": "StatementEquityComponentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfStockholdersEquityDeficitAndMezzanineEquity",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfStockholdersEquityDeficitAndMezzanineEquityParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Statement [Line Items]"
       }
      }
     },
     "localname": "StatementLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails",
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfStockholdersEquityDeficitAndMezzanineEquity",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfStockholdersEquityDeficitAndMezzanineEquityParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfCashFlowsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CONSOLIDATED STATEMENTS OF CASH FLOWS",
        "terseLabel": "Consolidated Statements of Cash Flows",
        "verboseLabel": "Condensed Consolidated Statements of Cash Flows"
       }
      }
     },
     "localname": "StatementOfCashFlowsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfFinancialPositionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CONSOLIDATED BALANCE SHEETS",
        "terseLabel": "Consolidated Balance Sheet"
       }
      }
     },
     "localname": "StatementOfFinancialPositionAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfPartnersCapitalAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CONSOLIDATED STATEMENTS OF MEMBERS' EQUITY (DEFICIT)",
        "terseLabel": "Consolidated Statements of Changes in Members' Deficit",
        "verboseLabel": "Condensed Consolidated Statements of Changes in Members' Deficit"
       }
      }
     },
     "localname": "StatementOfPartnersCapitalAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfStockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY (DEFICIT) AND MEZZANINE EQUITY"
       }
      }
     },
     "localname": "StatementOfStockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementTable": {
     "auth_ref": [
      "r113",
      "r114",
      "r115",
      "r152",
      "r534"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule reflecting a Statement of Income, Statement of Cash Flows, Statement of Financial Position, Statement of Shareholders' Equity and Other Comprehensive Income, or other statement as needed.",
        "label": "Statement [Table]"
       }
      }
     },
     "localname": "StatementTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails",
      "http://www.p3hp.org/role/DocumentDocumentAndEntityInformation",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfOperations",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfStockholdersEquityDeficitAndMezzanineEquity",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfStockholdersEquityDeficitAndMezzanineEquityParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesAcquisitions": {
     "auth_ref": [
      "r29",
      "r30",
      "r312"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of stock issued during the period pursuant to acquisitions.",
        "label": "Stock Issued During Period, Shares, Acquisitions",
        "terseLabel": "Purchase consideration"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesAcquisitions",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesNewIssues": {
     "auth_ref": [
      "r29",
      "r30",
      "r307",
      "r312"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of new stock issued during the period.",
        "label": "Stock Issued During Period, Shares, New Issues",
        "terseLabel": "Shares issued in private placement"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesNewIssues",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation": {
     "auth_ref": [
      "r29",
      "r30",
      "r307",
      "r312"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number, after forfeiture, of shares or units issued under share-based payment arrangement. Excludes shares or units issued under employee stock ownership plan (ESOP).",
        "label": "Shares Issued, Shares, Share-based Payment Arrangement, after Forfeiture",
        "terseLabel": "Accelerated on Merger Date (in shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesShareBasedCompensation",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation": {
     "auth_ref": [
      "r29",
      "r30",
      "r312",
      "r360",
      "r372"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value, after forfeiture, of shares issued under share-based payment arrangement. Excludes employee stock ownership plan (ESOP).",
        "label": "Shares Issued, Value, Share-based Payment Arrangement, after Forfeiture",
        "terseLabel": "Accelerated on Merger Date"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueShareBasedCompensation",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockRepurchasedDuringPeriodShares": {
     "auth_ref": [
      "r29",
      "r30",
      "r307",
      "r312"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares that have been repurchased during the period and have not been retired and are not held in treasury. Some state laws may govern the circumstances under which an entity may acquire its own stock and prescribe the accounting treatment therefore. This element is used when state law does not recognize treasury stock.",
        "label": "Stock Repurchased During Period, Shares",
        "terseLabel": "Shares repurchased"
       }
      }
     },
     "localname": "StockRepurchasedDuringPeriodShares",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest": {
     "auth_ref": [
      "r0",
      "r1",
      "r64",
      "r106",
      "r113",
      "r114",
      "r115",
      "r117",
      "r124",
      "r204",
      "r205",
      "r312",
      "r381",
      "r382",
      "r383",
      "r407",
      "r408",
      "r437",
      "r438",
      "r457",
      "r462",
      "r476",
      "r478",
      "r479",
      "r483",
      "r594",
      "r595",
      "r637"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of stockholders' equity (deficit), net of receivables from officers, directors, owners, and affiliates of the entity, attributable to both the parent and noncontrolling interests. Amount excludes temporary equity. Alternate caption for the concept is permanent equity.",
        "label": "Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest",
        "periodEndLabel": "STOCKHOLDERS' EQUITY",
        "periodStartLabel": "STOCKHOLDERS' EQUITY"
       }
      }
     },
     "localname": "StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfStockholdersEquityDeficitAndMezzanineEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquityNoteStockSplitConversionRatio1": {
     "auth_ref": [
      "r313"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ratio applied to the conversion of stock split, for example but not limited to, one share converted to two or two shares converted to one.",
        "label": "Stockholders' Equity Note, Stock Split, Conversion Ratio",
        "terseLabel": "Exchange ratio"
       }
      }
     },
     "localname": "StockholdersEquityNoteStockSplitConversionRatio1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "us-gaap_SubsequentEventLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Detail information of subsequent event by type. User is expected to use existing line items from elsewhere in the taxonomy as the primary line items for this disclosure, which is further associated with dimension and member elements pertaining to a subsequent event.",
        "label": "Subsequent Event [Line Items]"
       }
      }
     },
     "localname": "SubsequentEventLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSubsequentEventsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventMember": {
     "auth_ref": [
      "r484",
      "r522"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identifies event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event"
       }
      }
     },
     "localname": "SubsequentEventMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSubsequentEventsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventTable": {
     "auth_ref": [
      "r484",
      "r522"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Discloses pertinent information about one or more significant events or transactions that occurred after the balance sheet date through the date the financial statements were issued or the date the financial statements were available to be issued.",
        "label": "Subsequent Event [Table]"
       }
      }
     },
     "localname": "SubsequentEventTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSubsequentEventsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventTypeAxis": {
     "auth_ref": [
      "r484",
      "r522"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Axis]"
       }
      }
     },
     "localname": "SubsequentEventTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSubsequentEventsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventTypeDomain": {
     "auth_ref": [
      "r484",
      "r522"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Domain]"
       }
      }
     },
     "localname": "SubsequentEventTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSubsequentEventsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Events"
       }
      }
     },
     "localname": "SubsequentEventsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventsTextBlock": {
     "auth_ref": [
      "r521",
      "r523"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for significant events or transactions that occurred after the balance sheet date through the date the financial statements were issued or the date the financial statements were available to be issued. Examples include: the sale of a capital stock issue, purchase of a business, settlement of litigation, catastrophic loss, significant foreign exchange rate changes, loans to insiders or affiliates, and transactions not in the ordinary course of business.",
        "label": "Subsequent Events [Text Block]",
        "terseLabel": "Subsequent Events"
       }
      }
     },
     "localname": "SubsequentEventsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSubsequentEvents"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SubsidiarySaleOfStockAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of sale of the entity's stock.",
        "label": "Sale of Stock [Axis]"
       }
      }
     },
     "localname": "SubsidiarySaleOfStockAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassUnitsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubstantialDoubtAboutGoingConcernTextBlock": {
     "auth_ref": [
      "r3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure when substantial doubt is raised about the ability to continue as a going concern. Includes, but is not limited to, principal conditions or events that raised substantial doubt about the ability to continue as a going concern, management's evaluation of the significance of those conditions or events in relation to the ability to meet its obligations, and management's plans that alleviated or are intended to mitigate the conditions or events that raise substantial doubt about the ability to continue as a going concern.",
        "label": "Substantial Doubt about Going Concern [Text Block]",
        "verboseLabel": "Going Concern and Liquidity"
       }
      }
     },
     "localname": "SubstantialDoubtAboutGoingConcernTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureGoingConcernAndLiquidity"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SupplementalCashFlowInformationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Supplemental Cash Flow Information [Abstract]",
        "terseLabel": "Supplemental Cash Flow Information:"
       }
      }
     },
     "localname": "SupplementalCashFlowInformationAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersCurrentYearClaimsAndClaimsAdjustmentExpense": {
     "auth_ref": [
      "r586"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureClaimsPayableDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredClaims1",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after effects of reinsurance, of expense for claims incurred in the current reporting period and related claims settlement costs.",
        "label": "Current Year Claims and Claims Adjustment Expense",
        "terseLabel": "Current Period"
       }
      }
     },
     "localname": "SupplementalInformationForPropertyCasualtyInsuranceUnderwritersCurrentYearClaimsAndClaimsAdjustmentExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureClaimsPayableDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersPriorYearClaimsAndClaimsAdjustmentExpense": {
     "auth_ref": [
      "r586"
     ],
     "calculation": {
      "http://www.p3hp.org/role/DisclosureClaimsPayableDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredClaims1",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after effects of reinsurance, of expense (reversal of expense) for claims incurred in prior reporting periods and related claims settlement costs.",
        "label": "Prior Year Claims and Claims Adjustment Expense",
        "terseLabel": "Prior Period (s)"
       }
      }
     },
     "localname": "SupplementalInformationForPropertyCasualtyInsuranceUnderwritersPriorYearClaimsAndClaimsAdjustmentExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureClaimsPayableDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TemporaryEquityCarryingAmountAttributableToParent": {
     "auth_ref": [
      "r257",
      "r262",
      "r263",
      "r264",
      "r268",
      "r269"
     ],
     "calculation": {
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount, attributable to parent, of an entity's issued and outstanding stock which is not included within permanent equity. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. Includes stock with a put option held by an ESOP and stock redeemable by a holder only in the event of a change in control of the issuer.",
        "label": "Temporary Equity, Carrying Amount, Attributable to Parent",
        "periodEndLabel": "Balance at the end",
        "periodStartLabel": "Balance at the beginning",
        "terseLabel": "Units Subject to Possible Redemption (Predecessor)",
        "verboseLabel": "Units subject to possible redemption"
       }
      }
     },
     "localname": "TemporaryEquityCarryingAmountAttributableToParent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfPreviouslyIssuedFinancialStatementsDetails",
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheets",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TemporaryEquityCarryingAmountIncludingPortionAttributableToNoncontrollingInterests": {
     "auth_ref": [
      "r52",
      "r106",
      "r204",
      "r476"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount, attributable to parent and noncontrolling interests, of an entity's issued and outstanding stock which is not included within permanent equity. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. Includes stock with a put option held by an ESOP and stock redeemable by a holder only in the event of a change in control of the issuer.",
        "label": "Temporary Equity, Carrying Amount, Including Portion Attributable to Noncontrolling Interests",
        "periodEndLabel": "Balance at the end",
        "periodStartLabel": "Balance at the beginning"
       }
      }
     },
     "localname": "TemporaryEquityCarryingAmountIncludingPortionAttributableToNoncontrollingInterests",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureRestatementOfQuarterlyFinancialInformationUnauditedCondensedDetails",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfStockholdersEquityDeficitAndMezzanineEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TemporaryEquityNetIncome": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The portion of net income or loss attributable to temporary equity interest.",
        "label": "Temporary Equity, Net Income",
        "terseLabel": "Net Loss"
       }
      }
     },
     "localname": "TemporaryEquityNetIncome",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfStockholdersEquityDeficitAndMezzanineEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TemporaryEquitySharesAuthorized": {
     "auth_ref": [
      "r27"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of securities classified as temporary equity that are permitted to be issued by an entity's charter and bylaws. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. If convertible, the issuer does not control the actions or events necessary to issue the maximum number of shares that could be required to be delivered under the conversion option if the holder exercises the option to convert the stock to another class of equity. If the security is a warrant or a rights issue, the warrant or rights issue is considered to be temporary equity if the issuer cannot demonstrate that it would be able to deliver upon the exercise of the option by the holder in all cases. Includes stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer.",
        "label": "Temporary Equity, Shares Authorized",
        "terseLabel": "Units Subject to Possible Redemption, authorized"
       }
      }
     },
     "localname": "TemporaryEquitySharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassDUnitsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_TemporaryEquitySharesOutstanding": {
     "auth_ref": [
      "r27"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of securities classified as temporary equity that have been issued and are held by the entity's shareholders. Securities outstanding equals securities issued minus securities held in treasury. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. If convertible, the issuer does not control the actions or events necessary to issue the maximum number of shares that could be required to be delivered under the conversion option if the holder exercises the option to convert the stock to another class of equity. If the security is a warrant or a rights issue, the warrant or rights issue is considered to be temporary equity if the issuer cannot demonstrate that it would be able to deliver upon the exercise of the option by the holder in all cases. Includes stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer.",
        "label": "Temporary Equity, Shares Outstanding",
        "periodEndLabel": "Balance at the end (in shares)",
        "periodStartLabel": "Balance at the beginning (in shares)",
        "terseLabel": "Units Subject to Possible Redemption",
        "verboseLabel": "Units Subject to Possible Redemption, outstanding"
       }
      }
     },
     "localname": "TemporaryEquitySharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCapitalizationAndManagementIncentiveUnitsClassDUnitsDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheetsParenthetical",
      "http://www.p3hp.org/role/StatementConsolidatedStatementsOfMembersEquityDeficit"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_TrademarksMember": {
     "auth_ref": [
      "r425"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rights acquired through registration of a trademark to gain or protect exclusive use of a business name, symbol or other device or style.",
        "label": "Trademarks"
       }
      }
     },
     "localname": "TrademarksMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails",
      "http://www.p3hp.org/role/DisclosureIntangibleAssetsChangesDetails",
      "http://www.p3hp.org/role/DisclosureIntangibleAssetsWeightedAverageRemainingUsefulLifeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TransmissionServiceAgreementMember": {
     "auth_ref": [
      "r229"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Agreement between a transmission customer and the transmission provider for service.",
        "label": "Provider Network"
       }
      }
     },
     "localname": "TransmissionServiceAgreementMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureBusinessCombinationsPurchasePriceAllocationDetails",
      "http://www.p3hp.org/role/DisclosureIntangibleAssetsChangesDetails",
      "http://www.p3hp.org/role/DisclosureIntangibleAssetsWeightedAverageRemainingUsefulLifeDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TypeOfArrangementAxis": {
     "auth_ref": [
      "r436"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by collaborative arrangement and arrangement other than collaborative applicable to revenue-generating activity or operations.",
        "label": "Collaborative Arrangement and Arrangement Other than Collaborative [Axis]"
       }
      }
     },
     "localname": "TypeOfArrangementAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesParagraphsDetails",
      "http://www.p3hp.org/role/DisclosureTaxReceivableAgreementDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_UseOfEstimates": {
     "auth_ref": [
      "r156",
      "r157",
      "r158",
      "r159",
      "r165",
      "r166",
      "r167"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for the use of estimates in the preparation of financial statements in conformity with generally accepted accounting principles.",
        "label": "Use of Estimates, Policy [Policy Text Block]",
        "terseLabel": "Management's Use of Estimates"
       }
      }
     },
     "localname": "UseOfEstimates",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount": {
     "auth_ref": [
      "r400"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in the valuation allowance for a specified deferred tax asset.",
        "label": "Valuation Allowance, Deferred Tax Asset, Increase (Decrease), Amount",
        "terseLabel": "Valuation allowance recorded"
       }
      }
     },
     "localname": "ValuationAllowanceDeferredTaxAssetChangeInAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureIncomeTaxesParagraphsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_VariableInterestEntityDisclosureTextBlock": {
     "auth_ref": [
      "r460"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for a variable interest entity (VIE), including but not limited to, judgments and assumptions in determining whether to consolidate and in identifying the primary beneficiary, gain (loss) recognized on the initial consolidation of the VIE, terms of arrangements, amounts and classification of the VIE's assets and liabilities, and the entity's maximum exposure to loss.",
        "label": "Variable Interest Entity Disclosure [Text Block]",
        "terseLabel": "Variable Interest Entities"
       }
      }
     },
     "localname": "VariableInterestEntityDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureVariableInterestEntities"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_VariableInterestEntityLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Variable Interest Entity [Line Items]"
       }
      }
     },
     "localname": "VariableInterestEntityLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureVariableInterestEntitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_VariableInterestEntityPrimaryBeneficiaryMember": {
     "auth_ref": [
      "r440",
      "r441",
      "r448",
      "r449",
      "r450"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Variable Interest Entities (VIE) in which the entity has a controlling financial interest (as defined) and of which it is therefore the primary beneficiary. A controlling financial interest is determined based on both: (a) the entity's power to direct activities of the VIE that most significantly impact the VIE's economic performance and (b) the entity's obligation to absorb losses of the VIE that could potentially be significant to the VIE or the right to receive benefits from the VIE that could potentially be significant to the VIE. VIEs of which the entity is the primary beneficiary are included in the consolidated financial statements of the entity.",
        "label": "VIE"
       }
      }
     },
     "localname": "VariableInterestEntityPrimaryBeneficiaryMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureVariableInterestEntitiesDetails",
      "http://www.p3hp.org/role/StatementConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_VariableRateAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of variable rate.",
        "label": "Variable Rate [Axis]"
       }
      }
     },
     "localname": "VariableRateAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCompanyOperationsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_VariableRateDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest rate that fluctuates over time as a result of an underlying benchmark interest rate or index.",
        "label": "Variable Rate [Domain]"
       }
      }
     },
     "localname": "VariableRateDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureCompanyOperationsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_WarrantsAndRightsOutstanding": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of outstanding derivative securities that permit the holder the right to purchase securities (usually equity) from the issuer at a specified price.",
        "label": "Warrants and Rights Outstanding",
        "terseLabel": "Warrants outstanding"
       }
      }
     },
     "localname": "WarrantsAndRightsOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureWarrantsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_WarrantsAndRightsOutstandingMeasurementInput": {
     "auth_ref": [
      "r467"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of input used to measure outstanding warrant and right embodying unconditional obligation requiring redemption by transferring asset at specified or determinable date or upon event certain to occur.",
        "label": "Warrants and Rights Outstanding, Measurement Input",
        "terseLabel": "Warrants, measurement input"
       }
      }
     },
     "localname": "WarrantsAndRightsOutstandingMeasurementInput",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureFairValueMeasurementsAndHierarchyOptionPricingDetails",
      "http://www.p3hp.org/role/DisclosureSignificantAccountingPoliciesWarrantLiabilityDetails"
     ],
     "xbrltype": "decimalItemType"
    },
    "us-gaap_WarrantsAndRightsOutstandingTerm": {
     "auth_ref": [
      "r467"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period between issuance and expiration of outstanding warrant and right embodying unconditional obligation requiring redemption by transferring asset at specified or determinable date or upon event certain to occur, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Warrants and Rights Outstanding, Term",
        "terseLabel": "Expected term of warrants",
        "verboseLabel": "Warrant term"
       }
      }
     },
     "localname": "WarrantsAndRightsOutstandingTerm",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureDebtParagraphsDetails",
      "http://www.p3hp.org/role/DisclosureWarrantsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding": {
     "auth_ref": [
      "r131",
      "r143"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The average number of shares or units issued and outstanding that are used in calculating diluted EPS or earnings per unit (EPU), determined based on the timing of issuance of shares or units in the period.",
        "label": "Weighted Average Number of Shares Outstanding, Diluted",
        "verboseLabel": "Weighted Average Class A Common Shares Outstanding - Diluted"
       }
      }
     },
     "localname": "WeightedAverageNumberOfDilutedSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureEarningsLossPerShareComputationOfNetLossPerShareDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic": {
     "auth_ref": [
      "r129",
      "r143"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period.",
        "label": "Weighted Average Number of Shares Outstanding, Basic",
        "verboseLabel": "Weighted Average Class A Common Shares Outstanding - Basic"
       }
      }
     },
     "localname": "WeightedAverageNumberOfSharesOutstandingBasic",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.p3hp.org/role/DisclosureEarningsLossPerShareComputationOfNetLossPerShareDetails"
     ],
     "xbrltype": "sharesItemType"
    }
   },
   "unitCount": 18
  }
 },
 "std_ref": {
  "r0": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "105",
   "URI": "http://asc.fasb.org/extlink&oid=124434974&loc=SL124442142-165695"
  },
  "r1": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "105",
   "URI": "http://asc.fasb.org/extlink&oid=124434974&loc=SL124442142-165695"
  },
  "r10": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 201.5-02(24))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r100": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=SL98516268-108586"
  },
  "r101": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=123372394&loc=d3e18726-107790"
  },
  "r102": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=123372394&loc=d3e18823-107790"
  },
  "r103": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=123372394&loc=d3e18823-107790"
  },
  "r104": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(d))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r105": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(f))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r106": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r107": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h)(1)(Note 1))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r108": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h)(2))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r109": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r11": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 201.5-02(25))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r110": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(k)(1))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r111": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-04(a))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e24072-122690"
  },
  "r112": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "235",
   "URI": "http://asc.fasb.org/topic&trid=2122369"
  },
  "r113": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124436220&loc=d3e21914-107793"
  },
  "r114": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124436220&loc=d3e21930-107793"
  },
  "r115": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124436220&loc=d3e21711-107793"
  },
  "r116": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(2)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r117": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(3)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r118": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794"
  },
  "r119": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794"
  },
  "r12": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 201.5-02(26))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r120": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=SL124452830-107794"
  },
  "r121": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22583-107794"
  },
  "r122": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22595-107794"
  },
  "r123": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794"
  },
  "r124": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794"
  },
  "r125": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794"
  },
  "r126": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22658-107794"
  },
  "r127": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22663-107794"
  },
  "r128": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.M.Q2)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=122038215&loc=d3e31137-122693"
  },
  "r129": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1448-109256"
  },
  "r13": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(1))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r130": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1377-109256"
  },
  "r131": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1505-109256"
  },
  "r132": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1252-109256"
  },
  "r133": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1278-109256"
  },
  "r134": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1930-109256"
  },
  "r135": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)(1)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1930-109256"
  },
  "r136": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)(2)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1930-109256"
  },
  "r137": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)(3)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1930-109256"
  },
  "r138": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "55",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e2626-109256"
  },
  "r139": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=SL5780133-109256"
  },
  "r14": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(10))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r140": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=SL5780133-109256"
  },
  "r141": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=SL5780133-109256"
  },
  "r142": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1337-109256"
  },
  "r143": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257"
  },
  "r144": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257"
  },
  "r145": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=124432515&loc=d3e3630-109257"
  },
  "r146": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=109243012&loc=SL65017193-207537"
  },
  "r147": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125512782&loc=d3e3842-109258"
  },
  "r148": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "52",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125512782&loc=d3e4984-109258"
  },
  "r149": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "260",
   "URI": "http://asc.fasb.org/topic&trid=2144383"
  },
  "r15": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(11))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r150": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "270",
   "URI": "http://asc.fasb.org/extlink&oid=124502072&loc=SL124452896-108306"
  },
  "r151": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "270",
   "URI": "http://asc.fasb.org/topic&trid=2126967"
  },
  "r152": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "http://asc.fasb.org/extlink&oid=125520817&loc=d3e70191-108054"
  },
  "r153": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "http://asc.fasb.org/extlink&oid=125520817&loc=d3e70229-108054"
  },
  "r154": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "http://asc.fasb.org/extlink&oid=6373374&loc=d3e70434-108055"
  },
  "r155": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "272",
   "URI": "http://asc.fasb.org/extlink&oid=6373374&loc=d3e70478-108055"
  },
  "r156": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
  },
  "r157": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
  },
  "r158": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6161-108592"
  },
  "r159": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6191-108592"
  },
  "r16": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(12))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r160": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6327-108592"
  },
  "r161": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592"
  },
  "r162": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592"
  },
  "r163": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6404-108592"
  },
  "r164": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6442-108592"
  },
  "r165": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6061-108592"
  },
  "r166": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6132-108592"
  },
  "r167": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6143-108592"
  },
  "r168": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8657-108599"
  },
  "r169": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8672-108599"
  },
  "r17": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(13))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r170": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8721-108599"
  },
  "r171": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8721-108599"
  },
  "r172": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r173": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r174": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r175": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r176": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "26",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8844-108599"
  },
  "r177": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8864-108599"
  },
  "r178": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8864-108599"
  },
  "r179": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8864-108599"
  },
  "r18": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(14))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r180": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8864-108599"
  },
  "r181": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8864-108599"
  },
  "r182": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8864-108599"
  },
  "r183": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r184": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r185": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r186": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r187": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "31",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8924-108599"
  },
  "r188": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r189": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r19": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(15))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r190": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r191": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r192": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r193": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r194": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "34",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8981-108599"
  },
  "r195": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9031-108599"
  },
  "r196": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9038-108599"
  },
  "r197": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9038-108599"
  },
  "r198": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "42",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9054-108599"
  },
  "r199": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "280",
   "URI": "http://asc.fasb.org/topic&trid=2134510"
  },
  "r2": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760"
  },
  "r20": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(16))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r200": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=124259787&loc=d3e4647-111522"
  },
  "r201": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524"
  },
  "r202": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/subtopic&trid=2196772"
  },
  "r203": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "20",
   "Topic": "310",
   "URI": "http://asc.fasb.org/subtopic&trid=2196816"
  },
  "r204": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "323",
   "URI": "http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r205": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r206": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(3)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r207": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(4)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r208": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255206&loc=SL82895884-210446"
  },
  "r209": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447"
  },
  "r21": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(17))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r210": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447"
  },
  "r211": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL120267963-210447"
  },
  "r212": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Topic": "340",
   "URI": "http://asc.fasb.org/extlink&oid=123353750&loc=SL51790836-203054"
  },
  "r213": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=99380562&loc=d3e13770-109266"
  },
  "r214": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=99380562&loc=d3e13777-109266"
  },
  "r215": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=120320667&loc=SL49117168-202975"
  },
  "r216": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
  },
  "r217": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
  },
  "r218": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
  },
  "r219": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=121556970&loc=d3e13854-109267"
  },
  "r22": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(19)(a))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r220": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=121556970&loc=d3e13854-109267"
  },
  "r221": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "http://asc.fasb.org/subtopic&trid=2144439"
  },
  "r222": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=6388964&loc=d3e16212-109274"
  },
  "r223": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=6388964&loc=d3e16225-109274"
  },
  "r224": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275"
  },
  "r225": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(1)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275"
  },
  "r226": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275"
  },
  "r227": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275"
  },
  "r228": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "((a)(1),(b))",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r229": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r23": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(22))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r230": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(1)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r231": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(2)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r232": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(3)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r233": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r234": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "350",
   "URI": "http://asc.fasb.org/topic&trid=2144416"
  },
  "r235": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "05",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=109226317&loc=d3e202-110218"
  },
  "r236": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r237": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r238": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r239": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r24": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(23))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r240": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 5.CC)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=27011434&loc=d3e125687-122742"
  },
  "r241": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "360",
   "URI": "http://asc.fasb.org/topic&trid=2155823"
  },
  "r242": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "440",
   "URI": "http://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308"
  },
  "r243": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "440",
   "URI": "http://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308"
  },
  "r244": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "440",
   "URI": "http://asc.fasb.org/topic&trid=2144648"
  },
  "r245": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "http://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349"
  },
  "r246": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "http://asc.fasb.org/extlink&oid=121557415&loc=d3e14615-108349"
  },
  "r247": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "http://asc.fasb.org/extlink&oid=121557415&loc=d3e14394-108349"
  },
  "r248": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "http://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349"
  },
  "r249": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "http://asc.fasb.org/extlink&oid=121557415&loc=d3e14453-108349"
  },
  "r25": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(26)(a))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r250": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "http://asc.fasb.org/extlink&oid=121557415&loc=d3e14472-108349"
  },
  "r251": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "http://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349"
  },
  "r252": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "450",
   "URI": "http://asc.fasb.org/topic&trid=2127136"
  },
  "r253": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "460",
   "URI": "http://asc.fasb.org/extlink&oid=124440162&loc=d3e12021-110248"
  },
  "r254": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "460",
   "URI": "http://asc.fasb.org/extlink&oid=124440162&loc=d3e12053-110248"
  },
  "r255": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123465755&loc=d3e1835-112601"
  },
  "r256": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123465755&loc=SL6230698-112601"
  },
  "r257": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r258": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(ii))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r259": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r26": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(26)(b))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r260": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(B))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r261": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r262": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r263": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(5))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r264": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(i))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r265": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r266": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(B))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r267": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(C))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r268": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r269": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(5))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r27": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(27)(b))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r270": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r271": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r272": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r273": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r274": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r275": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r276": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r277": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
  },
  "r278": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
  },
  "r279": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
  },
  "r28": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(27))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r280": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
  },
  "r281": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
  },
  "r282": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
  },
  "r283": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
  },
  "r284": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
  },
  "r285": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
  },
  "r286": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
  },
  "r287": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
  },
  "r288": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870"
  },
  "r289": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870"
  },
  "r29": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(28))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r290": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69B",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612"
  },
  "r291": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69C",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612"
  },
  "r292": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69E",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466577&loc=SL123495743-112612"
  },
  "r293": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466577&loc=SL123495745-112612"
  },
  "r294": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "470",
   "URI": "http://asc.fasb.org/topic&trid=2208564"
  },
  "r295": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "10",
   "Topic": "480",
   "URI": "http://asc.fasb.org/extlink&oid=109262497&loc=d3e20148-110875"
  },
  "r296": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "480",
   "URI": "http://asc.fasb.org/extlink&oid=109262807&loc=d3e22047-110879"
  },
  "r297": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(12)(c)",
   "Topic": "480",
   "URI": "http://asc.fasb.org/extlink&oid=122040564&loc=SL6540498-122764"
  },
  "r298": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(16)(c)",
   "Topic": "480",
   "URI": "http://asc.fasb.org/extlink&oid=122040564&loc=SL6540498-122764"
  },
  "r299": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(3)",
   "Topic": "480",
   "URI": "http://asc.fasb.org/extlink&oid=122040564&loc=SL6540498-122764"
  },
  "r3": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "40",
   "Topic": "205",
   "URI": "http://asc.fasb.org/subtopic&trid=51888271"
  },
  "r30": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(29))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r300": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "14",
   "Topic": "480",
   "URI": "http://asc.fasb.org/extlink&oid=122040564&loc=SL6540498-122764"
  },
  "r301": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "15",
   "Topic": "480",
   "URI": "http://asc.fasb.org/extlink&oid=122040564&loc=SL6540498-122764"
  },
  "r302": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r303": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r304": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r305": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r306": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496171-112644"
  },
  "r307": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21463-112644"
  },
  "r308": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21475-112644"
  },
  "r309": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21506-112644"
  },
  "r31": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(1))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r310": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21521-112644"
  },
  "r311": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21538-112644"
  },
  "r312": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3-04)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770"
  },
  "r313": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 4.C)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=120397183&loc=d3e187143-122770"
  },
  "r314": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 4.F)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=120397183&loc=d3e187171-122770"
  },
  "r315": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 4.F)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=120397183&loc=d3e187171-122770"
  },
  "r316": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "50",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=6784392&loc=d3e188667-122775"
  },
  "r317": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "505",
   "URI": "http://asc.fasb.org/topic&trid=2208762"
  },
  "r318": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123360276&loc=SL49130531-203044"
  },
  "r319": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123360276&loc=SL49130534-203044"
  },
  "r32": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(3))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r320": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130551-203045"
  },
  "r321": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130561-203045"
  },
  "r322": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130563-203045"
  },
  "r323": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130563-203045"
  },
  "r324": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130564-203045"
  },
  "r325": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130566-203045"
  },
  "r326": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130566-203045"
  },
  "r327": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130566-203045"
  },
  "r328": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130566-203045"
  },
  "r329": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130569-203045"
  },
  "r33": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(4))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r330": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130543-203045"
  },
  "r331": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130545-203045"
  },
  "r332": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130549-203045"
  },
  "r333": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123410239&loc=SL49130690-203046-203046"
  },
  "r334": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123410239&loc=SL49130690-203046-203046"
  },
  "r335": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123410239&loc=SL49130690-203046-203046"
  },
  "r336": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123410239&loc=SL49130690-203046-203046"
  },
  "r337": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123410239&loc=SL49130690-203046-203046"
  },
  "r338": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123410239&loc=SL49130690-203046-203046"
  },
  "r339": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123410239&loc=SL49130690-203046-203046"
  },
  "r34": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(32))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r340": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(3)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123338486&loc=SL49131195-203048"
  },
  "r341": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "606",
   "URI": "http://asc.fasb.org/topic&trid=49130388"
  },
  "r342": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(i)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r343": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(ii)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r344": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(01)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r345": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r346": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(A)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r347": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(B)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r348": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(C)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r349": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(03)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r35": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(7))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r350": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(n)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r351": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123450688&loc=d3e4179-114921"
  },
  "r352": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "70",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=49170846&loc=d3e28014-114942"
  },
  "r353": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "70",
   "Topic": "715",
   "URI": "http://asc.fasb.org/subtopic&trid=2235116"
  },
  "r354": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450702-114947"
  },
  "r355": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(d)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947"
  },
  "r356": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450673-114947"
  },
  "r357": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "80",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=35742348&loc=SL14450788-114948"
  },
  "r358": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
  },
  "r359": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
  },
  "r36": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(8))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r360": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
  },
  "r361": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
  },
  "r362": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r363": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r364": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a),(g)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r365": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b),(f(1))",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r366": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(3)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r367": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r368": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(i)-(ii)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r369": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r37": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.1)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r370": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r371": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(3)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r372": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r373": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r374": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(i)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r375": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(ii)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r376": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iv)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r377": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r378": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(1)(i)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r379": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(i)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r38": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.13(a))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r380": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r381": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r382": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r383": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r384": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(g)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r385": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 14.D.2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=122041274&loc=d3e301413-122809"
  },
  "r386": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 14.F)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=122041274&loc=d3e301413-122809"
  },
  "r387": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "718",
   "URI": "http://asc.fasb.org/topic&trid=2228938"
  },
  "r388": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "35",
   "Subparagraph": "(a)",
   "Topic": "720",
   "URI": "http://asc.fasb.org/extlink&oid=6420018&loc=d3e36677-107848"
  },
  "r389": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123427490&loc=d3e32247-109318"
  },
  "r39": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.13)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r390": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123427490&loc=d3e32280-109318"
  },
  "r391": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32672-109319"
  },
  "r392": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32687-109319"
  },
  "r393": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32705-109319"
  },
  "r394": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32718-109319"
  },
  "r395": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32809-109319"
  },
  "r396": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32840-109319"
  },
  "r397": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319"
  },
  "r398": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319"
  },
  "r399": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319"
  },
  "r4": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "205",
   "URI": "http://asc.fasb.org/topic&trid=2122149"
  },
  "r40": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.14)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r400": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319"
  },
  "r401": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32847-109319"
  },
  "r402": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32857-109319"
  },
  "r403": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32559-109319"
  },
  "r404": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32621-109319"
  },
  "r405": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32632-109319"
  },
  "r406": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319"
  },
  "r407": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277"
  },
  "r408": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(3)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277"
  },
  "r409": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 6.I.5.Q1)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r41": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.17)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r410": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 6.I.7)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r411": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.C)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330215-122817"
  },
  "r412": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123586238&loc=d3e38679-109324"
  },
  "r413": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "270",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=6424409&loc=d3e44925-109338"
  },
  "r414": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=6424122&loc=d3e41874-109331"
  },
  "r415": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "740",
   "URI": "http://asc.fasb.org/topic&trid=2144680"
  },
  "r416": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "05",
   "SubTopic": "10",
   "Subparagraph": "(a)-(d)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=6909625&loc=d3e227-128457"
  },
  "r417": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
  },
  "r418": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(2)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
  },
  "r419": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(3)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
  },
  "r42": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(a))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r420": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
  },
  "r421": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1486-128463"
  },
  "r422": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "37",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=123455525&loc=d3e2207-128464"
  },
  "r423": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=123413009&loc=d3e4845-128472"
  },
  "r424": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=123413009&loc=d3e4845-128472"
  },
  "r425": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=123410050&loc=d3e5263-128473"
  },
  "r426": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=123410050&loc=d3e5333-128473"
  },
  "r427": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "31",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=123410050&loc=d3e5419-128473"
  },
  "r428": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "30",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=6911189&loc=d3e6408-128476"
  },
  "r429": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "30",
   "SubTopic": "30",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=116859721&loc=d3e6578-128477"
  },
  "r43": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r430": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "30",
   "SubTopic": "30",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=116859721&loc=d3e6613-128477"
  },
  "r431": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "30",
   "Subparagraph": "b",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=116859824&loc=d3e6819-128478"
  },
  "r432": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=120321790&loc=d3e6927-128479"
  },
  "r433": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(1)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=120321790&loc=d3e6927-128479"
  },
  "r434": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=120321790&loc=d3e6927-128479"
  },
  "r435": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "805",
   "URI": "http://asc.fasb.org/topic&trid=2303972"
  },
  "r436": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "808",
   "URI": "http://asc.fasb.org/extlink&oid=6931272&loc=SL5834143-161434"
  },
  "r437": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123454820&loc=SL4568447-111683"
  },
  "r438": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123454820&loc=SL4568740-111683"
  },
  "r439": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123454820&loc=SL4569616-111683"
  },
  "r44": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19,20)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r440": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988"
  },
  "r441": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988"
  },
  "r442": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=d3e5614-111684"
  },
  "r443": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r444": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r445": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r446": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r447": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2AA",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "a",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123419778&loc=SL6759068-111685"
  },
  "r448": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bb)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685"
  },
  "r449": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685"
  },
  "r45": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19-26)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r450": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685"
  },
  "r451": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123419778&loc=d3e5728-111685"
  },
  "r452": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123419778&loc=d3e5728-111685"
  },
  "r453": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123419778&loc=SL6759159-111685"
  },
  "r454": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123419778&loc=SL6759159-111685"
  },
  "r455": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123419778&loc=d3e5747-111685"
  },
  "r456": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123419778&loc=SL6228884-111685"
  },
  "r457": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4I",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=120409616&loc=SL4590271-111686"
  },
  "r458": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4J",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=120409616&loc=SL4591551-111686"
  },
  "r459": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=120409616&loc=SL4591552-111686"
  },
  "r46": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.20)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r460": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "810",
   "URI": "http://asc.fasb.org/topic&trid=2197479"
  },
  "r461": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(b)(2)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r462": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(3)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r463": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(4)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r464": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r465": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r466": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r467": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(2)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r468": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r469": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r47": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.21)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r470": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r471": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r472": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19279-110258"
  },
  "r473": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123594938&loc=d3e13531-108611"
  },
  "r474": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123594938&loc=d3e13537-108611"
  },
  "r475": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123594938&loc=d3e13537-108611"
  },
  "r476": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612"
  },
  "r477": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=123444420&loc=d3e33268-110906"
  },
  "r478": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32136-110900"
  },
  "r479": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r48": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22(a)(1))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r480": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r481": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r482": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r483": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=6450520&loc=d3e32583-110901"
  },
  "r484": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=6450520&loc=d3e32618-110901"
  },
  "r485": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=124435984&loc=d3e28541-108399"
  },
  "r486": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399"
  },
  "r487": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399"
  },
  "r488": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629"
  },
  "r489": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400"
  },
  "r49": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r490": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977"
  },
  "r491": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977"
  },
  "r492": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123391704&loc=SL77918631-209977"
  },
  "r493": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123391704&loc=SL77918643-209977"
  },
  "r494": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918666-209980"
  },
  "r495": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(3)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918673-209980"
  },
  "r496": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918673-209980"
  },
  "r497": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980"
  },
  "r498": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(1)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980"
  },
  "r499": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(2)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980"
  },
  "r5": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
  },
  "r50": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.23)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r500": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(3)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980"
  },
  "r501": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(4)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980"
  },
  "r502": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980"
  },
  "r503": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918701-209980"
  },
  "r504": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "53",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123414884&loc=SL77918982-209971"
  },
  "r505": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "http://asc.fasb.org/subtopic&trid=77888251"
  },
  "r506": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r507": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r508": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r509": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r51": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.25)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r510": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r511": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39599-107864"
  },
  "r512": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39603-107864"
  },
  "r513": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39691-107864"
  },
  "r514": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "850",
   "URI": "http://asc.fasb.org/topic&trid=2122745"
  },
  "r515": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "http://asc.fasb.org/extlink&oid=124437977&loc=d3e55792-112764"
  },
  "r516": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "27",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "http://asc.fasb.org/extlink&oid=124437977&loc=SL2890601-112764"
  },
  "r517": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "http://asc.fasb.org/extlink&oid=124433192&loc=d3e56071-112765"
  },
  "r518": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "852",
   "URI": "http://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765"
  },
  "r519": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "852",
   "URI": "http://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765"
  },
  "r52": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.27(b))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r520": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "http://asc.fasb.org/extlink&oid=84165509&loc=d3e56426-112766"
  },
  "r521": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "855",
   "URI": "http://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662"
  },
  "r522": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "855",
   "URI": "http://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662"
  },
  "r523": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "855",
   "URI": "http://asc.fasb.org/topic&trid=2122774"
  },
  "r524": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r525": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r526": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r527": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r528": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r529": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r53": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29-31)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r530": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r531": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r532": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r533": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "910",
   "URI": "http://asc.fasb.org/extlink&oid=123353855&loc=SL119991595-234733"
  },
  "r534": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.L)",
   "Topic": "924",
   "URI": "http://asc.fasb.org/extlink&oid=6472922&loc=d3e499488-122856"
  },
  "r535": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "926",
   "URI": "http://asc.fasb.org/extlink&oid=120154696&loc=d3e54445-107959"
  },
  "r536": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "340",
   "Topic": "928",
   "URI": "http://asc.fasb.org/extlink&oid=6473545&loc=d3e61844-108004"
  },
  "r537": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e61929-109447"
  },
  "r538": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e61929-109447"
  },
  "r539": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e62059-109447"
  },
  "r54": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.3,4)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r540": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e62059-109447"
  },
  "r541": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e62395-109447"
  },
  "r542": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e62395-109447"
  },
  "r543": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e62479-109447"
  },
  "r544": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e62479-109447"
  },
  "r545": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=SL6807758-109447"
  },
  "r546": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=SL6807758-109447"
  },
  "r547": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(c)(1)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e61872-109447"
  },
  "r548": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(c)(2)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e61872-109447"
  },
  "r549": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "940",
   "URI": "http://asc.fasb.org/extlink&oid=123384075&loc=d3e41242-110953"
  },
  "r55": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.31)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r550": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(1)(a))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r551": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(10)(1))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r552": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(11))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r553": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(13))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r554": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(15)(2))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r555": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(16))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r556": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(23))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r557": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(7)(2))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r558": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.15(3))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r559": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.15(5))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r56": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.9)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r560": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.17)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r561": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.7(e))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r562": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(15))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r563": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(22))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r564": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(27))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r565": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.10)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r566": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "235",
   "Subparagraph": "(SX 210.9-05(b)(2))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399901&loc=d3e537907-122884"
  },
  "r567": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=124429447&loc=SL124453093-239630"
  },
  "r568": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "470",
   "Subparagraph": "(c)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823"
  },
  "r569": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "470",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823"
  },
  "r57": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=d3e637-108580"
  },
  "r570": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(15)(b)(2))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r571": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(16))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r572": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(12))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r573": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(16)(a)(1))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r574": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(16))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r575": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(3))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r576": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(4))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r577": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(25))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r578": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(8))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r579": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.(a),19)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r58": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=d3e681-108580"
  },
  "r580": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.15(a))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r581": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.17)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r582": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(18))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r583": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(23))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r584": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(8))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r585": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(9))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r586": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(b)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=116884095&loc=d3e14764-158437"
  },
  "r587": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(c)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=116884095&loc=d3e14764-158437"
  },
  "r588": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=116884095&loc=d3e14764-158437"
  },
  "r589": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4H",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=116884468&loc=SL65671331-158438"
  },
  "r59": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669686-108580"
  },
  "r590": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(d)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124506351&loc=SL117782755-158439"
  },
  "r591": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13H",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124504033&loc=SL117783719-158441"
  },
  "r592": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124504033&loc=SL117819544-158441"
  },
  "r593": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r594": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(1)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r595": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(2)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r596": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(1)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r597": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(i)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r598": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(ii)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r599": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(iii)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r6": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
  },
  "r60": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669619-108580"
  },
  "r600": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(iv)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r601": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(h)(1)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r602": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(h)(2)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r603": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "40",
   "Subparagraph": "(SAB TOPIC 5.W)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=27015833&loc=d3e570705-122907"
  },
  "r604": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "http://asc.fasb.org/subtopic&trid=2560295"
  },
  "r605": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "825",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=123600520&loc=SL75241803-196195"
  },
  "r606": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(16))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=120401414&loc=d3e603758-122996"
  },
  "r607": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04.12(3))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=120401414&loc=d3e603758-122996"
  },
  "r608": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04.16(a))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=120401414&loc=d3e603758-122996"
  },
  "r609": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04.16(b))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=120401414&loc=d3e603758-122996"
  },
  "r61": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669625-108580"
  },
  "r610": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07.1(c))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=120401555&loc=SL114874292-224272"
  },
  "r611": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-14.Column B)",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611322-123010"
  },
  "r612": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Topic": "954",
   "URI": "http://asc.fasb.org/extlink&oid=123364037&loc=d3e3115-115594"
  },
  "r613": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "440",
   "Subparagraph": "(a)",
   "Topic": "954",
   "URI": "http://asc.fasb.org/extlink&oid=6491277&loc=d3e6429-115629"
  },
  "r614": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Subparagraph": "(d)",
   "Topic": "958",
   "URI": "http://asc.fasb.org/extlink&oid=120429125&loc=d3e99779-112916"
  },
  "r615": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "958",
   "URI": "http://asc.fasb.org/extlink&oid=120429125&loc=d3e99893-112916"
  },
  "r616": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "958",
   "URI": "http://asc.fasb.org/extlink&oid=120429125&loc=SL120174063-112916"
  },
  "r617": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Footnote 4))",
   "Topic": "970",
   "URI": "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r618": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(c)",
   "Topic": "976",
   "URI": "http://asc.fasb.org/extlink&oid=6497875&loc=d3e22274-108663"
  },
  "r619": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(b)",
   "Topic": "978",
   "URI": "http://asc.fasb.org/extlink&oid=123360121&loc=d3e27327-108691"
  },
  "r62": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124431353&loc=SL116659661-227067"
  },
  "r620": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "985",
   "URI": "http://asc.fasb.org/extlink&oid=6501960&loc=d3e128462-111756"
  },
  "r621": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "985",
   "URI": "http://asc.fasb.org/extlink&oid=6501960&loc=d3e128487-111756"
  },
  "r622": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b"
  },
  "r623": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r624": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "d1-1"
  },
  "r625": {
   "Name": "Form 10-K",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "310"
  },
  "r626": {
   "Name": "Form 20-F",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "220",
   "Subsection": "f"
  },
  "r627": {
   "Name": "Form 40-F",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "240",
   "Subsection": "f"
  },
  "r628": {
   "Name": "Forms 10-K, 10-Q, 20-F",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "13",
   "Subsection": "a-1"
  },
  "r629": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1402"
  },
  "r63": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124431353&loc=SL124442407-227067"
  },
  "r630": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(1)"
  },
  "r631": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(3)"
  },
  "r632": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1405"
  },
  "r633": {
   "Name": "Regulation S-T",
   "Number": "232",
   "Publisher": "SEC",
   "Section": "405"
  },
  "r634": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "405"
  },
  "r635": {
   "Name": "Securities Act",
   "Number": "7A",
   "Publisher": "SEC",
   "Section": "B",
   "Subsection": "2"
  },
  "r636": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)(iii)(01)",
   "Topic": "848"
  },
  "r637": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)(iii)(03)",
   "Topic": "848"
  },
  "r64": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124431353&loc=SL124442411-227067"
  },
  "r65": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124431353&loc=SL124452729-227067"
  },
  "r66": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(10))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r67": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(20))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r68": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(25))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r69": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(8))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r7": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6801-107765"
  },
  "r70": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(b)(4))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r71": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.1(e))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r72": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.19)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r73": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.4)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r74": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.7)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r75": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.8)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r76": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.9)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r77": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3213-108585"
  },
  "r78": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3213-108585"
  },
  "r79": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3255-108585"
  },
  "r8": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6935-107765"
  },
  "r80": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3255-108585"
  },
  "r81": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3291-108585"
  },
  "r82": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3291-108585"
  },
  "r83": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3367-108585"
  },
  "r84": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3000-108585"
  },
  "r85": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3521-108585"
  },
  "r86": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3536-108585"
  },
  "r87": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3536-108585"
  },
  "r88": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3536-108585"
  },
  "r89": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585"
  },
  "r9": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e7018-107765"
  },
  "r90": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585"
  },
  "r91": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585"
  },
  "r92": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3044-108585"
  },
  "r93": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3095-108585"
  },
  "r94": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3098-108585"
  },
  "r95": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=d3e4273-108586"
  },
  "r96": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=d3e4297-108586"
  },
  "r97": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=d3e4304-108586"
  },
  "r98": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=d3e4313-108586"
  },
  "r99": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=d3e4332-108586"
  }
 },
 "version": "2.1"
}
