{
 "version": "2.2",
 "instance": {
  "pfsi-20260331x10q.htm": {
   "nsprefix": "pfsi",
   "nsuri": "http://www.pennymacfinancial.com/20260331",
   "dts": {
    "schema": {
     "local": [
      "pfsi-20260331.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/2023/calculation-1.1.xsd",
      "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd",
      "https://www.xbrl.org/dtr/type/2024-01-31/types.xsd",
      "https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd",
      "https://xbrl.fasb.org/srt/2025/elts/srt-roles-2025.xsd",
      "https://xbrl.fasb.org/srt/2025/elts/srt-types-2025.xsd",
      "https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd",
      "https://xbrl.fasb.org/us-gaap/2025/elts/us-roles-2025.xsd",
      "https://xbrl.fasb.org/us-gaap/2025/elts/us-types-2025.xsd",
      "https://xbrl.sec.gov/country/2025/country-2025.xsd",
      "https://xbrl.sec.gov/dei/2025/dei-2025.xsd",
      "https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd",
      "https://xbrl.sec.gov/ecd/2025/ecd-sub-2025.xsd",
      "https://xbrl.sec.gov/stpr/2025/stpr-2025.xsd"
     ]
    },
    "calculationLink": {
     "local": [
      "pfsi-20260331_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "pfsi-20260331_def.xml"
     ]
    },
    "labelLink": {
     "local": [
      "pfsi-20260331_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "pfsi-20260331_pre.xml"
     ]
    },
    "inline": {
     "local": [
      "pfsi-20260331x10q.htm"
     ]
    }
   },
   "keyStandard": 314,
   "keyCustom": 246,
   "axisStandard": 42,
   "axisCustom": 0,
   "memberStandard": 49,
   "memberCustom": 112,
   "hidden": {
    "total": 29,
    "http://fasb.org/us-gaap/2025": 20,
    "http://xbrl.sec.gov/dei/2025": 5,
    "http://www.pennymacfinancial.com/20260331": 4
   },
   "contextCount": 595,
   "entityCount": 1,
   "segmentCount": 185,
   "elementCount": 1063,
   "unitCount": 8,
   "baseTaxonomies": {
    "http://fasb.org/us-gaap/2025": 1184,
    "http://xbrl.sec.gov/dei/2025": 29,
    "http://xbrl.sec.gov/ecd/2025": 13,
    "http://fasb.org/srt/2025": 4
   },
   "report": {
    "R1": {
     "role": "http://www.pennymacfinancial.com/role/DocumentDocumentAndEntityInformation",
     "longName": "995200090 - Document - Document and Entity Information",
     "shortName": "Document and Entity Information",
     "isDefault": "true",
     "groupType": "document",
     "subGroupType": "",
     "menuCat": "Cover",
     "order": "1",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "dei:DocumentType",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "p",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "dei:DocumentType",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "p",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R2": {
     "role": "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited",
     "longName": "995200100 - Statement - CONSOLIDATED BALANCE SHEETS (UNAUDITED)",
     "shortName": "CONSOLIDATED BALANCE SHEETS (UNAUDITED)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "2",
     "firstAnchor": {
      "contextRef": "As_Of_3_31_2026_Pj_h0mQeI0Gw9Wvenf4J9Q",
      "name": "us-gaap:Cash",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "As_Of_3_31_2026_Pj_h0mQeI0Gw9Wvenf4J9Q",
      "name": "us-gaap:Cash",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R3": {
     "role": "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnauditedParenthetical",
     "longName": "995200105 - Statement - CONSOLIDATED BALANCE SHEETS (UNAUDITED) (Parenthetical)",
     "shortName": "CONSOLIDATED BALANCE SHEETS (UNAUDITED) (Parenthetical)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "parenthetical",
     "menuCat": "Statements",
     "order": "3",
     "firstAnchor": {
      "contextRef": "As_Of_3_31_2026_Pj_h0mQeI0Gw9Wvenf4J9Q",
      "name": "us-gaap:MortgagesHeldForSaleFairValueDisclosure",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "As_Of_3_31_2026_Pj_h0mQeI0Gw9Wvenf4J9Q",
      "name": "us-gaap:CommonStockSharesAuthorized",
      "unitRef": "Unit_Standard_shares_-UffP9ZIdkOOxiTEu2j5fg",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "unique": true
     }
    },
    "R4": {
     "role": "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited",
     "longName": "995200200 - Statement - CONSOLIDATED STATEMENTS OF INCOME (UNAUDITED)",
     "shortName": "CONSOLIDATED STATEMENTS OF INCOME (UNAUDITED)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "4",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:GainLossOnSalesOfLoansNet",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "pfsi:MortgageServicingRightsMSRAmortizationImpairmentFairValueChange",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "unique": true
     }
    },
    "R5": {
     "role": "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfChangesInStockholdersEquityUnaudited",
     "longName": "995200300 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN STOCKHOLDERS' EQUITY (UNAUDITED)",
     "shortName": "CONSOLIDATED STATEMENTS OF CHANGES IN STOCKHOLDERS' EQUITY (UNAUDITED)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "5",
     "firstAnchor": {
      "contextRef": "As_Of_12_31_2024_us-gaap_StatementEquityComponentsAxis_us-gaap_CommonStockMember_1L8fGVYsyU6P65hRON6HCw",
      "name": "us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "As_Of_12_31_2024_us-gaap_StatementEquityComponentsAxis_us-gaap_CommonStockMember_1L8fGVYsyU6P65hRON6HCw",
      "name": "us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R6": {
     "role": "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfChangesInStockholdersEquityUnauditedParenthetical",
     "longName": "995200305 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN STOCKHOLDERS' EQUITY (UNAUDITED) (Parenthetical)",
     "shortName": "CONSOLIDATED STATEMENTS OF CHANGES IN STOCKHOLDERS' EQUITY (UNAUDITED) (Parenthetical)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "parenthetical",
     "menuCat": "Statements",
     "order": "6",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:CommonStockDividendsPerShareDeclared",
      "unitRef": "Unit_Divide_USD_shares_WZqKCnBnJEOsBVeifwOnoQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:CommonStockDividendsPerShareDeclared",
      "unitRef": "Unit_Divide_USD_shares_WZqKCnBnJEOsBVeifwOnoQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R7": {
     "role": "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited",
     "longName": "995200400 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS (UNAUDITED)",
     "shortName": "CONSOLIDATED STATEMENTS OF CASH FLOWS (UNAUDITED)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "7",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:ProfitLoss",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:ProfitLoss",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R8": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureOrganization",
     "longName": "995210101 - Disclosure - Organization",
     "shortName": "Organization",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "8",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R9": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureBasisOfPresentationAndRecentlyIssuedAccountingPronouncements",
     "longName": "995210201 - Disclosure - Basis of Presentation and Recently Issued Accounting Pronouncements",
     "shortName": "Basis of Presentation and Recently Issued Accounting Pronouncements",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "9",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:BasisOfAccounting",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:BasisOfAccounting",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R10": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureConcentrationOfRisk",
     "longName": "995210301 - Disclosure - Concentration of Risk",
     "shortName": "Concentration of Risk",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "10",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:ConcentrationRiskDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:ConcentrationRiskDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R11": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureVariableInterestEntities",
     "longName": "995210401 - Disclosure - Variable Interest Entities",
     "shortName": "Variable Interest Entities",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "11",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:VariableInterestEntityDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:VariableInterestEntityDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R12": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactions",
     "longName": "995210501 - Disclosure - Related Party Transactions",
     "shortName": "Related Party Transactions",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "12",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R13": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivities",
     "longName": "995210601 - Disclosure - Loan Sales and Servicing Activities",
     "shortName": "Loan Sales and Servicing Activities",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "13",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:TransfersAndServicingOfFinancialAssetsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:TransfersAndServicingOfFinancialAssetsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R14": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureFairValue",
     "longName": "995210701 - Disclosure - Fair Value",
     "shortName": "Fair Value",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "14",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R15": {
     "role": "http://www.pennymacfinancial.com/role/DisclosurePrincipalOnlyStrippedMortgageBackedSecurities",
     "longName": "995210801 - Disclosure - Principal-Only Stripped Mortgage-Backed Securities",
     "shortName": "Principal-Only Stripped Mortgage-Backed Securities",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "15",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "pfsi:MortgageBackedAssetSecuritiesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "pfsi:MortgageBackedAssetSecuritiesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R16": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureLoansHeldForSaleAtFairValue",
     "longName": "995210901 - Disclosure - Loans Held for Sale at Fair Value",
     "shortName": "Loans Held for Sale at Fair Value",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "16",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "srt:MortgageLoansOnRealEstateByLoanDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "srt:MortgageLoansOnRealEstateByLoanDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R17": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstruments",
     "longName": "995211001 - Disclosure - Derivative Financial Instruments",
     "shortName": "Derivative Financial Instruments",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "17",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R18": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilities",
     "longName": "995211101 - Disclosure - Mortgage Servicing Rights and Mortgage Servicing Liabilities",
     "shortName": "Mortgage Servicing Rights and Mortgage Servicing Liabilities",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "18",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "pfsi:MortgageServicingRightsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "pfsi:MortgageServicingRightsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R19": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureOtherAssets",
     "longName": "995211201 - Disclosure - Other Assets",
     "shortName": "Other Assets",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "19",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:OtherAssetsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:OtherAssetsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R20": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureLeases",
     "longName": "995211301 - Disclosure - Leases",
     "shortName": "Leases",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "20",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:LesseeOperatingLeasesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:LesseeOperatingLeasesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R21": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureShortTermDebt",
     "longName": "995211401 - Disclosure - Short-Term Debt",
     "shortName": "Short-Term Debt",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "21",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:ShortTermDebtTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:ShortTermDebtTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R22": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureLongTermDebt",
     "longName": "995211501 - Disclosure - Long-Term Debt",
     "shortName": "Long-Term Debt",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "22",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:LongTermDebtTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:LongTermDebtTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R23": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureLiabilityForLossesUnderRepresentationsAndWarranties",
     "longName": "995211601 - Disclosure - Liability for Losses Under Representations and Warranties",
     "shortName": "Liability for Losses Under Representations and Warranties",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "23",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "pfsi:LiabilityForRepresentationsAndWarrantiesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "pfsi:LiabilityForRepresentationsAndWarrantiesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R24": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureIncomeTaxes",
     "longName": "995211701 - Disclosure - Income Taxes",
     "shortName": "Income Taxes",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "24",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R25": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureCommitmentsAndContingencies",
     "longName": "995211801 - Disclosure - Commitments and Contingencies",
     "shortName": "Commitments and Contingencies",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "25",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R26": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureStockholdersEquity",
     "longName": "995211901 - Disclosure - Stockholders' Equity",
     "shortName": "Stockholders' Equity",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "26",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R27": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureNetGainsOnLoansHeldForSale",
     "longName": "995212001 - Disclosure - Net Gains on Loans Held for Sale",
     "shortName": "Net Gains on Loans Held for Sale",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "27",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "pfsi:MortgageLoansHeldForSaleGainLossDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "pfsi:MortgageLoansHeldForSaleGainLossDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R28": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpense",
     "longName": "995212101 - Disclosure - Net Interest Expense",
     "shortName": "Net Interest Expense",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "28",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:InterestIncomeAndInterestExpenseDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:InterestIncomeAndInterestExpenseDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R29": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureStockBasedCompensation",
     "longName": "995212201 - Disclosure - Stock-based Compensation",
     "shortName": "Stock-based Compensation",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "29",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R30": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureDisaggregationOfCertainExpenseCaptions",
     "longName": "995212301 - Disclosure - Disaggregation of Certain Expense Captions",
     "shortName": "Disaggregation of Certain Expense Captions",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "30",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R31": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureEarningsPerShare",
     "longName": "995212401 - Disclosure - Earnings Per Share",
     "shortName": "Earnings Per Share",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "31",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R32": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureRegulatoryCapitalAndLiquidityRequirements",
     "longName": "995212501 - Disclosure - Regulatory Capital and Liquidity Requirements",
     "shortName": "Regulatory Capital and Liquidity Requirements",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "32",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:RegulatoryCapitalRequirementsForMortgageCompaniesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:RegulatoryCapitalRequirementsForMortgageCompaniesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R33": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureSegments",
     "longName": "995212601 - Disclosure - Segments",
     "shortName": "Segments",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "33",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:SegmentReportingDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:SegmentReportingDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R34": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureSubsequentEvents",
     "longName": "995212701 - Disclosure - Subsequent Events",
     "shortName": "Subsequent Events",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "34",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R35": {
     "role": "http://xbrl.sec.gov/ecd/role/PvpDisclosure",
     "longName": "995410 - Disclosure - Pay vs Performance Disclosure",
     "shortName": "Pay vs Performance Disclosure",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "35",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:NetIncomeLoss",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true
     },
     "uniqueAnchor": null
    },
    "R36": {
     "role": "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements",
     "longName": "995445 - Disclosure - Insider Trading Arrangements",
     "shortName": "Insider Trading Arrangements",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "36",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "ecd:NonRule10b51ArrAdoptedFlag",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "p",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "ecd:NonRule10b51ArrAdoptedFlag",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "p",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R37": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureBasisOfPresentationAndRecentlyIssuedAccountingPronouncementsPolicies",
     "longName": "99920202 - Disclosure - Basis of Presentation and Recently Issued Accounting Pronouncements (Policies)",
     "shortName": "Basis of Presentation and Recently Issued Accounting Pronouncements (Policies)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "policies",
     "menuCat": "Policies",
     "order": "37",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:BasisOfAccounting",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:BasisOfAccounting",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R38": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsTables",
     "longName": "99930503 - Disclosure - Related Party Transactions (Tables)",
     "shortName": "Related Party Transactions (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "38",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_srt_CounterpartyNameAxis_pfsi_PennyMacMortgageInvestmentTrustMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_RelatedPartyMember_Jc5NK4uTs0OG7bq9zG6qQw",
      "name": "pfsi:ScheduleOfRelatedPartyTransactionsLendingActivityTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_srt_CounterpartyNameAxis_pfsi_PennyMacMortgageInvestmentTrustMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_RelatedPartyMember_Jc5NK4uTs0OG7bq9zG6qQw",
      "name": "pfsi:ScheduleOfRelatedPartyTransactionsLendingActivityTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R39": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesTables",
     "longName": "99930603 - Disclosure - Loan Sales and Servicing Activities (Tables)",
     "shortName": "Loan Sales and Servicing Activities (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "39",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "pfsi:ScheduleOfCashFlowsBetweenCompanyAndTransfereesUponSaleOfMortgageLoansInTransactionsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:TransfersAndServicingOfFinancialAssetsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "pfsi:ScheduleOfCashFlowsBetweenCompanyAndTransfereesUponSaleOfMortgageLoansInTransactionsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:TransfersAndServicingOfFinancialAssetsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R40": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureFairValueTables",
     "longName": "99930703 - Disclosure - Fair Value (Tables)",
     "shortName": "Fair Value (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "40",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R41": {
     "role": "http://www.pennymacfinancial.com/role/DisclosurePrincipalOnlyStrippedMortgageBackedSecuritiesTables",
     "longName": "99930803 - Disclosure - Principal-Only Stripped Mortgage-Backed Securities (Tables)",
     "shortName": "Principal-Only Stripped Mortgage-Backed Securities (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "41",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "pfsi:MortgageBackedAssetSecuritiesDisclosureTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "pfsi:MortgageBackedAssetSecuritiesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "pfsi:MortgageBackedAssetSecuritiesDisclosureTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "pfsi:MortgageBackedAssetSecuritiesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R42": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureLoansHeldForSaleAtFairValueTables",
     "longName": "99930903 - Disclosure - Loans Held for Sale at Fair Value (Tables)",
     "shortName": "Loans Held for Sale at Fair Value (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "42",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "pfsi:ScheduleOfMortgageLoansOnRealEstateTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "srt:MortgageLoansOnRealEstateByLoanDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "pfsi:ScheduleOfMortgageLoansOnRealEstateTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "srt:MortgageLoansOnRealEstateByLoanDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R43": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsTables",
     "longName": "99931003 - Disclosure - Derivative Financial Instruments (Tables)",
     "shortName": "Derivative Financial Instruments (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "43",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:ScheduleOfDerivativeInstrumentsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:ScheduleOfDerivativeInstrumentsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R44": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesTables",
     "longName": "99931103 - Disclosure - Mortgage Servicing Rights and Mortgage Servicing Liabilities (Tables)",
     "shortName": "Mortgage Servicing Rights and Mortgage Servicing Liabilities (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "44",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:ScheduleOfServicingAssetsAtFairValueTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "pfsi:MortgageServicingRightsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:ScheduleOfServicingAssetsAtFairValueTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "pfsi:MortgageServicingRightsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R45": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureOtherAssetsTables",
     "longName": "99931203 - Disclosure - Other Assets (Tables)",
     "shortName": "Other Assets (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "45",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:ScheduleOfOtherAssetsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:OtherAssetsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:ScheduleOfOtherAssetsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:OtherAssetsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R46": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureLeasesTables",
     "longName": "99931303 - Disclosure - Leases (Tables)",
     "shortName": "Leases (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "46",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:LeaseCostTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:LeaseCostTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R47": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtTables",
     "longName": "99931403 - Disclosure - Short-Term Debt (Tables)",
     "shortName": "Short-Term Debt (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "47",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:ScheduleOfRepurchaseAgreements",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:ScheduleOfRepurchaseAgreements",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R48": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtTables",
     "longName": "99931503 - Disclosure - Long-Term Debt (Tables)",
     "shortName": "Long-Term Debt (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "48",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "pfsi:ScheduleOfTermNotesTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:LongTermDebtTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "pfsi:ScheduleOfTermNotesTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:LongTermDebtTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R49": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureLiabilityForLossesUnderRepresentationsAndWarrantiesTables",
     "longName": "99931603 - Disclosure - Liability for Losses Under Representations and Warranties (Tables)",
     "shortName": "Liability for Losses Under Representations and Warranties (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "49",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "pfsi:ScheduleOfMortgageLoansRepurchaseActivityTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "pfsi:LiabilityForRepresentationsAndWarrantiesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "pfsi:ScheduleOfMortgageLoansRepurchaseActivityTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "pfsi:LiabilityForRepresentationsAndWarrantiesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R50": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureStockholdersEquityTables",
     "longName": "99931903 - Disclosure - Stockholders' Equity (Tables)",
     "shortName": "Stockholders' Equity (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "50",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:ScheduleOfTreasuryStockByClassTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:ScheduleOfTreasuryStockByClassTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R51": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureNetGainsOnLoansHeldForSaleTables",
     "longName": "99932003 - Disclosure - Net Gains on Loans Held for Sale (Tables)",
     "shortName": "Net Gains on Loans Held for Sale (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "51",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "pfsi:MortgageLoansHeldForSaleGainLossDisclosureTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "pfsi:MortgageLoansHeldForSaleGainLossDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "pfsi:MortgageLoansHeldForSaleGainLossDisclosureTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "pfsi:MortgageLoansHeldForSaleGainLossDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R52": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpenseTables",
     "longName": "99932103 - Disclosure - Net Interest Expense (Tables)",
     "shortName": "Net Interest Expense (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "52",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:InterestIncomeAndInterestExpenseDisclosureTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:InterestIncomeAndInterestExpenseDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:InterestIncomeAndInterestExpenseDisclosureTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:InterestIncomeAndInterestExpenseDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R53": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureStockBasedCompensationTables",
     "longName": "99932203 - Disclosure - Stock-based Compensation (Tables)",
     "shortName": "Stock-based Compensation (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "53",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "pfsi:ScheduleOfCompensationCostAndGrantDateFairValueAndGrantedAndVestedUnitsForShareBasedPaymentArrangementsByTypeTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "pfsi:ScheduleOfCompensationCostAndGrantDateFairValueAndGrantedAndVestedUnitsForShareBasedPaymentArrangementsByTypeTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R54": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureDisaggregationOfCertainExpenseCaptionsTables",
     "longName": "99932303 - Disclosure - Disaggregation of Certain Expense Captions (Tables)",
     "shortName": "Disaggregation of Certain Expense Captions (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "54",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:ScheduleOfNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:ScheduleOfNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R55": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureEarningsPerShareTables",
     "longName": "99932403 - Disclosure - Earnings Per Share (Tables)",
     "shortName": "Earnings Per Share (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "55",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R56": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureRegulatoryCapitalAndLiquidityRequirementsTables",
     "longName": "99932503 - Disclosure - Regulatory Capital and Liquidity Requirements (Tables)",
     "shortName": "Regulatory Capital and Liquidity Requirements (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "56",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:ScheduleOfComplianceWithRegulatoryCapitalRequirementsForMortgageCompaniesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:RegulatoryCapitalRequirementsForMortgageCompaniesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:ScheduleOfComplianceWithRegulatoryCapitalRequirementsForMortgageCompaniesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap:RegulatoryCapitalRequirementsForMortgageCompaniesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R57": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureSegmentsTables",
     "longName": "99932603 - Disclosure - Segments (Tables)",
     "shortName": "Segments (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "57",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R58": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureOrganizationDetails",
     "longName": "99940101 - Disclosure - Organization (Details)",
     "shortName": "Organization (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "58",
     "firstAnchor": {
      "contextRef": "Duration_2_11_2026_To_2_11_2026_us-gaap_AssetAcquisitionAxis_pfsi_CenlarCapitalCorporationSubservicingBusinessMember_DlRvu3bwy0613hfGT6UFGg",
      "name": "us-gaap:AssetAcquisitionConsiderationTransferred",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "p",
       "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_2_11_2026_To_2_11_2026_us-gaap_AssetAcquisitionAxis_pfsi_CenlarCapitalCorporationSubservicingBusinessMember_DlRvu3bwy0613hfGT6UFGg",
      "name": "us-gaap:AssetAcquisitionConsiderationTransferred",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "p",
       "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R59": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureConcentrationOfRiskDetails",
     "longName": "99940301 - Disclosure - Concentration of Risk (Details)",
     "shortName": "Concentration of Risk (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "59",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_srt_MajorCustomersAxis_pfsi_PennyMacMortgageInvestmentTrustMember_us-gaap_ConcentrationRiskByBenchmarkAxis_us-gaap_SalesRevenueNetMember_us-gaap_ConcentrationRiskByTypeAxis_us-gaap_CustomerConcentrationRiskMember_6EJt9tuwLEWPf6NkQEJLMg",
      "name": "us-gaap:ConcentrationRiskPercentage1",
      "unitRef": "Unit_Standard_pure_AtS8QYk92UakpsGgDAb89Q",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "p",
       "us-gaap:ConcentrationRiskDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_srt_MajorCustomersAxis_pfsi_PennyMacMortgageInvestmentTrustMember_us-gaap_ConcentrationRiskByBenchmarkAxis_us-gaap_SalesRevenueNetMember_us-gaap_ConcentrationRiskByTypeAxis_us-gaap_CustomerConcentrationRiskMember_6EJt9tuwLEWPf6NkQEJLMg",
      "name": "us-gaap:ConcentrationRiskPercentage1",
      "unitRef": "Unit_Standard_pure_AtS8QYk92UakpsGgDAb89Q",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "p",
       "us-gaap:ConcentrationRiskDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R60": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails",
     "longName": "99940501 - Disclosure - Related Party Transactions - Correspondent Production (Details)",
     "shortName": "Related Party Transactions - Correspondent Production (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "60",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "pfsi:LoanFulfillmentFeesReceivableFromAffiliate",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "As_Of_12_31_2024_srt_MortgageLoansOnRealEstateLoanTypeAxis_pfsi_GinnieMaeMortgageBackedSecuritiesGuideLoanMember_bwglhI2080S8_nlkxwp_gQ",
      "name": "pfsi:ThresholdLimitOfLoanCommitmentPerQuarter",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "unique": true
     }
    },
    "R61": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsMortgageLoanServicingDetails",
     "longName": "99940502 - Disclosure - Related Party Transactions - Mortgage Loan Servicing (Details)",
     "shortName": "Related Party Transactions - Mortgage Loan Servicing (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "61",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "pfsi:ServicingFee",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_9_12_2016_To_9_12_2016_us-gaap_RelatedPartyTransactionAxis_pfsi_MortgageLoanServicingAgreementMember_e7ALEZ_b80uR7hBfszJH-A",
      "name": "pfsi:RelatedPartyTransactionBaseServicingFeePerMonthForRealEstateInSettlementOfLoans",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "unique": true
     }
    },
    "R62": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsManagementFeesDetails",
     "longName": "99940503 - Disclosure - Related Party Transactions - Management Fees (Details)",
     "shortName": "Related Party Transactions - Management Fees (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "62",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "pfsi:ManagementFeeRevenue",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_9_12_2016_To_9_12_2016_srt_CounterpartyNameAxis_pfsi_PennyMacMortgageInvestmentTrustMember_us-gaap_RelatedPartyTransactionAxis_pfsi_ManagementFeesAgreementMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_RelatedPartyMember_Ke08gLdS4Ey0OHR7I8DFdQ",
      "name": "pfsi:RelatedPartyTransactionPercentageOfChangeInNetIncomeLossForPerformanceIncentiveFeeComputation",
      "unitRef": "Unit_Standard_pure_AtS8QYk92UakpsGgDAb89Q",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "unique": true
     }
    },
    "R63": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsOtherTransactionsReimbursementOfCommonOverheadExpensesDetails",
     "longName": "99940504 - Disclosure - Related Party Transactions - Other Transactions, Reimbursement of Common Overhead Expenses (Details)",
     "shortName": "Related Party Transactions - Other Transactions, Reimbursement of Common Overhead Expenses (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "63",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_srt_CounterpartyNameAxis_pfsi_PennyMacMortgageInvestmentTrustMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_RelatedPartyMember_Jc5NK4uTs0OG7bq9zG6qQw",
      "name": "pfsi:RelatedPartyTransactionsReimbursementOfExpenses",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "pfsi:ScheduleOfRelatedPartyTransactionsReimbursementOfExpensesTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_srt_CounterpartyNameAxis_pfsi_PennyMacMortgageInvestmentTrustMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_RelatedPartyMember_Jc5NK4uTs0OG7bq9zG6qQw",
      "name": "pfsi:RelatedPartyTransactionsReimbursementOfExpenses",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "pfsi:ScheduleOfRelatedPartyTransactionsReimbursementOfExpensesTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R64": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsInvestingActivitiesDetails",
     "longName": "99940505 - Disclosure - Related Party Transactions - Investing Activities (Details)",
     "shortName": "Related Party Transactions - Investing Activities (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "64",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "pfsi:InvestmentsInAndAdvancesToAffiliatesChangeInFairValueOfInvestmentInAndDividendsReceived",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "As_Of_3_31_2026_srt_CounterpartyNameAxis_pfsi_PennyMacMortgageInvestmentTrustMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_RelatedPartyMember_v7jeyWXIpUGr01ory245zQ",
      "name": "us-gaap:InvestmentOwnedAtFairValue",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "unique": true
     }
    },
    "R65": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsAmountsDueFromAffiliateDetails",
     "longName": "99940506 - Disclosure - Related Party Transactions - Amounts due from Affiliate (Details)",
     "shortName": "Related Party Transactions - Amounts due from Affiliate (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "65",
     "firstAnchor": {
      "contextRef": "As_Of_3_31_2026_Pj_h0mQeI0Gw9Wvenf4J9Q",
      "name": "us-gaap:OtherReceivables",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "As_Of_3_31_2026_srt_CounterpartyNameAxis_pfsi_PennyMacMortgageInvestmentTrustMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_RelatedPartyMember_v7jeyWXIpUGr01ory245zQ",
      "name": "pfsi:DueFromRelatedPartiesCorrespondentLendingOriginationFees",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "unique": true
     }
    },
    "R66": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsExchangedPrivateNationalMortgageAcceptanceCompanyLlcUnitholdersDetails",
     "longName": "99940507 - Disclosure - Related Party Transactions - Exchanged Private National Mortgage Acceptance Company, LLC Unitholders (Details)",
     "shortName": "Related Party Transactions - Exchanged Private National Mortgage Acceptance Company, LLC Unitholders (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "66",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "pfsi:PercentageOfAmountOfTaxBenefits",
      "unitRef": "Unit_Standard_pure_AtS8QYk92UakpsGgDAb89Q",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "pfsi:PercentageOfAmountOfTaxBenefits",
      "unitRef": "Unit_Standard_pure_AtS8QYk92UakpsGgDAb89Q",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R67": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfCashFlowsWithTransfereesDetails",
     "longName": "99940601 - Disclosure - Loan Sales and Servicing Activities - Summary of Cash Flows with Transferees (Details)",
     "shortName": "Loan Sales and Servicing Activities - Summary of Cash Flows with Transferees (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "67",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:CashFlowsBetweenTransfereeAndTransferorProceedsFromNewTransfers",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "pfsi:ScheduleOfCashFlowsBetweenCompanyAndTransfereesUponSaleOfMortgageLoansInTransactionsTableTextBlock",
       "us-gaap:TransfersAndServicingOfFinancialAssetsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:CashFlowsBetweenTransfereeAndTransferorProceedsFromNewTransfers",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "pfsi:ScheduleOfCashFlowsBetweenCompanyAndTransfereesUponSaleOfMortgageLoansInTransactionsTableTextBlock",
       "us-gaap:TransfersAndServicingOfFinancialAssetsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R68": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails",
     "longName": "99940602 - Disclosure - Loan Sales and Servicing Activities - Summary of Mortgage Servicing Portfolio (Details)",
     "shortName": "Loan Sales and Servicing Activities - Summary of Mortgage Servicing Portfolio (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "68",
     "firstAnchor": {
      "contextRef": "As_Of_3_31_2026_Pj_h0mQeI0Gw9Wvenf4J9Q",
      "name": "pfsi:PrincipalAmountOutstandingOnLoansHeldForSale",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "pfsi:ScheduleOfMortgageServicingPortfolioTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "As_Of_3_31_2026_Pj_h0mQeI0Gw9Wvenf4J9Q",
      "name": "pfsi:PrincipalAmountOutstandingOnLoansHeldForSale",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "pfsi:ScheduleOfMortgageServicingPortfolioTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R69": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesGeographicalDistributionOfLoansDetails",
     "longName": "99940603 - Disclosure - Loan Sales and Servicing Activities - Geographical Distribution of Loans (Details)",
     "shortName": "Loan Sales and Servicing Activities - Geographical Distribution of Loans (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "69",
     "firstAnchor": {
      "contextRef": "As_Of_3_31_2026_Pj_h0mQeI0Gw9Wvenf4J9Q",
      "name": "us-gaap:PrincipalAmountOutstandingOnLoansManagedAndSecuritized",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "pfsi:ScheduleOfMortgageServicingPortfolioTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "As_Of_3_31_2026_srt_StatementGeographicalAxis_stpr_CA_7_beffR8eU2jJ6FLO9SVfA",
      "name": "us-gaap:PrincipalAmountOutstandingOnLoansManagedAndSecuritized",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "pfsi:ScheduleOfGeographicalDistributionOfMortgageServicingPortfolioTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "unique": true
     }
    },
    "R70": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails",
     "longName": "99940701 - Disclosure - Fair Value - Financial Statement Items Measured at Fair Value on a Recurring Basis (Details)",
     "shortName": "Fair Value - Financial Statement Items Measured at Fair Value on a Recurring Basis (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "70",
     "firstAnchor": {
      "contextRef": "As_Of_3_31_2026_Pj_h0mQeI0Gw9Wvenf4J9Q",
      "name": "us-gaap:ShortTermInvestments",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "As_Of_3_31_2026_us-gaap_FairValueByMeasurementFrequencyAxis_us-gaap_FairValueMeasurementsRecurringMember_MvYK7a3B_UOO5maYqa9hVQ",
      "name": "us-gaap:ShortTermInvestments",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "unique": true
     }
    },
    "R71": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3InputRollForwardRecurringBasisDetails",
     "longName": "99940702 - Disclosure - Fair Value - Level 3 Input Roll Forward, Recurring Basis (Details)",
     "shortName": "Fair Value - Level 3 Input Roll Forward, Recurring Basis (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "71",
     "firstAnchor": {
      "contextRef": "As_Of_12_31_2025_us-gaap_FairValueByMeasurementFrequencyAxis_us-gaap_FairValueMeasurementsRecurringMember_4sEFGVgK60Ocp3HuecCUmQ",
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "As_Of_12_31_2025_us-gaap_FairValueByMeasurementFrequencyAxis_us-gaap_FairValueMeasurementsRecurringMember_4sEFGVgK60Ocp3HuecCUmQ",
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R72": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureFairValueChangesInFairValueFairValueOptionRecurringBasisDetails",
     "longName": "99940703 - Disclosure - Fair Value - Changes in Fair Value, Fair Value Option, Recurring Basis (Details)",
     "shortName": "Fair Value - Changes in Fair Value, Fair Value Option, Recurring Basis (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "72",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_us-gaap_FairValueByLiabilityClassAxis_pfsi_MortgageServicingLiabilitiesMember_us-gaap_FairValueByMeasurementFrequencyAxis_us-gaap_FairValueMeasurementsRecurringMember_AQTcaiMLwU6uw9nhZT3DVw",
      "name": "us-gaap:FairValueOptionChangesInFairValueGainLoss1",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "pfsi:ScheduleOfFairValueOptionChangesInFairValueGainLossTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_us-gaap_FairValueByLiabilityClassAxis_pfsi_MortgageServicingLiabilitiesMember_us-gaap_FairValueByMeasurementFrequencyAxis_us-gaap_FairValueMeasurementsRecurringMember_AQTcaiMLwU6uw9nhZT3DVw",
      "name": "us-gaap:FairValueOptionChangesInFairValueGainLoss1",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "pfsi:ScheduleOfFairValueOptionChangesInFairValueGainLossTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R73": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureFairValueFairValueOptionMaturitiesRecurringBasisDetails",
     "longName": "99940704 - Disclosure - Fair Value - Fair Value Option Maturities, Recurring Basis (Details)",
     "shortName": "Fair Value - Fair Value Option Maturities, Recurring Basis (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "73",
     "firstAnchor": {
      "contextRef": "As_Of_3_31_2026_Pj_h0mQeI0Gw9Wvenf4J9Q",
      "name": "us-gaap:MortgagesHeldForSaleFairValueDisclosure",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "As_Of_3_31_2026_us-gaap_FairValueByMeasurementFrequencyAxis_us-gaap_FairValueMeasurementsRecurringMember_us-gaap_FinancialInstrumentAxis_pfsi_MortgageLoansHeldForSaleMember_6DebPLwiw0WEqBLl3_adoA",
      "name": "pfsi:FairValueOptionLoansHeldAsAssetsLessThan90DaysPastDue",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "pfsi:ScheduleOfFairValueOptionAggregateDifferenceOfFairValueAndUnpaidPrincipalBalanceOfLoansTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "unique": true
     }
    },
    "R74": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureFairValueMeasurementBasisNonrecurringDetails",
     "longName": "99940705 - Disclosure - Fair Value - Measurement Basis, Nonrecurring (Details)",
     "shortName": "Fair Value - Measurement Basis, Nonrecurring (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "74",
     "firstAnchor": {
      "contextRef": "As_Of_3_31_2026_Pj_h0mQeI0Gw9Wvenf4J9Q",
      "name": "us-gaap:NotesPayable",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "As_Of_3_31_2026_us-gaap_LongtermDebtTypeAxis_pfsi_TermNotesAndTermLoansMember_jzJCsaJz2EyupwIPvVZF6A",
      "name": "us-gaap:NotesPayable",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "pfsi:ScheduleOfCarryingValueAndFairValueOfDebtTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "unique": true
     }
    },
    "R75": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageLoansAndIrlcDetails",
     "longName": "99940706 - Disclosure - Fair Value - Level 3 Unobservable Inputs, Mortgage Loans and IRLC (Details)",
     "shortName": "Fair Value - Level 3 Unobservable Inputs, Mortgage Loans and IRLC (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "75",
     "firstAnchor": {
      "contextRef": "As_Of_3_31_2026_Pj_h0mQeI0Gw9Wvenf4J9Q",
      "name": "us-gaap:MortgagesHeldForSaleFairValueDisclosure",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "As_Of_3_31_2026_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel3Member_us-gaap_FinancialInstrumentAxis_pfsi_MortgageLoansHeldForSaleMember_0fO53R3Wu0S_iKptgZiGug",
      "name": "us-gaap:MortgagesHeldForSaleFairValueDisclosure",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "unique": true
     }
    },
    "R76": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsInitialRecognitionDetails",
     "longName": "99940707 - Disclosure - Fair Value - Level 3 Unobservable Inputs, Mortgage Servicing Rights - Initial Recognition (Details)",
     "shortName": "Fair Value - Level 3 Unobservable Inputs, Mortgage Servicing Rights - Initial Recognition (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "76",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_us-gaap_FairValueByAssetClassAxis_pfsi_MortgageServicingRightsMember_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel3Member_us-gaap_FairValueByMeasurementBasisAxis_us-gaap_EstimateOfFairValueFairValueDisclosureMember_us-gaap_FinancialInstrumentAxis_pfsi_MortgageServicingRightsAtTimeOfInitialRecognitionExcludingMortgageServicingRightPurchasesMember_Vdg8334VGkqu4YpNnhLe4w",
      "name": "pfsi:ServicingAssetAdditionsFromLoanSales",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "pfsi:ScheduleOfAssumptionsForFairValueAtTheTimeOfInitialRecognitionOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrServicingLiabilitiesTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_us-gaap_FairValueByAssetClassAxis_pfsi_MortgageServicingRightsMember_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel3Member_us-gaap_FairValueByMeasurementBasisAxis_us-gaap_EstimateOfFairValueFairValueDisclosureMember_us-gaap_FinancialInstrumentAxis_pfsi_MortgageServicingRightsAtTimeOfInitialRecognitionExcludingMortgageServicingRightPurchasesMember_Vdg8334VGkqu4YpNnhLe4w",
      "name": "pfsi:ServicingAssetAdditionsFromLoanSales",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "pfsi:ScheduleOfAssumptionsForFairValueAtTheTimeOfInitialRecognitionOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrServicingLiabilitiesTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R77": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails",
     "longName": "99940708 - Disclosure - Fair Value - Level 3 Unobservable Inputs, Mortgage Servicing Rights, Effect of Change In Inputs on Fair Value (Details)",
     "shortName": "Fair Value - Level 3 Unobservable Inputs, Mortgage Servicing Rights, Effect of Change In Inputs on Fair Value (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "77",
     "firstAnchor": {
      "contextRef": "As_Of_3_31_2026_Pj_h0mQeI0Gw9Wvenf4J9Q",
      "name": "us-gaap:ServicingAsset",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "As_Of_3_31_2026_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel3Member_us-gaap_FairValueByMeasurementBasisAxis_us-gaap_EstimateOfFairValueFairValueDisclosureMember_us-gaap_FinancialInstrumentAxis_pfsi_MortgageServicingRightsMember_ETkUTmZAFUeARY73ZCQwlA",
      "name": "us-gaap:ServicingAsset",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pfsi:ScheduleOfFairValueInputsAndSensitivityAnalysisOfFairValueAndAmortizedCostAdverseChangeInAssumptionsTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "unique": true
     }
    },
    "R78": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingLiabilitiesDetails",
     "longName": "99940709 - Disclosure - Fair Value - Level 3 Unobservable Inputs, Mortgage Servicing Liabilities (Details)",
     "shortName": "Fair Value - Level 3 Unobservable Inputs, Mortgage Servicing Liabilities (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "78",
     "firstAnchor": {
      "contextRef": "As_Of_3_31_2026_Pj_h0mQeI0Gw9Wvenf4J9Q",
      "name": "us-gaap:ServicingLiability",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "As_Of_3_31_2026_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel3Member_us-gaap_FinancialInstrumentAxis_pfsi_MortgageServicingLiabilitiesMember_GeU5_3LPmEqSZphqy-FWyQ",
      "name": "us-gaap:ServicingLiability",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "unique": true
     }
    },
    "R79": {
     "role": "http://www.pennymacfinancial.com/role/DisclosurePrincipalOnlyStrippedMortgageBackedSecuritiesActivityInCompanySInvestmentInPrincipalOnlyStrippedMbsDetails",
     "longName": "99940801 - Disclosure - Principal-Only Stripped Mortgage-Backed Securities - Activity in the Company's investment in principal-only stripped MBS (Details)",
     "shortName": "Principal-Only Stripped Mortgage-Backed Securities - Activity in the Company's investment in principal-only stripped MBS (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "79",
     "firstAnchor": {
      "contextRef": "As_Of_12_31_2025_cJEXiaOxb0S9bYuOa-bV4Q",
      "name": "pfsi:MortgageBackedAssetSecuritiesAtFairValuePledgedToCreditors",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_us-gaap_FinancialInstrumentAxis_us-gaap_PrincipalOnlyStripMember_Pc0DmPHPZUicFv0S4vQqYg",
      "name": "pfsi:MortgageBackedAssetSecuritiesAtFairValuePledgedToCreditorsRepayments",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "pfsi:MortgageBackedAssetSecuritiesDisclosureTableTextBlock",
       "pfsi:MortgageBackedAssetSecuritiesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "unique": true
     }
    },
    "R80": {
     "role": "http://www.pennymacfinancial.com/role/DisclosurePrincipalOnlyStrippedMortgageBackedSecuritiesSummaryOfCompanyInvestmentInPrincipalOnlyStrippedMbsDetails",
     "longName": "99940802 - Disclosure - Principal-Only Stripped Mortgage-Backed Securities - summary of the Company investment in principal-only stripped MBS (Details)",
     "shortName": "Principal-Only Stripped Mortgage-Backed Securities - summary of the Company investment in principal-only stripped MBS (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "80",
     "firstAnchor": {
      "contextRef": "As_Of_3_31_2026_Pj_h0mQeI0Gw9Wvenf4J9Q",
      "name": "pfsi:MortgageBackedAssetSecuritiesAtFairValuePledgedToCreditors",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "As_Of_3_31_2026_us-gaap_FinancialInstrumentAxis_us-gaap_PrincipalOnlyStripMember_cZ3ic7S-20-86pt3Ce0Bzg",
      "name": "pfsi:MortgageBackedAssetSecuritiesPrincipalAmount",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "unique": true
     }
    },
    "R81": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureLoansHeldForSaleAtFairValueDetails",
     "longName": "99940901 - Disclosure - Loans Held for Sale at Fair Value (Details)",
     "shortName": "Loans Held for Sale at Fair Value (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "81",
     "firstAnchor": {
      "contextRef": "As_Of_3_31_2026_Pj_h0mQeI0Gw9Wvenf4J9Q",
      "name": "us-gaap:MortgagesHeldForSaleFairValueDisclosure",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "As_Of_3_31_2026_srt_MortgageLoansOnRealEstateLoanTypeAxis_pfsi_GovernmentInsuredOrGuaranteedLoanMember_T7gOFGWp70OEa7yzOR7lng",
      "name": "us-gaap:MortgagesHeldForSaleFairValueDisclosure",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "pfsi:ScheduleOfMortgageLoansOnRealEstateTableTextBlock",
       "srt:MortgageLoansOnRealEstateByLoanDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "unique": true
     }
    },
    "R82": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails",
     "longName": "99941001 - Disclosure - Derivative Financial Instruments - Other Information (Details)",
     "shortName": "Derivative Financial Instruments - Other Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "82",
     "firstAnchor": {
      "contextRef": "As_Of_3_31_2026_Pj_h0mQeI0Gw9Wvenf4J9Q",
      "name": "pfsi:DerivativeAssetsIncludingAssetsNotSubjectToMasterNettingArrangementGross",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDerivativeInstrumentsTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_us-gaap_FinancialInstrumentAxis_pfsi_InterestRateLockCommitmentsAndMortgageLoansHeldForSaleMember_4qm6L_kL8UGLS_XbJI-20Q",
      "name": "us-gaap:DerivativeGainLossOnDerivativeNet",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "unique": true
     }
    },
    "R83": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeAssetsFinancialAssetsAndCollateralHeldByCounterpartyDetails",
     "longName": "99941002 - Disclosure - Derivative Financial Instruments - Offsetting of Derivative Assets - Derivative Assets, Financial Assets, and Collateral Held by Counterparty (Details)",
     "shortName": "Derivative Financial Instruments - Offsetting of Derivative Assets - Derivative Assets, Financial Assets, and Collateral Held by Counterparty (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "83",
     "firstAnchor": {
      "contextRef": "As_Of_3_31_2026_Pj_h0mQeI0Gw9Wvenf4J9Q",
      "name": "us-gaap:DerivativeAssets",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "As_Of_3_31_2026_Pj_h0mQeI0Gw9Wvenf4J9Q",
      "name": "us-gaap:DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "pfsi:ScheduleOfDerivativeAndFinancialAssetsBySignificantCounterpartyNotOffsetTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "unique": true
     }
    },
    "R84": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeLiabilitiesFinancialLiabilitiesAndCollateralHeldByCounterpartyDetails",
     "longName": "99941003 - Disclosure - Derivative Financial Instruments - Offsetting of Derivative Assets - Derivative Liabilities, Financial Liabilities, and Collateral Held by Counterparty (Details)",
     "shortName": "Derivative Financial Instruments - Offsetting of Derivative Assets - Derivative Liabilities, Financial Liabilities, and Collateral Held by Counterparty (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "84",
     "firstAnchor": {
      "contextRef": "As_Of_3_31_2026_Pj_h0mQeI0Gw9Wvenf4J9Q",
      "name": "us-gaap:DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoaned",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "pfsi:ScheduleOfDerivativeAndFinancialLiabilitiesBySignificantCounterpartyNotOffsetTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "As_Of_3_31_2026_Pj_h0mQeI0Gw9Wvenf4J9Q",
      "name": "us-gaap:DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoaned",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "pfsi:ScheduleOfDerivativeAndFinancialLiabilitiesBySignificantCounterpartyNotOffsetTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R85": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesActivityInMsrsAtFairValueDetails",
     "longName": "99941101 - Disclosure - Mortgage Servicing Rights and Mortgage Servicing Liabilities - Activity in MSRs at Fair Value (Details)",
     "shortName": "Mortgage Servicing Rights and Mortgage Servicing Liabilities - Activity in MSRs at Fair Value (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "85",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:ServicingAssetAtFairValuePeriodIncreaseDecrease",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "As_Of_12_31_2025_us-gaap_FinancialInstrumentAxis_pfsi_MortgageServicingRightsMember_ZHoT7X8Oxk6nkDfbLY3uWg",
      "name": "us-gaap:ServicingAssetAtFairValueAmount",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfServicingAssetsAtFairValueTextBlock",
       "pfsi:MortgageServicingRightsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "unique": true
     }
    },
    "R86": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesMortgageServicingLiabilitiesCarriedAtFvDetails",
     "longName": "99941102 - Disclosure - Mortgage Servicing Rights and Mortgage Servicing Liabilities - Mortgage Servicing Liabilities Carried at FV (Details)",
     "shortName": "Mortgage Servicing Rights and Mortgage Servicing Liabilities - Mortgage Servicing Liabilities Carried at FV (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "86",
     "firstAnchor": {
      "contextRef": "As_Of_12_31_2025_us-gaap_FinancialInstrumentAxis_pfsi_MortgageServicingLiabilitiesMember_wW1zc0_OjkaO_PA2bxEUuw",
      "name": "us-gaap:ServicingLiabilityAtFairValueAmount",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfServicingLiabilitiesAtFairValueTextBlock",
       "pfsi:MortgageServicingRightsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "As_Of_12_31_2025_us-gaap_FinancialInstrumentAxis_pfsi_MortgageServicingLiabilitiesMember_wW1zc0_OjkaO_PA2bxEUuw",
      "name": "us-gaap:ServicingLiabilityAtFairValueAmount",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfServicingLiabilitiesAtFairValueTextBlock",
       "pfsi:MortgageServicingRightsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R87": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesServicingLateAncillaryAndOtherFeesRelatingToMsrsDetails",
     "longName": "99941103 - Disclosure - Mortgage Servicing Rights and Mortgage Servicing Liabilities - Servicing, Late, Ancillary and Other Fees Relating to MSRs (Details)",
     "shortName": "Mortgage Servicing Rights and Mortgage Servicing Liabilities - Servicing, Late, Ancillary and Other Fees Relating to MSRs (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "87",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_us-gaap_FinancialInstrumentAxis_pfsi_MortgageServicingRightsMember_2RJly4F6HUG1z2f_jUfpzA",
      "name": "us-gaap:ContractuallySpecifiedServicingFeesAmount",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "pfsi:ScheduleOfNetServicingIncomeTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_us-gaap_FinancialInstrumentAxis_pfsi_MortgageServicingRightsMember_2RJly4F6HUG1z2f_jUfpzA",
      "name": "us-gaap:ContractuallySpecifiedServicingFeesAmount",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "pfsi:ScheduleOfNetServicingIncomeTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R88": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureOtherAssetsOtherDetails",
     "longName": "99941201 - Disclosure - Other Assets - Other (Details)",
     "shortName": "Other Assets - Other (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "88",
     "firstAnchor": {
      "contextRef": "As_Of_3_31_2026_Pj_h0mQeI0Gw9Wvenf4J9Q",
      "name": "us-gaap:MarginDepositAssets",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfOtherAssetsTableTextBlock",
       "us-gaap:OtherAssetsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "As_Of_3_31_2026_Pj_h0mQeI0Gw9Wvenf4J9Q",
      "name": "us-gaap:MarginDepositAssets",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfOtherAssetsTableTextBlock",
       "us-gaap:OtherAssetsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R89": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureLeasesDetails",
     "longName": "99941301 - Disclosure - Leases (Details)",
     "shortName": "Leases (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "89",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:LesseeOperatingLeaseExistenceOfOptionToExtend",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "p",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:LesseeOperatingLeaseExistenceOfOptionToExtend",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "p",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R90": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails",
     "longName": "99941401 - Disclosure - Short-Term Debt - Assets Sold Under Agreement to Repurchase (Details)",
     "shortName": "Short-Term Debt - Assets Sold Under Agreement to Repurchase (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "90",
     "firstAnchor": {
      "contextRef": "As_Of_3_31_2026_Pj_h0mQeI0Gw9Wvenf4J9Q",
      "name": "pfsi:AssetsSoldUnderAgreementsToRepurchaseUnpaidPrincipalBalance",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfUnderlyingAssetsOfRepurchaseAgreementsWhenAmountOfRepurchaseAgreementsExceeds10PercentOfAssetsTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_us-gaap_ShortTermDebtTypeAxis_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseMember_o9lYWEJOK065ksV7hb-HqQ",
      "name": "us-gaap:ShorttermDebtAverageOutstandingAmount",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfRepurchaseAgreements",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "unique": true
     }
    },
    "R91": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMaturitiesOfOutstandingAdvancesUnderRepurchaseAgreementsDetails",
     "longName": "99941402 - Disclosure - Short-Term Debt - Maturities of Outstanding Advances Under Repurchase Agreements (Details)",
     "shortName": "Short-Term Debt - Maturities of Outstanding Advances Under Repurchase Agreements (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "91",
     "firstAnchor": {
      "contextRef": "As_Of_3_31_2026_Pj_h0mQeI0Gw9Wvenf4J9Q",
      "name": "pfsi:AssetsSoldUnderAgreementsToRepurchaseUnpaidPrincipalBalance",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfUnderlyingAssetsOfRepurchaseAgreementsWhenAmountOfRepurchaseAgreementsExceeds10PercentOfAssetsTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:RepurchaseAgreementCounterpartyWeightedAverageMaturityOfAgreements1",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfUnderlyingAssetsOfRepurchaseAgreementsWhenAmountOfRepurchaseAgreementsExceeds10PercentOfAssetsTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "unique": true
     }
    },
    "R92": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoansSoldUnderAgreementToRepurchaseByCounterpartyDetails",
     "longName": "99941403 - Disclosure - Short-Term Debt - Mortgage Loans Sold Under Agreement to Repurchase by Counterparty (Details)",
     "shortName": "Short-Term Debt - Mortgage Loans Sold Under Agreement to Repurchase by Counterparty (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "92",
     "firstAnchor": {
      "contextRef": "As_Of_3_31_2026_srt_CounterpartyNameAxis_pfsi_AtlasSecuritizedProductsLPAndCitibankNaAndGoldmanSachsMember_us-gaap_ShortTermDebtTypeAxis_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseMember_CvwPVil-LU6tU_CJ93mfMQ",
      "name": "us-gaap:RepurchaseAgreementCounterpartyAmountAtRisk",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfRepurchaseAgreementCounterpartiesWithWhomRepurchaseAgreementsExceed10PercentOfStockholdersEquityTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "As_Of_3_31_2026_srt_CounterpartyNameAxis_pfsi_AtlasSecuritizedProductsLPAndCitibankNaAndGoldmanSachsMember_us-gaap_ShortTermDebtTypeAxis_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseMember_CvwPVil-LU6tU_CJ93mfMQ",
      "name": "us-gaap:RepurchaseAgreementCounterpartyAmountAtRisk",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfRepurchaseAgreementCounterpartiesWithWhomRepurchaseAgreementsExceed10PercentOfStockholdersEquityTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R93": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtPrincipalOnlyStrippedMbsDetails",
     "longName": "99941404 - Disclosure - Short-Term Debt - Principal only stripped MBS (Details)",
     "shortName": "Short-Term Debt - Principal only stripped MBS (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "93",
     "firstAnchor": {
      "contextRef": "As_Of_3_31_2026_srt_CounterpartyNameAxis_pfsi_BankOfAmericaMember_us-gaap_FinancialInstrumentAxis_pfsi_PrincipalOnlyStripsMember_o2-SX26LikyeF0uw6Cca-A",
      "name": "us-gaap:RepurchaseAgreementCounterpartyAmountAtRisk",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "As_Of_3_31_2026_srt_CounterpartyNameAxis_pfsi_BankOfAmericaMember_us-gaap_FinancialInstrumentAxis_pfsi_PrincipalOnlyStripsMember_o2-SX26LikyeF0uw6Cca-A",
      "name": "us-gaap:RepurchaseAgreementCounterpartyAmountAtRisk",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R94": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoanParticipationAndSaleAgreementDetails",
     "longName": "99941405 - Disclosure - Short-Term Debt - Mortgage Loan Participation and Sale Agreement (Details)",
     "shortName": "Short-Term Debt - Mortgage Loan Participation and Sale Agreement (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "94",
     "firstAnchor": {
      "contextRef": "As_Of_3_31_2026_Pj_h0mQeI0Gw9Wvenf4J9Q",
      "name": "us-gaap:MortgagesHeldForSaleFairValueDisclosure",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "As_Of_3_31_2026_us-gaap_DebtInstrumentAxis_pfsi_MortgageLoanParticipationAndSaleAgreementMember_NL-_0gA7XEqEuJ4P8hVA_w",
      "name": "pfsi:NumberOfBorrowingFacilitiesSecuredByLoansHeldForSale",
      "unitRef": "Unit_Standard_item_pY6qNjYq5Ea02ecrqlFrGA",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "unique": true
     }
    },
    "R95": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails",
     "longName": "99941501 - Disclosure - Long-Term Debt - Note Payable (Details)",
     "shortName": "Long-Term Debt - Note Payable (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "95",
     "firstAnchor": {
      "contextRef": "As_Of_3_31_2026_Pj_h0mQeI0Gw9Wvenf4J9Q",
      "name": "pfsi:AssetsSoldUnderAgreementsToRepurchaseUnpaidPrincipalBalance",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfUnderlyingAssetsOfRepurchaseAgreementsWhenAmountOfRepurchaseAgreementsExceeds10PercentOfAssetsTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "pfsi:NumberOfLenders",
      "unitRef": "Unit_Standard_Lender_coywG42_vkGw2XfNjnuVBw",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "p",
       "us-gaap:LongTermDebtTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "unique": true
     }
    },
    "R96": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtMaturitiesDetails",
     "longName": "99941502 - Disclosure - Long-Term Debt - Maturities (Details)",
     "shortName": "Long-Term Debt - Maturities (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "96",
     "firstAnchor": {
      "contextRef": "As_Of_3_31_2026_Pj_h0mQeI0Gw9Wvenf4J9Q",
      "name": "us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingYearTwo",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "As_Of_3_31_2026_Pj_h0mQeI0Gw9Wvenf4J9Q",
      "name": "us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingYearTwo",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R97": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureLiabilityForLossesUnderRepresentationsAndWarrantiesDetails",
     "longName": "99941601 - Disclosure - Liability for Losses Under Representations and Warranties (Details)",
     "shortName": "Liability for Losses Under Representations and Warranties (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "97",
     "firstAnchor": {
      "contextRef": "As_Of_12_31_2025_cJEXiaOxb0S9bYuOa-bV4Q",
      "name": "pfsi:RepresentationsAndWarrantiesLiability",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "As_Of_12_31_2024_aD39dhZQTkimta9UfMpqXg",
      "name": "pfsi:RepresentationsAndWarrantiesLiability",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "pfsi:ScheduleOfMortgageLoansRepurchaseActivityTableTextBlock",
       "pfsi:LiabilityForRepresentationsAndWarrantiesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "unique": true
     }
    },
    "R98": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureIncomeTaxesEffectiveIncomeTaxRateDetails",
     "longName": "99941701 - Disclosure - Income Taxes - Effective Income Tax Rate (Details)",
     "shortName": "Income Taxes - Effective Income Tax Rate (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "98",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:EffectiveIncomeTaxRateContinuingOperations",
      "unitRef": "Unit_Standard_pure_AtS8QYk92UakpsGgDAb89Q",
      "xsiNil": "false",
      "lang": null,
      "decimals": "3",
      "ancestors": [
       "p",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:EffectiveIncomeTaxRateContinuingOperations",
      "unitRef": "Unit_Standard_pure_AtS8QYk92UakpsGgDAb89Q",
      "xsiNil": "false",
      "lang": null,
      "decimals": "3",
      "ancestors": [
       "p",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R99": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureCommitmentsAndContingenciesOtherDetails",
     "longName": "99941801 - Disclosure - Commitments and Contingencies - Other (Details)",
     "shortName": "Commitments and Contingencies - Other (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "99",
     "firstAnchor": {
      "contextRef": "As_Of_3_31_2026_Pj_h0mQeI0Gw9Wvenf4J9Q",
      "name": "pfsi:CommitmentsToPurchaseAndFundMortgageLoans",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-8",
      "ancestors": [
       "p",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "As_Of_3_31_2026_Pj_h0mQeI0Gw9Wvenf4J9Q",
      "name": "pfsi:CommitmentsToPurchaseAndFundMortgageLoans",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-8",
      "ancestors": [
       "p",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R100": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureStockholdersEquityDetails",
     "longName": "99941901 - Disclosure - Stockholders' Equity (Details)",
     "shortName": "Stockholders' Equity (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "100",
     "firstAnchor": {
      "contextRef": "As_Of_3_31_2026_Pj_h0mQeI0Gw9Wvenf4J9Q",
      "name": "srt:StockRepurchaseProgramAuthorizedAmount1",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-9",
      "ancestors": [
       "p",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2015_To_3_31_2026_rw2QHnaEcEWczVFOilGz1A",
      "name": "us-gaap:StockRepurchasedAndRetiredDuringPeriodShares",
      "unitRef": "Unit_Standard_shares_-UffP9ZIdkOOxiTEu2j5fg",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfTreasuryStockByClassTextBlock",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "unique": true
     }
    },
    "R101": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureNetGainsOnLoansHeldForSaleDetails",
     "longName": "99942001 - Disclosure - Net Gains on Loans Held for Sale (Details)",
     "shortName": "Net Gains on Loans Held for Sale (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "101",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "pfsi:ProvisionsForRepresentationsAndWarrantiesLossesPursuantToMortgageLoanSales",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "pfsi:ScheduleOfMortgageLoansRepurchaseActivityTableTextBlock",
       "pfsi:LiabilityForRepresentationsAndWarrantiesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_NonrelatedPartyMember_xVHZ2pM7YUS26mg3XjaU7Q",
      "name": "pfsi:GainLossOnSaleOfMortgageLoansHeldForSaleCashPortion",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "pfsi:MortgageLoansHeldForSaleGainLossDisclosureTableTextBlock",
       "pfsi:MortgageLoansHeldForSaleGainLossDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "unique": true
     }
    },
    "R102": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpenseDetails",
     "longName": "99942101 - Disclosure - Net Interest Expense (Details)",
     "shortName": "Net Interest Expense (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "102",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:InterestIncomeOperating",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_NonrelatedPartyMember_xVHZ2pM7YUS26mg3XjaU7Q",
      "name": "us-gaap:InterestIncomeMoneyMarketDeposits",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InterestIncomeAndInterestExpenseDisclosureTableTextBlock",
       "us-gaap:InterestIncomeAndInterestExpenseDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "unique": true
     }
    },
    "R103": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureStockBasedCompensationOtherDetails",
     "longName": "99942201 - Disclosure - Stock-based Compensation - Other (Details)",
     "shortName": "Stock-based Compensation - Other (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "103",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "pfsi:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOptionsAndEquityInstrumentsOtherThanOptionsGrantsInPeriodTotalFairValue",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "pfsi:ScheduleOfCompensationCostAndGrantDateFairValueAndGrantedAndVestedUnitsForShareBasedPaymentArrangementsByTypeTableTextBlock",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "pfsi:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOptionsAndEquityInstrumentsOtherThanOptionsGrantsInPeriodTotalFairValue",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "pfsi:ScheduleOfCompensationCostAndGrantDateFairValueAndGrantedAndVestedUnitsForShareBasedPaymentArrangementsByTypeTableTextBlock",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R104": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureDisaggregationOfCertainExpenseCaptionsDetails",
     "longName": "99942301 - Disclosure - Disaggregation of Certain Expense Captions (Details)",
     "shortName": "Disaggregation of Certain Expense Captions (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "104",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:CapitalizedComputerSoftwareAmortization1",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_us-gaap_AccountingStandardsUpdate202403Member_TYJvGriNwEGvA9cYgAlW4g",
      "name": "us-gaap:CapitalizedComputerSoftwareAmortization1",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
       "us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "unique": true
     }
    },
    "R105": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureEarningsPerShareDetails",
     "longName": "99942401 - Disclosure - Earnings Per Share (Details)",
     "shortName": "Earnings Per Share (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "105",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:NetIncomeLoss",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:IncrementalCommonSharesAttributableToShareBasedPaymentArrangements",
      "unitRef": "Unit_Standard_shares_-UffP9ZIdkOOxiTEu2j5fg",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "unique": true
     }
    },
    "R106": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureRegulatoryCapitalAndLiquidityRequirementsDetails",
     "longName": "99942501 - Disclosure - Regulatory Capital and Liquidity Requirements (Details)",
     "shortName": "Regulatory Capital and Liquidity Requirements (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "106",
     "firstAnchor": {
      "contextRef": "As_Of_3_31_2026_us-gaap_RegulatoryCapitalRequirementsForMortgageCompaniesBySecondaryMarketInvestorAxis_pfsi_FannieMaeFreddieMacMember_jmVrPwAeZUSwXTtx3LA5sg",
      "name": "us-gaap:Capital",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfComplianceWithRegulatoryCapitalRequirementsForMortgageCompaniesTextBlock",
       "us-gaap:RegulatoryCapitalRequirementsForMortgageCompaniesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "As_Of_3_31_2026_us-gaap_RegulatoryCapitalRequirementsForMortgageCompaniesBySecondaryMarketInvestorAxis_pfsi_FannieMaeFreddieMacMember_jmVrPwAeZUSwXTtx3LA5sg",
      "name": "us-gaap:Capital",
      "unitRef": "Unit_Standard_USD_RkUDBXTBW06b01Pdax96zQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfComplianceWithRegulatoryCapitalRequirementsForMortgageCompaniesTextBlock",
       "us-gaap:RegulatoryCapitalRequirementsForMortgageCompaniesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R107": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails",
     "longName": "99942601 - Disclosure - Segments (Details)",
     "shortName": "Segments (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "107",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:NumberOfOperatingSegments",
      "unitRef": "Unit_Standard_segment_mYBCbJ7raUykDqvXUOor4A",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "us-gaap:NumberOfReportableSegments",
       "p",
       "us-gaap:SegmentReportingDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2026_To_3_31_2026_VoEA3lhmvkC_YBPCv6MH-g",
      "name": "us-gaap:NumberOfOperatingSegments",
      "unitRef": "Unit_Standard_segment_mYBCbJ7raUykDqvXUOor4A",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "us-gaap:NumberOfReportableSegments",
       "p",
       "us-gaap:SegmentReportingDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    },
    "R108": {
     "role": "http://www.pennymacfinancial.com/role/DisclosureSubsequentEventsDetails",
     "longName": "99942701 - Disclosure - Subsequent Events (Details)",
     "shortName": "Subsequent Events (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "108",
     "firstAnchor": {
      "contextRef": "Duration_4_1_2026_To_5_5_2026_us-gaap_DividendsAxis_pfsi_O2026Q2DividendsMember_us-gaap_SubsequentEventTypeAxis_us-gaap_SubsequentEventMember_-4T6vGhz0UqkRhHA8EmM8w",
      "name": "us-gaap:DividendsPayableDateDeclaredDayMonthAndYear",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "td",
       "tr",
       "table",
       "us-gaap:SubsequentEventsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_4_1_2026_To_5_5_2026_us-gaap_DividendsAxis_pfsi_O2026Q2DividendsMember_us-gaap_SubsequentEventTypeAxis_us-gaap_SubsequentEventMember_-4T6vGhz0UqkRhHA8EmM8w",
      "name": "us-gaap:DividendsPayableDateDeclaredDayMonthAndYear",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "td",
       "tr",
       "table",
       "us-gaap:SubsequentEventsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pfsi-20260331x10q.htm",
      "first": true,
      "unique": true
     }
    }
   },
   "tag": {
    "us-gaap_AccountingStandardsUpdate202403Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AccountingStandardsUpdate202403Member",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDisaggregationOfCertainExpenseCaptionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Standards Update 2024-03 [Member]",
        "terseLabel": "ASU 2024-03",
        "documentation": "Accounting Standards Update 2024-03 Income Statement - Reporting Comprehensive Income - Expense Disaggregation Disclosures (Subtopic 220-40): Disaggregation of Income Statement Expenses."
       }
      }
     },
     "auth_ref": [
      "r196",
      "r197",
      "r198"
     ]
    },
    "us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounts Payable and Accrued Liabilities",
        "terseLabel": "Accounts payable and accrued expenses",
        "documentation": "Sum of the carrying values as of the balance sheet date of obligations incurred through that date, including liabilities incurred and payable to vendors for goods and services received, taxes, interest, rent and utilities, compensation costs, payroll taxes and fringe benefits (other than pension and postretirement obligations), contractual rights and obligations, and statutory obligations."
       }
      }
     },
     "auth_ref": [
      "r83",
      "r84"
     ]
    },
    "pfsi_AccrualOfUnearnedDiscountsOnMortgageBackedSecurities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "AccrualOfUnearnedDiscountsOnMortgageBackedSecurities",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 29.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The accrual amount of unearned discounts on mortgage-backed securities.",
        "label": "Accrual of Unearned Discounts On Mortgage-backed Securities",
        "terseLabel": "Accrual of unearned discounts on principal-only stripped mortgage-backed securities"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AccruedIncomeTaxes": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AccruedIncomeTaxes",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accrued Income Taxes",
        "terseLabel": "Income taxes payable",
        "documentation": "Carrying amount as of the balance sheet date of the unpaid sum of the known and estimated amounts payable to satisfy all domestic and foreign income tax obligations due. This amount is the total of current and noncurrent accrued income taxes."
       }
      }
     },
     "auth_ref": [
      "r44",
      "r49",
      "r83",
      "r846"
     ]
    },
    "ecd_Additional402vDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "Additional402vDisclosureTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional 402(v) Disclosure [Text Block]",
        "terseLabel": "Additional 402(v) Disclosure"
       }
      }
     },
     "auth_ref": [
      "r1204"
     ]
    },
    "us-gaap_AdditionalCashFlowElementsFinancingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AdditionalCashFlowElementsFinancingActivitiesAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Cash Flow Elements, Financing Activities [Abstract]",
        "terseLabel": "Non-cash financing activities:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AdditionalCashFlowElementsInvestingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AdditionalCashFlowElementsInvestingActivitiesAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Cash Flow Elements, Investing Activities [Abstract]",
        "terseLabel": "Non-cash investing activities:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AdditionalPaidInCapitalCommonStock": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AdditionalPaidInCapitalCommonStock",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Paid in Capital, Common Stock",
        "terseLabel": "Additional paid-in capital",
        "documentation": "Value received from shareholders in common stock-related transactions that are in excess of par value or stated value and amounts received from other stock-related transactions. Includes only common stock transactions (excludes preferred stock transactions). May be called contributed capital, capital in excess of par, capital surplus, or paid-in capital."
       }
      }
     },
     "auth_ref": [
      "r54"
     ]
    },
    "us-gaap_AdditionalPaidInCapitalMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AdditionalPaidInCapitalMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional Paid-in Capital [Member]",
        "terseLabel": "Additional paid-in capital",
        "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."
       }
      }
     },
     "auth_ref": [
      "r906",
      "r1310",
      "r1311",
      "r1312",
      "r1315",
      "r1394",
      "r1485"
     ]
    },
    "ecd_AdjToCompAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AdjToCompAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustment to Compensation Amount",
        "terseLabel": "Adjustment to Compensation, Amount"
       }
      }
     },
     "auth_ref": [
      "r1217"
     ]
    },
    "ecd_AdjToCompAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AdjToCompAxis",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustment to Compensation [Axis]",
        "terseLabel": "Adjustment to Compensation:"
       }
      }
     },
     "auth_ref": [
      "r1217"
     ]
    },
    "ecd_AdjToNonPeoNeoCompFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AdjToNonPeoNeoCompFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustment to Non-PEO NEO Compensation Footnote [Text Block]",
        "terseLabel": "Adjustment to Non-PEO NEO Compensation Footnote"
       }
      }
     },
     "auth_ref": [
      "r1217"
     ]
    },
    "ecd_AdjToPeoCompFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AdjToPeoCompFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustment To PEO Compensation, Footnote [Text Block]",
        "terseLabel": "Adjustment To PEO Compensation, Footnote"
       }
      }
     },
     "auth_ref": [
      "r1217"
     ]
    },
    "pfsi_AdjustedNetWorthTotalAssetsRatioActual": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "AdjustedNetWorthTotalAssetsRatioActual",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRegulatoryCapitalAndLiquidityRequirementsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The adjusted net worth to total assets ratio actual.",
        "label": "Adjusted Net Worth Total Assets Ratio Actual",
        "terseLabel": "Adjusted net worth / Total assets ratio actual"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_AdjustedNetWorthTotalAssetsRatioRequirement": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "AdjustedNetWorthTotalAssetsRatioRequirement",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRegulatoryCapitalAndLiquidityRequirementsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The adjusted net worth to total assets ratio requirement.",
        "label": "Adjusted Net Worth Total Assets Ratio Requirement",
        "terseLabel": "Adjusted net worth / Total assets ratio requirement"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_AdjustmentToSalesOfMortgageServicingRights": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "AdjustmentToSalesOfMortgageServicingRights",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow from the adjustments to sale of servicing rights, which contractually entitle the servicer to receive fees and ancillary revenues for performing billing, collection, disbursement and recordkeeping services in connection with a mortgage portfolio. Rights may be obtained via (1) acquisition or assumption of a servicing obligation that does not relate to financial assets of the servicer or its consolidated affiliates; or (2) by originating mortgage loans and then (a) transferring the loans to a Variable Interest Entity (VIE) in a transaction that meets the necessary transfer and classification requirements, or (b) transferring the loans in a transaction that meets the requirements for sale accounting.",
        "label": "Adjustment To Sales Of Mortgage Servicing Rights",
        "negatedLabel": "Adjustment to sales of mortgage servicing rights to non-affiliates"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AdjustmentsForNewAccountingPronouncementsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AdjustmentsForNewAccountingPronouncementsAxis",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDisaggregationOfCertainExpenseCaptionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Standards Update [Axis]",
        "documentation": "Information by amendment to accounting standards."
       }
      }
     },
     "auth_ref": [
      "r162",
      "r163",
      "r164",
      "r165",
      "r166",
      "r167",
      "r168",
      "r169",
      "r170",
      "r171",
      "r172",
      "r196",
      "r197",
      "r198",
      "r229",
      "r230",
      "r231",
      "r232",
      "r233",
      "r243",
      "r301",
      "r302",
      "r335",
      "r338",
      "r339",
      "r340",
      "r368",
      "r369",
      "r373",
      "r415",
      "r416",
      "r419",
      "r420",
      "r497",
      "r498",
      "r499",
      "r500",
      "r514",
      "r515",
      "r516",
      "r517",
      "r518",
      "r524",
      "r525",
      "r526",
      "r527",
      "r528",
      "r529",
      "r531",
      "r532",
      "r533",
      "r534",
      "r535",
      "r536",
      "r539",
      "r540",
      "r541",
      "r542",
      "r543",
      "r609",
      "r610",
      "r611",
      "r612",
      "r613",
      "r614",
      "r615",
      "r616",
      "r618",
      "r619",
      "r626",
      "r627",
      "r628",
      "r629",
      "r630",
      "r631",
      "r632",
      "r634",
      "r635",
      "r636",
      "r637",
      "r662",
      "r663",
      "r689",
      "r690",
      "r710",
      "r712",
      "r713",
      "r714",
      "r715",
      "r716",
      "r878",
      "r879",
      "r880",
      "r881",
      "r882",
      "r883",
      "r884",
      "r885",
      "r886",
      "r887",
      "r888",
      "r889"
     ]
    },
    "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "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 income to net cash (used in) provided by operating activities:"
       }
      }
     },
     "auth_ref": []
    },
    "srt_AffiliatedEntityMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "AffiliatedEntityMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsAmountsDueFromAffiliateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Affiliated Entity [Member]",
        "terseLabel": "Affiliated entities",
        "documentation": "An affiliate is a party that, directly or indirectly through one or more intermediaries, controls, is controlled by, or is under common control with the entity."
       }
      }
     },
     "auth_ref": [
      "r133",
      "r1046",
      "r1153",
      "r1348",
      "r1426",
      "r1427",
      "r1428",
      "r1482"
     ]
    },
    "pfsi_AgenciesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "AgenciesMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to agencies.",
        "label": "Non affiliated entities",
        "terseLabel": "Non affiliated entities"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_AggregateCashGainLossOnSaleOfMortgageLoansHeldForSaleNetOfCashHedgingResults": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "AggregateCashGainLossOnSaleOfMortgageLoansHeldForSaleNetOfCashHedgingResults",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureNetGainsOnLoansHeldForSaleDetails": {
       "parentTag": "us-gaap_GainLossOnSalesOfLoansNet",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureNetGainsOnLoansHeldForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net cash gains (losses) on sale of mortgage loans held for sale, net of cash results from hedging activities.",
        "label": "Aggregate Cash Gain (Loss) on Sale of Mortgage Loans Held For Sale Net of Cash Hedging Results",
        "totalLabel": "Cash gain (loss), net of effects of cash hedging, on sale of loans held for sale"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_AggtChngPnsnValInSummryCompstnTblForAplblYrMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AggtChngPnsnValInSummryCompstnTblForAplblYrMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Aggregate Change in Present Value of Accumulated Benefit for All Pension Plans Reported in Summary Compensation Table [Member]",
        "terseLabel": "Aggregate Change in Present Value of Accumulated Benefit for All Pension Plans Reported in Summary Compensation Table"
       }
      }
     },
     "auth_ref": [
      "r1250"
     ]
    },
    "ecd_AggtErrCompAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AggtErrCompAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Aggregate Erroneous Compensation Amount",
        "terseLabel": "Aggregate Erroneous Compensation Amount"
       }
      }
     },
     "auth_ref": [
      "r1176",
      "r1186",
      "r1196",
      "r1228"
     ]
    },
    "ecd_AggtErrCompNotYetDeterminedTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AggtErrCompNotYetDeterminedTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Aggregate Erroneous Compensation Not Yet Determined [Text Block]",
        "terseLabel": "Aggregate Erroneous Compensation Not Yet Determined"
       }
      }
     },
     "auth_ref": [
      "r1179",
      "r1189",
      "r1199",
      "r1231"
     ]
    },
    "ecd_AggtPnsnAdjsSvcCstMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AggtPnsnAdjsSvcCstMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Aggregate Pension Adjustments Service Cost [Member]",
        "terseLabel": "Aggregate Pension Adjustments Service Cost"
       }
      }
     },
     "auth_ref": [
      "r1251"
     ]
    },
    "ecd_AllAdjToCompMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AllAdjToCompMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Adjustments to Compensation [Member]",
        "terseLabel": "All Adjustments to Compensation"
       }
      }
     },
     "auth_ref": [
      "r1217"
     ]
    },
    "ecd_AllExecutiveCategoriesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AllExecutiveCategoriesMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Executive Categories [Member]",
        "terseLabel": "All Executive Categories"
       }
      }
     },
     "auth_ref": [
      "r1224"
     ]
    },
    "ecd_AllIndividualsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AllIndividualsMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure",
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure",
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements",
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Individuals [Member]",
        "terseLabel": "All Individuals"
       }
      }
     },
     "auth_ref": [
      "r1180",
      "r1190",
      "r1200",
      "r1224",
      "r1232",
      "r1236",
      "r1244"
     ]
    },
    "pfsi_AllOtherStatesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "AllOtherStatesMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesGeographicalDistributionOfLoansDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to all other states.",
        "label": "All other states",
        "terseLabel": "All other states"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_AllTradingArrangementsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AllTradingArrangementsMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Trading Arrangements [Member]",
        "terseLabel": "All Trading Arrangements"
       }
      }
     },
     "auth_ref": [
      "r1242"
     ]
    },
    "us-gaap_AllocatedShareBasedCompensationExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AllocatedShareBasedCompensationExpense",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureStockBasedCompensationOtherDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Payment Arrangement, Expense",
        "verboseLabel": "Stock-based compensation expense",
        "documentation": "Amount of expense for award under share-based payment arrangement. Excludes amount capitalized."
       }
      }
     },
     "auth_ref": [
      "r493",
      "r501",
      "r502"
     ]
    },
    "us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Allowance for Credit Loss [Table Text Block]",
        "terseLabel": "Summary of the allowance for losses",
        "documentation": "Tabular disclosure of allowance for credit loss on financing receivable."
       }
      }
     },
     "auth_ref": [
      "r1334"
     ]
    },
    "pfsi_AmendedAndRestatedLoanAndSecurityAgreementMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "AmendedAndRestatedLoanAndSecurityAgreementMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents amended and restated loan and security agreement.",
        "label": "Loan and Security Agreement",
        "terseLabel": "Loan and Security Agreement"
       }
      }
     },
     "auth_ref": []
    },
    "dei_AmendmentFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "AmendmentFlag",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Amendment Flag",
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AmortizationOfFinancingCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AmortizationOfFinancingCosts",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoanParticipationAndSaleAgreementDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Amortization of Debt Issuance Costs",
        "terseLabel": "Amortization of debt issuance costs",
        "documentation": "Amount of amortization expense attributable to debt issuance costs."
       }
      }
     },
     "auth_ref": [
      "r63",
      "r411",
      "r1297",
      "r1420"
     ]
    },
    "us-gaap_AmortizationOfFinancingCostsAndDiscounts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AmortizationOfFinancingCostsAndDiscounts",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Amortization of Debt Issuance Costs and Discounts",
        "verboseLabel": "Amortization of debt issuance costs",
        "documentation": "Amount of amortization expense attributable to debt discount (premium) and debt issuance costs."
       }
      }
     },
     "auth_ref": [
      "r411",
      "r1090",
      "r1091",
      "r1297",
      "r1420"
     ]
    },
    "us-gaap_AncillaryFeeIncomeGeneratedByServicingFinancialAssetsAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AncillaryFeeIncomeGeneratedByServicingFinancialAssetsAmount",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesServicingLateAncillaryAndOtherFeesRelatingToMsrsDetails": {
       "parentTag": "us-gaap_ContractuallySpecifiedServicingFeesLateFeesAndAncillaryFeesEarnedInExchangeForServicingFinancialAssets",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesServicingLateAncillaryAndOtherFeesRelatingToMsrsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Ancillary Fee Income Generated by Servicing Financial Assets, Amount",
        "verboseLabel": "Other",
        "documentation": "All amounts that are due to the servicer of a financial asset, excluding contractually specified servicing fees and late fees."
       }
      }
     },
     "auth_ref": [
      "r768"
     ]
    },
    "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureEarningsPerShareDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount",
        "verboseLabel": "Total anti-dilutive RSUs and stock options (in shares)",
        "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."
       }
      }
     },
     "auth_ref": [
      "r256"
     ]
    },
    "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureEarningsPerShareDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Antidilutive Securities [Axis]",
        "documentation": "Information by type of antidilutive security."
       }
      }
     },
     "auth_ref": [
      "r256"
     ]
    },
    "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureEarningsPerShareDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]",
        "terseLabel": "Earnings Per Share",
        "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."
       }
      }
     },
     "auth_ref": [
      "r256"
     ]
    },
    "us-gaap_AntidilutiveSecuritiesNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AntidilutiveSecuritiesNameDomain",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureEarningsPerShareDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Antidilutive Securities, Name [Domain]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r256"
     ]
    },
    "us-gaap_AssetAcquisitionAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AssetAcquisitionAxis",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureOrganizationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Asset Acquisition [Axis]",
        "documentation": "Information by asset acquisition."
       }
      }
     },
     "auth_ref": [
      "r361",
      "r362",
      "r363",
      "r364",
      "r365",
      "r366",
      "r892",
      "r1377"
     ]
    },
    "us-gaap_AssetAcquisitionConsiderationTransferred": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AssetAcquisitionConsiderationTransferred",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureOrganizationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Asset Acquisition, Consideration Transferred",
        "terseLabel": "Asset acquisition purchase price",
        "documentation": "Amount of consideration transferred in asset acquisition. Includes, but is not limited to, cash, liability incurred by acquirer, and equity interest issued by acquirer."
       }
      }
     },
     "auth_ref": [
      "r1109",
      "r1378",
      "r1379",
      "r1380"
     ]
    },
    "us-gaap_AssetAcquisitionContingentConsiderationLiability": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AssetAcquisitionContingentConsiderationLiability",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureOrganizationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Asset Acquisition, Contingent Consideration, Liability",
        "terseLabel": "Contingent consideration payable",
        "documentation": "Amount of liability recognized from contingent consideration in asset acquisition."
       }
      }
     },
     "auth_ref": [
      "r1377"
     ]
    },
    "pfsi_AssetAcquisitionContingentConsiderationLiabilityPeriod": {
     "xbrltype": "durationItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "AssetAcquisitionContingentConsiderationLiabilityPeriod",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureOrganizationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The asset acquisition contingent consideration liability period.",
        "label": "Asset Acquisition Contingent Consideration Liability Period",
        "terseLabel": "Contingent consideration period"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AssetAcquisitionDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AssetAcquisitionDomain",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureOrganizationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Asset Acquisition [Domain]",
        "documentation": "Asset acquisition."
       }
      }
     },
     "auth_ref": [
      "r361",
      "r362",
      "r363",
      "r364",
      "r365",
      "r366",
      "r892",
      "r1377"
     ]
    },
    "us-gaap_AssetAcquisitionLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AssetAcquisitionLineItems",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureOrganizationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Asset Acquisition [Line Items]",
        "terseLabel": "Organization",
        "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."
       }
      }
     },
     "auth_ref": [
      "r361",
      "r1377"
     ]
    },
    "us-gaap_AssetAcquisitionTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AssetAcquisitionTable",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureOrganizationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Asset Acquisition [Table]",
        "documentation": "Disclosure of information about asset acquisition."
       }
      }
     },
     "auth_ref": [
      "r361",
      "r1377"
     ]
    },
    "us-gaap_AssetPledgedAsCollateralWithoutRightMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AssetPledgedAsCollateralWithoutRightMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoansHeldForSaleAtFairValueDetails",
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails",
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesActivityInMsrsAtFairValueDetails",
      "http://www.pennymacfinancial.com/role/DisclosureOtherAssetsOtherDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoanParticipationAndSaleAgreementDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Asset Pledged as Collateral without Right [Member]",
        "terseLabel": "Asset Pledged as Collateral without Right",
        "documentation": "Asset pledged as collateral for which secured party (transferee) does not have right to sell or repledge by contract or custom."
       }
      }
     },
     "auth_ref": [
      "r545",
      "r755",
      "r757",
      "r1300",
      "r1302"
     ]
    },
    "us-gaap_Assets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "Assets",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets",
        "totalLabel": "Total assets",
        "verboseLabel": "Segment assets at end of quarter",
        "documentation": "Amount of asset recognized for present right to economic benefit."
       }
      }
     },
     "auth_ref": [
      "r81",
      "r112",
      "r181",
      "r207",
      "r210",
      "r211",
      "r260",
      "r271",
      "r289",
      "r293",
      "r334",
      "r385",
      "r386",
      "r388",
      "r389",
      "r390",
      "r391",
      "r392",
      "r394",
      "r395",
      "r545",
      "r549",
      "r675",
      "r831",
      "r832",
      "r845",
      "r946",
      "r1079",
      "r1080",
      "r1092",
      "r1132",
      "r1148",
      "r1149",
      "r1161",
      "r1341",
      "r1342",
      "r1429"
     ]
    },
    "us-gaap_AssetsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AssetsAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets [Abstract]",
        "terseLabel": "ASSETS",
        "verboseLabel": "Acquisition of:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AssetsFairValueDisclosure": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AssetsFairValueDisclosure",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueMeasurementBasisNonrecurringDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets, Fair Value Disclosure",
        "totalLabel": "Total assets",
        "documentation": "Fair value portion of asset recognized for present right to economic benefit."
       }
      }
     },
     "auth_ref": [
      "r639",
      "r640",
      "r1119"
     ]
    },
    "us-gaap_AssetsFairValueDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AssetsFairValueDisclosureAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets, Fair Value Disclosure [Abstract]",
        "terseLabel": "Assets:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AssetsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AssetsMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueChangesInFairValueFairValueOptionRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets [Member]",
        "terseLabel": "Assets",
        "documentation": "Asset recognized for present right to economic benefit."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AssetsPledgingPurposeExtensibleEnumeration": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AssetsPledgingPurposeExtensibleEnumeration",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets, Pledging Purpose [Extensible Enumeration]",
        "documentation": "Indicates pledging purpose of total assets."
       }
      }
     },
     "auth_ref": [
      "r1110",
      "r1133",
      "r1262",
      "r1438"
     ]
    },
    "us-gaap_AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodDomain",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMaturitiesOfOutstandingAdvancesUnderRepurchaseAgreementsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Repurchase Agreements and Similar Transactions, Maturity Periods [Domain]",
        "documentation": "Maturity period remaining for repurchase agreements and similar transactions, for example, but not limited to, securities lending arrangements. Element name and standard label in Maturity [numeric lower end] to [numeric higher end] [date measure] [Member] or Maturity Greater Than [low end numeric value] [date measure] [Member] or Maturity Less Than [high end numeric value] [date measure] [Member] formats."
       }
      }
     },
     "auth_ref": [
      "r207",
      "r219",
      "r760",
      "r1134"
     ]
    },
    "us-gaap_AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodsAxis",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMaturitiesOfOutstandingAdvancesUnderRepurchaseAgreementsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Repurchase Agreements and Similar Transactions, Maturity Periods [Axis]",
        "documentation": "Information by maturity period remaining for repurchase agreements and similar transactions, for example, but not limited to, securities lending arrangements. Element name and standard label in Maturity [numeric lower end] to [numeric higher end] [date measure] [Member] or Maturity Greater Than [low end numeric value] [date measure] [Member] or Maturity Less Than [high end numeric value] [date measure] [Member] formats."
       }
      }
     },
     "auth_ref": [
      "r207",
      "r219",
      "r760",
      "r1134"
     ]
    },
    "us-gaap_AssetsSoldUnderAgreementsToRepurchaseRepurchaseLiability": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AssetsSoldUnderAgreementsToRepurchaseRepurchaseLiability",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 1.0
      },
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets Sold under Agreements to Repurchase, Repurchase Liability",
        "terseLabel": "Assets sold under agreements to repurchase",
        "totalLabel": "Total loans sold under agreements to repurchase",
        "documentation": "Amount, including accrued interest, to be repaid to counterparty to repurchase agreement when carrying amount or market value if higher, of security or other asset sold under repurchase agreement exceeds 10 percent of total assets."
       }
      }
     },
     "auth_ref": [
      "r207",
      "r215",
      "r218",
      "r754",
      "r762"
     ]
    },
    "pfsi_AssetsSoldUnderAgreementsToRepurchaseUnpaidPrincipalBalance": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "AssetsSoldUnderAgreementsToRepurchaseUnpaidPrincipalBalance",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails": {
       "parentTag": "us-gaap_AssetsSoldUnderAgreementsToRepurchaseRepurchaseLiability",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMaturitiesOfOutstandingAdvancesUnderRepurchaseAgreementsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unpaid principal balance of assets sold under agreements to repurchase.",
        "label": "Assets Sold Under Agreements To Repurchase Unpaid Principal Balance",
        "terseLabel": "Unpaid principal balance",
        "verboseLabel": "Unpaid principal balance"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AssumptionForFairValueAsOfBalanceSheetDateOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrLiabilitiesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AssumptionForFairValueAsOfBalanceSheetDateOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrLiabilitiesLineItems",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsInitialRecognitionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assumption for Fair Value as of Balance Sheet Date of Assets or Liabilities that relate to Transferor's Continuing Involvement [Line Items]",
        "terseLabel": "Inputs",
        "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."
       }
      }
     },
     "auth_ref": [
      "r746"
     ]
    },
    "us-gaap_AssumptionForFairValueAsOfBalanceSheetDateOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrLiabilitiesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AssumptionForFairValueAsOfBalanceSheetDateOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrLiabilitiesTable",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsInitialRecognitionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Assumptions for Fair Value as of Balance Sheet Date of Assets or Liabilities that relate to Transferor's Continuing Involvement [Table]",
        "documentation": "Disclosure of information about key input and assumption used after date of securitization in measuring fair value of asset obtained or liability incurred from sale of transferred financial asset relating to transferor's continuing involvement in securitization, asset-backed financing arrangement, and similar transfer."
       }
      }
     },
     "auth_ref": [
      "r746"
     ]
    },
    "pfsi_AssumptionForFairValueOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrLiabilitiesPerLoanCostOfServicing": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "AssumptionForFairValueOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrLiabilitiesPerLoanCostOfServicing",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingLiabilitiesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsInitialRecognitionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the cost of servicing per loan, used to estimate the amount of mortgage servicing rights to recognize at the date of sale of the underlying mortgage loans.",
        "label": "Assumption for Fair Value of Interests Continued to be Held by Transferor Servicing Assets or Liabilities Per Loan Cost of Servicing",
        "terseLabel": "Annual per-loan cost of servicing"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_AssumptionForFairValueOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrLiabilitiesWeightedAverageServicingFeeRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "AssumptionForFairValueOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrLiabilitiesWeightedAverageServicingFeeRate",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsInitialRecognitionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted-average servicing fee rate on financial assets of a securitization, asset-backed financing arrangement, or similar transfer regardless of when the transfer occurred.",
        "label": "Assumption for Fair Value of Interests Continued to be Held by Transferor Servicing Assets or Liabilities Weighted Average Servicing Fee Rate",
        "terseLabel": "Weighted-average servicing fee rate (as a percent)"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_AssumptionForFairValueUnpaidPrincipalBalanceOfUnderlyingLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "AssumptionForFairValueUnpaidPrincipalBalanceOfUnderlyingLoans",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsInitialRecognitionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the amount of unpaid principal balance of mortgage loans underlying mortgage servicing rights recognized pursuant to loan sales during the period.",
        "label": "Assumption for Fair Value Unpaid Principal Balance of Underlying Loans",
        "verboseLabel": "Unpaid principal balance of underlying loans"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_AtlasSecuritizedProductsLPAndCitibankNaAndGoldmanSachsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "AtlasSecuritizedProductsLPAndCitibankNaAndGoldmanSachsMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoansSoldUnderAgreementToRepurchaseByCounterpartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Atlas Securitized Products, L.P. and Citibank, N.A. and Goldman Sachs Bank USA.",
        "label": "Atlas Securitized Products L.P. &amp; Citibank, N.A. &amp; Goldman Sachs Bank USA",
        "terseLabel": "Atlas Securitized Products, L.P., Goldman Sachs Bank USA, Nomura Corporate Funding Americas and Mizuho Bank, Ltd., Barclays Bank PLC"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_AtlasSecuritizedProductsLPMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "AtlasSecuritizedProductsLPMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeLiabilitiesFinancialLiabilitiesAndCollateralHeldByCounterpartyDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoansSoldUnderAgreementToRepurchaseByCounterpartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Atlas Securitized Products, L.P.",
        "label": "Atlas Securitized Products, L.P.",
        "terseLabel": "Atlas Securitized Products, L.P."
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_AverageShareholdersEquityUsedToCalculateBaseManagementFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "AverageShareholdersEquityUsedToCalculateBaseManagementFees",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsManagementFeesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the average shareholders equity used to calculate base management fees.",
        "label": "Average Shareholders Equity Used To Calculate Base Management Fees",
        "terseLabel": "Average PMT's shareholders' equity used to calculate base management fees"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_AwardExrcPrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AwardExrcPrice",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Exercise Price",
        "terseLabel": "Exercise Price"
       }
      }
     },
     "auth_ref": [
      "r1239"
     ]
    },
    "ecd_AwardGrantDateFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AwardGrantDateFairValue",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Grant Date Fair Value",
        "terseLabel": "Fair Value as of Grant Date"
       }
      }
     },
     "auth_ref": [
      "r1240"
     ]
    },
    "ecd_AwardTmgDiscLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AwardTmgDiscLineItems",
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Timing Disclosures [Line Items]",
        "terseLabel": "Award Timing Disclosures"
       }
      }
     },
     "auth_ref": [
      "r1235"
     ]
    },
    "ecd_AwardTmgHowMnpiCnsdrdTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AwardTmgHowMnpiCnsdrdTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Timing, How MNPI Considered [Text Block]",
        "terseLabel": "Award Timing, How MNPI Considered"
       }
      }
     },
     "auth_ref": [
      "r1235"
     ]
    },
    "ecd_AwardTmgMethodTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AwardTmgMethodTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Timing Method [Text Block]",
        "terseLabel": "Award Timing Method"
       }
      }
     },
     "auth_ref": [
      "r1235"
     ]
    },
    "ecd_AwardTmgMnpiCnsdrdFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AwardTmgMnpiCnsdrdFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Timing MNPI Considered [Flag]",
        "terseLabel": "Award Timing MNPI Considered"
       }
      }
     },
     "auth_ref": [
      "r1235"
     ]
    },
    "ecd_AwardTmgMnpiDiscTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AwardTmgMnpiDiscTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Timing MNPI Disclosure [Text Block]",
        "terseLabel": "Award Timing MNPI Disclosure"
       }
      }
     },
     "auth_ref": [
      "r1235"
     ]
    },
    "ecd_AwardTmgPredtrmndFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AwardTmgPredtrmndFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Timing Predetermined [Flag]",
        "terseLabel": "Award Timing Predetermined"
       }
      }
     },
     "auth_ref": [
      "r1235"
     ]
    },
    "us-gaap_AwardTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AwardTypeAxis",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureStockBasedCompensationOtherDetails",
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Type [Axis]",
        "terseLabel": "Award Type",
        "documentation": "Information by type of award under share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r466",
      "r467",
      "r468",
      "r469",
      "r470",
      "r471",
      "r472",
      "r473",
      "r474",
      "r475",
      "r476",
      "r477",
      "r478",
      "r479",
      "r480",
      "r481",
      "r482",
      "r483",
      "r484",
      "r485",
      "r486",
      "r488",
      "r489",
      "r490",
      "r491",
      "r492"
     ]
    },
    "ecd_AwardUndrlygSecuritiesAmt": {
     "xbrltype": "decimalItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AwardUndrlygSecuritiesAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Award Underlying Securities Amount",
        "terseLabel": "Underlying Securities"
       }
      }
     },
     "auth_ref": [
      "r1238"
     ]
    },
    "ecd_AwardsCloseToMnpiDiscIndName": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AwardsCloseToMnpiDiscIndName",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Awards Close in Time to MNPI Disclosures, Individual Name",
        "terseLabel": "Name"
       }
      }
     },
     "auth_ref": [
      "r1237"
     ]
    },
    "ecd_AwardsCloseToMnpiDiscTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AwardsCloseToMnpiDiscTable",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Awards Close in Time to MNPI Disclosures [Table]",
        "terseLabel": "Awards Close in Time to MNPI Disclosures"
       }
      }
     },
     "auth_ref": [
      "r1236"
     ]
    },
    "ecd_AwardsCloseToMnpiDiscTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "AwardsCloseToMnpiDiscTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Awards Close in Time to MNPI Disclosures [Table Text Block]",
        "terseLabel": "Awards Close in Time to MNPI Disclosures, Table"
       }
      }
     },
     "auth_ref": [
      "r1236"
     ]
    },
    "pfsi_BNPParibasMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "BNPParibasMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeLiabilitiesFinancialLiabilitiesAndCollateralHeldByCounterpartyDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoansSoldUnderAgreementToRepurchaseByCounterpartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to BNP Paribas.",
        "label": "BNP Paribas",
        "terseLabel": "BNP Paribas"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_BankOfAmericaMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "BankOfAmericaMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeAssetsFinancialAssetsAndCollateralHeldByCounterpartyDetails",
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeLiabilitiesFinancialLiabilitiesAndCollateralHeldByCounterpartyDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoansSoldUnderAgreementToRepurchaseByCounterpartyDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtPrincipalOnlyStrippedMbsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Bank of America.",
        "label": "Bank of America, N.A.",
        "terseLabel": "Bank of America, N.A."
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_BankOfMontrealMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "BankOfMontrealMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeAssetsFinancialAssetsAndCollateralHeldByCounterpartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Bank of Montreal.",
        "label": "Bank of Montreal [Member]",
        "terseLabel": "Bank of Montreal"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_BankingFeesAndCommissionAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "BankingFeesAndCommissionAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Not available.",
        "label": "Banking Fees And Commission Abstract",
        "terseLabel": "Loan servicing fees:"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_BarclaysBankPlcMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "BarclaysBankPlcMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeAssetsFinancialAssetsAndCollateralHeldByCounterpartyDetails",
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeLiabilitiesFinancialLiabilitiesAndCollateralHeldByCounterpartyDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoansSoldUnderAgreementToRepurchaseByCounterpartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Barclays Bank PLC.",
        "label": "Barclays",
        "terseLabel": "Barclays Capital"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_BaseManagementFeeCalculationTrancheOneMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "BaseManagementFeeCalculationTrancheOneMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsManagementFeesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to the calculation of base management fees, tranche one, per the amended management agreement.",
        "label": "Shareholders Equity Up To 2 Billion Dollars",
        "terseLabel": "Shareholders Equity Up To 2 Billion Dollars"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_BaseManagementFeeCalculationTrancheThreeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "BaseManagementFeeCalculationTrancheThreeMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsManagementFeesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to the calculation of base management fees, tranche three, per the amended management agreement.",
        "label": "Shareholders Equity In Excess Of 5 Billion Dollars",
        "terseLabel": "Shareholders Equity In Excess Of 5 Billion Dollars"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_BaseManagementFeeCalculationTrancheTwoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "BaseManagementFeeCalculationTrancheTwoMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsManagementFeesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to the calculation of base management fees, tranche two, per the amended management agreement.",
        "label": "Shareholders Equity In Excess Of 2 Billion Dollars And Upto 5 Billion Dollars",
        "terseLabel": "Shareholders Equity In Excess Of 2 Billion Dollars And Upto 5 Billion Dollars"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BasisOfAccounting": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BasisOfAccounting",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureBasisOfPresentationAndRecentlyIssuedAccountingPronouncements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Basis of Accounting [Text Block]",
        "terseLabel": "Basis of Presentation and Recently Issued Accounting Pronouncements",
        "documentation": "The entire disclosure for the 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)."
       }
      }
     },
     "auth_ref": [
      "r1299"
     ]
    },
    "us-gaap_BasisOfAccountingPolicyPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BasisOfAccountingPolicyPolicyTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureBasisOfPresentationAndRecentlyIssuedAccountingPronouncementsPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Basis of Accounting, Policy [Policy Text Block]",
        "verboseLabel": "Basis of Presentation",
        "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)."
       }
      }
     },
     "auth_ref": [
      "r1299"
     ]
    },
    "pfsi_BasisOfPresentationAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "BasisOfPresentationAbstract",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Not available.",
        "label": "Basis of Presentation and Recently Issued Accounting Pronouncements"
       }
      }
     },
     "auth_ref": []
    },
    "stpr_CA": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/stpr/2025",
     "localname": "CA",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesGeographicalDistributionOfLoansDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "CALIFORNIA",
        "terseLabel": "California"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_CallOptionOnInterestRateFuturesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "CallOptionOnInterestRateFuturesMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to the call option on interest rate futures.",
        "label": "Call options on Eurodollar futures",
        "terseLabel": "Call options on Eurodollar futures",
        "verboseLabel": "Call options on interest rate"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_Capital": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "Capital",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRegulatoryCapitalAndLiquidityRequirementsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Banking Regulation, Total Capital, Actual",
        "terseLabel": "Net worth",
        "documentation": "Amount of total capital as defined by regulatory framework."
       }
      }
     },
     "auth_ref": [
      "r840"
     ]
    },
    "pfsi_CapitalizationOfInterestOnMortgageLoansHeldForSaleAtFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "CapitalizationOfInterestOnMortgageLoansHeldForSaleAtFairValue",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 28.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents capitalization of delinquent mortgage interest to mortgage loan balances pursuant to loan modifications.",
        "label": "Capitalization Of Interest On Mortgage Loans Held For Sale At Fair Value",
        "negatedLabel": "Capitalization of interest on loans held for sale"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CapitalizedComputerSoftwareAmortization1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CapitalizedComputerSoftwareAmortization1",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureDisaggregationOfCertainExpenseCaptionsDetails": {
       "parentTag": "us-gaap_CommunicationsAndInformationTechnology",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDisaggregationOfCertainExpenseCaptionsDetails",
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capitalized Computer Software, Amortization",
        "verboseLabel": "Amortization of capitalized software",
        "documentation": "Amount of expense for amortization of capitalized computer software costs."
       }
      }
     },
     "auth_ref": [
      "r1055",
      "r1057"
     ]
    },
    "us-gaap_CapitalizedComputerSoftwareImpairments1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CapitalizedComputerSoftwareImpairments1",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureDisaggregationOfCertainExpenseCaptionsDetails": {
       "parentTag": "us-gaap_CommunicationsAndInformationTechnology",
       "weight": 1.0,
       "order": 2.0
      },
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 12.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDisaggregationOfCertainExpenseCaptionsDetails",
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capitalized Computer Software, Impairments",
        "terseLabel": "Impairment of capitalized software",
        "verboseLabel": "Impairment of capitalized software",
        "documentation": "Amount of impairment loss from capitalized computer software costs."
       }
      }
     },
     "auth_ref": [
      "r1056",
      "r1057"
     ]
    },
    "us-gaap_CapitalizedComputerSoftwareNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CapitalizedComputerSoftwareNet",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureOtherAssetsOtherDetails": {
       "parentTag": "us-gaap_OtherAssets",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureOtherAssetsOtherDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capitalized Computer Software, Net",
        "verboseLabel": "Capitalized software, net",
        "documentation": "The carrying amount of capitalized computer software costs net of accumulated amortization as of the balance sheet date."
       }
      }
     },
     "auth_ref": [
      "r1054"
     ]
    },
    "us-gaap_Cash": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "Cash",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash",
        "terseLabel": "Cash",
        "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. Excludes cash and cash equivalents within disposal group and discontinued operation."
       }
      }
     },
     "auth_ref": [
      "r114",
      "r850",
      "r908",
      "r939",
      "r1132",
      "r1148",
      "r1149",
      "r1161",
      "r1274"
     ]
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents",
        "periodEndLabel": "Cash at end of quarter",
        "periodStartLabel": "Cash at beginning of quarter",
        "documentation": "Amount of cash and cash equivalent, and cash and cash equivalent restricted to withdrawal or usage; attributable to continuing operation. Cash includes, but is not limited to, currency on hand, demand deposit with financial institution, and account with general characteristic of demand deposit. Cash equivalent includes, but is not limited to, short-term, highly liquid investment that is both readily convertible to known amount of cash and so near maturity that it presents insignificant risk of change in value because of change in interest rate."
       }
      }
     },
     "auth_ref": [
      "r13",
      "r68",
      "r206"
     ]
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents, Period Increase (Decrease), Including Exchange Rate Effect",
        "totalLabel": "Net decrease in cash",
        "documentation": "Amount of increase (decrease) in cash and cash equivalent, and cash and cash equivalent restricted to withdrawal or usage; including effect from exchange rate change and including, but not limited to, discontinued operation. Cash includes, but is not limited to, currency on hand, demand deposit with financial institution, and account with general characteristic of demand deposit. Cash equivalent includes, but is not limited to, short-term, highly liquid investment that is both readily convertible to known amount of cash and so near maturity that it presents insignificant risk of change in value because of change in interest rate."
       }
      }
     },
     "auth_ref": [
      "r0",
      "r68"
     ]
    },
    "us-gaap_CashFlowsBetweenTransfereeAndTransferorAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CashFlowsBetweenTransfereeAndTransferorAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfCashFlowsWithTransfereesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash Flows Between Transferor and Transferee [Abstract]",
        "terseLabel": "Cash flows:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CashFlowsBetweenTransfereeAndTransferorProceedsFromNewTransfers": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CashFlowsBetweenTransfereeAndTransferorProceedsFromNewTransfers",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfCashFlowsWithTransfereesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash Flows Between Transferor and Transferee, Proceeds from New Transfers",
        "terseLabel": "Sales proceeds",
        "documentation": "Cash Flows between a transferor and a transferee attributable to newly transferred assets related to either a securitization, asset-backed financing arrangement, or similar transfer in which the transferor has continuing involvement with the transferred financial assets underlying the transaction (including, but not limited to, servicing, recourse, and restrictions on transferor's interests in the transferred financial assets)."
       }
      }
     },
     "auth_ref": [
      "r742"
     ]
    },
    "us-gaap_CashFlowsBetweenTransfereeAndTransferorServicingFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CashFlowsBetweenTransfereeAndTransferorServicingFees",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfCashFlowsWithTransfereesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash Flows Between Transferor and Transferee, Servicing Fees",
        "terseLabel": "Servicing fees received",
        "documentation": "Cash Flows between a transferee and a transferor attributable to servicing fees related to a securitization, asset-backed financing arrangement, or similar transfer in which the transferor has continuing involvement with the transferred financial assets underlying the transaction (including, but not limited to, servicing, recourse, and restrictions on transferor's interests in the transferred financial assets)."
       }
      }
     },
     "auth_ref": [
      "r743"
     ]
    },
    "pfsi_CashPortionOfGainLossOnMortgageLoansHeldForSaleAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "CashPortionOfGainLossOnMortgageLoansHeldForSaleAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureNetGainsOnLoansHeldForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Not applicable.",
        "label": "Cash Portion of Gain (Loss) on Mortgage Loans Held For Sale [Abstract]",
        "verboseLabel": "Cash losses:"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_CenlarCapitalCorporationSubservicingBusinessMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "CenlarCapitalCorporationSubservicingBusinessMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureOrganizationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to the Cenlar Capital Corporation subservicing business.",
        "label": "Cenlar Capital Corporation Subservicing Business [Member]",
        "terseLabel": "Cenlar Capital Corporation Subservicing Business"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ChangeInFairValueHedgingInstrumentsStillHeldAtPeriodEnd": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ChangeInFairValueHedgingInstrumentsStillHeldAtPeriodEnd",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureNetGainsOnLoansHeldForSaleDetails": {
       "parentTag": "us-gaap_GainLossOnSalesOfLoansNet",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureNetGainsOnLoansHeldForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the change in fair value hedging instruments still held at period end.",
        "label": "Change in Fair Value Hedging Instruments Still Held at Period End",
        "terseLabel": "Hedging derivatives"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ChangeInFairValueOfCommitmentsToPurchaseLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ChangeInFairValueOfCommitmentsToPurchaseLoans",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureNetGainsOnLoansHeldForSaleDetails": {
       "parentTag": "us-gaap_GainLossOnSalesOfLoansNet",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureNetGainsOnLoansHeldForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The gains (losses) that represent change in fair value of commitments to purchase or originate mortgage loans at specified interest rates.",
        "label": "Change in Fair Value of Commitments to Purchase Loans",
        "terseLabel": "Interest rate lock commitments"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ChangeInFairValueOfMortgageLoansAndRelatedHedgingInstrumentsStillHeldAtPeriodEndAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ChangeInFairValueOfMortgageLoansAndRelatedHedgingInstrumentsStillHeldAtPeriodEndAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureNetGainsOnLoansHeldForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Not available.",
        "label": "Change in Fair Value of Mortgage Loans and Related Hedging Instruments Still Held at Period End [Abstract]",
        "terseLabel": "Changes in fair values of loans and derivatives held at end of quarter:"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ChangeInFairValueRelatingToMortgageLoansStillHeldAtPeriodEnd": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ChangeInFairValueRelatingToMortgageLoansStillHeldAtPeriodEnd",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureNetGainsOnLoansHeldForSaleDetails": {
       "parentTag": "us-gaap_GainLossOnSalesOfLoansNet",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureNetGainsOnLoansHeldForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the change in fair value relating to mortgage loans still held at period end.",
        "label": "Change in Fair Value Relating to Mortgage Loans Still Held at Period End",
        "terseLabel": "Loans"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_ChangedPeerGroupFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "ChangedPeerGroupFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Changed Peer Group, Footnote [Text Block]",
        "terseLabel": "Changed Peer Group, Footnote"
       }
      }
     },
     "auth_ref": [
      "r1215"
     ]
    },
    "ecd_ChngInFrValAsOfVstngDtOfPrrYrEqtyAwrdsVstdInCvrdYrMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "ChngInFrValAsOfVstngDtOfPrrYrEqtyAwrdsVstdInCvrdYrMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Change in Fair Value as of Vesting Date of Prior Year Equity Awards Vested in Covered Year [Member]",
        "terseLabel": "Change in Fair Value as of Vesting Date of Prior Year Equity Awards Vested in Covered Year"
       }
      }
     },
     "auth_ref": [
      "r1212"
     ]
    },
    "ecd_ChngInFrValOfOutsdngAndUnvstdEqtyAwrdsGrntdInPrrYrsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "ChngInFrValOfOutsdngAndUnvstdEqtyAwrdsGrntdInPrrYrsMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Year-over-Year Change in Fair Value of Equity Awards Granted in Prior Years That are Outstanding and Unvested [Member]",
        "terseLabel": "Year-over-Year Change in Fair Value of Equity Awards Granted in Prior Years That are Outstanding and Unvested"
       }
      }
     },
     "auth_ref": [
      "r1210"
     ]
    },
    "pfsi_CitibankNMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "CitibankNMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeLiabilitiesFinancialLiabilitiesAndCollateralHeldByCounterpartyDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoansSoldUnderAgreementToRepurchaseByCounterpartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Citibank, N.A.",
        "label": "Citibank, N.A.",
        "terseLabel": "Citibank, N.A."
       }
      }
     },
     "auth_ref": []
    },
    "dei_CityAreaCode": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "CityAreaCode",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "City Area Code",
        "documentation": "Area code of city"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ClosedEndSecondMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ClosedEndSecondMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoansHeldForSaleAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information related to closed-end second.",
        "label": "Closed-end second lien mortgage loans",
        "terseLabel": "Closed-end second lien"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_CoSelectedMeasureAmt": {
     "xbrltype": "decimalItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "CoSelectedMeasureAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Company Selected Measure Amount",
        "terseLabel": "Company Selected Measure Amount"
       }
      }
     },
     "auth_ref": [
      "r1216"
     ]
    },
    "ecd_CoSelectedMeasureName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "CoSelectedMeasureName",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Company Selected Measure Name",
        "terseLabel": "Company Selected Measure Name"
       }
      }
     },
     "auth_ref": [
      "r1216"
     ]
    },
    "us-gaap_CommitmentsAndContingencies": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommitmentsAndContingencies",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and Contingencies",
        "terseLabel": "Commitments and contingencies - Note 18",
        "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."
       }
      }
     },
     "auth_ref": [
      "r50",
      "r87",
      "r849",
      "r930"
     ]
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommitmentsAndContingenciesDisclosureAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and Contingencies."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommitmentsAndContingenciesDisclosureTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureCommitmentsAndContingencies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and Contingencies Disclosure [Text Block]",
        "terseLabel": "Commitments and Contingencies",
        "documentation": "The entire disclosure for commitments and contingencies."
       }
      }
     },
     "auth_ref": [
      "r72",
      "r377",
      "r378",
      "r1041",
      "r1335",
      "r1340"
     ]
    },
    "pfsi_CommitmentsToPurchaseAndFundMortgageLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "CommitmentsToPurchaseAndFundMortgageLoans",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureCommitmentsAndContingenciesOtherDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount to be expended to satisfy the terms of arrangements in which the entity has agreed to expend to purchase and fund mortgage loans.",
        "label": "Commitments to Purchase and Fund Mortgage Loans",
        "verboseLabel": "Total commitments to purchase and fund mortgage loans"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_CommonOverheadIncurredMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "CommonOverheadIncurredMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsOtherTransactionsReimbursementOfCommonOverheadExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to related party transactions where common overhead expenses incurred by the reporting entity were reimbursed by the related party.",
        "label": "Common overhead incurred",
        "terseLabel": "Common overhead incurred"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CommonStockDividendsPerShareDeclared": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommonStockDividendsPerShareDeclared",
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfChangesInStockholdersEquityUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common Stock, Dividends, Per Share, Declared",
        "terseLabel": "Common Stock dividends (in dollars per share)",
        "documentation": "Aggregate dividends declared during the period for each share of common stock outstanding."
       }
      }
     },
     "auth_ref": [
      "r77"
     ]
    },
    "us-gaap_CommonStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommonStockMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfChangesInStockholdersEquityUnaudited",
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common Stock [Member]",
        "terseLabel": "Common Stock",
        "documentation": "Stock that is subordinate to all other stock of the issuer."
       }
      }
     },
     "auth_ref": [
      "r1150",
      "r1151",
      "r1152",
      "r1154",
      "r1155",
      "r1156",
      "r1157",
      "r1310",
      "r1311",
      "r1315",
      "r1394",
      "r1479",
      "r1485"
     ]
    },
    "us-gaap_CommonStockParOrStatedValuePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommonStockParOrStatedValuePerShare",
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common Stock, Par or Stated Value Per Share",
        "verboseLabel": "Common stock, par value (in dollars per share)",
        "documentation": "Face amount or stated value per share of common stock."
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "us-gaap_CommonStockSharesAuthorized": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommonStockSharesAuthorized",
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common Stock, Shares Authorized",
        "terseLabel": "Common stock, shares authorized",
        "documentation": "The maximum number of common shares permitted to be issued by an entity's charter and bylaws."
       }
      }
     },
     "auth_ref": [
      "r53",
      "r931"
     ]
    },
    "us-gaap_CommonStockSharesIssued": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommonStockSharesIssued",
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common Stock, Shares, Issued",
        "terseLabel": "Common stock, shares issued",
        "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."
       }
      }
     },
     "auth_ref": [
      "r53"
     ]
    },
    "us-gaap_CommonStockSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommonStockSharesOutstanding",
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common Stock, Shares, Outstanding",
        "terseLabel": "Common stock, shares outstanding",
        "documentation": "Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation."
       }
      }
     },
     "auth_ref": [
      "r7",
      "r53",
      "r931",
      "r952",
      "r1485",
      "r1486"
     ]
    },
    "us-gaap_CommonStockValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommonStockValue",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common Stock, Value, Issued",
        "verboseLabel": "Common stock-authorized 200,000,000 shares of $0.0001 par value; issued and outstanding, 51,923,059 and 52,061,346 shares, respectively",
        "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."
       }
      }
     },
     "auth_ref": [
      "r53",
      "r422",
      "r427",
      "r851",
      "r1132"
     ]
    },
    "us-gaap_CommunicationsAndInformationTechnology": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommunicationsAndInformationTechnology",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0,
       "order": 4.0
      },
      "http://www.pennymacfinancial.com/role/DisclosureDisaggregationOfCertainExpenseCaptionsDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDisaggregationOfCertainExpenseCaptionsDetails",
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Communications and Information Technology",
        "terseLabel": "Technology",
        "totalLabel": "Total technology expenses",
        "documentation": "The amount of expense in the period for communications and data processing expense."
       }
      }
     },
     "auth_ref": [
      "r61"
     ]
    },
    "us-gaap_CommunicationsAndInformationTechnologyAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommunicationsAndInformationTechnologyAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDisaggregationOfCertainExpenseCaptionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Communications and Information Technology [Abstract]",
        "terseLabel": "Technology"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_CompActuallyPaidVsCoSelectedMeasureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "CompActuallyPaidVsCoSelectedMeasureTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Compensation Actually Paid vs. Company Selected Measure [Text Block]",
        "terseLabel": "Compensation Actually Paid vs. Company Selected Measure"
       }
      }
     },
     "auth_ref": [
      "r1221"
     ]
    },
    "ecd_CompActuallyPaidVsNetIncomeTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "CompActuallyPaidVsNetIncomeTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Compensation Actually Paid vs. Net Income [Text Block]",
        "terseLabel": "Compensation Actually Paid vs. Net Income"
       }
      }
     },
     "auth_ref": [
      "r1220"
     ]
    },
    "ecd_CompActuallyPaidVsOtherMeasureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "CompActuallyPaidVsOtherMeasureTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Compensation Actually Paid vs. Other Measure [Text Block]",
        "terseLabel": "Compensation Actually Paid vs. Other Measure"
       }
      }
     },
     "auth_ref": [
      "r1222"
     ]
    },
    "ecd_CompActuallyPaidVsTotalShareholderRtnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "CompActuallyPaidVsTotalShareholderRtnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Compensation Actually Paid vs. Total Shareholder Return [Text Block]",
        "terseLabel": "Compensation Actually Paid vs. Total Shareholder Return"
       }
      }
     },
     "auth_ref": [
      "r1219"
     ]
    },
    "pfsi_CompensationExpenseIncurredMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "CompensationExpenseIncurredMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsOtherTransactionsReimbursementOfCommonOverheadExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to related party transactions where compensation expenses incurred by the reporting entity were reimbursed by the related party.",
        "label": "Compensation",
        "terseLabel": "Compensation"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ComplianceWithRegulatoryCapitalRequirementsForMortgageCompaniesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ComplianceWithRegulatoryCapitalRequirementsForMortgageCompaniesLineItems",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRegulatoryCapitalAndLiquidityRequirementsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Compliance with Regulatory Capital Requirements for Mortgage Companies [Line Items]",
        "terseLabel": "Regulatory Net Worth and Agency Capital Requirements",
        "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."
       }
      }
     },
     "auth_ref": [
      "r1024",
      "r1027",
      "r1028",
      "r1029"
     ]
    },
    "us-gaap_ConcentrationRiskBenchmarkDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ConcentrationRiskBenchmarkDomain",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureConcentrationOfRiskDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Concentration Risk Benchmark [Domain]",
        "documentation": "The denominator in a calculation of a disclosed concentration risk percentage."
       }
      }
     },
     "auth_ref": [
      "r263",
      "r300",
      "r893",
      "r894",
      "r1040",
      "r1319",
      "r1320",
      "r1321",
      "r1322",
      "r1323"
     ]
    },
    "us-gaap_ConcentrationRiskByBenchmarkAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ConcentrationRiskByBenchmarkAxis",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureConcentrationOfRiskDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Concentration Risk Benchmark [Axis]",
        "documentation": "Information by benchmark of concentration risk."
       }
      }
     },
     "auth_ref": [
      "r263",
      "r300",
      "r893",
      "r894",
      "r1040",
      "r1319",
      "r1320",
      "r1321",
      "r1322",
      "r1323"
     ]
    },
    "us-gaap_ConcentrationRiskByTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ConcentrationRiskByTypeAxis",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureConcentrationOfRiskDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Concentration Risk Type [Axis]",
        "documentation": "Information by type of concentration risk, for example, but not limited to, asset, liability, net assets, geographic, customer, employees, supplier, lender."
       }
      }
     },
     "auth_ref": [
      "r263",
      "r300",
      "r893",
      "r894",
      "r1040",
      "r1319",
      "r1320",
      "r1321",
      "r1322",
      "r1323"
     ]
    },
    "us-gaap_ConcentrationRiskDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ConcentrationRiskDisclosureTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureConcentrationOfRisk"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Concentration Risk Disclosure [Text Block]",
        "terseLabel": "Concentration of Risk",
        "documentation": "The entire disclosure for any concentrations existing at the date of the financial statements that make an entity vulnerable to a reasonably possible, near-term, severe impact. This disclosure informs financial statement users about the general nature of the risk associated with the concentration, and may indicate the percentage of concentration risk as of the balance sheet date."
       }
      }
     },
     "auth_ref": [
      "r262",
      "r265",
      "r668",
      "r669",
      "r670",
      "r671",
      "r672",
      "r1072",
      "r1318"
     ]
    },
    "us-gaap_ConcentrationRiskLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ConcentrationRiskLineItems",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureConcentrationOfRiskDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Concentration Risk [Line Items]",
        "terseLabel": "Concentration of Risk",
        "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."
       }
      }
     },
     "auth_ref": [
      "r263",
      "r264",
      "r1040",
      "r1071",
      "r1319",
      "r1320",
      "r1321",
      "r1322",
      "r1323"
     ]
    },
    "us-gaap_ConcentrationRiskPercentage1": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ConcentrationRiskPercentage1",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureConcentrationOfRiskDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Concentration Risk, Percentage",
        "terseLabel": "Percentage of total",
        "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."
       }
      }
     },
     "auth_ref": [
      "r263",
      "r300",
      "r1319",
      "r1320",
      "r1321",
      "r1322",
      "r1323"
     ]
    },
    "us-gaap_ConcentrationRiskTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ConcentrationRiskTable",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureConcentrationOfRiskDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Concentration Risk [Table]",
        "documentation": "Disclosure of information about concentration risk. Includes, but is not limited to, percentage of concentration risk and benchmark serving as denominator in calculation of percentage of concentration risk."
       }
      }
     },
     "auth_ref": [
      "r263",
      "r264",
      "r1040",
      "r1071",
      "r1319",
      "r1320",
      "r1321",
      "r1322",
      "r1323"
     ]
    },
    "us-gaap_ConcentrationRiskTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ConcentrationRiskTypeDomain",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureConcentrationOfRiskDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Concentration Risk Type [Domain]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r263",
      "r300",
      "r893",
      "r894",
      "r1040",
      "r1319",
      "r1320",
      "r1321",
      "r1322",
      "r1323"
     ]
    },
    "pfsi_CondensedOtherIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "CondensedOtherIncome",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails": {
       "parentTag": "pfsi_RevenuesBeforeNonSegmentActivities",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reflects the sum of all other revenue and income recognized by the entity in the period not otherwise specified in condensed the income statement.",
        "label": "Condensed Other Income",
        "terseLabel": "Other"
       }
      }
     },
     "auth_ref": []
    },
    "srt_ConsolidationItemsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "ConsolidationItemsAxis",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidation Items [Axis]",
        "documentation": "Information by components, eliminations, non-segment corporate-level activity and reconciling items used in consolidating a parent entity and its subsidiaries or its operating segments."
       }
      }
     },
     "auth_ref": [
      "r110",
      "r119",
      "r148",
      "r149",
      "r150",
      "r151",
      "r152",
      "r153",
      "r154",
      "r155",
      "r156",
      "r207",
      "r208",
      "r214",
      "r222",
      "r260",
      "r273",
      "r287",
      "r288",
      "r289",
      "r290",
      "r291",
      "r293",
      "r294",
      "r295",
      "r385",
      "r386",
      "r387",
      "r388",
      "r390",
      "r391",
      "r392",
      "r393",
      "r394",
      "r835",
      "r1079",
      "r1080",
      "r1271",
      "r1272",
      "r1341",
      "r1342"
     ]
    },
    "srt_ConsolidationItemsDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "ConsolidationItemsDomain",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidation Items [Domain]",
        "documentation": "Components, elimination, non-segment corporate-level activity and reconciling items used in consolidating a parent entity and its subsidiaries or its operating segments."
       }
      }
     },
     "auth_ref": [
      "r110",
      "r119",
      "r148",
      "r149",
      "r150",
      "r151",
      "r152",
      "r153",
      "r154",
      "r155",
      "r156",
      "r207",
      "r208",
      "r214",
      "r222",
      "r260",
      "r273",
      "r287",
      "r288",
      "r289",
      "r290",
      "r291",
      "r293",
      "r294",
      "r295",
      "r385",
      "r386",
      "r387",
      "r388",
      "r390",
      "r391",
      "r392",
      "r393",
      "r394",
      "r835",
      "r1079",
      "r1080",
      "r1271",
      "r1272",
      "r1341",
      "r1342"
     ]
    },
    "us-gaap_ContinuingInvolvementWithTransferredFinancialAssetsPrincipalAmountOutstanding": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ContinuingInvolvementWithTransferredFinancialAssetsPrincipalAmountOutstanding",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfCashFlowsWithTransfereesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Continuing Involvement with Transferred Financial Assets, Principal Amount Outstanding",
        "terseLabel": "Unpaid principal balance of loans outstanding",
        "documentation": "Principal amount of transferred financial assets in which the transferor has continuing involvement with the assets underlying the transaction. Continuing involvement includes, but is not limited to, servicing, recourse, and restrictions on transferor's interests in transferred financial assets."
       }
      }
     },
     "auth_ref": [
      "r744"
     ]
    },
    "us-gaap_ContractuallySpecifiedServicingFeesAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ContractuallySpecifiedServicingFeesAmount",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesServicingLateAncillaryAndOtherFeesRelatingToMsrsDetails": {
       "parentTag": "us-gaap_ContractuallySpecifiedServicingFeesLateFeesAndAncillaryFeesEarnedInExchangeForServicingFinancialAssets",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesServicingLateAncillaryAndOtherFeesRelatingToMsrsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Contractually Specified Servicing Fees, Amount",
        "verboseLabel": "Contractual servicing fees",
        "documentation": "All amounts that, per contract, are due to the servicer in exchange for servicing the financial asset and would no longer be received by a servicer if the beneficial owners of the serviced assets (or their trustees or agents) were to exercise their actual or potential authority under the contract to shift the servicing to another servicer. Depending on the servicing contract, those fees may include some or all of the difference between the interest rate collected on the asset being serviced and the rate to be paid to the beneficial owners of the asset."
       }
      }
     },
     "auth_ref": [
      "r768"
     ]
    },
    "us-gaap_ContractuallySpecifiedServicingFeesLateFeesAndAncillaryFeesEarnedInExchangeForServicingFinancialAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ContractuallySpecifiedServicingFeesLateFeesAndAncillaryFeesEarnedInExchangeForServicingFinancialAssets",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesServicingLateAncillaryAndOtherFeesRelatingToMsrsDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesServicingLateAncillaryAndOtherFeesRelatingToMsrsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Contractually Specified Servicing Fee, Late Fee, and Ancillary Fee Earned in Exchange for Servicing Financial Asset",
        "totalLabel": "Loan servicing fees",
        "documentation": "Amount of contractually specified servicing fee, late fee, and ancillary fee recognized as income for servicing asset and servicing liability."
       }
      }
     },
     "auth_ref": [
      "r1441"
     ]
    },
    "us-gaap_ContractuallySpecifiedServicingFeesLateFeesAndAncillaryFeesEarnedInExchangeForServicingFinancialAssetsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ContractuallySpecifiedServicingFeesLateFeesAndAncillaryFeesEarnedInExchangeForServicingFinancialAssetsAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesServicingLateAncillaryAndOtherFeesRelatingToMsrsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Contractually Specified Servicing Fees, Late Fees, and Ancillary Fees Earned in Exchange for Servicing Financial Assets [Line Items]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r768"
     ]
    },
    "us-gaap_ConventionalLoanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ConventionalLoanMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoansHeldForSaleAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Conventional Mortgage Loan [Member]",
        "terseLabel": "Conventional conforming",
        "documentation": "Mortgage loan issued by a bank, which is typically in an amount between 70 to 80 percent of the purchase price of the property securing the loan, has a repayment period of 15 to 30 years, and requires that certain credit criteria be met."
       }
      }
     },
     "auth_ref": [
      "r1162",
      "r1163",
      "r1164",
      "r1165",
      "r1166",
      "r1167"
     ]
    },
    "pfsi_CorporateAndReconcilingItemsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "CorporateAndReconcilingItemsMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the aggregate total of non operating corporate items and reconciling items.",
        "label": "Corporate And Reconciling Items [Member]",
        "terseLabel": "Corporate and other"
       }
      }
     },
     "auth_ref": []
    },
    "srt_CounterpartyNameAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "CounterpartyNameAxis",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeAssetsFinancialAssetsAndCollateralHeldByCounterpartyDetails",
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeLiabilitiesFinancialLiabilitiesAndCollateralHeldByCounterpartyDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails",
      "http://www.pennymacfinancial.com/role/DisclosureNetGainsOnLoansHeldForSaleDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsAmountsDueFromAffiliateDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsExchangedPrivateNationalMortgageAcceptanceCompanyLlcUnitholdersDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsInvestingActivitiesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsManagementFeesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsMortgageLoanServicingDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsOtherTransactionsReimbursementOfCommonOverheadExpensesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsTables",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoansSoldUnderAgreementToRepurchaseByCounterpartyDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtPrincipalOnlyStrippedMbsDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Counterparty Name [Axis]",
        "documentation": "Information by name of counterparty. A counterparty is the other party that participates in a financial transaction. Examples include, but not limited to, the name of the financial institution."
       }
      }
     },
     "auth_ref": [
      "r157",
      "r158",
      "r207",
      "r220",
      "r221",
      "r399",
      "r431",
      "r725",
      "r763",
      "r843",
      "r1061",
      "r1063",
      "r1064",
      "r1278",
      "r1279",
      "r1280",
      "r1281",
      "r1282",
      "r1283",
      "r1284",
      "r1285",
      "r1286",
      "r1388",
      "r1390",
      "r1391",
      "r1392"
     ]
    },
    "dei_CoverAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "CoverAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Document and Entity Information",
        "documentation": "Cover page."
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_CumulativeCommonStockRepurchaseTransactionsFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "CumulativeCommonStockRepurchaseTransactionsFees",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureStockholdersEquityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cumulative common stock repurchase transactions fees.",
        "label": "Cumulative Common Stock Repurchase Transactions Fees",
        "terseLabel": "Cumulative common stock repurchase transactions costs"
       }
      }
     },
     "auth_ref": []
    },
    "dei_CurrentFiscalYearEndDate": {
     "xbrltype": "gMonthDayItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "CurrentFiscalYearEndDate",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current Fiscal Year End Date",
        "documentation": "End date of current fiscal year in the format --MM-DD."
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_CustodialBalances": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "CustodialBalances",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount of the funds held on behalf of others relating to loans serviced under servicing agreements which are not recognized in the financial statements (off-balance sheet).",
        "label": "Custodial Balances",
        "terseLabel": "Custodial funds managed by the Company"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CustomerConcentrationRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CustomerConcentrationRiskMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureConcentrationOfRiskDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Customer Concentration Risk [Member]",
        "terseLabel": "Customer Concentration Risk",
        "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."
       }
      }
     },
     "auth_ref": [
      "r300",
      "r1320"
     ]
    },
    "us-gaap_DebtInstrumentAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentAxis",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtMaturitiesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoanParticipationAndSaleAgreementDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instrument [Axis]",
        "documentation": "Information by type of debt instrument, including, but not limited to, draws against credit facilities."
       }
      }
     },
     "auth_ref": [
      "r10",
      "r43",
      "r44",
      "r82",
      "r86",
      "r396",
      "r397",
      "r398",
      "r399",
      "r400",
      "r401",
      "r402",
      "r403",
      "r404",
      "r405",
      "r406",
      "r407",
      "r408",
      "r409",
      "r410",
      "r411",
      "r1087",
      "r1088",
      "r1089",
      "r1090",
      "r1091",
      "r1130",
      "r1300",
      "r1301",
      "r1303",
      "r1309",
      "r1336",
      "r1337",
      "r1338",
      "r1419",
      "r1421",
      "r1444"
     ]
    },
    "us-gaap_DebtInstrumentBasisSpreadOnVariableRate1": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentBasisSpreadOnVariableRate1",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instrument, Basis Spread on Variable Rate",
        "terseLabel": "Interest rate spread",
        "documentation": "Percentage points added to the reference rate to compute the variable rate on the debt instrument."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentFaceAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentFaceAmount",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails",
      "http://www.pennymacfinancial.com/role/DisclosureSubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instrument, Face Amount",
        "terseLabel": "Maximum loan amount",
        "verboseLabel": "Syndicated loan amount",
        "documentation": "Face (par) amount of debt instrument at time of issuance."
       }
      }
     },
     "auth_ref": [
      "r396",
      "r687",
      "r688",
      "r1088",
      "r1089",
      "r1130"
     ]
    },
    "us-gaap_DebtInstrumentInterestRateDuringPeriod": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentInterestRateDuringPeriod",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instrument, Interest Rate During Period",
        "terseLabel": "Weighted-average interest rate (as a percent)",
        "documentation": "The average effective interest rate during the reporting period."
       }
      }
     },
     "auth_ref": [
      "r46",
      "r408",
      "r1419"
     ]
    },
    "us-gaap_DebtInstrumentLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentLineItems",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtMaturitiesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instrument [Line Items]",
        "terseLabel": "Long-Term debt",
        "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."
       }
      }
     },
     "auth_ref": [
      "r396",
      "r397",
      "r398",
      "r399",
      "r400",
      "r401",
      "r402",
      "r403",
      "r404",
      "r405",
      "r406",
      "r407",
      "r408",
      "r409",
      "r410",
      "r411",
      "r412",
      "r606",
      "r835",
      "r1087",
      "r1088",
      "r1089",
      "r1090",
      "r1091",
      "r1130",
      "r1300",
      "r1301",
      "r1303",
      "r1309",
      "r1419",
      "r1421"
     ]
    },
    "us-gaap_DebtInstrumentNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentNameDomain",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtMaturitiesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoanParticipationAndSaleAgreementDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instrument, Name [Domain]",
        "documentation": "The name for the particular debt instrument or borrowing that distinguishes it from other debt instruments or borrowings, including draws against credit facilities."
       }
      }
     },
     "auth_ref": [
      "r10",
      "r396",
      "r397",
      "r398",
      "r399",
      "r400",
      "r401",
      "r402",
      "r403",
      "r404",
      "r405",
      "r406",
      "r407",
      "r408",
      "r409",
      "r410",
      "r411",
      "r1087",
      "r1088",
      "r1089",
      "r1090",
      "r1091",
      "r1130",
      "r1300",
      "r1301",
      "r1303",
      "r1309",
      "r1336",
      "r1337",
      "r1338",
      "r1419",
      "r1421",
      "r1444"
     ]
    },
    "us-gaap_DebtInstrumentRedemptionPeriodAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentRedemptionPeriodAxis",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instrument, Redemption, Period [Axis]",
        "documentation": "Information by period of debt redemption feature under terms of debt agreement."
       }
      }
     },
     "auth_ref": [
      "r108"
     ]
    },
    "us-gaap_DebtInstrumentRedemptionPeriodDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentRedemptionPeriodDomain",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instrument, Redemption, Period [Domain]",
        "documentation": "Period as defined under terms of the debt agreement for debt redemption features."
       }
      }
     },
     "auth_ref": [
      "r108"
     ]
    },
    "us-gaap_DebtInstrumentRedemptionPeriodTwoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentRedemptionPeriodTwoMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instrument, Redemption, Period Two [Member]",
        "terseLabel": "Before October 15, 2022 with up to 40% principal redeemed",
        "documentation": "Period two representing second most current period of debt redemption features under terms of the debt agreement."
       }
      }
     },
     "auth_ref": [
      "r108"
     ]
    },
    "us-gaap_DebtInstrumentRedemptionPricePercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentRedemptionPricePercentage",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instrument, Redemption Price, Percentage",
        "terseLabel": "Redemption rate (as a percent)",
        "documentation": "Percentage price of original principal amount of debt at which debt can be redeemed by the issuer."
       }
      }
     },
     "auth_ref": [
      "r108"
     ]
    },
    "us-gaap_DebtInstrumentTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentTable",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtMaturitiesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Long-Term Debt Instruments [Table]",
        "documentation": "Disclosure of information about long-term debt instrument or arrangement."
       }
      }
     },
     "auth_ref": [
      "r10",
      "r24",
      "r25",
      "r40",
      "r75",
      "r76",
      "r396",
      "r397",
      "r398",
      "r399",
      "r400",
      "r401",
      "r402",
      "r403",
      "r404",
      "r405",
      "r406",
      "r407",
      "r408",
      "r409",
      "r410",
      "r411",
      "r412",
      "r606",
      "r835",
      "r1087",
      "r1088",
      "r1089",
      "r1090",
      "r1091",
      "r1130",
      "r1300",
      "r1301",
      "r1303",
      "r1309",
      "r1419",
      "r1421"
     ]
    },
    "us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails": {
       "parentTag": "us-gaap_AssetsSoldUnderAgreementsToRepurchaseRepurchaseLiability",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instrument, Unamortized Discount (Premium) and Debt Issuance Costs, Net",
        "negatedLabel": "Unamortized debt issuance costs and premiums",
        "documentation": "Amount of unamortized debt discount (premium) and debt issuance costs."
       }
      }
     },
     "auth_ref": [
      "r402",
      "r413",
      "r686",
      "r687",
      "r688",
      "r1088",
      "r1089",
      "r1130"
     ]
    },
    "pfsi_DebtInstrumentUnamortizedPremiumAndDebtIssuanceCostsNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "DebtInstrumentUnamortizedPremiumAndDebtIssuanceCostsNet",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unamortized debt (premium) and debt issuance costs.",
        "label": "Debt Instrument Unamortized Premium And Debt Issuance Costs Net"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentVariableInterestRateTypeExtensibleEnumeration": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentVariableInterestRateTypeExtensibleEnumeration",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instrument, Variable Interest Rate, Type [Extensible Enumeration]",
        "documentation": "Indicates type of variable interest rate on debt instrument."
       }
      }
     },
     "auth_ref": [
      "r839"
     ]
    },
    "us-gaap_DebtSecuritiesAvailableForSaleMeasurementInput": {
     "xbrltype": "decimalItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtSecuritiesAvailableForSaleMeasurementInput",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageLoansAndIrlcDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Securities, Available-for-Sale, Measurement Input",
        "terseLabel": "Input",
        "documentation": "Value of input used to measure investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale)."
       }
      }
     },
     "auth_ref": [
      "r641",
      "r642",
      "r643",
      "r1122"
     ]
    },
    "pfsi_DebtSecuritiesAvailableForSaleMeasurementInputs": {
     "xbrltype": "decimalItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "DebtSecuritiesAvailableForSaleMeasurementInputs",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsInitialRecognitionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of inputs used to measure investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Debt Securities Available For Sale Measurement Inputs",
        "terseLabel": "Input"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtSecuritiesHeldToMaturityAllowanceForCreditLossTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtSecuritiesHeldToMaturityAllowanceForCreditLossTable",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosurePrincipalOnlyStrippedMortgageBackedSecuritiesActivityInCompanySInvestmentInPrincipalOnlyStrippedMbsDetails",
      "http://www.pennymacfinancial.com/role/DisclosurePrincipalOnlyStrippedMortgageBackedSecuritiesSummaryOfCompanyInvestmentInPrincipalOnlyStrippedMbsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Securities, Held-to-Maturity, Allowance for Credit Loss [Table]",
        "documentation": "Disclosure of information about allowance for credit loss on investment in debt security measured at amortized cost (held-to-maturity)."
       }
      }
     },
     "auth_ref": [
      "r1334"
     ]
    },
    "us-gaap_DebtSecuritiesHeldtomaturityAllowanceForCreditLossLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtSecuritiesHeldtomaturityAllowanceForCreditLossLineItems",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosurePrincipalOnlyStrippedMortgageBackedSecuritiesActivityInCompanySInvestmentInPrincipalOnlyStrippedMbsDetails",
      "http://www.pennymacfinancial.com/role/DisclosurePrincipalOnlyStrippedMortgageBackedSecuritiesSummaryOfCompanyInvestmentInPrincipalOnlyStrippedMbsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Securities, Held-to-Maturity, Allowance for Credit Loss [Line Items]",
        "terseLabel": "Mortgage-backed securities",
        "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."
       }
      }
     },
     "auth_ref": [
      "r1334"
     ]
    },
    "us-gaap_DebtWeightedAverageInterestRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtWeightedAverageInterestRate",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt, Weighted Average Interest Rate",
        "terseLabel": "Weighted-average interest rate (as a percent)",
        "documentation": "Weighted average interest rate of debt outstanding."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DeferredFinanceCostsNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DeferredFinanceCostsNet",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails": {
       "parentTag": "us-gaap_AssetsSoldUnderAgreementsToRepurchaseRepurchaseLiability",
       "weight": -1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Issuance Costs, Net",
        "negatedTerseLabel": "Unamortized debt issuance costs",
        "documentation": "Amount, after accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs."
       }
      }
     },
     "auth_ref": [
      "r1344",
      "r1418",
      "r1419",
      "r1421"
     ]
    },
    "us-gaap_DelinquentAmountAtEndOfPeriodOnLoansManagedAndSecuritized": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DelinquentAmountAtEndOfPeriodOnLoansManagedAndSecuritized",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Delinquent Amount at End of Period on Loans Managed and Securitized or Asset-Backed Financing Arrangement",
        "totalLabel": "Total delinquent mortgage loans",
        "documentation": "This is the principal amount of loans (across all types of loans) that are overdue in payment by a set number of days."
       }
      }
     },
     "auth_ref": [
      "r39"
     ]
    },
    "pfsi_DelinquentMortgageLoansInPortfolioAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "DelinquentMortgageLoansInPortfolioAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Not available.",
        "label": "Delinquent Mortgage Loans in Portfolio [Abstract]",
        "terseLabel": "Delinquent loans:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DemandDepositsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DemandDepositsMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails",
      "http://www.pennymacfinancial.com/role/DisclosureOtherAssetsOtherDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Demand Deposits [Member]",
        "terseLabel": "Deposits.",
        "documentation": "Accounts that may or may not bear interest and that depositor is entitled to withdraw at anytime without prior notice. Checking and negotiable order of withdrawal (NOW) accounts are the most common forms of demand deposits."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DepositAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DepositAssets",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureOtherAssetsOtherDetails": {
       "parentTag": "us-gaap_OtherAssets",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureOtherAssetsOtherDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deposit Assets",
        "verboseLabel": "Margin deposits securing Assets sold under agreements to repurchase and Notes payable secured by mortgage servicing assets",
        "documentation": "The carrying amount of the asset transferred to a third party to serve as a deposit, which typically serves as security against failure by the transferor to perform under terms of an agreement."
       }
      }
     },
     "auth_ref": [
      "r1275"
     ]
    },
    "us-gaap_DepositsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DepositsMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deposits [Member]",
        "terseLabel": "Margin deposits",
        "documentation": "Amounts held on account by the entity representing a liability to the depositor. Deposits may take various forms (for example, demand deposits, saving deposits, Negotiable Order of Withdrawal (NOW) and time deposits) and may be categorized in multiple ways (such as, foreign and domestic, interest and noninterest bearing)."
       }
      }
     },
     "auth_ref": [
      "r107"
     ]
    },
    "us-gaap_DepreciationDepletionAndAmortization": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DepreciationDepletionAndAmortization",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureDisaggregationOfCertainExpenseCaptionsDetails": {
       "parentTag": "pfsi_OccupancyAndEquipment",
       "weight": 1.0,
       "order": 4.0
      },
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 11.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDisaggregationOfCertainExpenseCaptionsDetails",
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Depreciation, Depletion and Amortization",
        "positiveTerseLabel": "Depreciation and amortization of furniture, fixtures, equipment and building improvements",
        "terseLabel": "Depreciation and amortization",
        "verboseLabel": "Depreciation",
        "documentation": "The aggregate expense recognized in the current period that allocates the cost of tangible assets, intangible assets, or depleting assets to periods that benefit from use of the assets."
       }
      }
     },
     "auth_ref": [
      "r4",
      "r195",
      "r260",
      "r276",
      "r293",
      "r1065",
      "r1079",
      "r1080"
     ]
    },
    "pfsi_DerivativeAssetGrossAmountsOffsetUnderMasterNettingArrangement": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "DerivativeAssetGrossAmountsOffsetUnderMasterNettingArrangement",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails": {
       "parentTag": "us-gaap_DerivativeAssets",
       "weight": -1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of liability associated with financial asset or other contract with one or more underlying, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, and the amount of obligation to return the cash collateral under a master netting arrangements, offset against derivative assets.",
        "label": "Derivative Asset, Gross Amounts Offset under Master Netting Arrangement",
        "negatedLabel": "Netting"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DerivativeAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeAssets",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeAssetsFinancialAssetsAndCollateralHeldByCounterpartyDetails": {
       "parentTag": "us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral",
       "weight": 1.0,
       "order": 1.0
      },
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails": {
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0,
       "order": 4.0
      },
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 6.0
      },
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeAssetsFinancialAssetsAndCollateralHeldByCounterpartyDetails",
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Asset",
        "terseLabel": "Derivative assets from non-affiliates",
        "totalLabel": "Total derivative assets",
        "verboseLabel": "Net amounts of assets presented in the balance sheet",
        "documentation": "Fair value, after the effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes assets not subject to a master netting arrangement and not elected to be offset."
       }
      }
     },
     "auth_ref": [
      "r184",
      "r186",
      "r605",
      "r639",
      "r640",
      "r654",
      "r665",
      "r666",
      "r667",
      "r910",
      "r911",
      "r912",
      "r913",
      "r914",
      "r916",
      "r917",
      "r918",
      "r920",
      "r921",
      "r937",
      "r938",
      "r1002",
      "r1006",
      "r1007",
      "r1008",
      "r1009",
      "r1010",
      "r1058",
      "r1060",
      "r1062",
      "r1063",
      "r1064",
      "r1119",
      "r1122",
      "r1129",
      "r1152",
      "r1398",
      "r1399",
      "r1400",
      "r1480"
     ]
    },
    "us-gaap_DerivativeAssetsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeAssetsAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeAssetsFinancialAssetsAndCollateralHeldByCounterpartyDetails",
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Asset [Abstract]",
        "terseLabel": "Total",
        "verboseLabel": "Derivative assets:"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_DerivativeAssetsIncludingAssetsNotSubjectToMasterNettingArrangementGross": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "DerivativeAssetsIncludingAssetsNotSubjectToMasterNettingArrangementGross",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails": {
       "parentTag": "us-gaap_DerivativeAssets",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value before effects of master netting arrangements, of a financial asset or other contract with one or more underlying, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes assets not subject to a master netting arrangement and not elected to be offset.",
        "label": "Derivative Assets, Including Assets Not Subject to Master Netting Arrangement Gross",
        "verboseLabel": "Derivative asset, before netting"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_DerivativeAssetsToRelatedParty": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "DerivativeAssetsToRelatedParty",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value to related party, after the effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes assets not subject to a master netting arrangement and not elected to be offset.",
        "label": "Derivative Assets To Related Party",
        "terseLabel": "Derivative assets from PennyMac Mortgage Investment Trust"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DerivativeContractTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeContractTypeDomain",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeAssetsFinancialAssetsAndCollateralHeldByCounterpartyDetails",
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeLiabilitiesFinancialLiabilitiesAndCollateralHeldByCounterpartyDetails",
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Contract [Domain]",
        "documentation": "Financial instrument or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset."
       }
      }
     },
     "auth_ref": [
      "r193",
      "r562",
      "r564",
      "r565",
      "r567",
      "r568",
      "r569",
      "r570",
      "r572",
      "r573",
      "r574",
      "r575",
      "r576",
      "r577",
      "r578",
      "r579",
      "r580",
      "r581",
      "r582",
      "r583",
      "r584",
      "r585",
      "r586",
      "r587",
      "r588",
      "r918",
      "r921",
      "r936",
      "r937",
      "r938",
      "r941",
      "r942",
      "r943",
      "r944",
      "r947",
      "r948",
      "r949",
      "r950",
      "r965",
      "r966",
      "r967",
      "r968",
      "r971",
      "r972",
      "r973",
      "r974",
      "r1002",
      "r1003",
      "r1007",
      "r1009",
      "r1060",
      "r1061",
      "r1064",
      "r1114",
      "r1115",
      "r1150",
      "r1152",
      "r1278",
      "r1279",
      "r1280",
      "r1281",
      "r1282",
      "r1283",
      "r1284",
      "r1285",
      "r1286",
      "r1388",
      "r1390",
      "r1391",
      "r1392",
      "r1401",
      "r1402",
      "r1403",
      "r1404",
      "r1405",
      "r1406",
      "r1408",
      "r1409"
     ]
    },
    "us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeAssetsFinancialAssetsAndCollateralHeldByCounterpartyDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeAssetsFinancialAssetsAndCollateralHeldByCounterpartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Asset, Including Not Subject to Master Netting Arrangement, after Offset and Deduction",
        "totalLabel": "Net amount",
        "documentation": "Fair value, after effect of master netting arrangement and deduction of obligation to return financial collateral not offset and financial instrument subject to master netting arrangement not offset, of financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and contract can be net settled by means outside contract or delivery of asset. Includes derivative not subject to master netting arrangement or similar agreement."
       }
      }
     },
     "auth_ref": [
      "r185",
      "r605",
      "r1060"
     ]
    },
    "us-gaap_DerivativeGainLossOnDerivativeNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeGainLossOnDerivativeNet",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "parentTag": "pfsi_MortgageServicingRightsMSRAmortizationImpairmentFairValueChange",
       "weight": -1.0,
       "order": 1.0
      },
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative, Gain (Loss) on Derivative, Net",
        "negatedLabel": "Mortgage servicing rights hedging results",
        "terseLabel": "Mortgage servicing rights hedging results",
        "verboseLabel": "Gains (losses) recognized on derivative financial instruments",
        "documentation": "Amount of increase (decrease) in the fair value of derivatives recognized in the income statement."
       }
      }
     },
     "auth_ref": [
      "r1058",
      "r1384"
     ]
    },
    "us-gaap_DerivativeInstrumentRiskAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeInstrumentRiskAxis",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeAssetsFinancialAssetsAndCollateralHeldByCounterpartyDetails",
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeLiabilitiesFinancialLiabilitiesAndCollateralHeldByCounterpartyDetails",
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Instrument [Axis]",
        "documentation": "Information by type of derivative contract."
       }
      }
     },
     "auth_ref": [
      "r193",
      "r562",
      "r564",
      "r565",
      "r567",
      "r568",
      "r569",
      "r570",
      "r572",
      "r573",
      "r574",
      "r575",
      "r576",
      "r577",
      "r578",
      "r579",
      "r580",
      "r581",
      "r582",
      "r583",
      "r584",
      "r585",
      "r586",
      "r587",
      "r588",
      "r918",
      "r921",
      "r936",
      "r937",
      "r938",
      "r941",
      "r942",
      "r943",
      "r944",
      "r947",
      "r948",
      "r949",
      "r950",
      "r965",
      "r966",
      "r967",
      "r968",
      "r971",
      "r972",
      "r973",
      "r974",
      "r1002",
      "r1003",
      "r1007",
      "r1009",
      "r1060",
      "r1061",
      "r1064",
      "r1114",
      "r1115",
      "r1150",
      "r1152",
      "r1278",
      "r1279",
      "r1280",
      "r1281",
      "r1282",
      "r1283",
      "r1284",
      "r1285",
      "r1286",
      "r1388",
      "r1390",
      "r1391",
      "r1392",
      "r1401",
      "r1402",
      "r1403",
      "r1404",
      "r1405",
      "r1406",
      "r1408",
      "r1409"
     ]
    },
    "us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Financial Instruments"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstruments"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Instruments and Hedging Activities Disclosure [Text Block]",
        "terseLabel": "Derivative Financial Instruments",
        "documentation": "The entire disclosure for derivative instruments and hedging activities including, but not limited to, risk management strategies, non-hedging derivative instruments, assets, liabilities, revenue and expenses, and methodologies and assumptions used in determining the amounts."
       }
      }
     },
     "auth_ref": [
      "r551",
      "r552",
      "r553",
      "r554",
      "r555",
      "r556",
      "r557",
      "r558",
      "r559",
      "r560",
      "r561",
      "r592",
      "r593",
      "r594",
      "r595",
      "r596",
      "r597",
      "r598",
      "r599",
      "r600",
      "r601",
      "r602",
      "r603",
      "r604",
      "r607",
      "r624",
      "r1114",
      "r1115",
      "r1116",
      "r1117",
      "r1118"
     ]
    },
    "us-gaap_DerivativeLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeLiabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails": {
       "parentTag": "us-gaap_LiabilitiesFairValueDisclosure",
       "weight": 1.0,
       "order": 1.0
      },
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 5.0
      },
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Liability",
        "terseLabel": "Derivative liabilities to non-affiliates",
        "totalLabel": "Net amounts of liabilities presented in the consolidated balance sheet",
        "documentation": "Fair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes liabilities not subject to a master netting arrangement and not elected to be offset."
       }
      }
     },
     "auth_ref": [
      "r184",
      "r186",
      "r605",
      "r639",
      "r640",
      "r654",
      "r665",
      "r666",
      "r667",
      "r910",
      "r911",
      "r912",
      "r913",
      "r916",
      "r917",
      "r918",
      "r920",
      "r921",
      "r947",
      "r949",
      "r950",
      "r1003",
      "r1004",
      "r1006",
      "r1007",
      "r1008",
      "r1009",
      "r1010",
      "r1060",
      "r1062",
      "r1063",
      "r1064",
      "r1398",
      "r1399",
      "r1400",
      "r1480"
     ]
    },
    "us-gaap_DerivativeLiabilitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeLiabilitiesAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeLiabilitiesFinancialLiabilitiesAndCollateralHeldByCounterpartyDetails",
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Liability [Abstract]",
        "verboseLabel": "Derivative liabilities:"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_DerivativeLiabilitiesIncludingLiabilitiesNotSubjectToMasterNettingArrangementGross": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "DerivativeLiabilitiesIncludingLiabilitiesNotSubjectToMasterNettingArrangementGross",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails": {
       "parentTag": "us-gaap_DerivativeLiabilities",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value before effects of master netting arrangements, of a financial liability or contract with one or more underlying, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes liabilities not subject to a master netting arrangement and not elected to be offset.",
        "label": "Derivative Liabilities, Including Liabilities Not Subject to Master Netting Arrangement Gross",
        "terseLabel": "Derivative liability, before netting"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_DerivativeLiabilitiesToRelatedParty": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "DerivativeLiabilitiesToRelatedParty",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value to related party, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes liabilities not subject to a master netting arrangement and not elected to be offset.",
        "label": "Derivative Liabilities To Related Party",
        "terseLabel": "Derivative liabilities to PennyMac Mortgage Investment Trust"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_DerivativeLiabilityGrossAmountsOffsetUnderMasterNettingArrangement": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "DerivativeLiabilityGrossAmountsOffsetUnderMasterNettingArrangement",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails": {
       "parentTag": "us-gaap_DerivativeLiabilities",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of asset associated with financial liability or contract with one or more underlying, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, and the amount of right to receive the cash collateral under a master netting arrangements, offset against derivative liabilities.",
        "label": "Derivative Liability, Gross Amounts Offset under Master Netting Arrangement",
        "negatedLabel": "Netting"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoaned": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoaned",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeLiabilitiesFinancialLiabilitiesAndCollateralHeldByCounterpartyDetails": {
       "parentTag": "us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAmountOffsetAgainstCollateral",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeLiabilitiesFinancialLiabilitiesAndCollateralHeldByCounterpartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Liability, Securities Sold under Agreements to Repurchase, Securities Loaned",
        "terseLabel": "Net amounts of liabilities presented in the consolidated balance sheet",
        "documentation": "Amount, after the effects of master netting arrangements, of derivative liabilities, securities sold under agreements to repurchase and securities loaned. Includes liabilities not subject to a master netting arrangement and not elected to be offset."
       }
      }
     },
     "auth_ref": [
      "r1062",
      "r1063",
      "r1064",
      "r1280",
      "r1285"
     ]
    },
    "us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAmountOffsetAgainstCollateral": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAmountOffsetAgainstCollateral",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeLiabilitiesFinancialLiabilitiesAndCollateralHeldByCounterpartyDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeLiabilitiesFinancialLiabilitiesAndCollateralHeldByCounterpartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Liability, Security Sold under Agreement to Repurchase, and Security Loaned, Including Not Subject to Master Netting Arrangement, after Offset and Deduction",
        "totalLabel": "Net amount of liabilities in the consolidated balance sheet",
        "documentation": "Amount, after effect of master netting arrangement and deduction of obligation to return financial collateral not offset and financial instrument subject to master netting arrangement not offset, of derivative liability, security sold under agreement to repurchase, and security loaned. Includes liability not subject to master netting arrangement or similar agreement."
       }
      }
     },
     "auth_ref": [
      "r1064",
      "r1284"
     ]
    },
    "us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimSecurities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimSecurities",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeLiabilitiesFinancialLiabilitiesAndCollateralHeldByCounterpartyDetails": {
       "parentTag": "us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAmountOffsetAgainstCollateral",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeLiabilitiesFinancialLiabilitiesAndCollateralHeldByCounterpartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Liability, Security Sold under Agreement to Repurchase, and Security Loaned, Subject to Master Netting Arrangement, Collateral, Right to Reclaim Security Not Offset",
        "negatedLabel": "Financial instruments",
        "documentation": "Amount of right to receive securities collateral under master netting arrangements that have not been offset against derivative liabilities, securities sold under agreements to repurchase and securities loaned."
       }
      }
     },
     "auth_ref": [
      "r1283",
      "r1286"
     ]
    },
    "us-gaap_DerivativeLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeLineItems",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative [Line Items]",
        "terseLabel": "Derivative Instruments",
        "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."
       }
      }
     },
     "auth_ref": [
      "r624",
      "r1393"
     ]
    },
    "us-gaap_DerivativeNotionalAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeNotionalAmount",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageLoansAndIrlcDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative, Notional Amount",
        "periodEndLabel": "Balance at end of quarter",
        "periodStartLabel": "Balance at beginning of quarter",
        "terseLabel": "Notional amount",
        "verboseLabel": "Committed amount",
        "documentation": "Nominal or face amount used to calculate payment on derivative."
       }
      }
     },
     "auth_ref": [
      "r1114",
      "r1382",
      "r1383"
     ]
    },
    "pfsi_DerivativeNotionalAmountRollForward": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "DerivativeNotionalAmountRollForward",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails"
     ],
     "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": "Derivative Notional Amount [Roll Forward]",
        "terseLabel": "Activity for derivative contracts used to hedge the IRLCs and inventory of mortgage loans at notional value"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DerivativeTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeTable",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative [Table]",
        "documentation": "Disclosure of information about derivative instrument or group of derivative instruments, including, but not limited to, type of derivative instrument, risk being hedged, notional amount, hedge designation, related hedged item, inception date, and maturity date."
       }
      }
     },
     "auth_ref": [
      "r624",
      "r1393"
     ]
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureStockBasedCompensation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Payment Arrangement [Text Block]",
        "terseLabel": "Stock-based Compensation",
        "documentation": "The entire disclosure for share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r461",
      "r465",
      "r494",
      "r495",
      "r496",
      "r1103"
     ]
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock-based Compensation"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DividendPayableDateToBePaidDayMonthAndYear": {
     "xbrltype": "dateItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DividendPayableDateToBePaidDayMonthAndYear",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividends Payable, Date to be Paid",
        "terseLabel": "Dividend payable date",
        "documentation": "Date the declared dividend will be paid, in YYYY-MM-DD format."
       }
      }
     },
     "auth_ref": [
      "r15"
     ]
    },
    "us-gaap_DividendsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DividendsAxis",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividends [Axis]",
        "documentation": "Information by event wherein earnings are distributed to shareholder."
       }
      }
     },
     "auth_ref": [
      "r1345",
      "r1346"
     ]
    },
    "us-gaap_DividendsCommonStock": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DividendsCommonStock",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividends, Common Stock",
        "negatedLabel": "Common stock dividend ($0.30 per share)",
        "documentation": "Amount of paid and unpaid common stock dividends declared with the form of settlement in cash, stock and payment-in-kind (PIK)."
       }
      }
     },
     "auth_ref": [
      "r2",
      "r77"
     ]
    },
    "us-gaap_DividendsDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DividendsDomain",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividends [Domain]",
        "documentation": "Event wherein earnings are distributed to shareholder."
       }
      }
     },
     "auth_ref": [
      "r1345",
      "r1346"
     ]
    },
    "us-gaap_DividendsPayableAmountPerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DividendsPayableAmountPerShare",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividends Payable, Amount Per Share",
        "terseLabel": "Dividends declared (in dollars per share)",
        "documentation": "The per share amount of a dividend declared, but not paid, as of the financial reporting date."
       }
      }
     },
     "auth_ref": [
      "r15"
     ]
    },
    "us-gaap_DividendsPayableDateDeclaredDayMonthAndYear": {
     "xbrltype": "dateItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DividendsPayableDateDeclaredDayMonthAndYear",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividends Payable, Date Declared",
        "terseLabel": "Dividend declaration date",
        "documentation": "Date the dividend to be paid was declared, in YYYY-MM-DD format."
       }
      }
     },
     "auth_ref": [
      "r15"
     ]
    },
    "us-gaap_DividendsPayableDateOfRecordDayMonthAndYear": {
     "xbrltype": "dateItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DividendsPayableDateOfRecordDayMonthAndYear",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividends Payable, Date of Record",
        "terseLabel": "Dividend date of record",
        "documentation": "Date the holder must own the stock to be entitled to the dividend, in YYYY-MM-DD format."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentFiscalPeriodFocus": {
     "xbrltype": "fiscalPeriodItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentFiscalPeriodFocus",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Fiscal Period Focus",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentFiscalYearFocus": {
     "xbrltype": "gYearItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentFiscalYearFocus",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Fiscal Year Focus",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentPeriodEndDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentPeriodEndDate",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Period End Date",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentQuarterlyReport": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentQuarterlyReport",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Quarterly Report",
        "documentation": "Boolean flag that is true only for a form used as an quarterly report."
       }
      }
     },
     "auth_ref": [
      "r1171"
     ]
    },
    "dei_DocumentTransitionReport": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentTransitionReport",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Transition Report",
        "documentation": "Boolean flag that is true only for a form used as a transition report."
       }
      }
     },
     "auth_ref": [
      "r1203"
     ]
    },
    "dei_DocumentType": {
     "xbrltype": "submissionTypeItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentType",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Type",
        "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'."
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_DueFromRelatedPartiesAllocatedExpenses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "DueFromRelatedPartiesAllocatedExpenses",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsAmountsDueFromAffiliateDetails": {
       "parentTag": "us-gaap_OtherReceivables",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsAmountsDueFromAffiliateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amounts due from related parties related to expenses allocated to the company from an affiliate.",
        "label": "Due from Related Parties, Allocated Expenses",
        "terseLabel": "Allocated expenses and expenses incurred on PMT's behalf"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_DueFromRelatedPartiesCorrespondentLendingOriginationFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "DueFromRelatedPartiesCorrespondentLendingOriginationFees",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsAmountsDueFromAffiliateDetails": {
       "parentTag": "us-gaap_OtherReceivables",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsAmountsDueFromAffiliateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For an unclassified balance sheet, amounts due from related parties related to correspondent lending origination fees.",
        "label": "Due from Related Parties Correspondent Lending Origination fees",
        "terseLabel": "Correspondent production fees"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_DueFromRelatedPartiesManagementFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "DueFromRelatedPartiesManagementFees",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsAmountsDueFromAffiliateDetails": {
       "parentTag": "us-gaap_OtherReceivables",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsAmountsDueFromAffiliateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For an unclassified balance sheet, amounts due from related parties related to management fees.",
        "label": "Due from Related Parties, Management Fees",
        "terseLabel": "Management fees"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_DueFromRelatedPartiesServicingFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "DueFromRelatedPartiesServicingFees",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsAmountsDueFromAffiliateDetails": {
       "parentTag": "us-gaap_OtherReceivables",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsAmountsDueFromAffiliateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For an unclassified balance sheet, amounts due from related parties related to servicing fees.",
        "label": "Due from Related Parties, Servicing Fees",
        "terseLabel": "Servicing fees"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_DueFromRelatedPartyUnclassifiedAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "DueFromRelatedPartyUnclassifiedAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsAmountsDueFromAffiliateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Not applicable.",
        "label": "Note Receivable",
        "terseLabel": "Amounts due from affiliate",
        "verboseLabel": "Notes payable"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_DueToRelatedPartiesOtherExpenses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "DueToRelatedPartiesOtherExpenses",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsAmountsDueFromAffiliateDetails": {
       "parentTag": "us-gaap_OtherLiabilities",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsAmountsDueFromAffiliateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of obligations due all related parties for other expenses.",
        "label": "Due to Related Parties, Other Expenses",
        "terseLabel": "Other expenses"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_DueToRelatedPartiesServicingAdvances": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "DueToRelatedPartiesServicingAdvances",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsAmountsDueFromAffiliateDetails": {
       "parentTag": "us-gaap_OtherLiabilities",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsAmountsDueFromAffiliateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of obligations due all related parties for servicing advances.",
        "label": "Due to Related Parties Servicing Advances",
        "verboseLabel": "Amounts advanced by PMT"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_DueToRelatedPartyCurrentAndNoncurrentAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "DueToRelatedPartyCurrentAndNoncurrentAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsAmountsDueFromAffiliateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Not applicable.",
        "label": "Due To Related Party Current And Noncurrent [Abstract]",
        "terseLabel": "Payable to affiliate"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_DvddsOrOthrErngsPdOnEqtyAwrdsNtOthrwsRflctdInTtlCompForCvrdYrMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "DvddsOrOthrErngsPdOnEqtyAwrdsNtOthrwsRflctdInTtlCompForCvrdYrMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividends or Other Earnings Paid on Equity Awards not Otherwise Reflected in Total Compensation for Covered Year [Member]",
        "terseLabel": "Dividends or Other Earnings Paid on Equity Awards not Otherwise Reflected in Total Compensation for Covered Year"
       }
      }
     },
     "auth_ref": [
      "r1214"
     ]
    },
    "us-gaap_EarningsPerShareAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EarningsPerShareAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings Per Share",
        "terseLabel": "Earnings per share"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EarningsPerShareBasic": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EarningsPerShareBasic",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureEarningsPerShareDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings Per Share, Basic",
        "terseLabel": "Basic (in dollars per share)",
        "verboseLabel": "Basic earnings per share (in dollars per share)",
        "documentation": "The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period."
       }
      }
     },
     "auth_ref": [
      "r172",
      "r192",
      "r232",
      "r233",
      "r234",
      "r235",
      "r236",
      "r237",
      "r238",
      "r239",
      "r246",
      "r248",
      "r253",
      "r254",
      "r255",
      "r259",
      "r420",
      "r499",
      "r532",
      "r543",
      "r636",
      "r637",
      "r829",
      "r861",
      "r1070"
     ]
    },
    "us-gaap_EarningsPerShareDiluted": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EarningsPerShareDiluted",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureEarningsPerShareDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings Per Share, Diluted",
        "terseLabel": "Diluted (in dollars per share)",
        "verboseLabel": "Diluted earnings per share (in dollars per share)",
        "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."
       }
      }
     },
     "auth_ref": [
      "r172",
      "r192",
      "r232",
      "r233",
      "r234",
      "r235",
      "r236",
      "r237",
      "r238",
      "r239",
      "r248",
      "r253",
      "r254",
      "r255",
      "r259",
      "r420",
      "r499",
      "r532",
      "r543",
      "r636",
      "r637",
      "r829",
      "r861",
      "r1070"
     ]
    },
    "us-gaap_EarningsPerShareDilutedAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EarningsPerShareDilutedAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureEarningsPerShareDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings Per Share, Diluted [Abstract]",
        "terseLabel": "Diluted earnings per share of common stock:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EarningsPerShareTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EarningsPerShareTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureEarningsPerShare"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings Per Share [Text Block]",
        "terseLabel": "Earnings Per Share",
        "documentation": "The entire disclosure for earnings per share."
       }
      }
     },
     "auth_ref": [
      "r245",
      "r256",
      "r257",
      "r258"
     ]
    },
    "us-gaap_EffectiveIncomeTaxRateContinuingOperations": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EffectiveIncomeTaxRateContinuingOperations",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureIncomeTaxesEffectiveIncomeTaxRateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective Income Tax Rate Reconciliation, Percent",
        "terseLabel": "Effective income tax rate (as a percent)",
        "documentation": "Percentage of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations."
       }
      }
     },
     "auth_ref": [
      "r506",
      "r1104"
     ]
    },
    "us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureIncomeTaxesEffectiveIncomeTaxRateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective Income Tax Rate Reconciliation, Percent [Abstract]",
        "terseLabel": "Reconciliation of the entity's provision for income taxes at statutory rates to the provision for income taxes at the entity's effective tax rate"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_EllingtonManagementMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "EllingtonManagementMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeAssetsFinancialAssetsAndCollateralHeldByCounterpartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Ellington Management",
        "label": "Ellington Management [Member]",
        "verboseLabel": "Ellington Management"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EmployeeStockOptionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EmployeeStockOptionMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureEarningsPerShareDetails",
      "http://www.pennymacfinancial.com/role/DisclosureStockBasedCompensationOtherDetails",
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Stock Option [Member]",
        "terseLabel": "Employee Stock Option",
        "documentation": "Share-based payment arrangement granting right, subject to vesting and other restrictions, to purchase or sell certain number of shares at predetermined price for specified period of time."
       }
      }
     },
     "auth_ref": [
      "r1349",
      "r1350",
      "r1351",
      "r1352",
      "r1353",
      "r1354",
      "r1355",
      "r1356",
      "r1357",
      "r1358",
      "r1359",
      "r1360",
      "r1361",
      "r1362",
      "r1363",
      "r1364",
      "r1365",
      "r1366",
      "r1367",
      "r1368",
      "r1369",
      "r1370",
      "r1371",
      "r1372",
      "r1373",
      "r1374"
     ]
    },
    "dei_EntityAddressAddressLine1": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityAddressAddressLine1",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, Address Line One",
        "documentation": "Address Line 1 such as Attn, Building Name, Street Name"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressCityOrTown": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityAddressCityOrTown",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, City or Town",
        "documentation": "Name of the City or Town"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressPostalZipCode": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityAddressPostalZipCode",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, Postal Zip Code",
        "documentation": "Code for the postal or zip code"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressStateOrProvince": {
     "xbrltype": "stateOrProvinceItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityAddressStateOrProvince",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, State or Province",
        "documentation": "Name of the state or province."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityCentralIndexKey": {
     "xbrltype": "centralIndexKeyItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityCentralIndexKey",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Central Index Key",
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK."
       }
      }
     },
     "auth_ref": [
      "r1169"
     ]
    },
    "dei_EntityCommonStockSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityCommonStockSharesOutstanding",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Common Stock, Shares Outstanding",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityCurrentReportingStatus": {
     "xbrltype": "yesNoItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityCurrentReportingStatus",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Current Reporting Status",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityDomain",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Entities [Member]",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityEmergingGrowthCompany": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityEmergingGrowthCompany",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Emerging Growth Company",
        "documentation": "Indicate if registrant meets the emerging growth company criteria."
       }
      }
     },
     "auth_ref": [
      "r1169"
     ]
    },
    "dei_EntityFileNumber": {
     "xbrltype": "fileNumberItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityFileNumber",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Securities Act File Number",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityFilerCategory": {
     "xbrltype": "filerCategoryItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityFilerCategory",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Filer Category",
        "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."
       }
      }
     },
     "auth_ref": [
      "r1169"
     ]
    },
    "dei_EntityIncorporationStateCountryCode": {
     "xbrltype": "edgarStateCountryItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityIncorporationStateCountryCode",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Incorporation, State or Country Code",
        "documentation": "Two-character EDGAR code representing the state or country of incorporation."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityInteractiveDataCurrent": {
     "xbrltype": "yesNoItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityInteractiveDataCurrent",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Interactive Data Current",
        "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)."
       }
      }
     },
     "auth_ref": [
      "r1253"
     ]
    },
    "dei_EntityRegistrantName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityRegistrantName",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Registrant Name",
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC."
       }
      }
     },
     "auth_ref": [
      "r1169"
     ]
    },
    "dei_EntityShellCompany": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityShellCompany",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Shell Company",
        "documentation": "Boolean flag that is true when the registrant is a shell company as defined in Rule 12b-2 of the Exchange Act."
       }
      }
     },
     "auth_ref": [
      "r1169"
     ]
    },
    "dei_EntitySmallBusiness": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntitySmallBusiness",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Small Business",
        "documentation": "Indicates that the company is a Smaller Reporting Company (SRC)."
       }
      }
     },
     "auth_ref": [
      "r1169"
     ]
    },
    "dei_EntityTaxIdentificationNumber": {
     "xbrltype": "employerIdItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityTaxIdentificationNumber",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Tax Identification Number",
        "documentation": "The Tax Identification Number (TIN), also known as an Employer Identification Number (EIN), is a unique 9-digit value assigned by the IRS."
       }
      }
     },
     "auth_ref": [
      "r1169"
     ]
    },
    "ecd_EqtyAwrdsAdjFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "EqtyAwrdsAdjFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Awards Adjustments, Footnote [Text Block]",
        "terseLabel": "Equity Awards Adjustments, Footnote"
       }
      }
     },
     "auth_ref": [
      "r1208"
     ]
    },
    "ecd_EqtyAwrdsAdjsExclgValRprtdInSummryCompstnTblMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "EqtyAwrdsAdjsExclgValRprtdInSummryCompstnTblMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Awards Adjustments, Excluding Value Reported in the Compensation Table [Member]",
        "terseLabel": "Equity Awards Adjustments, Excluding Value Reported in Compensation Table"
       }
      }
     },
     "auth_ref": [
      "r1249"
     ]
    },
    "ecd_EqtyAwrdsAdjsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "EqtyAwrdsAdjsMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Awards Adjustments [Member]",
        "terseLabel": "Equity Awards Adjustments"
       }
      }
     },
     "auth_ref": [
      "r1249"
     ]
    },
    "ecd_EqtyAwrdsInSummryCompstnTblForAplblYrMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "EqtyAwrdsInSummryCompstnTblForAplblYrMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Aggregate Grant Date Fair Value of Equity Award Amounts Reported in Summary Compensation Table [Member]",
        "terseLabel": "Aggregate Grant Date Fair Value of Equity Award Amounts Reported in Summary Compensation Table"
       }
      }
     },
     "auth_ref": [
      "r1249"
     ]
    },
    "us-gaap_EquityComponentDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EquityComponentDomain",
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Component [Domain]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r7",
      "r164",
      "r171",
      "r172",
      "r189",
      "r190",
      "r191",
      "r223",
      "r224",
      "r225",
      "r230",
      "r238",
      "r240",
      "r242",
      "r261",
      "r335",
      "r340",
      "r369",
      "r419",
      "r443",
      "r499",
      "r514",
      "r515",
      "r527",
      "r528",
      "r529",
      "r533",
      "r542",
      "r543",
      "r611",
      "r613",
      "r614",
      "r615",
      "r616",
      "r619",
      "r620",
      "r621",
      "r622",
      "r623",
      "r635",
      "r679",
      "r680",
      "r681",
      "r682",
      "r683",
      "r684",
      "r689",
      "r692",
      "r716",
      "r859",
      "r880",
      "r881",
      "r882",
      "r906",
      "r977"
     ]
    },
    "ecd_EquityValuationAssumptionDifferenceFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "EquityValuationAssumptionDifferenceFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Valuation Assumption Difference, Footnote [Text Block]",
        "terseLabel": "Equity Valuation Assumption Difference, Footnote"
       }
      }
     },
     "auth_ref": [
      "r1218"
     ]
    },
    "ecd_ErrCompAnalysisTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "ErrCompAnalysisTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Erroneous Compensation Analysis [Text Block]",
        "terseLabel": "Erroneous Compensation Analysis"
       }
      }
     },
     "auth_ref": [
      "r1176",
      "r1186",
      "r1196",
      "r1228"
     ]
    },
    "ecd_ErrCompRecoveryTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "ErrCompRecoveryTable",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Erroneously Awarded Compensation Recovery [Table]",
        "terseLabel": "Erroneously Awarded Compensation Recovery"
       }
      }
     },
     "auth_ref": [
      "r1173",
      "r1183",
      "r1193",
      "r1225"
     ]
    },
    "us-gaap_EstimateOfFairValueFairValueDisclosureMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EstimateOfFairValueFairValueDisclosureMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsInitialRecognitionDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueMeasurementBasisNonrecurringDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Estimate of Fair Value Measurement [Member]",
        "terseLabel": "Total",
        "documentation": "Measured as an estimate of fair value."
       }
      }
     },
     "auth_ref": [
      "r404",
      "r665",
      "r666",
      "r673",
      "r1058",
      "r1088",
      "r1089"
     ]
    },
    "ecd_ExecutiveCategoryAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "ExecutiveCategoryAxis",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Executive Category [Axis]",
        "terseLabel": "Executive Category:"
       }
      }
     },
     "auth_ref": [
      "r1224"
     ]
    },
    "pfsi_ExpensesIncurredMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ExpensesIncurredMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsOtherTransactionsReimbursementOfCommonOverheadExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to related party transactions where the expenses incurred by the related party or the (reporting entity), net , that were reimbursed by the related party or (reporting entity).",
        "label": "Expenses incurred by related party (reporting entity), net",
        "terseLabel": "Expenses incurred by related party (reporting entity), net"
       }
      }
     },
     "auth_ref": []
    },
    "stpr_FL": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/stpr/2025",
     "localname": "FL",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesGeographicalDistributionOfLoansDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "FLORIDA",
        "terseLabel": "Florida"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueAssetRecurringBasisStillHeldUnrealizedGainLossStatementOfIncomeExtensibleList": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAssetRecurringBasisStillHeldUnrealizedGainLossStatementOfIncomeExtensibleList",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3InputRollForwardRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Asset, Recurring Basis, Still Held, Unrealized Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration]",
        "documentation": "Indicates line item in statement of income or comprehensive income that includes unrealized gain (loss) from asset measured at fair value using unobservable input (level 3) and still held."
       }
      }
     },
     "auth_ref": [
      "r649",
      "r655",
      "r1121"
     ]
    },
    "pfsi_FairValueAssetsAndLiabilitiesMeasuredOnNonrecurringBasisGainLossIncludedInEarningsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnNonrecurringBasisGainLossIncludedInEarningsAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueMeasurementBasisNonrecurringDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Assets and Liabilities Measured on Nonrecurring Basis Gain (Loss) Included in Earnings [Abstract]",
        "terseLabel": "Total gains (losses) on assets measured at estimated fair values on a nonrecurring basis"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueMeasurementBasisNonrecurringDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]",
        "terseLabel": "Fair value",
        "verboseLabel": "Financial statement items measured at fair value on a nonrecurring basis",
        "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."
       }
      }
     },
     "auth_ref": [
      "r639",
      "r640",
      "r654",
      "r1119"
     ]
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueMeasurementBasisNonrecurringDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Recurring and Nonrecurring [Table]",
        "documentation": "Disclosure of information about asset and liability measured at fair value on recurring and nonrecurring basis."
       }
      }
     },
     "auth_ref": [
      "r639",
      "r640",
      "r654",
      "r1119"
     ]
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageLoansAndIrlcDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Measurement Inputs and Valuation Techniques [Line Items]",
        "terseLabel": "Excess servicing spread financing",
        "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."
       }
      }
     },
     "auth_ref": [
      "r641",
      "r642",
      "r643",
      "r1105",
      "r1107",
      "r1122"
     ]
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageLoansAndIrlcDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Measurement Inputs and Valuation Techniques [Table]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r641",
      "r642",
      "r643",
      "r1105",
      "r1107",
      "r1122"
     ]
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Measurement Inputs and Valuation Techniques [Table Text Block]",
        "terseLabel": "Quantitative summary of key inputs or assumptions used in the valuation of financial statement items",
        "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."
       }
      }
     },
     "auth_ref": [
      "r641",
      "r642",
      "r1122"
     ]
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisGainLossIncludedInEarningsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisGainLossIncludedInEarningsAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3InputRollForwardRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Assets and Liabilities Measured on Recurring Basis, Gain (Loss) Included in Earnings [Abstract]",
        "terseLabel": "Changes in fair value included in income arising from:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueAssetsMeasuredOnNonrecurringBasisTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAssetsMeasuredOnNonrecurringBasisTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Measurements, Nonrecurring [Table Text Block]",
        "terseLabel": "Summary of financial statement items measured at estimated fair value on a nonrecurring basis",
        "documentation": "Tabular disclosure of assets and liabilities by class, including financial instruments measured at fair value that are classified in shareholders' equity, if any, that are measured at fair value on a nonrecurring basis in periods after initial recognition (for example, impaired assets). Disclosures may include, but are not limited to: (a) the fair value measurements recorded and the reasons for the measurements and (b) the level within the fair value hierarchy in which the fair value measurements are categorized in their entirety (levels 1, 2, 3)."
       }
      }
     },
     "auth_ref": [
      "r1396",
      "r1397"
     ]
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3InputRollForwardRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Asset, Recurring Basis, Still Held, Unrealized Gain (Loss)",
        "terseLabel": "Changes in fair value recognized during the period relating to assets still held at the end of the quarter",
        "documentation": "Amount of unrealized gain (loss) recognized in income from asset measured at fair value on recurring basis using unobservable input (level 3) and still held."
       }
      }
     },
     "auth_ref": [
      "r649",
      "r655",
      "r1120",
      "r1121"
     ]
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueChangesInFairValueFairValueOptionRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3InputRollForwardRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsInitialRecognitionDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueTables",
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsMortgageLoanServicingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Asset Class [Domain]",
        "documentation": "Class of asset."
       }
      }
     },
     "auth_ref": [
      "r644",
      "r645",
      "r646",
      "r647",
      "r648",
      "r649",
      "r655",
      "r1058",
      "r1120",
      "r1129"
     ]
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3InputRollForwardRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]",
        "terseLabel": "Roll forward of assets measured using Level 3 inputs on a recurring basis",
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3InputRollForwardRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]",
        "terseLabel": "Roll forward of items measured using Level 3 inputs on a recurring basis",
        "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."
       }
      }
     },
     "auth_ref": [
      "r644",
      "r645",
      "r646",
      "r647",
      "r648",
      "r649",
      "r655",
      "r1120"
     ]
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3InputRollForwardRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Table]",
        "documentation": "Disclosure of information about financial instrument asset measured at fair value on recurring basis using unobservable input."
       }
      }
     },
     "auth_ref": [
      "r644",
      "r645",
      "r646",
      "r647",
      "r648",
      "r649",
      "r655",
      "r1120"
     ]
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Table Text Block]",
        "terseLabel": "Summary of roll forward of items measured using Level 3 inputs on a recurring basis",
        "documentation": "Tabular disclosure of the fair value measurement of assets using significant unobservable inputs (Level 3), a reconciliation of the beginning and ending balances, separately presenting changes during the period 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 asset."
       }
      }
     },
     "auth_ref": [
      "r644",
      "r649",
      "r655",
      "r1120"
     ]
    },
    "us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]",
        "terseLabel": "Fair Value",
        "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."
       }
      }
     },
     "auth_ref": [
      "r665",
      "r666",
      "r667",
      "r1058",
      "r1129",
      "r1414"
     ]
    },
    "us-gaap_FairValueByAssetClassAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueByAssetClassAxis",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueChangesInFairValueFairValueOptionRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3InputRollForwardRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsInitialRecognitionDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueTables",
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsMortgageLoanServicingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Asset Class [Axis]",
        "documentation": "Information by class of asset."
       }
      }
     },
     "auth_ref": [
      "r644",
      "r645",
      "r646",
      "r647",
      "r648",
      "r649",
      "r655",
      "r1058",
      "r1120",
      "r1129"
     ]
    },
    "us-gaap_FairValueByBalanceSheetGroupingTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueByBalanceSheetGroupingTable",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, by Balance Sheet Grouping [Table]",
        "documentation": "Disclosure of information about the fair value of financial instruments, including financial assets and financial liabilities, and the measurements of those instruments, assets, and liabilities."
       }
      }
     },
     "auth_ref": [
      "r665",
      "r667",
      "r1058",
      "r1129",
      "r1412",
      "r1414"
     ]
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageLoansAndIrlcDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingLiabilitiesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsInitialRecognitionDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueMeasurementBasisNonrecurringDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Hierarchy and NAV [Axis]",
        "documentation": "Information by level within fair value hierarchy and fair value measured at net asset value per share as practical expedient."
       }
      }
     },
     "auth_ref": [
      "r404",
      "r448",
      "r449",
      "r450",
      "r451",
      "r452",
      "r453",
      "r455",
      "r456",
      "r638",
      "r640",
      "r641",
      "r642",
      "r643",
      "r652",
      "r654",
      "r656",
      "r665",
      "r734",
      "r735",
      "r736",
      "r1058",
      "r1088",
      "r1089",
      "r1097",
      "r1098",
      "r1099",
      "r1100",
      "r1101",
      "r1119",
      "r1122",
      "r1129"
     ]
    },
    "us-gaap_FairValueByLiabilityClassAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueByLiabilityClassAxis",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueChangesInFairValueFairValueOptionRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liability Class [Axis]",
        "documentation": "Information by class of liability."
       }
      }
     },
     "auth_ref": [
      "r644",
      "r645",
      "r646",
      "r647",
      "r648",
      "r649",
      "r655"
     ]
    },
    "us-gaap_FairValueByMeasurementBasisAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueByMeasurementBasisAxis",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsInitialRecognitionDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueMeasurementBasisNonrecurringDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measurement Basis [Axis]",
        "documentation": "Information by measurement basis."
       }
      }
     },
     "auth_ref": [
      "r404",
      "r665",
      "r666",
      "r667",
      "r673",
      "r675",
      "r676",
      "r1058",
      "r1088",
      "r1089",
      "r1414"
     ]
    },
    "us-gaap_FairValueByMeasurementFrequencyAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueByMeasurementFrequencyAxis",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueChangesInFairValueFairValueOptionRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFairValueOptionMaturitiesRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3InputRollForwardRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueMeasurementBasisNonrecurringDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measurement Frequency [Axis]",
        "documentation": "Information by measurement frequency."
       }
      }
     },
     "auth_ref": [
      "r639",
      "r640",
      "r641",
      "r643",
      "r1119",
      "r1399",
      "r1410"
     ]
    },
    "us-gaap_FairValueDisclosuresAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueDisclosuresAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueDisclosuresTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueDisclosuresTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Disclosures [Text Block]",
        "terseLabel": "Fair Value",
        "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."
       }
      }
     },
     "auth_ref": [
      "r641",
      "r648",
      "r650",
      "r651",
      "r652",
      "r656",
      "r657",
      "r658",
      "r659",
      "r660",
      "r826",
      "r1119",
      "r1123"
     ]
    },
    "us-gaap_FairValueInputsLevel1Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueInputsLevel1Member",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueMeasurementBasisNonrecurringDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Inputs, Level 1 [Member]",
        "terseLabel": "Level 1",
        "documentation": "Quoted prices in active markets for identical assets or liabilities that the reporting entity can access at the measurement date."
       }
      }
     },
     "auth_ref": [
      "r404",
      "r448",
      "r453",
      "r455",
      "r640",
      "r654",
      "r665",
      "r734",
      "r1058",
      "r1097",
      "r1098",
      "r1099",
      "r1100",
      "r1101",
      "r1119",
      "r1129"
     ]
    },
    "us-gaap_FairValueInputsLevel2Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueInputsLevel2Member",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueMeasurementBasisNonrecurringDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Inputs, Level 2 [Member]",
        "terseLabel": "Level 2",
        "documentation": "Inputs other than quoted prices included within level 1 that are observable for an asset or liability, either directly or indirectly, including, but not limited to, quoted prices for similar assets or liabilities in active markets, or quoted prices for identical or similar assets or liabilities in inactive markets."
       }
      }
     },
     "auth_ref": [
      "r404",
      "r448",
      "r453",
      "r455",
      "r457",
      "r640",
      "r641",
      "r654",
      "r665",
      "r735",
      "r1058",
      "r1088",
      "r1089",
      "r1097",
      "r1098",
      "r1099",
      "r1100",
      "r1101",
      "r1119",
      "r1129"
     ]
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueInputsLevel3Member",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageLoansAndIrlcDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingLiabilitiesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsInitialRecognitionDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueMeasurementBasisNonrecurringDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Inputs, Level 3 [Member]",
        "terseLabel": "Level 3",
        "documentation": "Unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing."
       }
      }
     },
     "auth_ref": [
      "r404",
      "r448",
      "r449",
      "r450",
      "r451",
      "r452",
      "r453",
      "r455",
      "r456",
      "r640",
      "r641",
      "r642",
      "r643",
      "r654",
      "r665",
      "r736",
      "r1058",
      "r1088",
      "r1089",
      "r1097",
      "r1098",
      "r1099",
      "r1100",
      "r1101",
      "r1119",
      "r1122",
      "r1129"
     ]
    },
    "us-gaap_FairValueInputsQuantitativeInformationAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueInputsQuantitativeInformationAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Measurement Inputs and Valuation Techniques [Abstract]",
        "terseLabel": "Inputs"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueChangesInFairValueFairValueOptionRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value by Liability Class [Domain]",
        "documentation": "Represents classes of liabilities measured and disclosed at fair value."
       }
      }
     },
     "auth_ref": [
      "r644",
      "r645",
      "r646",
      "r647",
      "r648",
      "r649",
      "r655"
     ]
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3InputRollForwardRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]",
        "terseLabel": "Roll forward of liabilities measured using Level 3 inputs on a recurring basis",
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueMeasurementFrequencyDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueMeasurementFrequencyDomain",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueChangesInFairValueFairValueOptionRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFairValueOptionMaturitiesRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3InputRollForwardRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueMeasurementBasisNonrecurringDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measurement Frequency [Domain]",
        "documentation": "Measurement frequency."
       }
      }
     },
     "auth_ref": [
      "r639",
      "r640",
      "r641",
      "r643",
      "r1119",
      "r1399",
      "r1410"
     ]
    },
    "pfsi_FairValueMeasurementWithUnobservableInputsReconciliationNonrecurringBasisGainLossFromRealEstateAcquiredInSettlementOfLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationNonrecurringBasisGainLossFromRealEstateAcquiredInSettlementOfLoans",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueMeasurementBasisNonrecurringDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain (loss) recognized in the income statement for financial instrument classified as real estate acquired in settlement of loans measured on a nonrecurring basis 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 Nonrecurring Basis, Gain (Loss) from Real Estate Acquired in Settlement of Loans",
        "terseLabel": "Real estate acquired in settlement of loans"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetChangesInInstrumentSpecificCreditRiskIncludedInEarnings": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetChangesInInstrumentSpecificCreditRiskIncludedInEarnings",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3InputRollForwardRecurringBasisDetails": {
       "parentTag": "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3InputRollForwardRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the amount of gain (loss) recognized in the income statement, arising from changes in instrument specific credit risk, for financial instrument classified as an asset 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 Asset Changes In Instrument Specific Credit Risk Included In Earnings",
        "terseLabel": "Changes in instrument specific credit risk"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3InputRollForwardRecurringBasisDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3InputRollForwardRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Gain (Loss) Included in Earnings",
        "totalLabel": "Total changes in fair value included in income",
        "documentation": "Amount of gain (loss) recognized in income from asset measured at fair value on recurring basis using unobservable input (level 3)."
       }
      }
     },
     "auth_ref": [
      "r645",
      "r655",
      "r1120",
      "r1121"
     ]
    },
    "pfsi_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetOtherFactorsIncludedInEarnings": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetOtherFactorsIncludedInEarnings",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3InputRollForwardRecurringBasisDetails": {
       "parentTag": "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3InputRollForwardRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the amount of gain (loss) recognized in the income statement, arising from other factors, for financial instrument classified as an asset 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 Asset Other Factors Included in Earnings",
        "terseLabel": "Other factors"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchasesAndIssuancesNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchasesAndIssuancesNet",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3InputRollForwardRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of purchases and issuances net of financial instrument classified as an asset 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 Asset Purchases And Issuances Net",
        "terseLabel": "Purchases and issuances, net"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSalesAndRepayments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSalesAndRepayments",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3InputRollForwardRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of sales and repayments on financial instrument classified as an asset 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 Asset Sales And Repayments",
        "negatedLabel": "Sales and repayments"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransferToMortgageLoansHeldForSaleDueToLoanFundingOrPurchase": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransferToMortgageLoansHeldForSaleDueToLoanFundingOrPurchase",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3InputRollForwardRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Transfer of interest rate lock commitment to mortgage loan measured using Level 2 inputs as a result of funding or purchase of the loan subject to the rate lock commitment.",
        "label": "Fair Value Measurement With Unobservable Inputs Reconciliation Recurring Basis Asset Transfer to Mortgage Loans Held For Sale Due to Loan Funding Or Purchase",
        "terseLabel": "Transfers to loans held for sale"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersOutOfLevel3": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersOutOfLevel3",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3InputRollForwardRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Transfers out of Level 3",
        "terseLabel": "Transfers from Level 3 to Level 2",
        "documentation": "Amount of transfers of financial instrument classified as an asset out of level 3 of the fair value hierarchy."
       }
      }
     },
     "auth_ref": [
      "r648",
      "r653",
      "r655",
      "r1120"
     ]
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3InputRollForwardRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset Value",
        "periodEndLabel": "Balance at the end of the quarter",
        "periodStartLabel": "Balance at the beginning of the quarter",
        "documentation": "Fair value of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing."
       }
      }
     },
     "auth_ref": [
      "r644",
      "r655",
      "r1120"
     ]
    },
    "pfsi_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisCapitalizationOfInterestAndAdvance": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisCapitalizationOfInterestAndAdvance",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3InputRollForwardRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of capitalization of interest and advance of financial instrument classified as an asset 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 Capitalization Of Interest And Advance",
        "terseLabel": "Capitalization of interest and advances"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3InputRollForwardRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Gain (Loss) Included in Earnings",
        "terseLabel": "Changes in fair value included in income",
        "documentation": "Amount of gain (loss) recognized in income from liability measured at fair value on recurring basis using unobservable input (level 3)."
       }
      }
     },
     "auth_ref": [
      "r645",
      "r655"
     ]
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPeriodIncreaseDecrease": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPeriodIncreaseDecrease",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3InputRollForwardRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Period Increase (Decrease)",
        "terseLabel": "Changes in fair value recognized during the period relating to liability still outstanding at the end of the quarter",
        "documentation": "Amount of increase (decrease) 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."
       }
      }
     },
     "auth_ref": [
      "r1401",
      "r1409"
     ]
    },
    "pfsi_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisTransferToRealEstateAcquiredInSettlementOfLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisTransferToRealEstateAcquiredInSettlementOfLoans",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3InputRollForwardRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of transfers of financial instrument classified as an asset to real estate acquired in settlement of loans.",
        "label": "Fair Value Measurement With Unobservable Inputs Reconciliation Recurring Basis Transfer To Real Estate Acquired In Settlement Of Loans",
        "terseLabel": "To real estate acquired in settlement of loans"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3InputRollForwardRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability Value",
        "periodEndLabel": "Balance at the end of the quarter",
        "periodStartLabel": "Balance at the beginning of the quarter",
        "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."
       }
      }
     },
     "auth_ref": [
      "r644",
      "r655"
     ]
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageLoansAndIrlcDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingLiabilitiesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsInitialRecognitionDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueMeasurementBasisNonrecurringDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Hierarchy and NAV [Domain]",
        "documentation": "Categories used to prioritize the inputs to valuation techniques to measure fair value."
       }
      }
     },
     "auth_ref": [
      "r404",
      "r448",
      "r449",
      "r450",
      "r451",
      "r452",
      "r453",
      "r455",
      "r456",
      "r638",
      "r640",
      "r641",
      "r642",
      "r643",
      "r652",
      "r654",
      "r656",
      "r665",
      "r734",
      "r735",
      "r736",
      "r1058",
      "r1088",
      "r1089",
      "r1097",
      "r1098",
      "r1099",
      "r1100",
      "r1101",
      "r1119",
      "r1122",
      "r1129"
     ]
    },
    "us-gaap_FairValueMeasurementsNonrecurringMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueMeasurementsNonrecurringMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueMeasurementBasisNonrecurringDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Nonrecurring [Member]",
        "terseLabel": "Nonrecurring basis",
        "documentation": "Infrequent fair value measurement. Includes, but is not limited to, fair value adjustment for impairment of asset, liability or equity, not frequently measured at fair value."
       }
      }
     },
     "auth_ref": [
      "r639",
      "r640",
      "r641",
      "r643",
      "r1119",
      "r1399"
     ]
    },
    "us-gaap_FairValueMeasurementsRecurringMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueMeasurementsRecurringMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueChangesInFairValueFairValueOptionRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFairValueOptionMaturitiesRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3InputRollForwardRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Recurring [Member]",
        "terseLabel": "Recurring basis",
        "documentation": "Frequent fair value measurement. Includes, but is not limited to, fair value adjustment for impairment of asset, liability or equity, frequently measured at fair value."
       }
      }
     },
     "auth_ref": [
      "r1119",
      "r1396",
      "r1397",
      "r1398",
      "r1399",
      "r1400",
      "r1410"
     ]
    },
    "pfsi_FairValueOfMortgageLoansHeldAsAssets90PlusDaysDelinquentInForeclosure": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "FairValueOfMortgageLoansHeldAsAssets90PlusDaysDelinquentInForeclosure",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFairValueOptionMaturitiesRecurringBasisDetails": {
       "parentTag": "us-gaap_MortgagesHeldForSaleFairValueDisclosure",
       "weight": 1.0,
       "order": 3.0
      },
      "http://www.pennymacfinancial.com/role/DisclosureFairValueDetails4Calc2": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFairValueOptionMaturitiesRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This item represents the aggregate fair value of loans held as assets that are 90 plus days delinquent and are in foreclosure for which the fair value option has been elected.",
        "label": "Fair Value of Mortgage Loans Held As Assets 90 Plus Days Delinquent in Foreclosure",
        "totalLabel": "90 days or more delinquent - In foreclosure"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_FairValueOfMortgageLoansHeldAsAssets90PlusDaysDelinquentNotInForeclosure": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "FairValueOfMortgageLoansHeldAsAssets90PlusDaysDelinquentNotInForeclosure",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFairValueOptionMaturitiesRecurringBasisDetails": {
       "parentTag": "us-gaap_MortgagesHeldForSaleFairValueDisclosure",
       "weight": 1.0,
       "order": 2.0
      },
      "http://www.pennymacfinancial.com/role/DisclosureFairValueDetails4Calc2": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFairValueOptionMaturitiesRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This item represents the aggregate fair value of loans held as assets that are 90 plus days delinquent, but are not in foreclosure for which the fair value option has been elected.",
        "label": "Fair Value of Mortgage Loans Held As Assets 90 Plus Days Delinquent Not in Foreclosure",
        "totalLabel": "90 days or more delinquent - Not in foreclosure"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueOptionChangesInFairValueGainLoss1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueOptionChangesInFairValueGainLoss1",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueChangesInFairValueFairValueOptionRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Option, Changes in Fair Value, Gain (Loss)",
        "terseLabel": "Total gains (losses) from changes in estimated fair values included in earnings",
        "documentation": "For each line item in the statement of financial position, the amounts of gains and losses from fair value changes included in earnings."
       }
      }
     },
     "auth_ref": [
      "r676",
      "r677",
      "r1058",
      "r1129"
     ]
    },
    "pfsi_FairValueOptionLoansHeldAsAssets90PlusDaysPastDueInForeclosureAggregateDifference": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "FairValueOptionLoansHeldAsAssets90PlusDaysPastDueInForeclosureAggregateDifference",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureFairValueDetails4Calc2": {
       "parentTag": "pfsi_FairValueOfMortgageLoansHeldAsAssets90PlusDaysDelinquentInForeclosure",
       "weight": 1.0,
       "order": 2.0
      },
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFairValueOptionMaturitiesRecurringBasisDetails": {
       "parentTag": "pfsi_FairValueOptionLoansHeldAsAssetsPastDueAggregateDifference",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFairValueOptionMaturitiesRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For loans held as assets for which the fair value option has been elected, this item represents the difference between the aggregate fair value and the aggregate unpaid principal balance of those loans that are 90 days past due and in foreclosure.",
        "label": "Fair Value Option Loans Held As Assets 90 Plus Days Past Due in Foreclosure Aggregate Difference",
        "terseLabel": "90 days or more delinquent - In foreclosure"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_FairValueOptionLoansHeldAsAssets90PlusDaysPastDueInForeclosurePrincipalAmountDueUponMaturity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "FairValueOptionLoansHeldAsAssets90PlusDaysPastDueInForeclosurePrincipalAmountDueUponMaturity",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureFairValueDetails4Calc2": {
       "parentTag": "pfsi_FairValueOfMortgageLoansHeldAsAssets90PlusDaysDelinquentInForeclosure",
       "weight": 1.0,
       "order": 1.0
      },
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFairValueOptionMaturitiesRecurringBasisDetails": {
       "parentTag": "srt_MortgageLoansOnRealEstatePrincipalAmountOfDelinquentLoans",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFairValueOptionMaturitiesRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the principal amount of loans held as assets, 90 days past due, that are in foreclosure for which the fair value option has been elected.",
        "label": "Fair Value Option Loans Held As Assets 90 Plus Days Past Due in Foreclosure Principal Amount Due Upon Maturity",
        "terseLabel": "90 days or more delinquent - In foreclosure"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_FairValueOptionLoansHeldAsAssets90PlusDaysPastDueNotInForeclosureAggregateDifference": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "FairValueOptionLoansHeldAsAssets90PlusDaysPastDueNotInForeclosureAggregateDifference",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFairValueOptionMaturitiesRecurringBasisDetails": {
       "parentTag": "pfsi_FairValueOptionLoansHeldAsAssetsPastDueAggregateDifference",
       "weight": 1.0,
       "order": 2.0
      },
      "http://www.pennymacfinancial.com/role/DisclosureFairValueDetails4Calc2": {
       "parentTag": "pfsi_FairValueOfMortgageLoansHeldAsAssets90PlusDaysDelinquentNotInForeclosure",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFairValueOptionMaturitiesRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For loans held as assets, for which the fair value option has been elected, this item represents the difference between the aggregate fair value and the aggregate unpaid principal balance of those loans that are 90 days past due and not in foreclosure.",
        "label": "Fair Value Option Loans Held As Assets 90 Plus Days Past Due Not in Foreclosure Aggregate Difference",
        "terseLabel": "90 days or more delinquent - Not in foreclosure"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_FairValueOptionLoansHeldAsAssets90PlusDaysPastDueNotInForeclosurePrincipalAmountDueUponMaturity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "FairValueOptionLoansHeldAsAssets90PlusDaysPastDueNotInForeclosurePrincipalAmountDueUponMaturity",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureFairValueDetails4Calc2": {
       "parentTag": "pfsi_FairValueOfMortgageLoansHeldAsAssets90PlusDaysDelinquentNotInForeclosure",
       "weight": 1.0,
       "order": 1.0
      },
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFairValueOptionMaturitiesRecurringBasisDetails": {
       "parentTag": "srt_MortgageLoansOnRealEstatePrincipalAmountOfDelinquentLoans",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFairValueOptionMaturitiesRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the principal amount of loans held as assets, 90 days past due, that are not in foreclosure for which the fair value option has been elected.",
        "label": "Fair Value Option Loans Held As Assets 90 Plus Days Past Due Not in Foreclosure Principal Amount Due Upon Maturity",
        "terseLabel": "90 days or more delinquent - Not in foreclosure"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueOptionLoansHeldAsAssetsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueOptionLoansHeldAsAssetsAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFairValueOptionMaturitiesRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Option, Loans Held as Assets [Abstract]",
        "terseLabel": "Fair value"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueOptionLoansHeldAsAssetsAggregateDifferenceAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueOptionLoansHeldAsAssetsAggregateDifferenceAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFairValueOptionMaturitiesRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Option, Loans Held as Assets, Aggregate Difference [Abstract]",
        "terseLabel": "Difference"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_FairValueOptionLoansHeldAsAssetsLessThan90DaysPastDue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "FairValueOptionLoansHeldAsAssetsLessThan90DaysPastDue",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFairValueOptionMaturitiesRecurringBasisDetails": {
       "parentTag": "us-gaap_MortgagesHeldForSaleFairValueDisclosure",
       "weight": 1.0,
       "order": 1.0
      },
      "http://www.pennymacfinancial.com/role/DisclosureFairValueDetails4Calc2": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFairValueOptionMaturitiesRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the aggregate fair value of loans held as assets that are less than 90 days past due for which the fair value option has been elected.",
        "label": "Fair Value Option Loans Held as Assets Less than 90 Days Past Due",
        "totalLabel": "Current through 89 days delinquent"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_FairValueOptionLoansHeldAsAssetsLessThan90DaysPastDueAggregateDifference": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "FairValueOptionLoansHeldAsAssetsLessThan90DaysPastDueAggregateDifference",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFairValueOptionMaturitiesRecurringBasisDetails": {
       "parentTag": "pfsi_FairValueOptionLoansHeldAsAssetsPastDueAggregateDifference",
       "weight": 1.0,
       "order": 1.0
      },
      "http://www.pennymacfinancial.com/role/DisclosureFairValueDetails4Calc2": {
       "parentTag": "pfsi_FairValueOptionLoansHeldAsAssetsLessThan90DaysPastDue",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFairValueOptionMaturitiesRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For loans held as assets for which the fair value option has been elected, this item represents the difference between the aggregate fair value and the aggregate unpaid principal balance of those loans that are less than 90 days past due.",
        "label": "Fair Value Option Loans Held as Assets Less than 90 Days Past Due Aggregate, Difference",
        "terseLabel": "Current through 89 days delinquent"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_FairValueOptionLoansHeldAsAssetsPastDueAggregateDifference": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "FairValueOptionLoansHeldAsAssetsPastDueAggregateDifference",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureFairValueDetails4Calc2": {
       "parentTag": "us-gaap_MortgagesHeldForSaleFairValueDisclosure",
       "weight": 1.0,
       "order": 2.0
      },
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFairValueOptionMaturitiesRecurringBasisDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFairValueOptionMaturitiesRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For loans held as assets for which the fair value option has been elected, this item represents the difference between the aggregate fair value and the aggregate unpaid principal balance of those loans which are past due.",
        "label": "Fair Value Option Loans Held as Assets Past Due Aggregate Difference",
        "totalLabel": "Total difference"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_FairValueOptionLoansHeldAsAssetsPrincipalAmountDueUponMaturityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "FairValueOptionLoansHeldAsAssetsPrincipalAmountDueUponMaturityAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFairValueOptionMaturitiesRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Option Loans Held as Assets Principal Amount Due upon Maturity [Abstract]",
        "terseLabel": "Principal amount due upon maturity"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_FairValueOptionLoansHeldAsAssetsPrincipalAmountUponMaturityOfLessThan90DaysPastDue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "FairValueOptionLoansHeldAsAssetsPrincipalAmountUponMaturityOfLessThan90DaysPastDue",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFairValueOptionMaturitiesRecurringBasisDetails": {
       "parentTag": "srt_MortgageLoansOnRealEstatePrincipalAmountOfDelinquentLoans",
       "weight": 1.0,
       "order": 1.0
      },
      "http://www.pennymacfinancial.com/role/DisclosureFairValueDetails4Calc2": {
       "parentTag": "pfsi_FairValueOptionLoansHeldAsAssetsLessThan90DaysPastDue",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFairValueOptionMaturitiesRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the principal amount of loans held as assets upon maturity of less than 90 days past due for which the fair value option has been elected.",
        "label": "Fair Value Option Loans Held as Assets Principal Amount upon Maturity of Less than 90 Days Past Due",
        "terseLabel": "Current through 89 days delinquent"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueOptionQuantitativeDisclosuresLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueOptionQuantitativeDisclosuresLineItems",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueChangesInFairValueFairValueOptionRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFairValueOptionMaturitiesRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Option, Quantitative Disclosures [Line Items]",
        "terseLabel": "Net gains (losses) from changes in estimated fair values included in earnings for financial statement items carried at estimated fair value",
        "verboseLabel": "Fair value and related principal amounts due upon maturity of assets and liabilities accounted for under the fair value option",
        "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."
       }
      }
     },
     "auth_ref": [
      "r673",
      "r674",
      "r676",
      "r677",
      "r1058",
      "r1129"
     ]
    },
    "us-gaap_FairValueOptionQuantitativeDisclosuresTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueOptionQuantitativeDisclosuresTable",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueChangesInFairValueFairValueOptionRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFairValueOptionMaturitiesRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Option, Disclosures [Table]",
        "documentation": "Disclosure of information about asset and liability measured at fair value under fair value option."
       }
      }
     },
     "auth_ref": [
      "r673",
      "r674",
      "r676",
      "r1058",
      "r1129",
      "r1417"
     ]
    },
    "pfsi_FannieMaeFreddieMacMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "FannieMaeFreddieMacMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRegulatoryCapitalAndLiquidityRequirementsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to both Fannie Mae and Freddie Mac.",
        "label": "Fannie Mae / Freddie Mac - PLS",
        "terseLabel": "Fannie Mae / Freddie Mac - PLS"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_FederalNationalMortgageAssociationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "FederalNationalMortgageAssociationMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeAssetsFinancialAssetsAndCollateralHeldByCounterpartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Federal National Mortgage Association.",
        "label": "Federal National Mortgage Association",
        "terseLabel": "Federal National Mortgage Association"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FeesEarnedInExchangeForServicingFinancialAssetsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FeesEarnedInExchangeForServicingFinancialAssetsTable",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesServicingLateAncillaryAndOtherFeesRelatingToMsrsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fees Recognized in Exchange for Servicing Financial Assets [Table]",
        "documentation": "Disclosure of information about contractually specified servicing fee, late fee, and ancillary fee recognized in income for servicing asset and servicing liability."
       }
      }
     },
     "auth_ref": [
      "r768"
     ]
    },
    "us-gaap_FinancialInstrumentAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancialInstrumentAxis",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFairValueOptionMaturitiesRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageLoansAndIrlcDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingLiabilitiesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsInitialRecognitionDetails",
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails",
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesActivityInMsrsAtFairValueDetails",
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesMortgageServicingLiabilitiesCarriedAtFvDetails",
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesServicingLateAncillaryAndOtherFeesRelatingToMsrsDetails",
      "http://www.pennymacfinancial.com/role/DisclosurePrincipalOnlyStrippedMortgageBackedSecuritiesActivityInCompanySInvestmentInPrincipalOnlyStrippedMbsDetails",
      "http://www.pennymacfinancial.com/role/DisclosurePrincipalOnlyStrippedMortgageBackedSecuritiesSummaryOfCompanyInvestmentInPrincipalOnlyStrippedMbsDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtPrincipalOnlyStrippedMbsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Instrument [Axis]",
        "documentation": "Information by type of financial instrument."
       }
      }
     },
     "auth_ref": [
      "r304",
      "r305",
      "r306",
      "r307",
      "r308",
      "r309",
      "r310",
      "r311",
      "r312",
      "r313",
      "r314",
      "r315",
      "r316",
      "r317",
      "r318",
      "r319",
      "r320",
      "r321",
      "r322",
      "r323",
      "r324",
      "r325",
      "r326",
      "r327",
      "r328",
      "r329",
      "r330",
      "r331",
      "r332",
      "r333",
      "r341",
      "r342",
      "r345",
      "r346",
      "r347",
      "r349",
      "r350",
      "r351",
      "r412",
      "r441",
      "r606",
      "r624",
      "r661",
      "r674",
      "r677",
      "r731",
      "r732",
      "r733",
      "r734",
      "r735",
      "r736",
      "r738",
      "r739",
      "r740",
      "r747",
      "r748",
      "r749",
      "r750",
      "r753",
      "r759",
      "r771",
      "r772",
      "r773",
      "r774",
      "r777",
      "r778",
      "r779",
      "r780",
      "r781",
      "r782",
      "r783",
      "r784",
      "r786",
      "r787",
      "r788",
      "r842",
      "r860",
      "r1085",
      "r1119",
      "r1120",
      "r1122",
      "r1123",
      "r1124",
      "r1125",
      "r1126",
      "r1127",
      "r1128",
      "r1134",
      "r1264",
      "r1265",
      "r1266",
      "r1267",
      "r1268",
      "r1269",
      "r1270",
      "r1329",
      "r1330",
      "r1331",
      "r1332",
      "r1395",
      "r1398",
      "r1399",
      "r1400",
      "r1407",
      "r1410",
      "r1411",
      "r1412"
     ]
    },
    "us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRollForward": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRollForward",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfCashFlowsWithTransfereesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Excluding Accrued Interest, Allowance for Credit Loss [Roll Forward]",
        "terseLabel": "Allowance for losses rollforward",
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfCashFlowsWithTransfereesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Excluding Accrued Interest, Allowance for Credit Loss, Writeoff",
        "negatedLabel": "Charge-offs, net",
        "documentation": "Amount, excluding accrued interest, of decrease in allowance for credit loss on financing receivable from writeoff. Excludes net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r344",
      "r348"
     ]
    },
    "us-gaap_FinancingReceivableExcludingAccruedInterestCreditLossExpenseReversal": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivableExcludingAccruedInterestCreditLossExpenseReversal",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfCashFlowsWithTransfereesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Excluding Accrued Interest, Credit Loss Expense (Reversal)",
        "negatedLabel": "Provision for losses",
        "documentation": "Amount, excluding accrued interest, of credit loss expense (reversal of expense) on financing receivable. Excludes net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r194",
      "r343"
     ]
    },
    "ecd_ForgoneRecoveryDueToDisqualificationOfTaxBenefitsAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "ForgoneRecoveryDueToDisqualificationOfTaxBenefitsAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forgone Recovery due to Disqualification of Tax Benefits, Amount",
        "terseLabel": "Forgone Recovery due to Disqualification of Tax Benefits, Amount"
       }
      }
     },
     "auth_ref": [
      "r1180",
      "r1190",
      "r1200",
      "r1232"
     ]
    },
    "ecd_ForgoneRecoveryDueToExpenseOfEnforcementAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "ForgoneRecoveryDueToExpenseOfEnforcementAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forgone Recovery due to Expense of Enforcement, Amount",
        "terseLabel": "Forgone Recovery due to Expense of Enforcement, Amount"
       }
      }
     },
     "auth_ref": [
      "r1180",
      "r1190",
      "r1200",
      "r1232"
     ]
    },
    "ecd_ForgoneRecoveryDueToViolationOfHomeCountryLawAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "ForgoneRecoveryDueToViolationOfHomeCountryLawAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forgone Recovery due to Violation of Home Country Law, Amount",
        "terseLabel": "Forgone Recovery due to Violation of Home Country Law, Amount"
       }
      }
     },
     "auth_ref": [
      "r1180",
      "r1190",
      "r1200",
      "r1232"
     ]
    },
    "ecd_ForgoneRecoveryExplanationOfImpracticabilityTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "ForgoneRecoveryExplanationOfImpracticabilityTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forgone Recovery, Explanation of Impracticability [Text Block]",
        "terseLabel": "Forgone Recovery, Explanation of Impracticability"
       }
      }
     },
     "auth_ref": [
      "r1180",
      "r1190",
      "r1200",
      "r1232"
     ]
    },
    "ecd_ForgoneRecoveryIndName": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "ForgoneRecoveryIndName",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forgone Recovery, Individual Name",
        "terseLabel": "Name"
       }
      }
     },
     "auth_ref": [
      "r1180",
      "r1190",
      "r1200",
      "r1232"
     ]
    },
    "us-gaap_ForwardContractsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ForwardContractsMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forward Contracts [Member]",
        "terseLabel": "Forward contracts",
        "documentation": "Contracts negotiated between two parties to purchase and sell a specific quantity of a financial instrument, foreign currency, or commodity at a price specified at origination of the contract, with delivery and settlement at a specified future date."
       }
      }
     },
     "auth_ref": []
    },
    "ecd_FrValAsOfPrrYrEndOfEqtyAwrdsGrntdInPrrYrsFldVstngCondsDrngCvrdYrMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "FrValAsOfPrrYrEndOfEqtyAwrdsGrntdInPrrYrsFldVstngCondsDrngCvrdYrMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prior Year End Fair Value of Equity Awards Granted in Any Prior Year that Fail to Meet Applicable Vesting Conditions During Covered Year [Member]",
        "terseLabel": "Prior Year End Fair Value of Equity Awards Granted in Any Prior Year that Fail to Meet Applicable Vesting Conditions During Covered Year"
       }
      }
     },
     "auth_ref": [
      "r1213"
     ]
    },
    "pfsi_FurnitureFixturesEquipmentAndBuildingImprovementsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "FurnitureFixturesEquipmentAndBuildingImprovementsMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Various types of Property, Plant and Equipment, including furniture, fixtures, equipment and building improvements.",
        "label": "Furniture, Fixtures, Equipment and Building Improvements.",
        "terseLabel": "Furniture, Fixtures, Equipment and Building Improvements"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FutureMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FutureMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Future [Member]",
        "terseLabel": "Treasury future",
        "documentation": "Futures contracts are forward-based contracts to make or take delivery of a specified financial instrument, foreign currency, or commodity at a specified future date or during a specified period at as specified price or yield. Futures are standardized contracts traded on an organized exchange."
       }
      }
     },
     "auth_ref": [
      "r936",
      "r942",
      "r948",
      "r966",
      "r972",
      "r1005",
      "r1150",
      "r1151",
      "r1152"
     ]
    },
    "stpr_GA": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/stpr/2025",
     "localname": "GA",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesGeographicalDistributionOfLoansDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "GEORGIA",
        "terseLabel": "Georgia"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_GainLossOnSaleOfMortgageLoansHeldForSaleCashPortion": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "GainLossOnSaleOfMortgageLoansHeldForSaleCashPortion",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureNetGainsOnLoansHeldForSaleDetails": {
       "parentTag": "pfsi_AggregateCashGainLossOnSaleOfMortgageLoansHeldForSaleNetOfCashHedgingResults",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureNetGainsOnLoansHeldForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the cash portion of gains (losses) on sale of mortgage loans held for sale determined by subtracting the purchase price of the mortgage loan from the proceeds received on sale.",
        "label": "Gain (Loss) on Sale of Mortgage Loans Held For Sale Cash Portion",
        "verboseLabel": "Loans"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_GainLossOnSalesOfLoansFromAffiliates": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "GainLossOnSalesOfLoansFromAffiliates",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gain Loss On Sales Of Loans From Affiliates.",
        "label": "Gain Loss On Sales Of Loans From Affiliates",
        "negatedTotalLabel": "Total of gain on sale of loans and MSR recapture"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_GainLossOnSalesOfLoansNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "GainLossOnSalesOfLoansNet",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "parentTag": "us-gaap_RevenuesNetOfInterestExpense",
       "weight": 1.0,
       "order": 1.0
      },
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails": {
       "parentTag": "pfsi_RevenuesBeforeNonSegmentActivities",
       "weight": 1.0,
       "order": 1.0
      },
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 2.0
      },
      "http://www.pennymacfinancial.com/role/DisclosureNetGainsOnLoansHeldForSaleDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureNetGainsOnLoansHeldForSaleDetails",
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gain (Loss) on Sales of Loans, Net",
        "negatedLabel": "Net gains on loans held for sale at fair value",
        "terseLabel": "Net gains on loans held for sale at fair value",
        "totalLabel": "Net gains on loans held for sale at fair value",
        "documentation": "The net gain (loss) resulting from a sale of loans, including adjustments to record loans classified as held-for-sale at the lower-of-cost-or-market and fair value adjustments to loan held for investment purposes."
       }
      }
     },
     "auth_ref": [
      "r4",
      "r95"
     ]
    },
    "us-gaap_GainLossOnSalesOfLoansNetAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "GainLossOnSalesOfLoansNetAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gain (Loss) on Sales of Loans, Net [Abstract]",
        "terseLabel": "Net gains on loans held for sale at fair value:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_GainsLossesOnSalesOfOtherRealEstate": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "GainsLossesOnSalesOfOtherRealEstate",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 5.0
      },
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "parentTag": "us-gaap_RevenuesNetOfInterestExpense",
       "weight": 1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gains (Losses) on Sales of Other Real Estate",
        "negatedLabel": "Results of real estate acquired in settlement in loans",
        "verboseLabel": "Results of real estate acquired in settlement of loans",
        "documentation": "The net gain (loss) resulting from sales and other disposals of other real estate owned, increases (decreases) in the valuation allowance for foreclosed real estate, and write-downs of other real estate owned after acquisition or physical possession."
       }
      }
     },
     "auth_ref": [
      "r96"
     ]
    },
    "pfsi_GinnieMaeMortgageBackedSecuritiesGuideLoanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "GinnieMaeMortgageBackedSecuritiesGuideLoanMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ginnie Mae Mortgage Backed Securities Guide Loan [Member]",
        "label": "Ginnie Mae Mortgage Backed Securities Guide Loan",
        "terseLabel": "Ginnie Mae Mortgage Backed Securities Guide Loan"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_GoldmanSachsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "GoldmanSachsMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeAssetsFinancialAssetsAndCollateralHeldByCounterpartyDetails",
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeLiabilitiesFinancialLiabilitiesAndCollateralHeldByCounterpartyDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoansSoldUnderAgreementToRepurchaseByCounterpartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Goldman Sachs.",
        "label": "Goldman Sachs",
        "terseLabel": "Goldman Sachs"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_GovernmentInsuredOrGuaranteedLoanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "GovernmentInsuredOrGuaranteedLoanMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoansHeldForSaleAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to mortgage loan which are government-insured or guaranteed.",
        "label": "Government-insured or guaranteed",
        "terseLabel": "Government-insured or guaranteed"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_GovernmentNationalMortgageAssociationIssuerPLSMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "GovernmentNationalMortgageAssociationIssuerPLSMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRegulatoryCapitalAndLiquidityRequirementsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Government National Mortgage Association Issuer - PLS.",
        "label": "Ginnie Mae - Issuer - PLS",
        "terseLabel": "Ginnie Mae - Issuer - PLS"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_GregHendryMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "GregHendryMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Greg Hendry, Chief Accounting Officer of the Company.",
        "label": "Greg Hendry [Member]",
        "terseLabel": "Greg Hendry"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_HedgingDesignationAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "HedgingDesignationAxis",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Hedging Designation [Axis]",
        "documentation": "Information by designation of purpose of derivative instrument."
       }
      }
     },
     "auth_ref": [
      "r1384",
      "r1385"
     ]
    },
    "us-gaap_HedgingDesignationDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "HedgingDesignationDomain",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Hedging Designation [Domain]",
        "documentation": "Designation of purpose of derivative instrument."
       }
      }
     },
     "auth_ref": [
      "r1384",
      "r1385"
     ]
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0,
       "order": 2.0
      },
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income (Loss) from Continuing Operations before Income Taxes, Noncontrolling Interest",
        "totalLabel": "Income before provision for income taxes",
        "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."
       }
      }
     },
     "auth_ref": [
      "r59",
      "r97",
      "r111",
      "r831",
      "r833",
      "r856",
      "r1066",
      "r1067",
      "r1068",
      "r1074",
      "r1079",
      "r1317",
      "r1325",
      "r1326",
      "r1327",
      "r1328"
     ]
    },
    "us-gaap_IncomeStatementAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncomeStatementAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "CONSOLIDATED STATEMENTS OF INCOME (UNAUDITED)"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncomeStatementLocationAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncomeStatementLocationAxis",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueChangesInFairValueFairValueOptionRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Income Location, Balance [Axis]",
        "documentation": "Information by location in statement of income where disaggregated amount is reported."
       }
      }
     },
     "auth_ref": [
      "r370",
      "r372",
      "r374",
      "r564",
      "r572",
      "r589",
      "r591",
      "r645",
      "r649",
      "r655",
      "r676",
      "r677",
      "r678",
      "r875",
      "r877",
      "r961",
      "r1057",
      "r1058",
      "r1105",
      "r1106",
      "r1115",
      "r1117",
      "r1121",
      "r1129",
      "r1375",
      "r1376",
      "r1450"
     ]
    },
    "us-gaap_IncomeStatementLocationDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncomeStatementLocationDomain",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueChangesInFairValueFairValueOptionRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Income Location, Balance [Domain]",
        "documentation": "Location in statement of income where disaggregated amount is reported."
       }
      }
     },
     "auth_ref": [
      "r372",
      "r374",
      "r564",
      "r572",
      "r589",
      "r591",
      "r645",
      "r649",
      "r655",
      "r676",
      "r677",
      "r678",
      "r875",
      "r877",
      "r961",
      "r1057",
      "r1058",
      "r1105",
      "r1106",
      "r1115",
      "r1117",
      "r1121",
      "r1129",
      "r1375",
      "r1376",
      "r1450"
     ]
    },
    "us-gaap_IncomeTaxDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncomeTaxDisclosureAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Taxes"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncomeTaxDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncomeTaxDisclosureTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureIncomeTaxes"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax Disclosure [Text Block]",
        "terseLabel": "Income Taxes",
        "documentation": "The entire disclosure for income tax."
       }
      }
     },
     "auth_ref": [
      "r207",
      "r212",
      "r504",
      "r506",
      "r507",
      "r508",
      "r509",
      "r510",
      "r511",
      "r519",
      "r521",
      "r522",
      "r523",
      "r841",
      "r891",
      "r900",
      "r1104"
     ]
    },
    "us-gaap_IncomeTaxExpenseBenefit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncomeTaxExpenseBenefit",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax Expense (Benefit)",
        "terseLabel": "Provision for income taxes",
        "documentation": "Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations."
       }
      }
     },
     "auth_ref": [
      "r113",
      "r115",
      "r207",
      "r241",
      "r242",
      "r260",
      "r279",
      "r293",
      "r505",
      "r506",
      "r520",
      "r862",
      "r1066",
      "r1067",
      "r1068",
      "r1104"
     ]
    },
    "us-gaap_IncomeTaxesPaidNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncomeTaxesPaidNet",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Taxes Paid, Net",
        "terseLabel": "(Refunds received) cash paid for income taxes, net",
        "documentation": "Amount, after refund, of cash paid to foreign, federal, state, and local jurisdictions as income tax."
       }
      }
     },
     "auth_ref": [
      "r14",
      "r205",
      "r512",
      "r513"
     ]
    },
    "us-gaap_IncreaseDecreaseDueFromAffiliates": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncreaseDecreaseDueFromAffiliates",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 24.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (Decrease) Due from Affiliates",
        "negatedLabel": "Increase in receivable from PennyMac Mortgage Investment Trust",
        "documentation": "The increase (decrease) during the reporting period in receivables to be collected from an entity that is controlling, under the control of, or within the same control group as the reporting entity by means of direct or indirect ownership."
       }
      }
     },
     "auth_ref": [
      "r3"
     ]
    },
    "us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncreaseDecreaseInAccountsPayableAndAccruedLiabilities",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 26.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (Decrease) in Accounts Payable and Accrued Liabilities",
        "terseLabel": "(Decrease) increase in accounts payable and accrued expenses",
        "documentation": "The increase (decrease) during the reporting period in the amounts payable to vendors for goods and services received and the amount of obligations and expenses incurred but not paid."
       }
      }
     },
     "auth_ref": [
      "r3"
     ]
    },
    "us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncreaseDecreaseInAccruedIncomeTaxesPayable",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 19.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (Decrease) in Income Taxes Payable",
        "terseLabel": "Increase in income taxes payable",
        "documentation": "The increase (decrease) during the period in the amount due for taxes based on the reporting entity's earnings or attributable to the entity's income earning process (business presence) within a given jurisdiction."
       }
      }
     },
     "auth_ref": [
      "r3"
     ]
    },
    "us-gaap_IncreaseDecreaseInDueToAffiliates": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncreaseDecreaseInDueToAffiliates",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 27.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (Decrease) in Due to Affiliates",
        "verboseLabel": "Decrease in payable to PennyMac Mortgage Investment Trust",
        "documentation": "The increase (decrease) in obligations owed to an entity that is controlling, under the control of, or within the same control group as the reporting entity by means of direct or indirect ownership."
       }
      }
     },
     "auth_ref": [
      "r3"
     ]
    },
    "pfsi_IncreaseDecreaseInMarginDepositsOutstandingInvestingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "IncreaseDecreaseInMarginDepositsOutstandingInvestingActivities",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in money or securities placed with a broker or counterparty as security for a trading or derivative position reported in investing activities.",
        "label": "Increase Decrease In Margin Deposits Outstanding Investing Activities",
        "negatedLabel": "Increase in margin deposits"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncreaseDecreaseInOperatingLeaseLiability": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncreaseDecreaseInOperatingLeaseLiability",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 22.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (Decrease) in Operating Lease Liability",
        "terseLabel": "Decrease in operating lease liabilities",
        "documentation": "Amount of increase (decrease) in obligation for operating lease."
       }
      }
     },
     "auth_ref": [
      "r1263",
      "r1296"
     ]
    },
    "us-gaap_IncreaseDecreaseInOtherOperatingAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncreaseDecreaseInOtherOperatingAssets",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 25.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (Decrease) in Other Operating Assets",
        "negatedTerseLabel": "Increase in other assets",
        "documentation": "Amount of increase (decrease) in operating assets classified as other."
       }
      }
     },
     "auth_ref": [
      "r3"
     ]
    },
    "pfsi_IncreaseDecreaseInServicingAdvances": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "IncreaseDecreaseInServicingAdvances",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 23.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase (decrease) in advances made by a mortgage loan servicer to meet contractual principal and interest remittance requirements for investors, pay property taxes and insurance premiums, legal expenses and other protective advances to maintain, repair and market real estate properties on behalf of investors.",
        "label": "Increase (Decrease) in Servicing Advances",
        "negatedLabel": "(Increase) decrease in servicing advances"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncreaseDecreaseInStockholdersEquityRollForward": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncreaseDecreaseInStockholdersEquityRollForward",
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (Decrease) in Stockholders' Equity [Roll Forward]",
        "terseLabel": "CONSOLIDATED STATEMENTS OF CHANGES IN STOCKHOLDERS' EQUITY (UNAUDITED)",
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncrementalCommonSharesAttributableToShareBasedPaymentArrangements",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureEarningsPerShareDetails": {
       "parentTag": "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureEarningsPerShareDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Incremental Common Shares Attributable to Dilutive Effect of Share-Based Payment Arrangements",
        "terseLabel": "shares issuable under stock-based compensation plan (in shares)",
        "documentation": "Additional shares included in the calculation of diluted EPS as a result of the potentially dilutive effect of share based payment arrangements using the treasury stock method."
       }
      }
     },
     "auth_ref": [
      "r249",
      "r250",
      "r251",
      "r255",
      "r464"
     ]
    },
    "ecd_IndividualAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "IndividualAxis",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure",
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure",
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements",
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Individual [Axis]",
        "terseLabel": "Individual:"
       }
      }
     },
     "auth_ref": [
      "r1180",
      "r1190",
      "r1200",
      "r1224",
      "r1232",
      "r1236",
      "r1244"
     ]
    },
    "pfsi_InputsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "InputsAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsInitialRecognitionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "No definition available",
        "label": "Inputs Abstract",
        "terseLabel": "Inputs:"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_InsiderTradingArrLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "InsiderTradingArrLineItems",
     "lang": {
      "en-us": {
       "role": {
        "label": "Insider Trading Arrangements [Line Items]",
        "terseLabel": "Insider Trading Arrangements:"
       }
      }
     },
     "auth_ref": [
      "r1242"
     ]
    },
    "ecd_InsiderTradingPoliciesProcLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "InsiderTradingPoliciesProcLineItems",
     "lang": {
      "en-us": {
       "role": {
        "label": "Insider Trading Policies and Procedures [Line Items]",
        "terseLabel": "Insider Trading Policies and Procedures:"
       }
      }
     },
     "auth_ref": [
      "r1172",
      "r1248"
     ]
    },
    "ecd_InsiderTrdPoliciesProcAdoptedFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "InsiderTrdPoliciesProcAdoptedFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingPoliciesProc"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Insider Trading Policies and Procedures Adopted [Flag]",
        "terseLabel": "Insider Trading Policies and Procedures Adopted"
       }
      }
     },
     "auth_ref": [
      "r1172",
      "r1248"
     ]
    },
    "ecd_InsiderTrdPoliciesProcNotAdoptedTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "InsiderTrdPoliciesProcNotAdoptedTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingPoliciesProc"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Insider Trading Policies and Procedures Not Adopted [Text Block]",
        "terseLabel": "Insider Trading Policies and Procedures Not Adopted"
       }
      }
     },
     "auth_ref": [
      "r1172",
      "r1248"
     ]
    },
    "us-gaap_InterestAndFeeIncomeLoansHeldForSaleMortgages": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestAndFeeIncomeLoansHeldForSaleMortgages",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpenseDetails": {
       "parentTag": "us-gaap_InterestIncomeOperating",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpenseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest and Fee Income, Loan, Mortgage, Held-for-Sale",
        "terseLabel": "Loans held for sale",
        "documentation": "Interest and fee income from mortgage loans considered to be held-for-sale."
       }
      }
     },
     "auth_ref": [
      "r91"
     ]
    },
    "us-gaap_InterestAndOtherIncomeAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestAndOtherIncomeAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpenseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest and Other Income [Abstract]",
        "terseLabel": "Interest income:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestExpenseAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestExpenseAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpenseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Expense, Operating and Nonoperating [Abstract]",
        "terseLabel": "Interest expense:"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_InterestExpenseBeforeNonSegmentActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "InterestExpenseBeforeNonSegmentActivities",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails": {
       "parentTag": "pfsi_InterestIncomeExpenseNetBeforeNonSegmentActivities",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the cost of borrowed funds accounted for as interest expense. This amount excludes non-segment activities.",
        "label": "Interest Expense Before Non Segment Activities",
        "terseLabel": "Interest expense"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_InterestExpenseMortgageLoanImpoundDeposits": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "InterestExpenseMortgageLoanImpoundDeposits",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpenseDetails": {
       "parentTag": "us-gaap_InterestExpenseOperating",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpenseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents interest paid to mortgagees relating to the balances placed in their impound accounts during the reporting period.",
        "label": "Interest Expense, Mortgage Loan Impound Deposits",
        "terseLabel": "Interest on mortgage loan impound deposits"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_InterestExpenseMortgageLoanParticipationAndSaleAgreement": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "InterestExpenseMortgageLoanParticipationAndSaleAgreement",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpenseDetails": {
       "parentTag": "us-gaap_InterestExpenseOperating",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpenseDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoanParticipationAndSaleAgreementDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the interest expense related to mortgage loans participation and sale agreement.",
        "label": "Interest Expense Mortgage Loan Participation And Sale Agreement",
        "terseLabel": "Mortgage loan participation purchase and sale agreements",
        "verboseLabel": "Total interest expense"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_InterestExpenseNotesPayables": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "InterestExpenseNotesPayables",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpenseDetails": {
       "parentTag": "us-gaap_InterestExpenseOperating",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails",
      "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpenseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the interest expense incurred during the reporting period on notes payable.",
        "label": "Interest Expense Notes Payables",
        "terseLabel": "Notes payable secured by mortgage servicing assets",
        "verboseLabel": "Total interest expense"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestExpenseOperating": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestExpenseOperating",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "parentTag": "us-gaap_InterestIncomeExpenseNet",
       "weight": -1.0,
       "order": 1.0
      },
      "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpenseDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpenseDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Expense, Operating",
        "terseLabel": "Interest expense",
        "totalLabel": "Interest expense",
        "documentation": "Amount of interest expense classified as operating."
       }
      }
     },
     "auth_ref": [
      "r275",
      "r830",
      "r1067",
      "r1289"
     ]
    },
    "us-gaap_InterestExpenseOther": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestExpenseOther",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpenseDetails": {
       "parentTag": "us-gaap_InterestExpenseOperating",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpenseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Expense, Other",
        "terseLabel": "Other",
        "documentation": "Amount of interest expense classified as other."
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_InterestExpenseShortfallOnRepayments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "InterestExpenseShortfallOnRepayments",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpenseDetails": {
       "parentTag": "us-gaap_InterestExpenseOperating",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpenseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents interest expense incurred relating to the repayment of mortgage loans underlying mortgage-backed securities serviced by the company whereby the borrower repaid their mortgage loan during the month and the company is responsible for passing through the entire month's interest regardless of the date of borrower repayment.",
        "label": "Interest Expense Shortfall On Repayments",
        "terseLabel": "Interest shortfall on repayments of mortgage loans serviced for Agency securitizations"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_InterestExpenseUnsecuredSeniorNotes": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "InterestExpenseUnsecuredSeniorNotes",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpenseDetails": {
       "parentTag": "us-gaap_InterestExpenseOperating",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpenseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the interest expense incurred during the reporting period on unsecured senior notes.",
        "label": "Interest Expense Unsecured Senior Notes",
        "terseLabel": "Unsecured senior notes"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestIncomeAndInterestExpenseDisclosureTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestIncomeAndInterestExpenseDisclosureTableTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpenseTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Income and Interest Expense Disclosure [Table Text Block]",
        "terseLabel": "Summary of net interest expense",
        "documentation": "Tabular disclosure of interest income and expense, including, but not limited to, interest income and expense from investments, loans, and securities."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestIncomeAndInterestExpenseDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestIncomeAndInterestExpenseDisclosureTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpense"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Income and Interest Expense Disclosure [Text Block]",
        "terseLabel": "Net Interest Expense",
        "documentation": "The entire disclosure for interest income and interest expense for enterprises that derive a significant portion of their revenue from interest collected on investments, loans, and securities."
       }
      }
     },
     "auth_ref": [
      "r91",
      "r92",
      "r93",
      "r94",
      "r98",
      "r100",
      "r101",
      "r102",
      "r103",
      "r104",
      "r105",
      "r106"
     ]
    },
    "pfsi_InterestIncomeCustodialFunds": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "InterestIncomeCustodialFunds",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpenseDetails": {
       "parentTag": "us-gaap_InterestIncomeOperating",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpenseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Placement fees earned on funds deposited into accounts that are managed by a custodian.",
        "label": "Interest Income, Custodial Funds",
        "terseLabel": "Placement fees relating to custodial funds"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestIncomeExpenseNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestIncomeExpenseNet",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "parentTag": "us-gaap_RevenuesNetOfInterestExpense",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpenseDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Income (Expense), Operating",
        "totalLabel": "Net interest expense",
        "documentation": "Amount of interest income (expense) classified as operating."
       }
      }
     },
     "auth_ref": [
      "r827",
      "r1067",
      "r1325"
     ]
    },
    "us-gaap_InterestIncomeExpenseNetAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestIncomeExpenseNetAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Interest Expense",
        "terseLabel": "Net interest expense:",
        "verboseLabel": "Net interest (expense) income :"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_InterestIncomeExpenseNetBeforeNonSegmentActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "InterestIncomeExpenseNetBeforeNonSegmentActivities",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails": {
       "parentTag": "pfsi_RevenuesBeforeNonSegmentActivities",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net amount of operating interest income (expense). This amount excludes non-segment activities.",
        "label": "Interest Income Expense Net Before Non Segment Activities",
        "totalLabel": "Net interest income (expense)"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestIncomeMoneyMarketDeposits": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestIncomeMoneyMarketDeposits",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpenseDetails": {
       "parentTag": "us-gaap_InterestIncomeOperating",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpenseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Income, Money Market Deposits",
        "terseLabel": "Cash and short-term investments",
        "documentation": "Interest earned on funds deposited in US domestic money market accounts."
       }
      }
     },
     "auth_ref": [
      "r101"
     ]
    },
    "us-gaap_InterestIncomeOperating": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestIncomeOperating",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "parentTag": "us-gaap_InterestIncomeExpenseNet",
       "weight": 1.0,
       "order": 2.0
      },
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails": {
       "parentTag": "pfsi_InterestIncomeExpenseNetBeforeNonSegmentActivities",
       "weight": 1.0,
       "order": 2.0
      },
      "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpenseDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpenseDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsExchangedPrivateNationalMortgageAcceptanceCompanyLlcUnitholdersDetails",
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Income, Operating",
        "totalLabel": "Interest income",
        "verboseLabel": "Interest income",
        "documentation": "Amount of operating interest income, including, but not limited to, amortization and accretion of premiums and discounts on securities."
       }
      }
     },
     "auth_ref": [
      "r274",
      "r836",
      "r837",
      "r954",
      "r1015",
      "r1016",
      "r1079",
      "r1158",
      "r1159",
      "r1288",
      "r1488"
     ]
    },
    "us-gaap_InterestIncomeOther": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestIncomeOther",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpenseDetails": {
       "parentTag": "us-gaap_InterestIncomeOperating",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpenseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Income, Other",
        "terseLabel": "Other",
        "documentation": "Amount of interest income earned from interest bearing assets classified as other."
       }
      }
     },
     "auth_ref": [
      "r1067"
     ]
    },
    "us-gaap_InterestIncomeSecuritiesMortgageBacked": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestIncomeSecuritiesMortgageBacked",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpenseDetails": {
       "parentTag": "us-gaap_InterestIncomeOperating",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpenseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Income, Securities, Mortgage-Backed",
        "terseLabel": "Principal-only stripped mortgage-backed securities",
        "documentation": "Amount of operating interest income, including amortization and accretion of premiums and discounts, on securitized, pass-through debt securities collateralized by real estate mortgage loans."
       }
      }
     },
     "auth_ref": [
      "r98"
     ]
    },
    "us-gaap_InterestPaidNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestPaidNet",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Paid, Excluding Capitalized Interest, Operating Activities",
        "terseLabel": "Cash paid for interest",
        "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."
       }
      }
     },
     "auth_ref": [
      "r200",
      "r203",
      "r204"
     ]
    },
    "pfsi_InterestRateLockCommitmentsAndMortgageLoansHeldForSaleMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "InterestRateLockCommitmentsAndMortgageLoansHeldForSaleMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to interest rate lock commitments and mortgage loans held for sale.",
        "label": "Interest rate lock commitments and loans held for sale",
        "terseLabel": "Interest rate lock commitments and loans held for sale"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestRateLockCommitmentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestRateLockCommitmentsMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeAssetsFinancialAssetsAndCollateralHeldByCounterpartyDetails",
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeLiabilitiesFinancialLiabilitiesAndCollateralHeldByCounterpartyDetails",
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3InputRollForwardRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageLoansAndIrlcDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Rate Lock Commitments [Member]",
        "terseLabel": "Interest rate lock commitments",
        "documentation": "Commitments to extend credit where the interest rate is locked in advance of funds being disbursed for a specified period of time."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestReceivable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestReceivable",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureOtherAssetsOtherDetails": {
       "parentTag": "us-gaap_OtherAssets",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureOtherAssetsOtherDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Receivable",
        "terseLabel": "Interest receivable",
        "documentation": "Carrying amount as of the balance sheet date of interest earned but not received. Also called accrued interest or accrued interest receivable."
       }
      }
     },
     "auth_ref": [
      "r1276",
      "r1487"
     ]
    },
    "us-gaap_InvestmentOwnedAtFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentOwnedAtFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsInvestingActivitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Owned, Fair Value",
        "terseLabel": "Common shares of beneficial interest owned",
        "documentation": "Fair value of investment in security owned."
       }
      }
     },
     "auth_ref": [
      "r898",
      "r910",
      "r911",
      "r912",
      "r913",
      "r915",
      "r916",
      "r917",
      "r919",
      "r922",
      "r923",
      "r934",
      "r935",
      "r985",
      "r988",
      "r989",
      "r990",
      "r995",
      "r996",
      "r998",
      "r999",
      "r1000",
      "r1011",
      "r1012",
      "r1017",
      "r1018",
      "r1019",
      "r1152",
      "r1161",
      "r1480"
     ]
    },
    "us-gaap_InvestmentOwnedBalanceShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentOwnedBalanceShares",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsInvestingActivitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Owned, Balance, Shares",
        "terseLabel": "Common shares of beneficial interest owned",
        "documentation": "Number of shares of investment owned."
       }
      }
     },
     "auth_ref": [
      "r910",
      "r919",
      "r987",
      "r997",
      "r1014",
      "r1152"
     ]
    },
    "us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVenturesFairValueDisclosure": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVenturesFairValueDisclosure",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails": {
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0,
       "order": 5.0
      },
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsInvestingActivitiesDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments in Affiliates, Subsidiaries, Associates, and Joint Ventures, Fair Value Disclosure",
        "positiveLabel": "Fair value of PennyMac Mortgage Investment Trust shares",
        "terseLabel": "Investment in PennyMac Mortgage Investment Trust at fair value",
        "verboseLabel": "Investment in PennyMac Mortgage Investment Trust",
        "documentation": "Fair value portion of investments in an entity not consolidated. Includes, but is not limited to, investments in an entity that is affiliated with the reporting entity by means of direct or indirect ownership, an entity in which the reporting entity shares control of the entity with another party or group, an entity which the company has significant influence, but does not have control and subsidiaries that are not required to be consolidated and are accounted for using the equity or cost method."
       }
      }
     },
     "auth_ref": [
      "r1396",
      "r1397",
      "r1407",
      "r1415"
     ]
    },
    "us-gaap_InvestmentsInAndAdvancesToAffiliatesBalanceAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentsInAndAdvancesToAffiliatesBalanceAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsInvestingActivitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments in and Advances to Affiliates, Balance [Abstract]",
        "terseLabel": "Activity during the period:"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_InvestmentsInAndAdvancesToAffiliatesChangeInFairValueOfInvestment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "InvestmentsInAndAdvancesToAffiliatesChangeInFairValueOfInvestment",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount recorded in earnings for change in the fair value of the investment in and dividends received from the affiliates.",
        "label": "Investments in and Advances to Affiliates Change in Fair Value of Investment",
        "negatedLabel": "Change in fair value of investment in common shares of PennyMac Mortgage Investment Trust"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_InvestmentsInAndAdvancesToAffiliatesChangeInFairValueOfInvestmentInAndDividendsReceived": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "InvestmentsInAndAdvancesToAffiliatesChangeInFairValueOfInvestmentInAndDividendsReceived",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "parentTag": "us-gaap_RevenuesNetOfInterestExpense",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsInvestingActivitiesDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount recorded in earnings for change in the fair value of the investment in and dividends received from the affiliates.",
        "label": "Investments in and Advances to Affiliates Change in Fair Value of Investment in and Dividends Received",
        "terseLabel": "Change in fair value of investment in and dividends received from PennyMac Mortgage Investment Trust",
        "verboseLabel": "Change in fair value of investment in and dividends received from PennyMac Mortgage Investment Trust"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_IssuanceOfMortgageLoanParticipationCertificates": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "IssuanceOfMortgageLoanParticipationCertificates",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the cash inflow from issuance of mortgage loan participation borrowings.",
        "label": "Issuance Of Mortgage Loan Participation Certificates",
        "negatedLabel": "Issuance of mortgage loan participation purchase and sale certificates"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_JpMorganChaseBankMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "JpMorganChaseBankMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoansSoldUnderAgreementToRepurchaseByCounterpartyDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtPrincipalOnlyStrippedMbsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to JP Morgan Chase Bank.",
        "label": "JP Morgan Chase Bank",
        "terseLabel": "JP Morgan Chase Bank, N.A"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_JpMorganMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "JpMorganMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeLiabilitiesFinancialLiabilitiesAndCollateralHeldByCounterpartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to JP Morgan.",
        "label": "JP Morgan",
        "terseLabel": "JPMorgan Chase Bank, N.A."
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_JumboLoanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "JumboLoanMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoansHeldForSaleAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information related to jumbo loans.",
        "label": "Jumbo Loan",
        "terseLabel": "Jumbo Loan"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LaborAndRelatedExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LaborAndRelatedExpense",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Labor and Related Expense",
        "terseLabel": "Compensation",
        "documentation": "Amount of expense for salary, wage, profit sharing; incentive and equity-based compensation; and other employee benefit."
       }
      }
     },
     "auth_ref": [
      "r828",
      "r1067",
      "r1290"
     ]
    },
    "us-gaap_LateFeeIncomeGeneratedByServicingFinancialAssetsAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LateFeeIncomeGeneratedByServicingFinancialAssetsAmount",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesServicingLateAncillaryAndOtherFeesRelatingToMsrsDetails": {
       "parentTag": "us-gaap_ContractuallySpecifiedServicingFeesLateFeesAndAncillaryFeesEarnedInExchangeForServicingFinancialAssets",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesServicingLateAncillaryAndOtherFeesRelatingToMsrsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Late Fee Income Generated by Servicing Financial Assets, Amount",
        "terseLabel": "Late charges",
        "documentation": "All amounts that are due to the servicer of a financial asset as a result of the debt holder not meeting the monthly payment terms."
       }
      }
     },
     "auth_ref": [
      "r768"
     ]
    },
    "pfsi_LateFeesAndAncillaryFeesEarnedInExchangeForServicingFinancialAssetsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "LateFeesAndAncillaryFeesEarnedInExchangeForServicingFinancialAssetsAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesServicingLateAncillaryAndOtherFeesRelatingToMsrsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "N/A",
        "label": "Late Fees and Ancillary Fees Earned in Exchange for Servicing Financial Assets [Abstract]",
        "verboseLabel": "Other fees:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LeaseCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LeaseCost",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lease, Cost",
        "totalLabel": "Net lease expense included in Occupancy and equipment expense",
        "documentation": "Amount of lease cost recognized by lessee for lease contract."
       }
      }
     },
     "auth_ref": [
      "r699",
      "r1131"
     ]
    },
    "us-gaap_LeaseCostAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LeaseCostAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lease, Cost [Abstract]",
        "terseLabel": "Lease expense:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LeaseCostTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LeaseCostTableTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLeasesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lease, Cost [Table Text Block]",
        "terseLabel": "Summary of Company's leases",
        "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."
       }
      }
     },
     "auth_ref": [
      "r1424"
     ]
    },
    "us-gaap_LeasesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LeasesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Leases"
       }
      }
     },
     "auth_ref": []
    },
    "dei_LegalEntityAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "LegalEntityAxis",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Legal Entity [Axis]",
        "documentation": "The set of legal entities associated with a report."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LesseeLeaseDescriptionLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LesseeLeaseDescriptionLineItems",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Lease, Description [Line Items]",
        "terseLabel": "Leases",
        "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."
       }
      }
     },
     "auth_ref": [
      "r697",
      "r709"
     ]
    },
    "us-gaap_LesseeLeaseDescriptionTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LesseeLeaseDescriptionTable",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Lease, Description [Table]",
        "documentation": "Disclosure of information about lessee's leases."
       }
      }
     },
     "auth_ref": [
      "r697",
      "r709"
     ]
    },
    "us-gaap_LesseeOperatingLeaseExistenceOfOptionToExtend": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LesseeOperatingLeaseExistenceOfOptionToExtend",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Operating Lease, Existence of Option to Extend [true false]",
        "terseLabel": "Operating lease option to extend",
        "documentation": "Indicates (true false) whether lessee has option to extend operating lease."
       }
      }
     },
     "auth_ref": [
      "r698"
     ]
    },
    "us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLeasesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Operating Lease, Liability, to be Paid, Maturity [Table Text Block]",
        "terseLabel": "Schedule of maturities of operating lease liabilities",
        "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."
       }
      }
     },
     "auth_ref": [
      "r1425"
     ]
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDue",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetailsCalc2": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      },
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Operating Lease, Liability, to be Paid",
        "totalLabel": "Total lease payments",
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease."
       }
      }
     },
     "auth_ref": [
      "r707",
      "r1301",
      "r1309",
      "r1444"
     ]
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterRollingYearFive": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueAfterRollingYearFive",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetails": {
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Operating Lease, Liability, to be Paid, after Rolling Year Five",
        "terseLabel": "Thereafter",
        "documentation": "Amount of lessee's undiscounted obligation for lease payments for operating lease, due after fifth rolling twelve months following latest statement of financial position date. For interim and annual periods when interim periods are reported on rolling approach, from latest statement of financial position date."
       }
      }
     },
     "auth_ref": [
      "r1425"
     ]
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearFive": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearFive",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetails": {
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Operating Lease, Liability, to be Paid, Rolling Year Five",
        "terseLabel": "2031",
        "documentation": "Amount of lessee's undiscounted obligation for lease payments for operating lease, due in fifth rolling twelve months following latest statement of financial position date. For interim and annual periods when interim periods are reported on a rolling approach, from latest statement of financial position date."
       }
      }
     },
     "auth_ref": [
      "r1425"
     ]
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearFour": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearFour",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetails": {
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Operating Lease, Liability, to be Paid, Rolling Year Four",
        "terseLabel": "2030",
        "documentation": "Amount of lessee's undiscounted obligation for lease payments for operating lease, due in fourth rolling twelve months following latest statement of financial position date. For interim and annual periods when interim periods are reported on a rolling approach, from latest statement of financial position date."
       }
      }
     },
     "auth_ref": [
      "r1425"
     ]
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearThree": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearThree",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetails": {
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Operating Lease, Liability, to be Paid, Rolling Year Three",
        "terseLabel": "2029",
        "documentation": "Amount of lessee's undiscounted obligation for lease payments for operating lease, due in third rolling twelve months following latest statement of financial position date. For interim and annual periods when interim periods are reported on a rolling approach, from latest statement of financial position date."
       }
      }
     },
     "auth_ref": [
      "r1425"
     ]
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearTwo": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueInRollingYearTwo",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetails": {
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Operating Lease, Liability, to be Paid, Rolling Year Two",
        "terseLabel": "2028",
        "documentation": "Amount of lessee's undiscounted obligation for lease payments for operating lease, due in second rolling twelve months following latest statement of financial position date. For interim and annual periods when interim periods are reported on a rolling approach, from latest statement of financial position date."
       }
      }
     },
     "auth_ref": [
      "r1425"
     ]
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextRollingTwelveMonths": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueNextRollingTwelveMonths",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetails": {
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Operating Lease, Liability, to be Paid, Next Rolling 12 Months",
        "terseLabel": "2027",
        "documentation": "Amount of lessee's undiscounted obligation for lease payments for operating lease, due in next rolling twelve months following latest statement of financial position date. For interim and annual periods when interim periods are reported on a rolling approach, from latest statement of financial position date."
       }
      }
     },
     "auth_ref": [
      "r1425"
     ]
    },
    "us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LesseeOperatingLeaseLiabilityUndiscountedExcessAmount",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetailsCalc2": {
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Operating Lease, Liability, Undiscounted Excess Amount",
        "negatedLabel": "Less imputed interest",
        "documentation": "Amount of lessee's undiscounted obligation for lease payments in excess of discounted obligation for lease payments for operating lease."
       }
      }
     },
     "auth_ref": [
      "r707"
     ]
    },
    "us-gaap_LesseeOperatingLeaseRemainingLeaseTerm": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LesseeOperatingLeaseRemainingLeaseTerm",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Operating Lease, Remaining Lease Term",
        "terseLabel": "Remaining operating lease term",
        "documentation": "Remaining lease term of operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days."
       }
      }
     },
     "auth_ref": [
      "r709",
      "r1422"
     ]
    },
    "us-gaap_LesseeOperatingLeaseRenewalTerm": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LesseeOperatingLeaseRenewalTerm",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Operating Lease, Renewal Term",
        "terseLabel": "Operating lease renewal term",
        "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."
       }
      }
     },
     "auth_ref": [
      "r1423"
     ]
    },
    "us-gaap_LesseeOperatingLeasesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LesseeOperatingLeasesTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLeases"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Operating Leases [Text Block]",
        "terseLabel": "Leases",
        "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."
       }
      }
     },
     "auth_ref": [
      "r691"
     ]
    },
    "us-gaap_Liabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "Liabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities",
        "totalLabel": "Total liabilities",
        "documentation": "Amount of liability recognized for present obligation requiring transfer or otherwise providing economic benefit to others."
       }
      }
     },
     "auth_ref": [
      "r10",
      "r43",
      "r44",
      "r45",
      "r48",
      "r49",
      "r50",
      "r51",
      "r207",
      "r210",
      "r211",
      "r334",
      "r385",
      "r386",
      "r388",
      "r389",
      "r390",
      "r391",
      "r392",
      "r394",
      "r395",
      "r546",
      "r549",
      "r550",
      "r675",
      "r929",
      "r1073",
      "r1092",
      "r1161",
      "r1341",
      "r1429",
      "r1430"
     ]
    },
    "us-gaap_LiabilitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LiabilitiesAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities [Abstract]",
        "terseLabel": "LIABILITIES"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LiabilitiesAndStockholdersEquity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LiabilitiesAndStockholdersEquity",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities and Equity",
        "totalLabel": "Total liabilities and stockholders' equity",
        "documentation": "Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any."
       }
      }
     },
     "auth_ref": [
      "r58",
      "r88",
      "r853",
      "r1132",
      "r1148",
      "r1149",
      "r1300",
      "r1305",
      "r1333",
      "r1416"
     ]
    },
    "us-gaap_LiabilitiesFairValueDisclosure": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LiabilitiesFairValueDisclosure",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities, Fair Value Disclosure",
        "totalLabel": "Total liabilities",
        "documentation": "Fair value of financial and nonfinancial obligations."
       }
      }
     },
     "auth_ref": [
      "r640",
      "r1396"
     ]
    },
    "us-gaap_LiabilitiesFairValueDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LiabilitiesFairValueDisclosureAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities, Fair Value Disclosure [Abstract]",
        "terseLabel": "Liabilities:"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_LiabilityForLoansEligibleForRepurchase": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "LiabilityForLoansEligibleForRepurchase",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 11.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the unpaid principal balance of mortgage loans eligible but not required to be repurchased from investors due to borrower delinquency.",
        "label": "Liability for Loans Eligible for Repurchase",
        "terseLabel": "Liability for loans eligible for repurchase"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_LiabilityForLossesUnderRepresentationsAndWarrantiesLineItem": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "LiabilityForLossesUnderRepresentationsAndWarrantiesLineItem",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLiabilityForLossesUnderRepresentationsAndWarrantiesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureLiabilityForLossesUnderRepresentationsAndWarrantiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liability for Losses Under Representations and Warranties [Line Item]",
        "terseLabel": "Liability for Losses Under Representations and Warranties"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_LiabilityForRepresentationsAndWarrantiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "LiabilityForRepresentationsAndWarrantiesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Liability for Losses Under Representations and Warranties"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_LiabilityForRepresentationsAndWarrantiesDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "LiabilityForRepresentationsAndWarrantiesDisclosureTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLiabilityForLossesUnderRepresentationsAndWarranties"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for the entity's liability for representations and warranties.",
        "label": "Liability for Representations and Warranties Disclosure [Text Block]",
        "terseLabel": "Liability for Losses Under Representations and Warranties"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LiabilityMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LiabilityMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueChangesInFairValueFairValueOptionRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liability [Member]",
        "terseLabel": "Liability",
        "documentation": "Liability recognized for present obligation requiring transfer or otherwise providing economic benefit to others."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LineOfCreditFacilityRemainingBorrowingCapacity",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Line of Credit Facility, Remaining Borrowing Capacity",
        "totalLabel": "Available borrowing capacity",
        "documentation": "Amount of borrowing capacity currently available under the credit facility (current borrowing capacity less the amount of borrowings outstanding)."
       }
      }
     },
     "auth_ref": [
      "r42",
      "r47",
      "r383"
     ]
    },
    "pfsi_LineOfCreditFacilityRemainingBorrowingCapacityCommitted": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "LineOfCreditFacilityRemainingBorrowingCapacityCommitted",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails": {
       "parentTag": "us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Committed amount of borrowing capacity currently available under the credit facility (current borrowing capacity less the amount of borrowings outstanding).",
        "label": "Line Of Credit Facility Remaining Borrowing Capacity Committed",
        "terseLabel": "Available borrowing capacity committed"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_LineOfCreditFacilityRemainingBorrowingCapacityUncommitted": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "LineOfCreditFacilityRemainingBorrowingCapacityUncommitted",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails": {
       "parentTag": "us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Uncommitted amount of borrowing capacity currently available under the credit facility (current borrowing capacity less the amount of borrowings outstanding).",
        "label": "Line Of Credit Facility Remaining Borrowing Capacity Uncommitted",
        "terseLabel": "Available borrowing capacity uncommitted"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_Liquidity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "Liquidity",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRegulatoryCapitalAndLiquidityRequirementsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of total liquidity as defined in the regulations.",
        "label": "Liquidity"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_LoanFulfillmentFeesReceivableFromAffiliate": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "LoanFulfillmentFeesReceivableFromAffiliate",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "parentTag": "us-gaap_RevenuesNetOfInterestExpense",
       "weight": 1.0,
       "order": 3.0
      },
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails": {
       "parentTag": "pfsi_RevenuesBeforeNonSegmentActivities",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails",
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represent fees for services the company performs on behalf of PMT in connection with the acquisition, packaging and sale of mortgage loans.",
        "label": "Loan Fulfillment Fees Receivable from Affiliate",
        "positiveLabel": "Fulfillment fee revenue",
        "verboseLabel": "Fulfillment fees from PennyMac Mortgage Investment Trust"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_LoanOriginationsFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "LoanOriginationsFees",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "parentTag": "us-gaap_RevenuesNetOfInterestExpense",
       "weight": 1.0,
       "order": 2.0
      },
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails": {
       "parentTag": "pfsi_RevenuesBeforeNonSegmentActivities",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fees charged to correspondent lenders and borrowers relating to the purchase or origination of mortgage loans.",
        "label": "Loan Originations Fees",
        "terseLabel": "Loan origination fees"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LoanProcessingFee": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LoanProcessingFee",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loan Processing Fee",
        "terseLabel": "Loan origination",
        "documentation": "Expenses paid for obtaining loans which includes expenses such as application and origination fees."
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_LoanSalesAdditionalInformationAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "LoanSalesAdditionalInformationAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfCashFlowsWithTransfereesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan Sales Additional Information [Abstract]",
        "label": "Loan Sales Additional Information [Abstract]",
        "terseLabel": "Period end information:"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_LoanSalesAndServicingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "LoanSalesAndServicingActivitiesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Loan Sales and Servicing Activities"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_LoanSalesAndServicingActivitiesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "LoanSalesAndServicingActivitiesLineItems",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesGeographicalDistributionOfLoansDetails",
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loan Sales and Servicing Activities [Line Items]",
        "terseLabel": "Loan Sales and Servicing Activities"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_LoansEligibleForRepurchases": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "LoansEligibleForRepurchases",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 11.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the unpaid principal balance of mortgage loans eligible but not required to be repurchased from investors due to borrower delinquency.",
        "label": "Loans Eligible For Repurchases",
        "terseLabel": "Loans eligible for repurchase"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LoansHeldForSaleMeasurementInput": {
     "xbrltype": "decimalItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LoansHeldForSaleMeasurementInput",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageLoansAndIrlcDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loan, Held-for-Sale, Measurement Input",
        "terseLabel": "Input",
        "documentation": "Value of input used to measure loan, held for sale."
       }
      }
     },
     "auth_ref": [
      "r641",
      "r642",
      "r643"
     ]
    },
    "dei_LocalPhoneNumber": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "LocalPhoneNumber",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Local Phone Number",
        "documentation": "Local phone number for entity."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LongMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LongMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long [Member]",
        "terseLabel": "Purchases",
        "documentation": "Indicates an ownership position in, or purchase of, a security."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LongTermDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LongTermDebt",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtMaturitiesDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtMaturitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-Term Debt",
        "totalLabel": "Total",
        "documentation": "Amount, after deduction of unamortized premium (discount) and debt issuance cost, of long-term debt. Excludes lease obligation."
       }
      }
     },
     "auth_ref": [
      "r10",
      "r86",
      "r208",
      "r222",
      "r403",
      "r414",
      "r835",
      "r1088",
      "r1089",
      "r1130",
      "r1446"
     ]
    },
    "us-gaap_LongTermDebtAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LongTermDebtAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-Term Debt."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingAfterYearFive": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingAfterYearFive",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtMaturitiesDetails": {
       "parentTag": "us-gaap_LongTermDebt",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtMaturitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-Term Debt, Maturities, Repayments of Principal in Rolling after Year Five",
        "terseLabel": "Thereafter",
        "documentation": "Amount of long-term debt payable, sinking fund requirements, and other securities issued that are redeemable by holder at fixed or determinable prices and dates maturing after the fifth rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date."
       }
      }
     },
     "auth_ref": [
      "r1301",
      "r1309",
      "r1444"
     ]
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingYearFive": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingYearFive",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtMaturitiesDetails": {
       "parentTag": "us-gaap_LongTermDebt",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtMaturitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-Term Debt, Maturities, Repayments of Principal in Rolling Year Five",
        "terseLabel": "2031",
        "documentation": "Amount of long-term debt payable, sinking fund requirements, and other securities issued that are redeemable by holder at fixed or determinable prices and dates maturing in the fifth rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date."
       }
      }
     },
     "auth_ref": [
      "r1301",
      "r1309",
      "r1444"
     ]
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingYearFour": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingYearFour",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtMaturitiesDetails": {
       "parentTag": "us-gaap_LongTermDebt",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtMaturitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-Term Debt, Maturities, Repayments of Principal in Rolling Year Four",
        "terseLabel": "2030",
        "documentation": "Amount of long-term debt payable, sinking fund requirements, and other securities issued that are redeemable by holder at fixed or determinable prices and dates maturing in the fourth rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date."
       }
      }
     },
     "auth_ref": [
      "r1301",
      "r1309",
      "r1444"
     ]
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingYearThree": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingYearThree",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtMaturitiesDetails": {
       "parentTag": "us-gaap_LongTermDebt",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtMaturitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-Term Debt, Maturities, Repayments of Principal in Rolling Year Three",
        "terseLabel": "2029",
        "documentation": "Amount of long-term debt payable, sinking fund requirements, and other securities issued that are redeemable by holder at fixed or determinable prices and dates maturing in the third rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date."
       }
      }
     },
     "auth_ref": [
      "r1301",
      "r1309",
      "r1444"
     ]
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingYearTwo": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingYearTwo",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtMaturitiesDetails": {
       "parentTag": "us-gaap_LongTermDebt",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtMaturitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-Term Debt, Maturities, Repayments of Principal in Rolling Year Two",
        "terseLabel": "2028",
        "documentation": "Amount of long-term debt payable, sinking fund requirements, and other securities issued that are redeemable by holder at fixed or determinable prices and dates maturing in the second rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date."
       }
      }
     },
     "auth_ref": [
      "r1301",
      "r1309",
      "r1444"
     ]
    },
    "us-gaap_LongTermDebtTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LongTermDebtTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebt"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-Term Debt [Text Block]",
        "terseLabel": "Long-Term Debt",
        "documentation": "The entire disclosure for long-term debt."
       }
      }
     },
     "auth_ref": [
      "r73"
     ]
    },
    "us-gaap_LongTermDebtWeightedAverageInterestRateOverTime": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LongTermDebtWeightedAverageInterestRateOverTime",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-Term Debt, Weighted Average Interest Rate, over Time",
        "terseLabel": "Weighted-average interest rate (as a percent)",
        "documentation": "Weighted average interest rate of long-term debt outstanding calculated over time."
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_LongtermDebtAverageOutstandingAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "LongtermDebtAverageOutstandingAmount",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For the form of debt having an initial term of more than one year or more than the normal operating cycle, if longer, average borrowings during the period.",
        "label": "Longterm Debt Average Outstanding Amount",
        "terseLabel": "Average balance of assets sold under agreements to repurchase",
        "verboseLabel": "Average balance"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LongtermDebtTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LongtermDebtTypeAxis",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueMeasurementBasisNonrecurringDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-Term Debt, Type [Axis]",
        "documentation": "Information by type of long-term debt."
       }
      }
     },
     "auth_ref": [
      "r10",
      "r1336",
      "r1337",
      "r1338"
     ]
    },
    "us-gaap_LongtermDebtTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LongtermDebtTypeDomain",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueMeasurementBasisNonrecurringDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-Term Debt, Type [Domain]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r10",
      "r22",
      "r1336",
      "r1337",
      "r1338"
     ]
    },
    "us-gaap_LongtermDebtWeightedAverageInterestRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LongtermDebtWeightedAverageInterestRate",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-Term Debt, Weighted Average Interest Rate, at Point in Time",
        "terseLabel": "Weighted average interest rate (as a percent)",
        "documentation": "Weighted average interest rate of long-term debt outstanding calculated at point in time."
       }
      }
     },
     "auth_ref": []
    },
    "srt_MajorCustomersAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "MajorCustomersAxis",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureConcentrationOfRiskDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Customer [Axis]",
        "documentation": "Information by name or description of a single external customer or a group of external customers."
       }
      }
     },
     "auth_ref": [
      "r300",
      "r1094",
      "r1096",
      "r1143",
      "r1147",
      "r1449",
      "r1451",
      "r1452",
      "r1454",
      "r1455",
      "r1456",
      "r1457",
      "r1458",
      "r1459",
      "r1460",
      "r1461",
      "r1462",
      "r1463",
      "r1464",
      "r1465",
      "r1466",
      "r1467",
      "r1468",
      "r1469",
      "r1470",
      "r1471",
      "r1472",
      "r1473",
      "r1474",
      "r1475",
      "r1476",
      "r1477",
      "r1478"
     ]
    },
    "pfsi_ManagementFeeBaseRevenue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ManagementFeeBaseRevenue",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsManagementFeesDetails": {
       "parentTag": "pfsi_ManagementFeeRevenue",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsManagementFeesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Base revenues, as contractually stipulated, for operating and managing another entity's business during the reporting period.",
        "label": "Management Fee Base Revenue",
        "terseLabel": "Base management fees"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ManagementFeeRevenue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ManagementFeeRevenue",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails": {
       "parentTag": "pfsi_RevenuesBeforeNonSegmentActivities",
       "weight": 1.0,
       "order": 5.0
      },
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "parentTag": "us-gaap_RevenuesNetOfInterestExpense",
       "weight": 1.0,
       "order": 7.0
      },
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsManagementFeesDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsManagementFeesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Revenues, comprised of base and incentive revenue derived from the management of joint ventures, managing third-party properties, or another entity's operations.",
        "label": "Management Fee Revenue",
        "terseLabel": "Management fees from PennyMac Mortgage Investment Trust",
        "totalLabel": "Management fees",
        "verboseLabel": "Management fees"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ManagementFeeRevenueAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ManagementFeeRevenueAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsManagementFeesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Not available.",
        "label": "Management Fee Revenue Abstract",
        "terseLabel": "Management fees, net:"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ManagementFeesAgreementMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ManagementFeesAgreementMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsManagementFeesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to the management agreement.",
        "label": "Management Fees",
        "terseLabel": "Management Fees"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_MarginDepositAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MarginDepositAssets",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureOtherAssetsOtherDetails": {
       "parentTag": "us-gaap_OtherAssets",
       "weight": 1.0,
       "order": 9.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureOtherAssetsOtherDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Margin Deposit Assets",
        "verboseLabel": "Margin deposits",
        "documentation": "The amount of cash or securities placed with a broker or counterparty as security for a trading or derivatives securities position which was partially obtained with funds provided by the broker dealer."
       }
      }
     },
     "auth_ref": [
      "r920",
      "r1275"
     ]
    },
    "pfsi_MarginDepositAssetsLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MarginDepositAssetsLiabilities",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the margin deposit assets or liabilities.",
        "label": "Margin Deposit Assets Liabilities",
        "verboseLabel": "Collateral (received from) placed with derivative counterparties"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MarginDepositsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MarginDepositsMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Margin deposits member.",
        "label": "Margin Deposits",
        "terseLabel": "Margin Deposits"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_MarketingExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MarketingExpense",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Marketing Expense",
        "terseLabel": "Marketing and advertising",
        "documentation": "Expenditures for planning and executing the conception, pricing, promotion, and distribution of ideas, goods, and services. Costs of public relations and corporate promotions are typically considered to be marketing costs."
       }
      }
     },
     "auth_ref": [
      "r61"
     ]
    },
    "us-gaap_Maturity30To90DaysMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "Maturity30To90DaysMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMaturitiesOfOutstandingAdvancesUnderRepurchaseAgreementsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maturity 30 to 90 Days [Member]",
        "terseLabel": "Over 30 to 90 days",
        "documentation": "Maturity period that is more than 29 days but fewer than 91 days from the reporting date for repurchase agreements and similar transactions, for example, but not limited to, securities lending arrangements."
       }
      }
     },
     "auth_ref": [
      "r207",
      "r217",
      "r1134"
     ]
    },
    "pfsi_MaturityOver180DaysToOneYearMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MaturityOver180DaysToOneYearMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMaturitiesOfOutstandingAdvancesUnderRepurchaseAgreementsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maturity period that is more than 179 days but fewer than 1 year from the reporting date for repurchase agreements and similar transactions, for example, but not limited to, securities lending arrangements.",
        "label": "Over 180 days to one year",
        "terseLabel": "Over 180 days to one year"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MaturityOver90DaysTo180DaysMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MaturityOver90DaysTo180DaysMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMaturitiesOfOutstandingAdvancesUnderRepurchaseAgreementsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maturity period that is more than 90 days but fewer than 181 days from the reporting date for repurchase agreements and similar transactions, for example, but not limited to, securities lending arrangements.",
        "label": "Over 90 to 180 days",
        "terseLabel": "Over 90 to 180 days"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MaturityOverOneYearToTwoYearsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MaturityOverOneYearToTwoYearsMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMaturitiesOfOutstandingAdvancesUnderRepurchaseAgreementsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maturity period of over one year but less than two years from the reporting date for repurchase agreements and similar transactions, for example, but not limited to, securities lending arrangements.",
        "label": "Over one year to two year",
        "terseLabel": "Over one year to two year"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_MaturityUpTo30DaysMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MaturityUpTo30DaysMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMaturitiesOfOutstandingAdvancesUnderRepurchaseAgreementsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maturity Less than 30 Days [Member]",
        "terseLabel": "Within 30 days",
        "documentation": "Maturity period of up to 30 days from the reporting date for repurchase agreements and similar transactions, for example, but not limited to, securities lending arrangements."
       }
      }
     },
     "auth_ref": [
      "r207",
      "r216",
      "r1134"
     ]
    },
    "srt_MaximumMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "MaximumMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageLoansAndIrlcDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingLiabilitiesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsInitialRecognitionDetails",
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureOrganizationDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsManagementFeesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsMortgageLoanServicingDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoanParticipationAndSaleAgreementDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum [Member]",
        "terseLabel": "Maximum",
        "documentation": "Upper limit of the provided range."
       }
      }
     },
     "auth_ref": [
      "r120",
      "r122",
      "r124",
      "r125",
      "r127",
      "r139",
      "r141",
      "r142",
      "r160",
      "r161",
      "r266",
      "r379",
      "r380",
      "r381",
      "r382",
      "r459",
      "r489",
      "r490",
      "r491",
      "r503",
      "r643",
      "r789",
      "r874",
      "r876",
      "r890",
      "r920",
      "r921",
      "r986",
      "r991",
      "r993",
      "r994",
      "r1013",
      "r1030",
      "r1031",
      "r1033",
      "r1034",
      "r1052",
      "r1053",
      "r1084",
      "r1093",
      "r1102",
      "r1105",
      "r1107",
      "r1108",
      "r1122",
      "r1123",
      "r1127",
      "r1128",
      "r1144",
      "r1343",
      "r1431",
      "r1432",
      "r1433",
      "r1434",
      "r1435",
      "r1436"
     ]
    },
    "pfsi_MaximumMultiplyingFactorForEachPullThroughAdjustedLoanCommitment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MaximumMultiplyingFactorForEachPullThroughAdjustedLoanCommitment",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of maximum multiplier factor for each pull through adjusted loan commitment.",
        "label": "Maximum Multiplying Factor For Each Pull through Adjusted Loan Commitment",
        "terseLabel": "Maximum Multiplier factor for each pull through adjusted loan commitment"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_MeasureAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "MeasureAxis",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measure [Axis]",
        "terseLabel": "Measure:"
       }
      }
     },
     "auth_ref": [
      "r1216"
     ]
    },
    "ecd_MeasureName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "MeasureName",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measure Name",
        "terseLabel": "Name"
       }
      }
     },
     "auth_ref": [
      "r1216"
     ]
    },
    "pfsi_MeasurementInputAnnualTotalPrepaymentSpeedMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MeasurementInputAnnualTotalPrepaymentSpeedMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingLiabilitiesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsInitialRecognitionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using annual total prepayment speed.",
        "label": "Annual total prepayment speed",
        "terseLabel": "Annual total prepayment speed"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MeasurementInputConstantPrepaymentAndResaleRateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MeasurementInputConstantPrepaymentAndResaleRateMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageLoansAndIrlcDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using principal prepayment and resale as proportion of outstanding loan principal at constant rate.",
        "label": "Prepayment/resale speed",
        "verboseLabel": "Prepayment/resale speed"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_MeasurementInputConstantPrepaymentRateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MeasurementInputConstantPrepaymentRateMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageLoansAndIrlcDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measurement Input, Constant Prepayment Rate [Member]",
        "verboseLabel": "Total prepayment speed",
        "documentation": "Measurement input using principal prepayment as proportion of outstanding loan principal at constant rate."
       }
      }
     },
     "auth_ref": [
      "r1122",
      "r1398",
      "r1399",
      "r1400"
     ]
    },
    "us-gaap_MeasurementInputDiscountRateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MeasurementInputDiscountRateMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageLoansAndIrlcDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measurement Input, Discount Rate [Member]",
        "verboseLabel": "Discount rate",
        "documentation": "Measurement input using interest rate to determine present value of future cash flows."
       }
      }
     },
     "auth_ref": [
      "r1105",
      "r1107",
      "r1108",
      "r1398",
      "r1399",
      "r1400"
     ]
    },
    "pfsi_MeasurementInputLifeOfLoanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MeasurementInputLifeOfLoanMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingLiabilitiesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsInitialRecognitionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using life of loan.",
        "label": "Life",
        "terseLabel": "Life"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MeasurementInputMortgageServicingRightsValueExpressedAsServicingFeeMultipleMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MeasurementInputMortgageServicingRightsValueExpressedAsServicingFeeMultipleMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageLoansAndIrlcDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using the mortgage servicing rights value expressed as servicing fee multiple.",
        "label": "Mortgage servicing rights value expressed as servicing fee multiple",
        "terseLabel": "Mortgage servicing rights value expressed as servicing fee multiple"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_MeasurementInputOptionVolatilityMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MeasurementInputOptionVolatilityMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingLiabilitiesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsInitialRecognitionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measurement Input, Option Volatility [Member]",
        "terseLabel": "Option-adjusted spread",
        "documentation": "Measurement input using rate at which price of option increases (decreases) for given set of returns."
       }
      }
     },
     "auth_ref": [
      "r1398",
      "r1399",
      "r1400"
     ]
    },
    "pfsi_MeasurementInputPercentageOfUnpaidPrincipalBalanceMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MeasurementInputPercentageOfUnpaidPrincipalBalanceMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageLoansAndIrlcDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement inputs using percentage of unpaid principal balance.",
        "label": "Percentage of unpaid principal balance",
        "terseLabel": "Percentage of unpaid principal balance"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MeasurementInputPricingSpreadMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MeasurementInputPricingSpreadMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsInitialRecognitionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using pricing spread.",
        "label": "Pricing spread",
        "terseLabel": "Pricing spread"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MeasurementInputPullThroughRateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MeasurementInputPullThroughRateMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageLoansAndIrlcDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using the pull-through rate.",
        "label": "Pull-through rate",
        "terseLabel": "Pull-through rate"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MeasurementInputTwelveMonthProjectedHousingPriceIndexChangeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MeasurementInputTwelveMonthProjectedHousingPriceIndexChangeMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageLoansAndIrlcDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using twelve month projected housing price index change.",
        "label": "Twelve-month projected housing price index Change",
        "terseLabel": "Twelve-month projected housing price index Change"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_MeasurementInputTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MeasurementInputTypeAxis",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageLoansAndIrlcDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingLiabilitiesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsInitialRecognitionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measurement Input Type [Axis]",
        "documentation": "Information by type of measurement input used to determine value of asset and liability."
       }
      }
     },
     "auth_ref": [
      "r487",
      "r488",
      "r489",
      "r490",
      "r491",
      "r492",
      "r641",
      "r642",
      "r643",
      "r1105",
      "r1107",
      "r1108",
      "r1122"
     ]
    },
    "us-gaap_MeasurementInputTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MeasurementInputTypeDomain",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageLoansAndIrlcDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingLiabilitiesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsInitialRecognitionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measurement Input Type [Domain]",
        "documentation": "Measurement input used to determine value of asset and liability."
       }
      }
     },
     "auth_ref": [
      "r641",
      "r642",
      "r643",
      "r1105",
      "r1107",
      "r1108",
      "r1122"
     ]
    },
    "us-gaap_MembersEquityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MembersEquityAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "CONSOLIDATED STATEMENTS OF CHANGES IN STOCKHOLDERS' EQUITY (UNAUDITED)"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MinimumLiquidityRequiredForCompliance": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MinimumLiquidityRequiredForCompliance",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRegulatoryCapitalAndLiquidityRequirementsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The lowest amount of liquidity required by secondary market investors or state-imposed regulatory mandates.",
        "label": "Minimum Liquidity Required for Compliance",
        "terseLabel": "Liquidity requirement"
       }
      }
     },
     "auth_ref": []
    },
    "srt_MinimumMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "MinimumMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageLoansAndIrlcDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingLiabilitiesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsInitialRecognitionDetails",
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureOrganizationDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsManagementFeesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsMortgageLoanServicingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Minimum [Member]",
        "terseLabel": "Minimum",
        "documentation": "Lower limit of the provided range."
       }
      }
     },
     "auth_ref": [
      "r120",
      "r122",
      "r124",
      "r125",
      "r127",
      "r139",
      "r141",
      "r142",
      "r160",
      "r161",
      "r266",
      "r379",
      "r380",
      "r381",
      "r382",
      "r459",
      "r489",
      "r490",
      "r491",
      "r503",
      "r643",
      "r789",
      "r874",
      "r876",
      "r890",
      "r920",
      "r921",
      "r986",
      "r991",
      "r993",
      "r994",
      "r1013",
      "r1030",
      "r1031",
      "r1033",
      "r1034",
      "r1052",
      "r1053",
      "r1084",
      "r1093",
      "r1102",
      "r1105",
      "r1107",
      "r1108",
      "r1122",
      "r1123",
      "r1127",
      "r1144",
      "r1343",
      "r1431",
      "r1432",
      "r1433",
      "r1434",
      "r1435",
      "r1436"
     ]
    },
    "us-gaap_MinimumNetWorthRequiredForCompliance": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MinimumNetWorthRequiredForCompliance",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRegulatoryCapitalAndLiquidityRequirementsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Banking Regulation, Mortgage Banking, Net Worth, Minimum",
        "terseLabel": "Capital Requirement",
        "documentation": "Amount of minimum net worth required for mortgage banking as defined by regulatory framework."
       }
      }
     },
     "auth_ref": [
      "r1024",
      "r1027",
      "r1028",
      "r1029"
     ]
    },
    "pfsi_MinimumRiskBasedCapitalRequiredForCompliance": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MinimumRiskBasedCapitalRequiredForCompliance",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRegulatoryCapitalAndLiquidityRequirementsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The lowest amount of risk-based capital required by secondary market investors or state-imposed regulatory mandates.",
        "label": "Minimum Risk Based Capital Required for Compliance",
        "terseLabel": "Risk-based capital requirement"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MizuhoBankLtdMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MizuhoBankLtdMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoansSoldUnderAgreementToRepurchaseByCounterpartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Mizuho Bank Ltd.",
        "label": "Mizuho Bank Ltd [Member]",
        "terseLabel": "Mizuho Bank, Ltd."
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MizuhoSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MizuhoSecuritiesMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeLiabilitiesFinancialLiabilitiesAndCollateralHeldByCounterpartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Mizuho Securities.",
        "label": "Mizuho Securities",
        "terseLabel": "Mizuho Bank, Ltd."
       }
      }
     },
     "auth_ref": []
    },
    "ecd_MnpiDiscTimedForCompValFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "MnpiDiscTimedForCompValFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "MNPI Disclosure Timed for Compensation Value [Flag]",
        "terseLabel": "MNPI Disclosure Timed for Compensation Value"
       }
      }
     },
     "auth_ref": [
      "r1235"
     ]
    },
    "pfsi_MorganStanleyBankMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MorganStanleyBankMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeAssetsFinancialAssetsAndCollateralHeldByCounterpartyDetails",
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeLiabilitiesFinancialLiabilitiesAndCollateralHeldByCounterpartyDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoansSoldUnderAgreementToRepurchaseByCounterpartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Morgan Stanley Bank.",
        "label": "Morgan Stanley Bank, N.A.",
        "terseLabel": "Morgan Stanley Bank, N.A."
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageBackedAssetSecuritiesAtFairValuePledgedToCreditors": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageBackedAssetSecuritiesAtFairValuePledgedToCreditors",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails": {
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0,
       "order": 2.0
      },
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 3.0
      },
      "http://www.pennymacfinancial.com/role/DisclosurePrincipalOnlyStrippedMortgageBackedSecuritiesSummaryOfCompanyInvestmentInPrincipalOnlyStrippedMbsDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosurePrincipalOnlyStrippedMortgageBackedSecuritiesActivityInCompanySInvestmentInPrincipalOnlyStrippedMbsDetails",
      "http://www.pennymacfinancial.com/role/DisclosurePrincipalOnlyStrippedMortgageBackedSecuritiesSummaryOfCompanyInvestmentInPrincipalOnlyStrippedMbsDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of mortgage-backed asset securities measured at fair value pledged to creditors.",
        "label": "Mortgage Backed Asset Securities At Fair Value Pledged to Creditors",
        "periodEndLabel": "Balance at end of quarter",
        "periodStartLabel": "Balance at beginning of quarter",
        "terseLabel": "Principal-only stripped mortgage-backed securities at fair value pledged to creditors",
        "totalLabel": "Fair Value"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageBackedAssetSecuritiesAtFairValuePledgedToCreditorsAmortizationOfPurchaseDiscounts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageBackedAssetSecuritiesAtFairValuePledgedToCreditorsAmortizationOfPurchaseDiscounts",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosurePrincipalOnlyStrippedMortgageBackedSecuritiesActivityInCompanySInvestmentInPrincipalOnlyStrippedMbsDetails": {
       "parentTag": "pfsi_MortgageBackedAssetSecuritiesAtFairValuePledgedToCreditorsChangesInFairValue",
       "weight": -1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosurePrincipalOnlyStrippedMortgageBackedSecuritiesActivityInCompanySInvestmentInPrincipalOnlyStrippedMbsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amortization purchase discounts of mortgage-backed securities, measured at fair valued, pledged to creditors.",
        "label": "Mortgage Backed Asset Securities At Fair Value Pledged To Creditors, Amortization Of Purchase Discounts",
        "terseLabel": "Amortization of purchase discounts"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageBackedAssetSecuritiesAtFairValuePledgedToCreditorsChangesInFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageBackedAssetSecuritiesAtFairValuePledgedToCreditorsChangesInFairValue",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosurePrincipalOnlyStrippedMortgageBackedSecuritiesActivityInCompanySInvestmentInPrincipalOnlyStrippedMbsDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosurePrincipalOnlyStrippedMortgageBackedSecuritiesActivityInCompanySInvestmentInPrincipalOnlyStrippedMbsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of fair value changes in mortgage-backed securities, measured at fair valued, pledged to creditors.",
        "label": "Mortgage Backed Asset Securities At Fair Value Pledged To Creditors, Changes In Fair Value",
        "totalLabel": "Total"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageBackedAssetSecuritiesAtFairValuePledgedToCreditorsRepayments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageBackedAssetSecuritiesAtFairValuePledgedToCreditorsRepayments",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosurePrincipalOnlyStrippedMortgageBackedSecuritiesActivityInCompanySInvestmentInPrincipalOnlyStrippedMbsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of repayment of mortgage-backed securities, measured at fair valued, pledged to creditors.",
        "label": "Mortgage Backed Asset Securities At Fair Value Pledged To Creditors, Repayments",
        "terseLabel": "Repayments"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageBackedAssetSecuritiesContractualTerm": {
     "xbrltype": "durationItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageBackedAssetSecuritiesContractualTerm",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosurePrincipalOnlyStrippedMortgageBackedSecuritiesSummaryOfCompanyInvestmentInPrincipalOnlyStrippedMbsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contractual term of mortgage backed asset securities.",
        "label": "Mortgage-Backed Asset Securities, Contractual Term",
        "terseLabel": "Contractual maturities term"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageBackedAssetSecuritiesCumulativeValueChanges": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageBackedAssetSecuritiesCumulativeValueChanges",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosurePrincipalOnlyStrippedMortgageBackedSecuritiesSummaryOfCompanyInvestmentInPrincipalOnlyStrippedMbsDetails": {
       "parentTag": "pfsi_MortgageBackedAssetSecuritiesAtFairValuePledgedToCreditors",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosurePrincipalOnlyStrippedMortgageBackedSecuritiesSummaryOfCompanyInvestmentInPrincipalOnlyStrippedMbsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain (loss) from change in value of mortgage-backed asset securities.",
        "label": "Mortgage-Backed Asset Securities, Cumulative Value Changes",
        "negatedTerseLabel": "Cumulative valuation change"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageBackedAssetSecuritiesDisclosureTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageBackedAssetSecuritiesDisclosureTableTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosurePrincipalOnlyStrippedMortgageBackedSecuritiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The table disclosure for mortgage-backed asset securities pledged to creditors.",
        "label": "Mortgage Backed Asset Securities Disclosure [Table Text Block]",
        "terseLabel": "Summary of principal-only stripped MBS"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageBackedAssetSecuritiesDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageBackedAssetSecuritiesDisclosureTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosurePrincipalOnlyStrippedMortgageBackedSecurities"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for mortgage-backed asset securities pledged to creditors.",
        "label": "Mortgage Backed Asset Securities Disclosure [Text Block]",
        "terseLabel": "Principal-Only Stripped Mortgage-Backed Securities"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageBackedAssetSecuritiesPrincipalAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageBackedAssetSecuritiesPrincipalAmount",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosurePrincipalOnlyStrippedMortgageBackedSecuritiesSummaryOfCompanyInvestmentInPrincipalOnlyStrippedMbsDetails": {
       "parentTag": "pfsi_MortgageBackedAssetSecuritiesAtFairValuePledgedToCreditors",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosurePrincipalOnlyStrippedMortgageBackedSecuritiesSummaryOfCompanyInvestmentInPrincipalOnlyStrippedMbsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Principal amount of investment mortgage-backed asset securities.",
        "label": "Mortgage-Backed Asset Securities, Principal Amount",
        "terseLabel": "Principal balance"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageBackedAssetSecuritiesUnearnedDiscounts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageBackedAssetSecuritiesUnearnedDiscounts",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosurePrincipalOnlyStrippedMortgageBackedSecuritiesSummaryOfCompanyInvestmentInPrincipalOnlyStrippedMbsDetails": {
       "parentTag": "pfsi_MortgageBackedAssetSecuritiesAtFairValuePledgedToCreditors",
       "weight": -1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosurePrincipalOnlyStrippedMortgageBackedSecuritiesSummaryOfCompanyInvestmentInPrincipalOnlyStrippedMbsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "An unearned discount is interest or a charge that a lending institution has received on a mortgage but has not yet been counted as profits (or earnings).",
        "label": "Mortgage-Backed Asset Securities, Unearned Discounts",
        "negatedLabel": "Unearned discount"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageBackedAssetSecuritiesValueChanges": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageBackedAssetSecuritiesValueChanges",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosurePrincipalOnlyStrippedMortgageBackedSecuritiesActivityInCompanySInvestmentInPrincipalOnlyStrippedMbsDetails": {
       "parentTag": "pfsi_MortgageBackedAssetSecuritiesAtFairValuePledgedToCreditorsChangesInFairValue",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosurePrincipalOnlyStrippedMortgageBackedSecuritiesActivityInCompanySInvestmentInPrincipalOnlyStrippedMbsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain (loss) from change in value adjustments of mortgage-backed asset securities.",
        "label": "Mortgage-Backed Asset Securities, Value Changes",
        "negatedLabel": "Valuation adjustments"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageBackedSecuritiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageBackedSecuritiesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Not Available.",
        "label": "Principal-Only Stripped Mortgage-Backed Securities"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_MortgageBankingAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MortgageBankingAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Regulatory Capital and Liquidity Requirements"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageBankingLendingSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageBankingLendingSectorMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to lending sector of mortgage banking segment.",
        "label": "Mortgage banking Production",
        "terseLabel": "Mortgage banking Production"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageBankingServicingSectorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageBankingServicingSectorMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to servicing sector of mortgage banking segment.",
        "label": "Mortgage banking Servicing",
        "terseLabel": "Mortgage banking Servicing"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageLendingAgreementMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageLendingAgreementMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsInvestingActivitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to the mortgage lending agreement.",
        "label": "Mortgage Lending",
        "terseLabel": "Mortgage Lending"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageLoanCollectionAndLiquidationExpenses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageLoanCollectionAndLiquidationExpenses",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the amount of mortgage loan collection and liquidation expenses.",
        "label": "Mortgage Loan Collection And Liquidation Expenses",
        "terseLabel": "Servicing"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageLoanHeldForSaleHedgingActivitiesCashGainLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageLoanHeldForSaleHedgingActivitiesCashGainLoss",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureNetGainsOnLoansHeldForSaleDetails": {
       "parentTag": "pfsi_AggregateCashGainLossOnSaleOfMortgageLoansHeldForSaleNetOfCashHedgingResults",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureNetGainsOnLoansHeldForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the cash portion of gains (losses) on hedging activities of mortgage loans held for sale.",
        "label": "Mortgage Loan Held For Sale Hedging Activities Cash Gain Loss",
        "terseLabel": "Hedging activities"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageLoanParticipationAndSaleAgreement": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageLoanParticipationAndSaleAgreement",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 2.0
      },
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoanParticipationAndSaleAgreementDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoanParticipationAndSaleAgreementDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Participation certificates in mortgage loans that have been pooled with Fannie Mae, Freddie Mac or Ginnie Mae, are issued  to a lender pending the securitization of the mortgage loans and sale of the resulting securities.",
        "label": "Mortgage Loan Participation and Sale Agreement",
        "terseLabel": "Mortgage loan participation purchase and sale agreements",
        "totalLabel": "Mortgage loan participation and sale agreement secured by mortgage loan participation certificates"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageLoanParticipationAndSaleAgreementMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageLoanParticipationAndSaleAgreementMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoansHeldForSaleAtFairValueDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoanParticipationAndSaleAgreementDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information related to mortgage loan participation and sale agreements.",
        "label": "Mortgage Loan Participation and Sale Agreement member",
        "terseLabel": "Mortgage Loan Participation and Sale Agreement member"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageLoanParticipationAndSaleAgreementUnpaidPrincipalBalance": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageLoanParticipationAndSaleAgreementUnpaidPrincipalBalance",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoanParticipationAndSaleAgreementDetails": {
       "parentTag": "pfsi_MortgageLoanParticipationAndSaleAgreement",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoanParticipationAndSaleAgreementDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unpaid principal balance of mortgage loan participation and sale agreement",
        "label": "Mortgage Loan Participation And Sale Agreement Unpaid Principal Balance",
        "terseLabel": "Unpaid principal balance of mortgage loan participation and sale agreement secured by mortgage loan participation certificates"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageLoanParticipationAndSaleAgreements": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageLoanParticipationAndSaleAgreements",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoanParticipationAndSaleAgreementDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Participation certificates in mortgage loans that have been pooled with Fannie Mae, Freddie Mac or Ginnie Mae, are issued to a lender pending the securitization of the mortgage loans and sales of the resulting securities.",
        "label": "Mortgage Loan Participation And Sale Agreements",
        "terseLabel": "Mortgage loan participation and sale agreement secured by mortgage loan participation certificates"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageLoanServicingAgreementMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageLoanServicingAgreementMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsMortgageLoanServicingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to mortgage loan servicing agreement.",
        "label": "Loan Servicing Agreement",
        "terseLabel": "Loan Servicing Agreement"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageLoansAcquiredAndHeldForSaleMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageLoansAcquiredAndHeldForSaleMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsMortgageLoanServicingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to the mortgage loans acquired and held for sale.",
        "label": "Loans acquired for sale at fair value",
        "terseLabel": "Loans acquired for sale at fair value"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageLoansAcquiredForSaleSoldUnderAgreementsToRepurchaseActivityDuringPeriodAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageLoansAcquiredForSaleSoldUnderAgreementsToRepurchaseActivityDuringPeriodAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoanParticipationAndSaleAgreementDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "During the quarter:",
        "terseLabel": "During the period:"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageLoansAcquiredForSaleSoldUnderAgreementsToRepurchaseAtPeriodEndAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageLoansAcquiredForSaleSoldUnderAgreementsToRepurchaseAtPeriodEndAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Mortgage Loans Acquired for Sale Sold under Agreements to Repurchase at Period End [Abstract]",
        "terseLabel": "Carrying value:"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageLoansHeldForSaleGainLossDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageLoansHeldForSaleGainLossDisclosureAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Gains on Loans Held for Sale"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageLoansHeldForSaleGainLossDisclosureTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageLoansHeldForSaleGainLossDisclosureTableTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureNetGainsOnLoansHeldForSaleTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of gains (losses) on mortgage loans held for sale.",
        "label": "Mortgage Loans Held For Sale Gain (Loss) Disclosure [Table Text Block]",
        "verboseLabel": "Summary of net gains on loans held for sale at fair value"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageLoansHeldForSaleGainLossDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageLoansHeldForSaleGainLossDisclosureTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureNetGainsOnLoansHeldForSale"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for gains (losses) on mortgage loans held for sale.",
        "label": "Mortgage Loans Held For Sale Gain (Loss) Disclosure [Text Block]",
        "terseLabel": "Net Gains on Loans Held for Sale"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageLoansHeldForSaleMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageLoansHeldForSaleMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueChangesInFairValueFairValueOptionRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFairValueOptionMaturitiesRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3InputRollForwardRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageLoansAndIrlcDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueTables",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to the mortgage loans held for sale.",
        "label": "Mortgage loans held for sale",
        "terseLabel": "Mortgage loans held for sale"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageLoansMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageLoansMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to mortgage loans.",
        "label": "Loans held for sale",
        "terseLabel": "Loans held for sale"
       }
      }
     },
     "auth_ref": []
    },
    "srt_MortgageLoansOnRealEstateByLoanDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "MortgageLoansOnRealEstateByLoanDisclosureTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoansHeldForSaleAtFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate [Text Block]",
        "terseLabel": "Loans Held for Sale at Fair Value",
        "documentation": "The entire disclosure for investment in mortgage loan on real estate by entity with substantial portion of business acquiring and holding investment real estate or interest in real estate. Includes, but is not limited to, information for each mortgage loan receivable equaling or exceeding 3 percent of carrying amount of mortgage."
       }
      }
     },
     "auth_ref": [
      "r144",
      "r145",
      "r147",
      "r1030",
      "r1036",
      "r1037",
      "r1039"
     ]
    },
    "srt_MortgageLoansOnRealEstateLoanTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "MortgageLoansOnRealEstateLoanTypeAxis",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoansHeldForSaleAtFairValueDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate, Loan Type [Axis]",
        "documentation": "Information by type of loan for investment in mortgage loan on real estate by entity with substantial portion of business acquiring and holding investment real estate or interest in real estate."
       }
      }
     },
     "auth_ref": [
      "r139",
      "r141",
      "r142",
      "r143",
      "r146",
      "r1030",
      "r1031",
      "r1033",
      "r1034",
      "r1035",
      "r1038"
     ]
    },
    "srt_MortgageLoansOnRealEstateLoanTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "MortgageLoansOnRealEstateLoanTypeDomain",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoansHeldForSaleAtFairValueDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate, Loan Type [Domain]",
        "documentation": "Type of loan within investment in mortgage loan on real estate by entity with substantial portion of business acquiring and holding investment real estate or interest in real estate."
       }
      }
     },
     "auth_ref": [
      "r139",
      "r141",
      "r142",
      "r143",
      "r146",
      "r1030",
      "r1031",
      "r1033",
      "r1034",
      "r1035",
      "r1038"
     ]
    },
    "srt_MortgageLoansOnRealEstatePrincipalAmountOfDelinquentLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "MortgageLoansOnRealEstatePrincipalAmountOfDelinquentLoans",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureFairValueDetails4Calc2": {
       "parentTag": "us-gaap_MortgagesHeldForSaleFairValueDisclosure",
       "weight": 1.0,
       "order": 1.0
      },
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFairValueOptionMaturitiesRecurringBasisDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFairValueOptionMaturitiesRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate, Principal Amount of Delinquent Loans",
        "totalLabel": "Total principal amount due upon maturity",
        "documentation": "Amount of principal due on delinquent mortgage loan within investment in mortgage loan on real estate by entity with substantial portion of business acquiring and holding investment real estate or interest in real estate."
       }
      }
     },
     "auth_ref": [
      "r146",
      "r1030",
      "r1038"
     ]
    },
    "pfsi_MortgageLoansOnRealEstatePurchasedFromGinnieMaePoolsServicedByEntityMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageLoansOnRealEstatePurchasedFromGinnieMaePoolsServicedByEntityMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoansHeldForSaleAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to mortgage loans purchased from Ginnie Mae pools serviced by the entity.",
        "label": "Mortgage loans purchased from Ginnie Mae pools serviced by the entity",
        "terseLabel": "Mortgage loans purchased from Ginnie Mae pools serviced by the entity"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageLoansSubjectToRepresentationsAndWarrantiesUnpaidBalance": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageLoansSubjectToRepresentationsAndWarrantiesUnpaidBalance",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLiabilityForLossesUnderRepresentationsAndWarrantiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unpaid principal balance of mortgage loans subject to representations and warranties.",
        "label": "Mortgage Loans Subject To Representations And Warranties Unpaid Balance",
        "terseLabel": "Unpaid principal balance of loans subject to representations and warranties at end of quarter"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageServicingLiabilitiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageServicingLiabilitiesMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueChangesInFairValueFairValueOptionRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingLiabilitiesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueTables",
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesMortgageServicingLiabilitiesCarriedAtFvDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to the mortgage servicing liabilities.",
        "label": "Mortgage servicing liabilities",
        "terseLabel": "Mortgage servicing liabilities"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageServicingPortfolioAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageServicingPortfolioAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Mortgage Servicing Portfolio [Abstract]",
        "terseLabel": "Mortgage servicing portfolio"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageServicingPortfolioContractServicingAndSubservicedMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageServicingPortfolioContractServicingAndSubservicedMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to mortgage servicing portfolio contract servicing and subserviced by the entity.",
        "label": "Contract servicing and subservicing",
        "verboseLabel": "Subservicing"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageServicingPortfolioLoansManagedAndSecuritizedBankruptcy": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageServicingPortfolioLoansManagedAndSecuritizedBankruptcy",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the amount of loans serviced under mortgage servicing portfolio of the entity that are in bankruptcy.",
        "label": "Mortgage Servicing Portfolio, Loans Managed and Securitized, Bankruptcy",
        "terseLabel": "Bankruptcy"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageServicingPortfolioNinetyDaysOrMoreDelinquentDueForeclosedMortgageLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageServicingPortfolioNinetyDaysOrMoreDelinquentDueForeclosedMortgageLoans",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails": {
       "parentTag": "us-gaap_DelinquentAmountAtEndOfPeriodOnLoansManagedAndSecuritized",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the amount of 90 days or more delinquent loans serviced under mortgage servicing portfolio of the entity that are foreclosed.",
        "label": "Mortgage Servicing Portfolio Ninety Days Or More Delinquent Due Foreclosed Mortgage Loans",
        "terseLabel": "90 days or more - Foreclosed"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageServicingPortfolioNinetyDaysOrMoreDelinquentDueInForeclosureMortgageLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageServicingPortfolioNinetyDaysOrMoreDelinquentDueInForeclosureMortgageLoans",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails": {
       "parentTag": "us-gaap_DelinquentAmountAtEndOfPeriodOnLoansManagedAndSecuritized",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the amount of 90 days or more delinquent loans serviced under mortgage servicing portfolio of the entity that are in foreclosure.",
        "label": "Mortgage Servicing Portfolio Ninety Days Or More Delinquent Due In Foreclosure Mortgage Loans",
        "terseLabel": "90 days or more - In foreclosure"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageServicingPortfolioNinetyDaysOrMoreDelinquentMortgageLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageServicingPortfolioNinetyDaysOrMoreDelinquentMortgageLoans",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the amount of 90 days or more delinquent loans serviced under mortgage servicing portfolio of the entity.",
        "label": "Mortgage Servicing Portfolio Ninety Days or More Delinquent Mortgage Loans",
        "terseLabel": "90 days or more"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageServicingPortfolioNinetyDaysOrMoreDelinquentNotInForeclosureMortgageLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageServicingPortfolioNinetyDaysOrMoreDelinquentNotInForeclosureMortgageLoans",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails": {
       "parentTag": "us-gaap_DelinquentAmountAtEndOfPeriodOnLoansManagedAndSecuritized",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the amount of 90 days or more delinquent loans serviced under mortgage servicing portfolio of the entity that are not in foreclosure.",
        "label": "Mortgage Servicing Portfolio Ninety Days Or More Delinquent Not In Foreclosure Mortgage Loans",
        "terseLabel": "90 days or more - Not in foreclosure"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageServicingPortfolioOwnedMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageServicingPortfolioOwnedMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to mortgage servicing portfolio owned by the entity.",
        "label": "Servicing rights owned",
        "terseLabel": "Servicing rights owned"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageServicingPortfolioSixtyDaysDelinquentMortgageLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageServicingPortfolioSixtyDaysDelinquentMortgageLoans",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails": {
       "parentTag": "us-gaap_DelinquentAmountAtEndOfPeriodOnLoansManagedAndSecuritized",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the amount of 60 days delinquent loans serviced under mortgage servicing portfolio of the entity.",
        "label": "Mortgage Servicing Portfolio Sixty Days Delinquent Mortgage Loans",
        "terseLabel": "60 days"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageServicingPortfolioThirtyDaysDelinquentMortgageLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageServicingPortfolioThirtyDaysDelinquentMortgageLoans",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails": {
       "parentTag": "us-gaap_DelinquentAmountAtEndOfPeriodOnLoansManagedAndSecuritized",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the amount of 30 days delinquent loans serviced under mortgage servicing portfolio of the entity.",
        "label": "Mortgage Servicing Portfolio Thirty Days Delinquent Mortgage Loans",
        "terseLabel": "30 days"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageServicingRightsAtTimeOfInitialRecognitionExcludingMortgageServicingRightPurchasesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageServicingRightsAtTimeOfInitialRecognitionExcludingMortgageServicingRightPurchasesMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsInitialRecognitionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Mortgage Servicing Rights at the time of initial recognition, excluding Mortgage Servicing Right purchases.",
        "label": "MSRs at the time of initial recognition, excluding MSR purchases",
        "terseLabel": "MSRs at the time of initial recognition, excluding MSR purchases"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageServicingRightsDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageServicingRightsDisclosureTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilities"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the entire disclosure of mortgage servicing rights.",
        "label": "Mortgage Servicing Rights Disclosure [Text Block]",
        "verboseLabel": "Mortgage Servicing Rights and Mortgage Servicing Liabilities"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageServicingRightsMSRAmortizationImpairmentFairValueChange": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageServicingRightsMSRAmortizationImpairmentFairValueChange",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "parentTag": "pfsi_ServicingFeeNet",
       "weight": -1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the amortization, provisions for losses due to impairment, fair value changes, and hedging results relating to mortgage servicing rights and changes in fair value of excess servicing spread payable to PennyMac Mortgage Investment Trust.",
        "label": "Mortgage Servicing Rights MSR Amortization Impairment Fair Value Change",
        "negatedTotalLabel": "Change in fair value of mortgage servicing rights and mortgage-backed securities"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageServicingRightsMSRsRecaptureRecognized": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageServicingRightsMSRsRecaptureRecognized",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails": {
       "parentTag": "pfsi_GainLossOnSalesOfLoansFromAffiliates",
       "weight": -1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the recapture expense incurred relating to mortgage loans subject to either MSRs or ESS owned by a related party that were refinanced by the Company.",
        "label": "Mortgage Servicing Rights MSRs Recapture Recognized",
        "terseLabel": "Mortgage servicing rights recapture incurred"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageServicingRightsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageServicingRightsMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3InputRollForwardRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsInitialRecognitionDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueTables",
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails",
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails",
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesActivityInMsrsAtFairValueDetails",
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesServicingLateAncillaryAndOtherFeesRelatingToMsrsDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to the mortgage servicing rights.",
        "label": "Mortgage servicing rights",
        "terseLabel": "Mortgage servicing rights"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgageServicingRightsRecaptureAgreementMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgageServicingRightsRecaptureAgreementMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Mortgage Servicing Rights Recapture Agreement [Member]",
        "label": "MSR Recapture Agreement",
        "terseLabel": "MSR Recapture Agreement"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgagesBankingMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgagesBankingMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Origination or servicing of loan secured by real properties.",
        "label": "Mortgage banking",
        "terseLabel": "Mortgage banking"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_MortgagesHeldForSaleFairValueDisclosure": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MortgagesHeldForSaleFairValueDisclosure",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails": {
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0,
       "order": 3.0
      },
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 4.0
      },
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFairValueOptionMaturitiesRecurringBasisDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      },
      "http://www.pennymacfinancial.com/role/DisclosureFairValueDetails4Calc2": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFairValueOptionMaturitiesRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageLoansAndIrlcDetails",
      "http://www.pennymacfinancial.com/role/DisclosureLoansHeldForSaleAtFairValueDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoanParticipationAndSaleAgreementDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loan, Mortgage, Held-for-Sale, Fair Value Disclosure",
        "terseLabel": "Loans held for sale",
        "totalLabel": "Total fair value",
        "verboseLabel": "Loans held for sale at fair value (includes $9,799,780 and $8,983,503 pledged to creditors)",
        "documentation": "Fair value portion of mortgage loans held-for-sale."
       }
      }
     },
     "auth_ref": [
      "r1396",
      "r1397",
      "r1411",
      "r1412",
      "r1413",
      "r1415"
     ]
    },
    "pfsi_MortgagesHeldForSaleFairValueDisclosureNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgagesHeldForSaleFairValueDisclosureNet",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageLoansAndIrlcDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net fair value portion of mortgage loans held-for-sale.",
        "label": "Mortgages Held For Sale Fair Value Disclosure Net",
        "terseLabel": "Fair Value"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgagesHeldForSaleLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgagesHeldForSaleLineItems",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoansHeldForSaleAtFairValueDetails"
     ],
     "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": "Mortgages Held For Sale [Line Items]",
        "terseLabel": "Mortgage Loans Held for Sale at Fair Value"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MortgagesHeldForSaleTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MortgagesHeldForSaleTable",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoansHeldForSaleAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of information about mortgage loans held for sale, information may be provided for each individual mortgage loan or groups of mortgage loans.",
        "label": "Mortgages Held For Sale [Table]"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MsrAndPoolCharacteristicsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MsrAndPoolCharacteristicsAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "No definition available.",
        "label": "Msr and Pool Characteristics [Abstract]",
        "terseLabel": "MSR and pool characteristics"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_MtrlTermsOfTrdArrTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "MtrlTermsOfTrdArrTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Material Terms of Trading Arrangement [Text Block]",
        "terseLabel": "Material Terms of Trading Arrangement"
       }
      }
     },
     "auth_ref": [
      "r1243"
     ]
    },
    "pfsi_MultiplyingFactorForEachPullThroughAdjustedLoanCommitmentInExcessOfThresholdLimitPerQuarter": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MultiplyingFactorForEachPullThroughAdjustedLoanCommitmentInExcessOfThresholdLimitPerQuarter",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Multiplying factor for each pull through adjusted loan commitment in excess of threshold limit per quarter.",
        "label": "Multiplying Factor For Each Pull through Adjusted Loan Commitment In Excess Of Threshold limit Per Quarter",
        "terseLabel": "Multiplying factor for each pull through adjusted loan commitment in excess of threshold limit per quarter"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MultiplyingFactorForNumberOfPurchasedLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MultiplyingFactorForNumberOfPurchasedLoans",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Multiplying factor for number of purchased loans.",
        "label": "Multiplying Factor For Number of Purchased Loans",
        "terseLabel": "Multiplying factor for number of purchased loans"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_MultiplyingFactorForNumberOfPurchasedLoansInExcessOfThresholdLimitPerQuarter": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "MultiplyingFactorForNumberOfPurchasedLoansInExcessOfThresholdLimitPerQuarter",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of Multiplying factor for number of purchased loans in excess of threshold limit per quarter.",
        "label": "Multiplying Factor For Number of Purchased Loans In Excess Of Threshold limit Per Quarter",
        "terseLabel": "Multiplying factor for number of purchased loans in excess of threshold limit per quarter"
       }
      }
     },
     "auth_ref": []
    },
    "srt_NameOfMajorCustomerDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "NameOfMajorCustomerDomain",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureConcentrationOfRiskDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Customer [Domain]",
        "documentation": "Single external customer or group of external customers."
       }
      }
     },
     "auth_ref": [
      "r300",
      "r1094",
      "r1096",
      "r1143",
      "r1147",
      "r1449",
      "r1451",
      "r1452",
      "r1454",
      "r1455",
      "r1456",
      "r1457",
      "r1458",
      "r1459",
      "r1460",
      "r1461",
      "r1462",
      "r1463",
      "r1464",
      "r1465",
      "r1466",
      "r1467",
      "r1468",
      "r1469",
      "r1470",
      "r1471",
      "r1472",
      "r1473",
      "r1474",
      "r1475",
      "r1476",
      "r1477",
      "r1478"
     ]
    },
    "ecd_NamedExecutiveOfficersFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "NamedExecutiveOfficersFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Named Executive Officers, Footnote [Text Block]",
        "terseLabel": "Named Executive Officers, Footnote"
       }
      }
     },
     "auth_ref": [
      "r1217"
     ]
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NetCashProvidedByUsedInFinancingActivities",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Financing Activities",
        "totalLabel": "Net cash provided by (used in) financing activities",
        "documentation": "Amount of cash inflow (outflow) from financing activity, including, but not limited to, discontinued operation. Financing activity includes, but is not limited to, obtaining resource from owner and providing return on, and return of, their investment; borrowing money and repaying amount borrowed, or settling obligation; and obtaining and paying for other resource obtained from creditor on long-term credit."
       }
      }
     },
     "auth_ref": [
      "r202"
     ]
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NetCashProvidedByUsedInFinancingActivitiesAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Financing Activities [Abstract]",
        "terseLabel": "Cash flow from financing activities"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NetCashProvidedByUsedInInvestingActivities",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Investing Activities",
        "totalLabel": "Net cash (used in) provided by investing activities",
        "documentation": "Amount of cash inflow (outflow) from investing activity, including, but not limited to, discontinued operation. Investing activity includes, but is not limited to, making and collecting loan, acquiring and disposing of debt and equity instruments, property, plant, and equipment, and other productive assets."
       }
      }
     },
     "auth_ref": [
      "r202"
     ]
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NetCashProvidedByUsedInInvestingActivitiesAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Investing Activities [Abstract]",
        "terseLabel": "Cash flow from investing activities"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsInvestingActivitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Investing Activities, Continuing Operations [Abstract]",
        "verboseLabel": "Activity during the period:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NetCashProvidedByUsedInOperatingActivities",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Operating Activities",
        "totalLabel": "Net cash (used in) provided by operating activities",
        "documentation": "Amount of cash inflow (outflow) from operating activity, including, but not limited to, discontinued operation. Operating activity includes, but is not limited to, transaction, adjustment, and change in value not defined as investing or financing activity."
       }
      }
     },
     "auth_ref": [
      "r68",
      "r69",
      "r70"
     ]
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NetCashProvidedByUsedInOperatingActivitiesAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Operating Activities [Abstract]",
        "terseLabel": "Cash flow from operating activities"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_NetGainsFromSaleOfMortgageLoansToRelatedParty": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "NetGainsFromSaleOfMortgageLoansToRelatedParty",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails": {
       "parentTag": "pfsi_GainLossOnSalesOfLoansFromAffiliates",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the net gains from sale of mortgage loans to related party.",
        "label": "Net Gains From Sale Of Mortgage Loans To Related Party",
        "terseLabel": "Net gains on loans sold to PMT (primarily cash)"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_NetGainsOnMortgageLoansHeldForSaleAtFairValueMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "NetGainsOnMortgageLoansHeldForSaleAtFairValueMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueChangesInFairValueFairValueOptionRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing net gains on mortgage loans held for sale at fair value.",
        "label": "Net gains on loans held for sale at fair value",
        "terseLabel": "Net gains on loans held for sale at fair value"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetIncomeLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NetIncomeLoss",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureEarningsPerShareDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfChangesInStockholdersEquityUnaudited",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited",
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net income",
        "label": "Net Income (Loss)",
        "terseLabel": "Net Income (Loss)",
        "documentation": "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent."
       }
      }
     },
     "auth_ref": [
      "r60",
      "r70",
      "r99",
      "r172",
      "r179",
      "r187",
      "r188",
      "r191",
      "r207",
      "r210",
      "r211",
      "r214",
      "r229",
      "r234",
      "r235",
      "r236",
      "r237",
      "r238",
      "r241",
      "r242",
      "r252",
      "r334",
      "r385",
      "r386",
      "r388",
      "r389",
      "r390",
      "r391",
      "r392",
      "r394",
      "r395",
      "r420",
      "r423",
      "r425",
      "r428",
      "r499",
      "r532",
      "r543",
      "r637",
      "r675",
      "r858",
      "r953",
      "r975",
      "r976",
      "r1066",
      "r1067",
      "r1068",
      "r1159",
      "r1341"
     ]
    },
    "pfsi_NetInterestExpenseMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "NetInterestExpenseMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueChangesInFairValueFairValueOptionRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption in which reported facts about interest expenses has been included.",
        "label": "Net Interest Expense [Member]",
        "terseLabel": "Net interest expense"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NewAccountingPronouncementsAndChangesInAccountingPrinciplesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Disaggregation of Certain Expense Captions"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDisaggregationOfCertainExpenseCaptions"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Standards Update and Change in Accounting Principle [Text Block]",
        "verboseLabel": "Disaggregation of Certain Expense Captions",
        "documentation": "The entire disclosure for change in accounting principle. Includes, but is not limited to, nature, reason, and method of adopting amendment to accounting standards or other change in accounting principle."
       }
      }
     },
     "auth_ref": [
      "r116",
      "r167",
      "r172",
      "r227",
      "r228",
      "r231",
      "r232",
      "r243",
      "r244",
      "r302",
      "r336",
      "r337",
      "r417",
      "r418",
      "r499",
      "r500",
      "r530",
      "r531",
      "r533",
      "r543",
      "r617",
      "r633",
      "r711",
      "r717",
      "r718",
      "r884",
      "r885",
      "r886",
      "r887",
      "r889"
     ]
    },
    "us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDisaggregationOfCertainExpenseCaptionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "New Accounting Pronouncements or Change in Accounting Principle [Line Items]",
        "terseLabel": "Recently Adopted Accounting Pronouncements",
        "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."
       }
      }
     },
     "auth_ref": [
      "r162",
      "r163",
      "r164",
      "r165",
      "r166",
      "r167",
      "r168",
      "r169",
      "r170",
      "r171",
      "r172",
      "r196",
      "r197",
      "r198",
      "r226",
      "r229",
      "r230",
      "r231",
      "r232",
      "r233",
      "r236",
      "r243",
      "r259",
      "r301",
      "r302",
      "r335",
      "r338",
      "r339",
      "r340",
      "r368",
      "r369",
      "r373",
      "r415",
      "r416",
      "r419",
      "r420",
      "r497",
      "r498",
      "r499",
      "r500",
      "r514",
      "r515",
      "r516",
      "r517",
      "r518",
      "r524",
      "r525",
      "r526",
      "r527",
      "r528",
      "r529",
      "r531",
      "r532",
      "r533",
      "r534",
      "r535",
      "r536",
      "r539",
      "r540",
      "r541",
      "r542",
      "r543",
      "r609",
      "r610",
      "r611",
      "r612",
      "r613",
      "r614",
      "r615",
      "r616",
      "r618",
      "r619",
      "r626",
      "r627",
      "r628",
      "r629",
      "r630",
      "r631",
      "r632",
      "r634",
      "r635",
      "r636",
      "r637",
      "r662",
      "r663",
      "r689",
      "r690",
      "r710",
      "r712",
      "r713",
      "r714",
      "r715",
      "r716",
      "r878",
      "r879",
      "r880",
      "r881",
      "r882",
      "r883",
      "r884",
      "r885",
      "r886",
      "r887",
      "r888",
      "r889",
      "r897"
     ]
    },
    "us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NewAccountingPronouncementsOrChangeInAccountingPrincipleTable",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDisaggregationOfCertainExpenseCaptionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Standards Update and Change in Accounting Principle [Table]",
        "documentation": "Disclosure of information about change in accounting principle or amendment to accounting standards or both. Includes, but is not limited to, nature, reason, and method of adopting amendment to accounting standards and other change in accounting principle."
       }
      }
     },
     "auth_ref": [
      "r162",
      "r163",
      "r164",
      "r165",
      "r166",
      "r167",
      "r168",
      "r169",
      "r170",
      "r171",
      "r172",
      "r196",
      "r197",
      "r198",
      "r226",
      "r229",
      "r230",
      "r231",
      "r232",
      "r233",
      "r236",
      "r243",
      "r259",
      "r301",
      "r302",
      "r335",
      "r338",
      "r339",
      "r340",
      "r368",
      "r369",
      "r373",
      "r415",
      "r416",
      "r419",
      "r420",
      "r497",
      "r498",
      "r499",
      "r500",
      "r514",
      "r515",
      "r516",
      "r517",
      "r518",
      "r524",
      "r525",
      "r526",
      "r527",
      "r528",
      "r529",
      "r531",
      "r532",
      "r533",
      "r534",
      "r535",
      "r536",
      "r539",
      "r540",
      "r541",
      "r542",
      "r543",
      "r609",
      "r610",
      "r611",
      "r612",
      "r613",
      "r614",
      "r615",
      "r616",
      "r618",
      "r619",
      "r626",
      "r627",
      "r628",
      "r629",
      "r630",
      "r631",
      "r632",
      "r634",
      "r635",
      "r636",
      "r637",
      "r662",
      "r663",
      "r689",
      "r690",
      "r710",
      "r712",
      "r713",
      "r714",
      "r715",
      "r716",
      "r878",
      "r879",
      "r880",
      "r881",
      "r882",
      "r883",
      "r884",
      "r885",
      "r886",
      "r887",
      "r888",
      "r889",
      "r897"
     ]
    },
    "pfsi_NomuraCorporateFundingAmericasMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "NomuraCorporateFundingAmericasMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoansSoldUnderAgreementToRepurchaseByCounterpartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Nomura Corporate Funding Americas.",
        "label": "Nomura Corporate Funding Americas [Member]",
        "terseLabel": "Nomura Corporate Funding Americas"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_NomuraMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "NomuraMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeLiabilitiesFinancialLiabilitiesAndCollateralHeldByCounterpartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Nomura.",
        "label": "Nomura",
        "terseLabel": "Nomura Corporate Funding Americas"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_NonAffiliatesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "NonAffiliatesMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Non-affiliate entities of the company.",
        "label": "Non-affiliates",
        "terseLabel": "Non-affiliates"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_NonCashMortgageServicingRightsMSRAmortizationImpairmentFairValueChange": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "NonCashMortgageServicingRightsMSRAmortizationImpairmentFairValueChange",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the non-cash gains/losses due to fair value changes relating to mortgage servicing rights, mortgage servicing liabilities and changes in fair value of excess servicing spread payable to PennyMac Mortgage Investment Trust.",
        "label": "Non Cash Mortgage Servicing Rights M S R Amortization Impairment Fair Value Change",
        "terseLabel": "Change in fair value of mortgage servicing rights and mortgage servicing liabilities"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_NonCashPortionOfGainLossOnMortgageLoansHeldForSaleAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "NonCashPortionOfGainLossOnMortgageLoansHeldForSaleAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureNetGainsOnLoansHeldForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non Cash Portion of Gain (Loss) on Mortgage Loans Held For Sale [Abstract]",
        "terseLabel": "Non-cash gain:"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_NonGaapMeasureDescriptionTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "NonGaapMeasureDescriptionTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-GAAP Measure Description [Text Block]",
        "terseLabel": "Non-GAAP Measure Description"
       }
      }
     },
     "auth_ref": [
      "r1216"
     ]
    },
    "ecd_NonNeosMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "NonNeosMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-NEOs [Member]",
        "terseLabel": "Non-NEOs"
       }
      }
     },
     "auth_ref": [
      "r1180",
      "r1190",
      "r1200",
      "r1224",
      "r1232"
     ]
    },
    "ecd_NonPeoNeoAvgCompActuallyPaidAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "NonPeoNeoAvgCompActuallyPaidAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-PEO NEO Average Compensation Actually Paid Amount",
        "terseLabel": "Non-PEO NEO Average Compensation Actually Paid Amount"
       }
      }
     },
     "auth_ref": [
      "r1207"
     ]
    },
    "ecd_NonPeoNeoAvgTotalCompAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "NonPeoNeoAvgTotalCompAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-PEO NEO Average Total Compensation Amount",
        "terseLabel": "Non-PEO NEO Average Total Compensation Amount"
       }
      }
     },
     "auth_ref": [
      "r1206"
     ]
    },
    "ecd_NonPeoNeoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "NonPeoNeoMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-PEO NEO [Member]",
        "terseLabel": "Non-PEO NEO"
       }
      }
     },
     "auth_ref": [
      "r1224"
     ]
    },
    "pfsi_NonQualifiedMortgageMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "NonQualifiedMortgageMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoansHeldForSaleAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information related to non-qualified mortgage.",
        "label": "Non-qualified Mortgage [Member]",
        "terseLabel": "Non-qualified"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_NonRule10b51ArrAdoptedFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "NonRule10b51ArrAdoptedFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-Rule 10b5-1 Arrangement Adopted [Flag]",
        "terseLabel": "Non-Rule 10b5-1 Arrangement Adopted"
       }
      }
     },
     "auth_ref": [
      "r1243"
     ]
    },
    "ecd_NonRule10b51ArrTrmntdFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "NonRule10b51ArrTrmntdFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-Rule 10b5-1 Arrangement Terminated [Flag]",
        "terseLabel": "Non-Rule 10b5-1 Arrangement Terminated"
       }
      }
     },
     "auth_ref": [
      "r1243"
     ]
    },
    "us-gaap_NondesignatedMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NondesignatedMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Not Designated as Hedging Instrument [Member]",
        "terseLabel": "Not designated as hedging instrument",
        "documentation": "Derivative instrument not designated as hedging instrument under Generally Accepted Accounting Principles (GAAP)."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NonrelatedPartyMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NonrelatedPartyMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureNetGainsOnLoansHeldForSaleDetails",
      "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpenseDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Nonrelated Party [Member]",
        "terseLabel": "Nonrelated Party",
        "documentation": "Party not related to reporting entity."
       }
      }
     },
     "auth_ref": [
      "r1300",
      "r1306",
      "r1307"
     ]
    },
    "us-gaap_NotesPayable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NotesPayable",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 3.0
      },
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueMeasurementBasisNonrecurringDetails",
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Notes Payable",
        "terseLabel": "Notes payable secured by mortgage servicing assets",
        "totalLabel": "Notes payable",
        "documentation": "Including the current and noncurrent portions, aggregate carrying amount of all types of notes payable, as of the balance sheet date, with initial maturities beyond one year or beyond the normal operating cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r10",
      "r86",
      "r1446",
      "r1447"
     ]
    },
    "pfsi_NotesPayableAtPeriodEndAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "NotesPayableAtPeriodEndAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoanParticipationAndSaleAgreementDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Notes Payable at Period End [Abstract]",
        "terseLabel": "Carrying value:"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_NotesPayableOtherPayablesMaturity2024Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "NotesPayableOtherPayablesMaturity2024Member",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A written promise to pay a note to a third party maturity 2024.",
        "label": "Notes Payable Other Payables Maturity 2024 [Member]",
        "terseLabel": "Note Payable expiring 2024"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NotesPayableOtherPayablesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NotesPayableOtherPayablesMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtMaturitiesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoanParticipationAndSaleAgreementDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Notes Payable, Other Payables [Member]",
        "terseLabel": "Note Payable",
        "documentation": "A written promise to pay a note to a third party."
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_NotesPayableTermLoan2023Gt1Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "NotesPayableTermLoan2023Gt1Member",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Notes payable term loan 2023-GT1.",
        "label": "Notes Payable Term Loan 2023-GT1",
        "verboseLabel": "Notes Payable Term Loan 2023-GT1"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_NotesPayableTermLoan2023Gt2Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "NotesPayableTermLoan2023Gt2Member",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Notes payable term loan 2023-GT2.",
        "label": "Notes Payable Term Loan 2023-GT2",
        "terseLabel": "Notes Payable Term Loan 2023-GT2"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_NotesPayableTermLoan2024Gt1Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "NotesPayableTermLoan2024Gt1Member",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Notes payable term loan 2024-GT1.",
        "label": "Notes Payable Term Loan 2024-GT1",
        "terseLabel": "Notes Payable Term Loan 2024-GT1"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_NotesPayableTermLoan2025Gt1Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "NotesPayableTermLoan2025Gt1Member",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Notes payable term loan 2025-GT1.",
        "label": "Notes Payable Term Loan 2025 Gt1 [Member]",
        "terseLabel": "Notes Payable Term Loan 2025-GT1"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_NotesPayableUnpaidPrincipalBalance": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "NotesPayableUnpaidPrincipalBalance",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails": {
       "parentTag": "us-gaap_NotesPayable",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the unpaid principal balance of notes payable, as of the balance sheet date.",
        "label": "Notes Payable, Unpaid Principal Balance",
        "terseLabel": "Unpaid principal balance"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_NumberOfAssetAcquisitionInstitutionalClients": {
     "xbrltype": "integerItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "NumberOfAssetAcquisitionInstitutionalClients",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureOrganizationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the number of institutional clients in asset acquisition.",
        "label": "Number Of Asset Acquisition Institutional Clients",
        "terseLabel": "Number of institutional clients"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_NumberOfBorrowingFacilitiesSecuredByLoansHeldForSale": {
     "xbrltype": "integerItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "NumberOfBorrowingFacilitiesSecuredByLoansHeldForSale",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoanParticipationAndSaleAgreementDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of borrowing facilities secured by loans held for sale.",
        "label": "Number Of Borrowing Facilities Secured By Loans Held For Sale",
        "terseLabel": "Number of borrowing facilities secured by loans held for sale"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_NumberOfLenders": {
     "xbrltype": "integerItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "NumberOfLenders",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of lenders.",
        "label": "Number Of Lenders",
        "terseLabel": "Number Of Lenders"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NumberOfOperatingSegments": {
     "xbrltype": "integerItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NumberOfOperatingSegments",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Number of Operating Segments",
        "terseLabel": "Number of operating segments",
        "documentation": "Number of operating segments. An operating segment is a component of an enterprise: (a) that engages in business activities from which it may earn revenues and incur expenses (including revenues and expenses relating to transactions with other components of the same enterprise), (b) whose operating results are regularly reviewed by the enterprise's chief operating decision maker to make decisions about resources to be allocated to the segment and assess its performance, and (c) for which discrete financial information is available. An operating segment may engage in business activities for which it has yet to earn revenues, for example, start-up operations may be operating segments before earning revenues."
       }
      }
     },
     "auth_ref": [
      "r1080",
      "r1324"
     ]
    },
    "us-gaap_NumberOfReportableSegments": {
     "xbrltype": "integerItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NumberOfReportableSegments",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Number of Reportable Segments",
        "terseLabel": "Number of reportable segments",
        "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."
       }
      }
     },
     "auth_ref": [
      "r1075",
      "r1083",
      "r1324"
     ]
    },
    "pfsi_O2026Q2DividendsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "O2026Q2DividendsMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the regular quarterly dividend for Q2 in 2026.",
        "label": "O 2026 Q2 Dividends [Member]",
        "terseLabel": "2026 Q2 Dividends"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_OccupancyAndEquipment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "OccupancyAndEquipment",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0,
       "order": 5.0
      },
      "http://www.pennymacfinancial.com/role/DisclosureDisaggregationOfCertainExpenseCaptionsDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDisaggregationOfCertainExpenseCaptionsDetails",
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents occupancy and equipment expense.",
        "label": "Occupancy And Equipment",
        "terseLabel": "Occupancy and equipment",
        "totalLabel": "Total occupancy and equipment expenses"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_OccupancyAndEquipmentAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "OccupancyAndEquipmentAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDisaggregationOfCertainExpenseCaptionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Not available.",
        "label": "Occupancy and Equipment [Abstract]",
        "terseLabel": "Occupancy and equipment"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OffsettingAssetsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OffsettingAssetsLineItems",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeAssetsFinancialAssetsAndCollateralHeldByCounterpartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Offsetting Assets [Line Items]",
        "terseLabel": "Offsetting of derivative assets, financial assets and collateral held by counterparty",
        "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."
       }
      }
     },
     "auth_ref": [
      "r1060",
      "r1061",
      "r1063",
      "r1064",
      "r1278",
      "r1279",
      "r1280",
      "r1281",
      "r1282",
      "r1283",
      "r1284",
      "r1285",
      "r1286",
      "r1388",
      "r1390",
      "r1391",
      "r1392"
     ]
    },
    "us-gaap_OffsettingAssetsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OffsettingAssetsTable",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeAssetsFinancialAssetsAndCollateralHeldByCounterpartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Offsetting Assets [Table]",
        "documentation": "Disclosure of information about derivative and financial assets that are subject to offsetting, including enforceable master netting arrangements."
       }
      }
     },
     "auth_ref": [
      "r1060",
      "r1061",
      "r1063",
      "r1064",
      "r1278",
      "r1279",
      "r1280",
      "r1281",
      "r1282",
      "r1283",
      "r1284",
      "r1285",
      "r1286",
      "r1388",
      "r1390",
      "r1391",
      "r1392"
     ]
    },
    "us-gaap_OffsettingLiabilitiesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OffsettingLiabilitiesLineItems",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeLiabilitiesFinancialLiabilitiesAndCollateralHeldByCounterpartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Offsetting Liabilities [Line Items]",
        "terseLabel": "Offsetting of derivative liabilities, financial liabilities and collateral held by counterparty",
        "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."
       }
      }
     },
     "auth_ref": [
      "r1060",
      "r1061",
      "r1063",
      "r1064",
      "r1278",
      "r1279",
      "r1280",
      "r1281",
      "r1282",
      "r1283",
      "r1284",
      "r1285",
      "r1286",
      "r1389",
      "r1390",
      "r1391",
      "r1392"
     ]
    },
    "us-gaap_OffsettingLiabilitiesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OffsettingLiabilitiesTable",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeLiabilitiesFinancialLiabilitiesAndCollateralHeldByCounterpartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Offsetting Liabilities [Table]",
        "documentation": "Disclosure of information about derivative and financial liabilities that are subject to offsetting, including enforceable master netting arrangements."
       }
      }
     },
     "auth_ref": [
      "r1060",
      "r1061",
      "r1063",
      "r1064",
      "r1278",
      "r1279",
      "r1280",
      "r1281",
      "r1282",
      "r1283",
      "r1284",
      "r1285",
      "r1286",
      "r1388",
      "r1390",
      "r1391",
      "r1392"
     ]
    },
    "us-gaap_OperatingExpenses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OperatingExpenses",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": -1.0,
       "order": 2.0
      },
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails": {
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": -1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Expenses",
        "totalLabel": "Total expenses",
        "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."
       }
      }
     },
     "auth_ref": [
      "r1068"
     ]
    },
    "us-gaap_OperatingExpensesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OperatingExpensesAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Expenses [Abstract]",
        "terseLabel": "Expenses:",
        "verboseLabel": "Expenses"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OperatingLeaseCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OperatingLeaseCost",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetails": {
       "parentTag": "us-gaap_LeaseCost",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Lease, Cost",
        "terseLabel": "Operating leases",
        "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."
       }
      }
     },
     "auth_ref": [
      "r700",
      "r1131"
     ]
    },
    "pfsi_OperatingLeaseCostIncludedInOccupancyAndEquipmentExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "OperatingLeaseCostIncludedInOccupancyAndEquipmentExpense",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureDisaggregationOfCertainExpenseCaptionsDetails": {
       "parentTag": "pfsi_OccupancyAndEquipment",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDisaggregationOfCertainExpenseCaptionsDetails"
     ],
     "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 included in occupancy and equipment expense.",
        "label": "Operating Lease Cost Included in Occupancy And Equipment Expense",
        "terseLabel": "Operating lease cost"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OperatingLeaseLiabilitiesPaymentsDueAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OperatingLeaseLiabilitiesPaymentsDueAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Operating Lease, Liability, to be Paid, Fiscal Year Maturity [Abstract]",
        "terseLabel": "Operating lease liabilities"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OperatingLeaseLiability": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OperatingLeaseLiability",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetailsCalc2": {
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Lease, Liability",
        "verboseLabel": "Operating lease liability included in Accounts payable and accrued expenses",
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease."
       }
      }
     },
     "auth_ref": [
      "r694"
     ]
    },
    "us-gaap_OperatingLeaseLiabilityStatementOfFinancialPositionExtensibleList": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OperatingLeaseLiabilityStatementOfFinancialPositionExtensibleList",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Lease, Liability, Statement of Financial Position [Extensible Enumeration]",
        "documentation": "Indicates line item in statement of financial position that includes operating lease liability."
       }
      }
     },
     "auth_ref": [
      "r695"
     ]
    },
    "us-gaap_OperatingLeasePayments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OperatingLeasePayments",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Lease, Payments",
        "terseLabel": "Payments for operating leases",
        "documentation": "Amount of cash outflow from operating lease, excluding payments to bring another asset to condition and location necessary for its intended use."
       }
      }
     },
     "auth_ref": [
      "r696",
      "r703"
     ]
    },
    "us-gaap_OperatingLeaseRightOfUseAsset": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OperatingLeaseRightOfUseAsset",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureOtherAssetsOtherDetails": {
       "parentTag": "us-gaap_OtherAssets",
       "weight": 1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureOtherAssetsOtherDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Lease, Right-of-Use Asset",
        "verboseLabel": "Operating lease right-of-use assets",
        "documentation": "Amount of lessee's right to use underlying asset under operating lease."
       }
      }
     },
     "auth_ref": [
      "r693"
     ]
    },
    "us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OperatingLeaseRightOfUseAssetAmortizationExpense",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Lease, Right-of-Use Asset, Periodic Reduction",
        "terseLabel": "Amortization of operating lease right-of-use assets",
        "documentation": "Amount of periodic reduction over lease term of carrying amount of right-of-use asset from operating lease."
       }
      }
     },
     "auth_ref": [
      "r1297"
     ]
    },
    "us-gaap_OperatingLeaseRightOfUseAssetStatementOfFinancialPositionExtensibleList": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OperatingLeaseRightOfUseAssetStatementOfFinancialPositionExtensibleList",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureOtherAssetsOtherDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Lease, Right-of-Use Asset, Statement of Financial Position [Extensible Enumeration]",
        "documentation": "Indicates line item in statement of financial position that includes operating lease right-of-use asset."
       }
      }
     },
     "auth_ref": [
      "r695"
     ]
    },
    "us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OperatingLeaseWeightedAverageDiscountRatePercent",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Lease, Weighted Average Discount Rate, Percent",
        "terseLabel": "Discount rate",
        "documentation": "Weighted average discount rate for operating lease calculated at point in time."
       }
      }
     },
     "auth_ref": [
      "r706",
      "r1131"
     ]
    },
    "us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OperatingLeaseWeightedAverageRemainingLeaseTerm1",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Lease, Weighted Average Remaining Lease Term",
        "terseLabel": "Remaining lease term (in years)",
        "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."
       }
      }
     },
     "auth_ref": [
      "r705",
      "r1131"
     ]
    },
    "us-gaap_OperatingSegmentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OperatingSegmentsMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Segments [Member]",
        "terseLabel": "Operating segment",
        "documentation": "Identifies components of an entity that engage in business activities from which they may earn revenue and incur expenses, including transactions with other components of the same entity."
       }
      }
     },
     "auth_ref": [
      "r287",
      "r288",
      "r289",
      "r290",
      "r291",
      "r294",
      "r1079",
      "r1080"
     ]
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Organization"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureOrganization"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Organization, Consolidation and Presentation of Financial Statements Disclosure [Text Block]",
        "terseLabel": "Organization",
        "documentation": "The entire disclosure for organization, consolidation and basis of presentation of financial statements disclosure."
       }
      }
     },
     "auth_ref": [
      "r78",
      "r173",
      "r174",
      "r176",
      "r895",
      "r896"
     ]
    },
    "us-gaap_OtherAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherAssets",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 12.0
      },
      "http://www.pennymacfinancial.com/role/DisclosureOtherAssetsOtherDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails",
      "http://www.pennymacfinancial.com/role/DisclosureOtherAssetsOtherDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Assets",
        "terseLabel": "Other (includes $15,241 and $10,393 pledged to creditors)",
        "totalLabel": "Other assets",
        "verboseLabel": "Other assets",
        "documentation": "Amount of assets classified as other."
       }
      }
     },
     "auth_ref": [
      "r80",
      "r180",
      "r844",
      "r1080",
      "r1148",
      "r1149",
      "r1161"
     ]
    },
    "us-gaap_OtherAssetsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherAssetsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Asset"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_OtherAssetsCarryingValueAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "OtherAssetsCarryingValueAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureOtherAssetsOtherDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Not available.",
        "label": "Other Assets Carrying Value Abstract",
        "terseLabel": "Carrying value:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OtherAssetsDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherAssetsDisclosureTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureOtherAssets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Assets Disclosure [Text Block]",
        "terseLabel": "Other Assets",
        "documentation": "The entire disclosure for other assets. This disclosure includes other current assets and other noncurrent assets."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OtherAssetsMiscellaneous": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherAssetsMiscellaneous",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureOtherAssetsOtherDetails": {
       "parentTag": "us-gaap_OtherAssets",
       "weight": 1.0,
       "order": 11.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureOtherAssetsOtherDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Assets, Miscellaneous",
        "terseLabel": "Other",
        "documentation": "Amount of other miscellaneous assets."
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_OtherCommunicationsAndInformationTechnology": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "OtherCommunicationsAndInformationTechnology",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureDisaggregationOfCertainExpenseCaptionsDetails": {
       "parentTag": "us-gaap_CommunicationsAndInformationTechnology",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDisaggregationOfCertainExpenseCaptionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of expense in the period for communications and data processing expense classified as other.",
        "label": "Other Communications and Information Technology",
        "terseLabel": "Other"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_OtherCounterpartiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "OtherCounterpartiesMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to other counterparties of the company.",
        "label": "Others",
        "terseLabel": "Others"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_OtherCounterpartyMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "OtherCounterpartyMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeAssetsFinancialAssetsAndCollateralHeldByCounterpartyDetails",
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeLiabilitiesFinancialLiabilitiesAndCollateralHeldByCounterpartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to the other counterparty of the entity.",
        "label": "Other",
        "terseLabel": "Others"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OtherExpenses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherExpenses",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Expenses",
        "terseLabel": "Other",
        "documentation": "Amount of expense classified as other."
       }
      }
     },
     "auth_ref": [
      "r61",
      "r62",
      "r1148",
      "r1149"
     ]
    },
    "us-gaap_OtherLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherLiabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 8.0
      },
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsAmountsDueFromAffiliateDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsAmountsDueFromAffiliateDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Liabilities",
        "terseLabel": "Payable to PennyMac Mortgage Investment Trust",
        "totalLabel": "Other Liabilities, Total",
        "documentation": "Amount of liabilities classified as other."
       }
      }
     },
     "auth_ref": [
      "r85",
      "r847",
      "r925",
      "r926",
      "r1092",
      "r1148",
      "r1149",
      "r1161",
      "r1447",
      "r1481"
     ]
    },
    "us-gaap_OtherLiabilityRelatedPartyTypeExtensibleEnumeration": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherLiabilityRelatedPartyTypeExtensibleEnumeration",
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Liability, Related Party [Extensible Enumeration]",
        "documentation": "Indicates status and type of related party for liability classified as other."
       }
      }
     },
     "auth_ref": [
      "r1428",
      "r1447"
     ]
    },
    "pfsi_OtherMortgageLoansMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "OtherMortgageLoansMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to other mortgage loans.",
        "label": "Other mortgage loans",
        "terseLabel": "Other mortgage loans"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_OtherOccupancyAndEquipment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "OtherOccupancyAndEquipment",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureDisaggregationOfCertainExpenseCaptionsDetails": {
       "parentTag": "pfsi_OccupancyAndEquipment",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDisaggregationOfCertainExpenseCaptionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of net occupancy expense that may include items, such as depreciation of facilities and equipment, lease expenses, property taxes and property and casualty insurance expense classified as other",
        "label": "Other Occupancy And Equipment",
        "terseLabel": "Other"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_OtherPerfMeasureAmt": {
     "xbrltype": "decimalItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "OtherPerfMeasureAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Performance Measure, Amount",
        "terseLabel": "Other Performance Measure, Amount"
       }
      }
     },
     "auth_ref": [
      "r1216"
     ]
    },
    "us-gaap_OtherRealEstateAndForeclosedAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherRealEstateAndForeclosedAssets",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureOtherAssetsOtherDetails": {
       "parentTag": "us-gaap_OtherAssets",
       "weight": 1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureOtherAssetsOtherDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Real Estate, Foreclosed Assets, and Repossessed Assets",
        "terseLabel": "Real estate acquired in settlement of loans",
        "documentation": "Carrying amount as of the balance sheet date of other real estate and foreclosed assets. Other real estate may include real estate investments, real estate loans that qualify as investments in real estate, and premises that are no longer used in operations may also be included in real estate owned. Foreclosed assets include all assets obtained in full or partial satisfaction of a debt arrangement through foreclosure proceedings."
       }
      }
     },
     "auth_ref": [
      "r79"
     ]
    },
    "us-gaap_OtherReceivableAfterAllowanceForCreditLossRelatedPartyTypeExtensibleEnumeration": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherReceivableAfterAllowanceForCreditLossRelatedPartyTypeExtensibleEnumeration",
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Receivable, after Allowance for Credit Loss, Related Party [Extensible Enumeration]",
        "documentation": "Indicates status and type of related party for receivable, after allowance for credit loss, classified as other."
       }
      }
     },
     "auth_ref": [
      "r1428"
     ]
    },
    "us-gaap_OtherReceivables": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherReceivables",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 10.0
      },
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsAmountsDueFromAffiliateDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsAmountsDueFromAffiliateDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Receivables",
        "terseLabel": "Receivable from PennyMac Mortgage Investment Trust",
        "totalLabel": "Total due from affiliate",
        "documentation": "Amount due from parties in nontrade transactions, classified as other."
       }
      }
     },
     "auth_ref": [
      "r182",
      "r940",
      "r1080",
      "r1148",
      "r1149",
      "r1448"
     ]
    },
    "pfsi_OtherServicingReceivables": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "OtherServicingReceivables",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureOtherAssetsOtherDetails": {
       "parentTag": "us-gaap_OtherAssets",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureOtherAssetsOtherDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents other servicing receivables",
        "label": "Other Servicing Receivables",
        "terseLabel": "Other servicing receivables"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_OutstandingAggtErrCompAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "OutstandingAggtErrCompAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Aggregate Erroneous Compensation Amount",
        "terseLabel": "Outstanding Aggregate Erroneous Compensation Amount"
       }
      }
     },
     "auth_ref": [
      "r1178",
      "r1188",
      "r1198",
      "r1230"
     ]
    },
    "ecd_OutstandingRecoveryCompAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "OutstandingRecoveryCompAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Recovery Compensation Amount",
        "terseLabel": "Compensation Amount"
       }
      }
     },
     "auth_ref": [
      "r1181",
      "r1191",
      "r1201",
      "r1233"
     ]
    },
    "ecd_OutstandingRecoveryIndName": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "OutstandingRecoveryIndName",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Outstanding Recovery, Individual Name",
        "terseLabel": "Name"
       }
      }
     },
     "auth_ref": [
      "r1181",
      "r1191",
      "r1201",
      "r1233"
     ]
    },
    "ecd_PayVsPerformanceDisclosureLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "PayVsPerformanceDisclosureLineItems",
     "lang": {
      "en-us": {
       "role": {
        "label": "Pay vs Performance Disclosure [Line Items]",
        "terseLabel": "Pay vs Performance Disclosure"
       }
      }
     },
     "auth_ref": [
      "r1205"
     ]
    },
    "pfsi_PayableUnderTaxReceivableAgreement": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "PayableUnderTaxReceivableAgreement",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 9.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the amount payable under a tax receivable agreement with PennyMac's former unitholders on the date of the Company's initial public offering that provides for the payment by the Company to PennyMac's exchanged unitholders in an amount equal to 85% of the amount of the benefits, if any, that the Company is deemed to realize as a result of (i) increases in tax basis resulting from such unitholders' exchanges and (ii) certain other tax benefits related to entering into the tax receivable agreement, including tax benefits attributable to payments under the tax receivable agreement.",
        "label": "Payable under Tax Receivable Agreement",
        "verboseLabel": "Payable to exchanged Private National Mortgage Acceptance Company, LLC unitholders under tax receivable agreement"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_PayableUnderTaxReceivableAgreementPayments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "PayableUnderTaxReceivableAgreementPayments",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsExchangedPrivateNationalMortgageAcceptanceCompanyLlcUnitholdersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents amounts payable to PennyMac's exchanged unitholders pursuant to an agreement under which an agreed-upon portion of the amount of the benefits, if any, that PFSI is deemed to realize as a result of (i) increases in tax basis of PennyMac's assets resulting from such unitholders' exchanges and (ii) certain other tax benefits related to entering into the tax receivable agreement, including tax benefits attributable to payments under the tax receivable agreement.",
        "label": "Payable Under Tax Receivable Agreement Payments",
        "terseLabel": "Payable to exchanged PNMAC unitholders under tax receivable agreement"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_PaymentForRepurchaseOfLoansSubjectToRepresentationsAndWarranties": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "PaymentForRepurchaseOfLoansSubjectToRepresentationsAndWarranties",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 20.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the cash outflow for payment for repurchase of loans subject to representations and warranties.",
        "label": "Payment for Repurchase of Loans Subject to Representations and Warranties",
        "negatedLabel": "Repurchase of loans subject to representations and warranties"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_PaymentOfTaxLiabilityUnderTaxReceivableAgreement": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "PaymentOfTaxLiabilityUnderTaxReceivableAgreement",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsExchangedPrivateNationalMortgageAcceptanceCompanyLlcUnitholdersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represent the information pertaining to cash outflow relating to tax liability under the tax receivable agreement.",
        "label": "Payment Of Tax Liability Under The Tax Receivable Agreement",
        "terseLabel": "Payment of tax liability under the tax receivable agreement to Private National Mortgage Acceptance Company, LLC unitholders"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PaymentsForOriginationOfMortgageLoansHeldForSale",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 16.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payment for Origination, Loan, Mortgage, Held-for-Sale",
        "negatedLabel": "Origination of loans held for sale",
        "documentation": "The amount of cash paid for the origination of mortgages that are held for sale."
       }
      }
     },
     "auth_ref": [
      "r1069",
      "r1295"
     ]
    },
    "us-gaap_PaymentsForProceedsFromDerivativeInstrumentInvestingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PaymentsForProceedsFromDerivativeInstrumentInvestingActivities",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payments for (Proceeds from) Derivative Instrument, Investing Activities",
        "negatedLabel": "Net settlement of derivative financial instruments used for hedging of mortgage servicing rights",
        "documentation": "The net cash outflow or inflow from derivative instruments during the period, which are classified as investing activities, excluding those designated as hedging instruments."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PaymentsForProceedsFromShortTermInvestments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PaymentsForProceedsFromShortTermInvestments",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payments for (Proceeds from) Short-Term Investments",
        "negatedLabel": "Increase in short-term investment",
        "documentation": "The net amount paid (received) by the reporting entity through acquisition or sale and maturities of short-term investments with an original maturity that is three months or less which qualify for treatment as an investing activity based on management's intention and intended by management to be liquidated, if necessary, within the current operating cycle. Includes cash flows from securities classified as trading securities that were acquired for reasons other than sale in the short-term."
       }
      }
     },
     "auth_ref": [
      "r1291",
      "r1292",
      "r1298"
     ]
    },
    "pfsi_PaymentsForPurchaseOfModifiedMortgageLoansHeldForSaleFromAgencies": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "PaymentsForPurchaseOfModifiedMortgageLoansHeldForSaleFromAgencies",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 15.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the payment made for purchase of loans from Agency-backed securities to be modified and resold into new securitizations or serviced through bankruptcy or foreclosure.",
        "label": "Payments for Purchase of Modified Mortgage Loans Held for Sale from Agencies",
        "negatedLabel": "Purchase of loans from Ginnie Mae securities and early buyout investors"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PaymentsForRepurchaseOfCommonStock": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PaymentsForRepurchaseOfCommonStock",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0,
       "order": 9.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payments for Repurchase of Common Stock",
        "negatedLabel": "Repurchase of common stock",
        "documentation": "The cash outflow to reacquire common stock during the period."
       }
      }
     },
     "auth_ref": [
      "r66"
     ]
    },
    "us-gaap_PaymentsOfDebtIssuanceCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PaymentsOfDebtIssuanceCosts",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payments of Debt Issuance Costs",
        "negatedLabel": "Payment of debt issuance costs",
        "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."
       }
      }
     },
     "auth_ref": [
      "r12"
     ]
    },
    "us-gaap_PaymentsOfDividendsCommonStock": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PaymentsOfDividendsCommonStock",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0,
       "order": 12.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payments of Ordinary Dividends, Common Stock",
        "negatedLabel": "Payment of dividends to holders of common stock",
        "documentation": "Amount of cash outflow in the form of ordinary dividends to common shareholders of the parent entity."
       }
      }
     },
     "auth_ref": [
      "r66"
     ]
    },
    "us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PaymentsRelatedToTaxWithholdingForShareBasedCompensation",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0,
       "order": 11.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payment, Tax Withholding, Share-Based Payment Arrangement",
        "negatedTerseLabel": "Payment of withholding taxes relating to stock-based compensation",
        "documentation": "Amount of cash outflow to satisfy grantee's tax withholding obligation for award under share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r199"
     ]
    },
    "us-gaap_PaymentsToAcquirePropertyPlantAndEquipment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PaymentsToAcquirePropertyPlantAndEquipment",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payments to Acquire Property, Plant, and Equipment",
        "negatedLabel": "Purchase of furniture, fixtures, equipment and leasehold improvements",
        "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."
       }
      }
     },
     "auth_ref": [
      "r65"
     ]
    },
    "us-gaap_PaymentsToAcquireSoftware": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PaymentsToAcquireSoftware",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payments to Acquire Software",
        "negatedLabel": "Acquisition of capitalized software",
        "terseLabel": "Capitalized software",
        "documentation": "The cash outflow associated with the acquisition from vendors of software programs or applications for internal use (that is, not to be sold, leased or otherwise marketed to others) that qualify for capitalization."
       }
      }
     },
     "auth_ref": [
      "r65"
     ]
    },
    "pfsi_PaymentsToPurchaseLoansHeldForSaleAffiliates": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "PaymentsToPurchaseLoansHeldForSaleAffiliates",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 14.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate cash outflow used to purchase all loans that are held with the intention to resell in the near future from affiliates.",
        "label": "Payments To Purchase Loans Held For Sale Affiliates",
        "negatedLabel": "Purchase of loans held for sale from PennyMac Mortgage Investment Trust"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_PaymentsToPurchaseLoansHeldForSaleFromNonaffiliates": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "PaymentsToPurchaseLoansHeldForSaleFromNonaffiliates",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 13.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow used to purchase loans from nonaffiliates that are held with the intention to resell in the near future.",
        "label": "Payments To Purchase Loans Held For Sale From Nonaffiliates",
        "negatedLabel": "Purchase of loans held for sale from non-affiliates"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_PeerGroupIssuersFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "PeerGroupIssuersFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Peer Group Issuers, Footnote [Text Block]",
        "terseLabel": "Peer Group Issuers, Footnote"
       }
      }
     },
     "auth_ref": [
      "r1215"
     ]
    },
    "ecd_PeerGroupTotalShareholderRtnAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "PeerGroupTotalShareholderRtnAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Peer Group Total Shareholder Return Amount",
        "terseLabel": "Peer Group Total Shareholder Return Amount"
       }
      }
     },
     "auth_ref": [
      "r1215"
     ]
    },
    "pfsi_PennyMacLoanServicesLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "PennyMacLoanServicesLLCMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to PennyMac Loan Services, LLC.",
        "label": "PLS",
        "terseLabel": "PLS"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_PennyMacMortgageInvestmentTrustMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "PennyMacMortgageInvestmentTrustMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureConcentrationOfRiskDetails",
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeAssetsFinancialAssetsAndCollateralHeldByCounterpartyDetails",
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeLiabilitiesFinancialLiabilitiesAndCollateralHeldByCounterpartyDetails",
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3InputRollForwardRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureNetGainsOnLoansHeldForSaleDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsAmountsDueFromAffiliateDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsInvestingActivitiesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsManagementFeesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsMortgageLoanServicingDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsOtherTransactionsReimbursementOfCommonOverheadExpensesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to the PennyMac Mortgage Investment Trust.",
        "label": "PennyMac Mortgage Investment Trust",
        "terseLabel": "PennyMac Mortgage Investment Trust"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_PeoActuallyPaidCompAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "PeoActuallyPaidCompAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "PEO Actually Paid Compensation Amount",
        "terseLabel": "PEO Actually Paid Compensation Amount"
       }
      }
     },
     "auth_ref": [
      "r1207"
     ]
    },
    "ecd_PeoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "PeoMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "PEO [Member]",
        "terseLabel": "PEO"
       }
      }
     },
     "auth_ref": [
      "r1224"
     ]
    },
    "ecd_PeoName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "PeoName",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "PEO Name",
        "terseLabel": "PEO Name"
       }
      }
     },
     "auth_ref": [
      "r1217"
     ]
    },
    "ecd_PeoTotalCompAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "PeoTotalCompAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "PEO Total Compensation Amount",
        "terseLabel": "PEO Total Compensation Amount"
       }
      }
     },
     "auth_ref": [
      "r1206"
     ]
    },
    "pfsi_PerLoanAnnualCostOfServicingAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "PerLoanAnnualCostOfServicingAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "No definition available.",
        "label": "Per Loan Annual Cost Of Servicing Abstract",
        "terseLabel": "Annual per-loan cost of servicing"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_PercentageOfAmountOfTaxBenefits": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "PercentageOfAmountOfTaxBenefits",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsExchangedPrivateNationalMortgageAcceptanceCompanyLlcUnitholdersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of tax benefits under the tax sharing agreement attributable to exchanged PennyMac unit holders.",
        "label": "Percentage of Amount of Tax Benefits",
        "terseLabel": "Amount of tax benefits under the tax sharing agreement (as a percent)"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_PercentageOfFairMarketValue": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "PercentageOfFairMarketValue",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of fair market value.",
        "label": "Percentage Of Fair Market Value",
        "terseLabel": "Percentage of fair market value."
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_PercentageOfRecaptureRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "PercentageOfRecaptureRate",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of recapture rate.",
        "label": "Percentage Of Recapture Rate",
        "terseLabel": "Percentage of recapture rate."
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_PerformanceBasedRestrictedStockUnitsRSUMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "PerformanceBasedRestrictedStockUnitsRSUMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureEarningsPerShareDetails",
      "http://www.pennymacfinancial.com/role/DisclosureStockBasedCompensationOtherDetails",
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock units that the entity has not yet issued because the agreed-upon consideration, such as employee services, has not yet been received.",
        "label": "Performance-based RSUs.",
        "terseLabel": "Performance-based RSUs"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_PerformanceIncentiveFeeCalculationTrancheOneMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "PerformanceIncentiveFeeCalculationTrancheOneMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsManagementFeesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to the calculation of performance incentive fees, tranche one, per the amended management agreement.",
        "label": "Return on Shareholders Equity 8 Percent",
        "terseLabel": "Return on Shareholders Equity 8 Percent"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_PerformanceIncentiveFeeCalculationTrancheThreeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "PerformanceIncentiveFeeCalculationTrancheThreeMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsManagementFeesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to the calculation of performance incentive fees, tranche three, per the amended management agreement.",
        "label": "Return on Shareholders Equity in Excess of 16 Percent",
        "terseLabel": "Return on Shareholders Equity in Excess of 16 Percent"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_PerformanceIncentiveFeeCalculationTrancheTwoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "PerformanceIncentiveFeeCalculationTrancheTwoMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsManagementFeesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to the calculation of performance incentive fees, tranche two, per the amended management agreement.",
        "label": "Return on Shareholders Equity 12 Percent",
        "terseLabel": "Return on Shareholders Equity 12 Percent"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PledgedStatusAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PledgedStatusAxis",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoansHeldForSaleAtFairValueDetails",
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails",
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesActivityInMsrsAtFairValueDetails",
      "http://www.pennymacfinancial.com/role/DisclosureOtherAssetsOtherDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoanParticipationAndSaleAgreementDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pledged Status [Axis]",
        "documentation": "Information by pledged or not pledged status of asset owned by entity."
       }
      }
     },
     "auth_ref": [
      "r207",
      "r209",
      "r545",
      "r923",
      "r1110"
     ]
    },
    "us-gaap_PledgedStatusDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PledgedStatusDomain",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoansHeldForSaleAtFairValueDetails",
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails",
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesActivityInMsrsAtFairValueDetails",
      "http://www.pennymacfinancial.com/role/DisclosureOtherAssetsOtherDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoanParticipationAndSaleAgreementDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pledged Status [Domain]",
        "documentation": "Pledged or not pledged status of asset owned by entity."
       }
      }
     },
     "auth_ref": [
      "r207",
      "r209",
      "r545",
      "r923",
      "r1110"
     ]
    },
    "us-gaap_PledgingPurposeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PledgingPurposeAxis",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoansHeldForSaleAtFairValueDetails",
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails",
      "http://www.pennymacfinancial.com/role/DisclosureOtherAssetsOtherDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoanParticipationAndSaleAgreementDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pledging Purpose [Axis]",
        "documentation": "Information by pledging purpose of pledged asset owned."
       }
      }
     },
     "auth_ref": [
      "r207",
      "r209",
      "r756",
      "r1110",
      "r1133",
      "r1262"
     ]
    },
    "us-gaap_PledgingPurposeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PledgingPurposeDomain",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoansHeldForSaleAtFairValueDetails",
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails",
      "http://www.pennymacfinancial.com/role/DisclosureOtherAssetsOtherDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoanParticipationAndSaleAgreementDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pledging Purpose [Domain]",
        "documentation": "Pledging purpose of pledged asset owned."
       }
      }
     },
     "auth_ref": [
      "r207",
      "r209",
      "r756",
      "r1110",
      "r1133",
      "r1262"
     ]
    },
    "ecd_PnsnAdjsPrrSvcCstMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "PnsnAdjsPrrSvcCstMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pension Adjustments Prior Service Cost [Member]",
        "terseLabel": "Pension Adjustments Prior Service Cost"
       }
      }
     },
     "auth_ref": [
      "r1208"
     ]
    },
    "ecd_PnsnAdjsSvcCstMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "PnsnAdjsSvcCstMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pension Adjustments Service Cost [Member]",
        "terseLabel": "Pension Adjustments Service Cost"
       }
      }
     },
     "auth_ref": [
      "r1252"
     ]
    },
    "ecd_PnsnBnftsAdjFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "PnsnBnftsAdjFnTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pension Benefits Adjustments, Footnote [Text Block]",
        "terseLabel": "Pension Benefits Adjustments, Footnote"
       }
      }
     },
     "auth_ref": [
      "r1207"
     ]
    },
    "us-gaap_PortionAtFairValueFairValueDisclosureMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PortionAtFairValueFairValueDisclosureMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsInitialRecognitionDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueMeasurementBasisNonrecurringDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Portion at Fair Value Measurement [Member]",
        "documentation": "Measured at fair value for financial reporting purposes."
       }
      }
     },
     "auth_ref": [
      "r664",
      "r665",
      "r666",
      "r667",
      "r673",
      "r675",
      "r676",
      "r1058",
      "r1414"
     ]
    },
    "us-gaap_PositionAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PositionAxis",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Position [Axis]",
        "documentation": "Information by position taken for a security."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PositionDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PositionDomain",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Position [Domain]",
        "documentation": "Indicates position taken for a security."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PrepaidExpenseCurrentAndNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PrepaidExpenseCurrentAndNoncurrent",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureOtherAssetsOtherDetails": {
       "parentTag": "us-gaap_OtherAssets",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureOtherAssetsOtherDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prepaid Expense",
        "terseLabel": "Prepaid expenses",
        "documentation": "Carrying amount as of the balance sheet date of expenditures made in advance of when the economic benefit of the cost will be realized, and which will be expensed in future periods with the passage of time or when a triggering event occurs."
       }
      }
     },
     "auth_ref": [
      "r80",
      "r183",
      "r945",
      "r1445"
     ]
    },
    "pfsi_PrepaymentSpeedAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "PrepaymentSpeedAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "No definition available.",
        "label": "Prepayment Speed Abstract",
        "terseLabel": "Prepayment speed"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_PricingSpreadAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "PricingSpreadAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "No definition available.",
        "label": "Pricing Spread [Abstract]",
        "terseLabel": "Pricing spread"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_PrincipalAmountOfLoansServicedForAffiliates": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "PrincipalAmountOfLoansServicedForAffiliates",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails": {
       "parentTag": "us-gaap_PrincipalAmountOutstandingOnLoansManagedAndSecuritized",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the unpaid principal balance of mortgage loans serviced for affiliates.",
        "label": "Principal Amount Of Loans Serviced For Affiliates",
        "terseLabel": "Advised entities"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_PrincipalAmountOfLoansServicedForNonaffiliates": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "PrincipalAmountOfLoansServicedForNonaffiliates",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails": {
       "parentTag": "us-gaap_PrincipalAmountOutstandingOnLoansManagedAndSecuritized",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the unpaid principal balance of mortgage loans serviced for nonaffiliates.",
        "label": "Principal Amount Of Loans Serviced For Nonaffiliates",
        "totalLabel": "Total loans serviced, excluding loans held for sale"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_PrincipalAmountOutstandingOfLoansServicedForOthersOriginatedServicing": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "PrincipalAmountOutstandingOfLoansServicedForOthersOriginatedServicing",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails": {
       "parentTag": "pfsi_PrincipalAmountOfLoansServicedForNonaffiliates",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the unpaid principal balance of mortgage loans serviced for others as the result of the company's production and sales of mortgage loans with servicing rights retained.",
        "label": "Principal Amount Outstanding Of Loans Serviced For Others Originated Servicing",
        "terseLabel": "Originated"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_PrincipalAmountOutstandingOfLoansServicedForOthersPurchasedServicing": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "PrincipalAmountOutstandingOfLoansServicedForOthersPurchasedServicing",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails": {
       "parentTag": "pfsi_PrincipalAmountOfLoansServicedForNonaffiliates",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the unpaid principal balance of mortgage loans serviced for others as the result of the purchase of the related mortgage servicing rights or assumption of mortgage servicing liabilities.",
        "label": "Principal Amount Outstanding Of Loans Serviced For Others Purchased Servicing",
        "terseLabel": "Purchased"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_PrincipalAmountOutstandingOfLoansServicedForOthersSubservicedServicing": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "PrincipalAmountOutstandingOfLoansServicedForOthersSubservicedServicing",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails": {
       "parentTag": "pfsi_PrincipalAmountOfLoansServicedForNonaffiliates",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the unpaid principal balance of mortgage loans serviced for others as the result of the subserviced of the related mortgage servicing rights or assumption of mortgage servicing liabilities.",
        "label": "Principal Amount Outstanding Of Loans Serviced For Others Subserviced Servicing",
        "terseLabel": "Subserviced"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_PrincipalAmountOutstandingOfLoansServicedForOthersSubservicedServicingButNotTransferredToPurchaser": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "PrincipalAmountOutstandingOfLoansServicedForOthersSubservicedServicingButNotTransferredToPurchaser",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the unpaid principal balance of mortgage loans serviced for others as the result of the subserviced of the related mortgage servicing rights or assumption of mortgage servicing liabilities but not transferred to the purchaser.",
        "label": "Principal Amount Outstanding Of Loans Serviced For Others Subserviced Servicing But Not Transferred To Purchaser",
        "terseLabel": "Subserviced but not yet transferred to purchaser"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_PrincipalAmountOutstandingOnLoansHeldForSale": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "PrincipalAmountOutstandingOnLoansHeldForSale",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails": {
       "parentTag": "us-gaap_PrincipalAmountOutstandingOnLoansManagedAndSecuritized",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This is the principal amount outstanding for loans in portfolio which are classified as held for sale.",
        "label": "Principal Amount Outstanding on Loans Held For Sale",
        "terseLabel": "Loans held for sale"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PrincipalAmountOutstandingOnLoansManagedAndSecuritized": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PrincipalAmountOutstandingOnLoansManagedAndSecuritized",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesGeographicalDistributionOfLoansDetails",
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loan, Managed and Securitized or Asset-Backed Financing Arrangement, Principal Outstanding",
        "totalLabel": "Total loans serviced",
        "documentation": "This is the sum of principal amount outstanding for both securitized and unsecuritized loans of all types."
       }
      }
     },
     "auth_ref": [
      "r9"
     ]
    },
    "us-gaap_PrincipalOnlyStripMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PrincipalOnlyStripMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueChangesInFairValueFairValueOptionRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosurePrincipalOnlyStrippedMortgageBackedSecuritiesActivityInCompanySInvestmentInPrincipalOnlyStrippedMbsDetails",
      "http://www.pennymacfinancial.com/role/DisclosurePrincipalOnlyStrippedMortgageBackedSecuritiesSummaryOfCompanyInvestmentInPrincipalOnlyStrippedMbsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Principal-Only-Strip [Member]",
        "terseLabel": "Principal-only stripped mortgage-backed securities",
        "verboseLabel": "Principal-Only-Strip MBS",
        "documentation": "Tranche of a financial asset securitization that entitles the holder to receive some or all of the principal repayments collected on the underlying assets."
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_PrincipalOnlyStrippedMbs": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "PrincipalOnlyStrippedMbs",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of Principal-only stripped MBS",
        "label": "Principal Only Stripped MBS",
        "terseLabel": "Principal-only stripped MBS"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_PrincipalOnlyStripsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "PrincipalOnlyStripsMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtPrincipalOnlyStrippedMbsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to principal only strips.",
        "label": "Principal Only Strips [Member]",
        "terseLabel": "Principal-only stripped MBS"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_PrivateNationalMortgageAcceptanceCompanyMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "PrivateNationalMortgageAcceptanceCompanyMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsExchangedPrivateNationalMortgageAcceptanceCompanyLlcUnitholdersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents activity related to Private National Mortgage Acceptance Company, LLC (\"PennyMac\").",
        "label": "Private National Mortgage Acceptance Company",
        "terseLabel": "Private National Mortgage Acceptance Company"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ProceedsFromIssuanceOfUnsecuredDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ProceedsFromIssuanceOfUnsecuredDebt",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds from Issuance of Unsecured Debt",
        "terseLabel": "Issuance of unsecured senior notes",
        "documentation": "The cash inflow from the issuance of long-term debt that is not secured by collateral. Excludes proceeds from tax exempt unsecured debt."
       }
      }
     },
     "auth_ref": [
      "r11"
     ]
    },
    "us-gaap_ProceedsFromNotesPayable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ProceedsFromNotesPayable",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds from Notes Payable",
        "verboseLabel": "Issuance of notes payable secured by mortgage servicing assets",
        "documentation": "The cash inflow from a borrowing supported by a written promise to pay an obligation."
       }
      }
     },
     "auth_ref": [
      "r11"
     ]
    },
    "us-gaap_ProceedsFromSaleOfLoansHeldForSale": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ProceedsFromSaleOfLoansHeldForSale",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 18.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds from Sale, Loan, Held-for-Sale",
        "terseLabel": "Sale of loans held for sale to PennyMac Mortgage Investment Trust",
        "documentation": "The cash inflow resulting from the sale of loans classified as held-for-sale, including proceeds from loans sold through mortgage securitization."
       }
      }
     },
     "auth_ref": [
      "r1293",
      "r1294"
     ]
    },
    "pfsi_ProceedsFromSaleOfLoansHeldForSaleNonAffiliates": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ProceedsFromSaleOfLoansHeldForSaleNonAffiliates",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 17.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow resulting from the sale of loans classified as held-for-sale, including proceeds from loans sold through mortgage securitization to non-affiliates.",
        "label": "Proceeds From Sale Of Loans Held For Sale Non Affiliates",
        "terseLabel": "Sale to non-affiliates and principal payment of loans held for sale"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ProceedsFromSaleOfMortgageServicingRightsMsrRelatedParty": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ProceedsFromSaleOfMortgageServicingRightsMsrRelatedParty",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The related party cash inflow from the sale of servicing rights, which contractually entitle the servicer to receive fees and ancillary revenues for performing billing, collection, disbursement and recordkeepingservices in connection with a mortgage portfolio. Rights may be obtained via (1) acquisition or assumption of a servicing obligation that does not relate to financial assets of the servicer or its consolidated affiliates; or (2) by originating mortgage loans and then (a) transferring the loans to a Variable Interest Entity (VIE) in a transaction that meets the necessary transfer and classification requirements, or (b) transferring the loans in a transaction that meets the requirements for sale accounting.",
        "label": "Proceeds From Sale Of Mortgage Servicing Rights MSR Related Party",
        "terseLabel": "Sale of mortgage servicing rights to PennyMac Mortgage Investment Trust"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ProceedsFromSaleOfRealEstate": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ProceedsFromSaleOfRealEstate",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 21.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds from Sale of Real Estate",
        "terseLabel": "Sale of real estate acquired in settlement of loans",
        "documentation": "Cash received for the sale of real estate that is not part of an investing activity during the current period."
       }
      }
     },
     "auth_ref": [
      "r64"
     ]
    },
    "us-gaap_ProceedsFromStockOptionsExercised": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ProceedsFromStockOptionsExercised",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds from Stock Options Exercised",
        "terseLabel": "Issuance of common stock by exercise of stock options",
        "documentation": "Amount of cash inflow from exercise of option under share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r1",
      "r8"
     ]
    },
    "us-gaap_ProfessionalFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ProfessionalFees",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Professional Fees",
        "terseLabel": "Professional services",
        "documentation": "A fee charged for services from professionals such as doctors, lawyers and accountants. The term is often expanded to include other professions, for example, pharmacists charging to maintain a medicinal profile of a client or customer."
       }
      }
     },
     "auth_ref": [
      "r1067",
      "r1079",
      "r1159",
      "r1483",
      "r1484"
     ]
    },
    "us-gaap_ProfitLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ProfitLoss",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Income (Loss), Including Portion Attributable to Noncontrolling Interest",
        "terseLabel": "Net income",
        "documentation": "The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest."
       }
      }
     },
     "auth_ref": [
      "r172",
      "r179",
      "r187",
      "r188",
      "r201",
      "r207",
      "r210",
      "r211",
      "r214",
      "r229",
      "r238",
      "r241",
      "r242",
      "r334",
      "r385",
      "r386",
      "r388",
      "r389",
      "r390",
      "r391",
      "r392",
      "r394",
      "r395",
      "r420",
      "r499",
      "r532",
      "r543",
      "r544",
      "r547",
      "r548",
      "r637",
      "r675",
      "r831",
      "r833",
      "r857",
      "r905",
      "r953",
      "r975",
      "r976",
      "r1111",
      "r1112",
      "r1160",
      "r1287",
      "r1341"
     ]
    },
    "us-gaap_PropertyPlantAndEquipmentByTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PropertyPlantAndEquipmentByTypeAxis",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-Lived Tangible Asset [Axis]",
        "documentation": "Information by type of long-lived, physical assets used to produce goods and services and not intended for resale."
       }
      }
     },
     "auth_ref": [
      "r5",
      "r708"
     ]
    },
    "us-gaap_PropertyPlantAndEquipmentNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PropertyPlantAndEquipmentNet",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureOtherAssetsOtherDetails": {
       "parentTag": "us-gaap_OtherAssets",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureOtherAssetsOtherDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, Plant and Equipment, Net",
        "verboseLabel": "Furniture, fixtures, equipment and building improvements, net",
        "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."
       }
      }
     },
     "auth_ref": [
      "r5",
      "r708",
      "r838",
      "r855",
      "r1132"
     ]
    },
    "us-gaap_PropertyPlantAndEquipmentTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PropertyPlantAndEquipmentTypeDomain",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-Lived Tangible Asset [Domain]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r71",
      "r708"
     ]
    },
    "pfsi_ProvisionForServicingAdvanceLosses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ProvisionForServicingAdvanceLosses",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 9.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents provision for losses on servicing advances anticipated to be uncollectable relating to mortgage loans serviced for others.",
        "label": "Provision For Servicing Advance Losses",
        "terseLabel": "Provision for servicing advance losses"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ProvisionsForRepresentationsAndWarrantiesLossesAdjustmentToPreviouslyRecordedAmountChangeInEstimate": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ProvisionsForRepresentationsAndWarrantiesLossesAdjustmentToPreviouslyRecordedAmountChangeInEstimate",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureNetGainsOnLoansHeldForSaleDetails": {
       "parentTag": "us-gaap_GainLossOnSalesOfLoansNet",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLiabilityForLossesUnderRepresentationsAndWarrantiesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureNetGainsOnLoansHeldForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the adjustment to previously recorded provisions for representations and warranties losses, due to change in estimate.",
        "label": "Provisions for Representations and Warranties, Losses, Adjustment to Previously Recorded Amount, Change in Estimate",
        "negatedLabel": "Provision for losses on loans sold resulting from change in estimate",
        "terseLabel": "Provision for losses relating to representations and warranties on loans sold reduction in liability due to change in estimate"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ProvisionsForRepresentationsAndWarrantiesLossesPursuantToMortgageLoanSales": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ProvisionsForRepresentationsAndWarrantiesLossesPursuantToMortgageLoanSales",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureNetGainsOnLoansHeldForSaleDetails": {
       "parentTag": "us-gaap_GainLossOnSalesOfLoansNet",
       "weight": -1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLiabilityForLossesUnderRepresentationsAndWarrantiesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureNetGainsOnLoansHeldForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the provisions for representations and warranties losses pursuant to mortgage loan sales.",
        "label": "Provisions for Representations and Warranties, Losses Pursuant to Mortgage Loan Sales",
        "negatedLabel": "Provision for losses relating to representations and warranties on loans sold pursuant to loan sales",
        "terseLabel": "Provision for losses on loans sold resulting from sales of loans"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PutOptionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PutOptionMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Put Option [Member]",
        "terseLabel": "MBS put options",
        "documentation": "A financial contract between two parties, the buyer and the seller (writer) of the option, where the buyer has the right but not the obligation to sell a commodity or financial instrument (the underlying instrument) to the seller (writer) at a certain time for a certain price (the strike price). The seller (writer) has the obligation to purchase the underlying asset at that strike price, if the buyer exercises the option."
       }
      }
     },
     "auth_ref": [
      "r1001",
      "r1002"
     ]
    },
    "pfsi_PutOptionOnInterestRateFuturesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "PutOptionOnInterestRateFuturesMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to the put option on interest rate futures.",
        "label": "Put options on Eurodollar futures",
        "terseLabel": "Put options on Eurodollar futures",
        "verboseLabel": "Put options on interest rate"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_PvpTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "PvpTable",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pay vs Performance Disclosure [Table]",
        "terseLabel": "Pay vs Performance Disclosure"
       }
      }
     },
     "auth_ref": [
      "r1205"
     ]
    },
    "ecd_PvpTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "PvpTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pay vs Performance [Table Text Block]",
        "terseLabel": "Pay vs Performance Disclosure, Table"
       }
      }
     },
     "auth_ref": [
      "r1205"
     ]
    },
    "pfsi_RJOBrienMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RJOBrienMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeAssetsFinancialAssetsAndCollateralHeldByCounterpartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to RJ O'Brien.",
        "label": "RJ O'Brien",
        "terseLabel": "RJ O' Brien"
       }
      }
     },
     "auth_ref": []
    },
    "srt_RangeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "RangeAxis",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageLoansAndIrlcDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingLiabilitiesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsInitialRecognitionDetails",
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureOrganizationDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsManagementFeesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsMortgageLoanServicingDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoanParticipationAndSaleAgreementDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Axis]",
        "documentation": "Information by statistical measurement. Includes, but is not limited to, minimum, maximum, weighted average, arithmetic average, and median."
       }
      }
     },
     "auth_ref": [
      "r120",
      "r122",
      "r124",
      "r125",
      "r127",
      "r139",
      "r141",
      "r142",
      "r160",
      "r161",
      "r266",
      "r379",
      "r380",
      "r381",
      "r382",
      "r447",
      "r459",
      "r489",
      "r490",
      "r491",
      "r496",
      "r503",
      "r643",
      "r738",
      "r762",
      "r789",
      "r874",
      "r876",
      "r890",
      "r920",
      "r921",
      "r986",
      "r991",
      "r993",
      "r994",
      "r1013",
      "r1030",
      "r1031",
      "r1033",
      "r1034",
      "r1052",
      "r1053",
      "r1084",
      "r1093",
      "r1102",
      "r1105",
      "r1107",
      "r1108",
      "r1122",
      "r1123",
      "r1127",
      "r1128",
      "r1144",
      "r1152",
      "r1339",
      "r1343",
      "r1399",
      "r1432",
      "r1433",
      "r1434",
      "r1435",
      "r1436"
     ]
    },
    "srt_RangeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "RangeMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageLoansAndIrlcDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingLiabilitiesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsInitialRecognitionDetails",
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureOrganizationDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsManagementFeesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsMortgageLoanServicingDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoanParticipationAndSaleAgreementDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Domain]",
        "documentation": "Statistical measurement. Includes, but is not limited to, minimum, maximum, weighted average, arithmetic average, and median."
       }
      }
     },
     "auth_ref": [
      "r120",
      "r122",
      "r124",
      "r125",
      "r127",
      "r139",
      "r141",
      "r142",
      "r160",
      "r161",
      "r266",
      "r379",
      "r380",
      "r381",
      "r382",
      "r447",
      "r459",
      "r489",
      "r490",
      "r491",
      "r496",
      "r503",
      "r643",
      "r738",
      "r762",
      "r789",
      "r874",
      "r876",
      "r890",
      "r920",
      "r921",
      "r986",
      "r991",
      "r993",
      "r994",
      "r1013",
      "r1030",
      "r1031",
      "r1033",
      "r1034",
      "r1052",
      "r1053",
      "r1084",
      "r1093",
      "r1102",
      "r1105",
      "r1107",
      "r1108",
      "r1122",
      "r1123",
      "r1127",
      "r1128",
      "r1144",
      "r1152",
      "r1339",
      "r1343",
      "r1399",
      "r1432",
      "r1433",
      "r1434",
      "r1435",
      "r1436"
     ]
    },
    "pfsi_RealEstateAcquiredInSettlementOfLoansMeasuredAtFairValueDuringPeriod": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RealEstateAcquiredInSettlementOfLoansMeasuredAtFairValueDuringPeriod",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueMeasurementBasisNonrecurringDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the period-end balance of the portion of real estate acquired in settlement of loans that was remeasured based on fair value during the period.",
        "label": "Real Estate Acquired in Settlement of Loans Measured at Fair Value During the Period",
        "terseLabel": "Real estate acquired in settlement of loans"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_RecaptureRateInExcessOf30PercentageAndUpto50PercentageMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RecaptureRateInExcessOf30PercentageAndUpto50PercentageMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to recapture rate in excess of 30% and upto 50%.",
        "label": "Recapture Rate In Excess Of 30 Percentage And Upto 50 Percentage [Member]",
        "terseLabel": "In excess of 30% and upto 50%"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_RecaptureRateInExcessOf50PercentageMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RecaptureRateInExcessOf50PercentageMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to recapture rate in excess of 50%.",
        "label": "Recapture Rate In Excess Of 50 Percentage [Member]",
        "terseLabel": "In excess of 50%"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_RecaptureRateUpto30PercentageMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RecaptureRateUpto30PercentageMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to recapture rate on first 30%.",
        "label": "Recapture Rate Upto 30 Percentage [Member]",
        "terseLabel": "First 30%"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ReceiptOfMortgageServicingRightsAccrualOfMortgageServicingLiabilitiesNetAsProceedsFromSalesOfLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ReceiptOfMortgageServicingRightsAccrualOfMortgageServicingLiabilitiesNetAsProceedsFromSalesOfLoans",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureNetGainsOnLoansHeldForSaleDetails": {
       "parentTag": "us-gaap_GainLossOnSalesOfLoansNet",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureNetGainsOnLoansHeldForSaleDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the receipt of mortgage servicing rights (MSRs), net of accruals for mortgage servicing liabilities, as proceeds from sales of loans.",
        "label": "Receipt Of Mortgage Servicing Rights Accrual Of Mortgage Servicing Liabilities Net As Proceeds From Sales Of Loans",
        "terseLabel": "Mortgage servicing rights resulting from loan sales"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ReceiptOfMortgageServicingRightsAsProceedsFromSalesOfLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ReceiptOfMortgageServicingRightsAsProceedsFromSalesOfLoans",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the receipt of mortgage servicing rights (MSRs) as proceeds from sales of loans.",
        "label": "Receipt of Mortgage Servicing Rights as Proceeds from Sales of Loans",
        "verboseLabel": "Mortgage servicing rights received from loan sales"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ReceivablesHeldForSaleAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ReceivablesHeldForSaleAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Loans Held for Sale at Fair Value"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_RecoveryOfErrCompDisclosureLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "RecoveryOfErrCompDisclosureLineItems",
     "lang": {
      "en-us": {
       "role": {
        "label": "Recovery of Erroneously Awarded Compensation Disclosure [Line Items]",
        "terseLabel": "Recovery of Erroneously Awarded Compensation Disclosure"
       }
      }
     },
     "auth_ref": [
      "r1173",
      "r1183",
      "r1193",
      "r1225"
     ]
    },
    "us-gaap_RegulatoryCapitalRequirementsForMortgageCompaniesBySecondaryMarketInvestorAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RegulatoryCapitalRequirementsForMortgageCompaniesBySecondaryMarketInvestorAxis",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRegulatoryCapitalAndLiquidityRequirementsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Banking Regulation, Mortgage Banking, Secondary Market Investor [Axis]",
        "documentation": "Information by secondary market investor imposing net worth requirement for mortgage banking entity."
       }
      }
     },
     "auth_ref": [
      "r1024",
      "r1027",
      "r1028",
      "r1029"
     ]
    },
    "us-gaap_RegulatoryCapitalRequirementsForMortgageCompaniesDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RegulatoryCapitalRequirementsForMortgageCompaniesDisclosureTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRegulatoryCapitalAndLiquidityRequirements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Regulatory Capital Requirements for Mortgage Companies Disclosure [Text Block]",
        "terseLabel": "Regulatory Capital and Liquidity Requirements",
        "documentation": "The entire disclosure for a mortgage banking entity related to capital requirements imposed by secondary market investors or state imposed regulatory mandates. The disclosure may include: (1) a description of the minimum net worth requirements related to (a) secondary market investors and (b) state-imposed regulatory mandates; (2) actual or possible material effects of noncompliance; (3) whether the entity is in compliance with the regulatory capital requirements, including (a) the entity's required and actual net worth amounts, (b) factors that may significantly affect adequacy of net worth such as potentially volatile components of capital, qualitative factors, or regulatory mandates; and (4) possible affects of noncompliance on amounts and disclosures in the notes to the financial statements. Servicers with net worth requirements from multiple sources may disclose (1) significant servicing covenants with secondary market investors with commonly defined servicing requirements (2) any other secondary market investor where violation of the requirement would have a significant adverse effect and (3) the most restrictive third party agreement, if not included above. The disclosure may also include additional information that might be disclosed in situations where substantial doubt about the entity's ability to continue as a going concern for a reasonable period of time."
       }
      }
     },
     "auth_ref": [
      "r1022",
      "r1023",
      "r1025",
      "r1026",
      "r1027",
      "r1028",
      "r1029",
      "r1256",
      "r1257",
      "r1258",
      "r1259",
      "r1260",
      "r1261"
     ]
    },
    "us-gaap_RelatedPartyDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RelatedPartyDomain",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3InputRollForwardRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureNetGainsOnLoansHeldForSaleDetails",
      "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpenseDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsAmountsDueFromAffiliateDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsExchangedPrivateNationalMortgageAcceptanceCompanyLlcUnitholdersDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsInvestingActivitiesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsManagementFeesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsMortgageLoanServicingDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsOtherTransactionsReimbursementOfCommonOverheadExpensesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsTables",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related and Nonrelated Parties [Domain]",
        "documentation": "Related and nonrelated parties. Related party includes, but is not limited to, affiliate, other entity for which investment is accounted for under equity method, trust for benefit of employee, principal owner, management, and member of immediate family, and other party that may be prevented from pursuing separate interests because of control, significant influence, or ownership interest."
       }
      }
     },
     "auth_ref": [
      "r207",
      "r213",
      "r214",
      "r303",
      "r454",
      "r458",
      "r722",
      "r723",
      "r848",
      "r854",
      "r924",
      "r925",
      "r926",
      "r927",
      "r928",
      "r951",
      "r984",
      "r1482"
     ]
    },
    "us-gaap_RelatedPartyMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RelatedPartyMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureNetGainsOnLoansHeldForSaleDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsAmountsDueFromAffiliateDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsExchangedPrivateNationalMortgageAcceptanceCompanyLlcUnitholdersDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsInvestingActivitiesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsManagementFeesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsMortgageLoanServicingDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsOtherTransactionsReimbursementOfCommonOverheadExpensesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsTables",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party [Member]",
        "terseLabel": "Related Party",
        "documentation": "Party related to reporting entity. Includes, but is not limited to, affiliate, entity for which investment is accounted for by equity method, trust for benefit of employees, and principal owner, management, and members of immediate family."
       }
      }
     },
     "auth_ref": [
      "r207",
      "r213",
      "r214",
      "r722",
      "r723",
      "r724",
      "r725",
      "r848",
      "r854",
      "r924",
      "r925",
      "r926",
      "r927",
      "r928",
      "r951",
      "r984"
     ]
    },
    "pfsi_RelatedPartyTransactionActivityBasedMortgageLoanServicingFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RelatedPartyTransactionActivityBasedMortgageLoanServicingFees",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsMortgageLoanServicingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of activity-based mortgage loan servicing fees earned as per arrangements between the reporting entity and related parties.",
        "label": "Related Party Transaction, Activity Based Mortgage Loan Servicing Fees",
        "terseLabel": "Activity-based"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_RelatedPartyTransactionAgreementTermAutomaticRenewalPeriod": {
     "xbrltype": "durationItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RelatedPartyTransactionAgreementTermAutomaticRenewalPeriod",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsManagementFeesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsMortgageLoanServicingDetails",
      "http://www.pennymacfinancial.com/role/DisclosureSubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The renewal period that automatically renews at expiration, unless terminated earlier in accordance with the terms of the agreement, for the related party agreement.",
        "label": "Related Party Transaction, Agreement Term, Automatic Renewal Period",
        "terseLabel": "Related party transaction, automatic renewal period"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RelatedPartyTransactionAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RelatedPartyTransactionAxis",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsInvestingActivitiesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsManagementFeesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsMortgageLoanServicingDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsOtherTransactionsReimbursementOfCommonOverheadExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transaction [Axis]",
        "documentation": "Information by type of related party transaction."
       }
      }
     },
     "auth_ref": [
      "r207",
      "r213",
      "r214",
      "r722",
      "r723",
      "r1428"
     ]
    },
    "pfsi_RelatedPartyTransactionBaseMortgageLoanServicingFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RelatedPartyTransactionBaseMortgageLoanServicingFees",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsMortgageLoanServicingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of base mortgage loan servicing fees earned as per arrangements between the reporting entity and related parties.",
        "label": "Related Party Transaction, Base Mortgage Loan Servicing Fees",
        "terseLabel": "Base and supplemental"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_RelatedPartyTransactionBaseServicingFeePerMonthForRealEstateInSettlementOfLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RelatedPartyTransactionBaseServicingFeePerMonthForRealEstateInSettlementOfLoans",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsMortgageLoanServicingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the base servicing fee per month for real estate in settlement of loans.",
        "label": "Related Party Transaction Base Servicing Fee Per Month For Real Estate In Settlement Of Loans",
        "terseLabel": "Base servicing fees per month for REO"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_RelatedPartyTransactionBaseServicingFeePerMonthForSubservicedAdjustableRateLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RelatedPartyTransactionBaseServicingFeePerMonthForSubservicedAdjustableRateLoans",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsMortgageLoanServicingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related Party Transaction, Base Servicing Fee Per Month for Subserviced Adjustable Rate Loans",
        "label": "Related Party Transaction, Base Servicing Fee Per Month for Subserviced Adjustable Rate Loans",
        "terseLabel": "Base servicing fees per month for adjustable rate non-distressed loans subserviced"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_RelatedPartyTransactionBaseServicingFeePerMonthForSubservicedFixedRateLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RelatedPartyTransactionBaseServicingFeePerMonthForSubservicedFixedRateLoans",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsMortgageLoanServicingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related Party Transaction, Base Servicing Fee Per Month for Subserviced Fixed Rate Loans",
        "label": "Related Party Transaction, Base Servicing Fee Per Month for Subserviced Fixed Rate Loans",
        "terseLabel": "Base servicing fees per month for fixed-rate non-distressed loans subserviced"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RelatedPartyTransactionDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RelatedPartyTransactionDomain",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsInvestingActivitiesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsManagementFeesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsMortgageLoanServicingDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsOtherTransactionsReimbursementOfCommonOverheadExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transaction [Domain]",
        "documentation": "Transaction between related party."
       }
      }
     },
     "auth_ref": [
      "r207",
      "r213",
      "r214",
      "r1428"
     ]
    },
    "pfsi_RelatedPartyTransactionHighWatermarkForPerformanceIncentiveFeeComputation": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RelatedPartyTransactionHighWatermarkForPerformanceIncentiveFeeComputation",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsManagementFeesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related Party Transaction High Watermark for Performance Incentive Fee Computation",
        "label": "Related Party Transaction High Watermark for Performance Incentive Fee Computation",
        "terseLabel": "High watermark"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RelatedPartyTransactionLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RelatedPartyTransactionLineItems",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureNetGainsOnLoansHeldForSaleDetails",
      "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpenseDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsAmountsDueFromAffiliateDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsExchangedPrivateNationalMortgageAcceptanceCompanyLlcUnitholdersDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsInvestingActivitiesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsManagementFeesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsMortgageLoanServicingDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsOtherTransactionsReimbursementOfCommonOverheadExpensesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transaction [Line Items]",
        "terseLabel": "Transactions with Affiliates",
        "verboseLabel": "Related Party Transactions",
        "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."
       }
      }
     },
     "auth_ref": [
      "r207",
      "r213",
      "r214",
      "r303",
      "r722",
      "r723",
      "r725",
      "r957",
      "r958",
      "r961"
     ]
    },
    "pfsi_RelatedPartyTransactionMortgageLoanServicingFeePerLoan": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RelatedPartyTransactionMortgageLoanServicingFeePerLoan",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Mortgage loan servicing fee per loan as per arrangements between the reporting entity and related parties.",
        "label": "Related Party Transaction Mortgage Loan Servicing Fee Per Loan",
        "terseLabel": "Mortgage loan servicing fee per loan (in dollars)"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_RelatedPartyTransactionPercentageOfAffiliateEquityConsideredToCalculateBaseManagementFee": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RelatedPartyTransactionPercentageOfAffiliateEquityConsideredToCalculateBaseManagementFee",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsManagementFeesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related Party Transaction, Percentage of Affiliate Equity Considered to Calculate Base Management Fee",
        "label": "Related Party Transaction, Percentage of Affiliate Equity Considered to Calculate Base Management Fee",
        "terseLabel": "Base management fee annual rate (as a percent)"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_RelatedPartyTransactionPercentageOfChangeInNetIncomeLossForPerformanceIncentiveFeeComputation": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RelatedPartyTransactionPercentageOfChangeInNetIncomeLossForPerformanceIncentiveFeeComputation",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsManagementFeesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related Party Transaction Percentage of Change in Net Income (Loss) for Performance Incentive Fee Computation",
        "label": "Related Party Transaction Percentage of Change in Net Income (Loss) for Performance Incentive Fee Computation",
        "terseLabel": "Percentage of change in net income due to quarterly adjustments"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_RelatedPartyTransactionPercentageOfPerformanceIncentiveFeePayableByIssuanceOfCommonShares": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RelatedPartyTransactionPercentageOfPerformanceIncentiveFeePayableByIssuanceOfCommonShares",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsManagementFeesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related Party Transaction, Percentage of Performance Incentive Fee Payable by Issuance of Common Shares",
        "label": "Related Party Transaction, Percentage of Performance Incentive Fee Payable by Issuance of Common Shares",
        "terseLabel": "Percentage of performance incentive fee payable by issuance of common shares"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_RelatedPartyTransactionPercentageOfReturnOnAffiliateEquityConsideredToCalculatePerformanceIncentiveFee": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RelatedPartyTransactionPercentageOfReturnOnAffiliateEquityConsideredToCalculatePerformanceIncentiveFee",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsManagementFeesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related Party Transaction, Percentage of Return on Affiliate Equity Considered to Calculate Performance Incentive Fee",
        "label": "Related Party Transaction, Percentage of Return on Affiliate Equity Considered to Calculate Performance Incentive Fee",
        "terseLabel": "Percentage of return on affiliate's equity"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_RelatedPartyTransactionServicingFeePerMonthForSeverelyDelinquentLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RelatedPartyTransactionServicingFeePerMonthForSeverelyDelinquentLoans",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsMortgageLoanServicingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related Party Transaction, Servicing Fee Per Month for Severely Delinquent Loans",
        "label": "Related Party Transaction, Servicing Fee Per Month for Severely Delinquent Loans",
        "terseLabel": "Servicing fees amount per month for severely delinquent loans"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_RelatedPartyTransactionSpecifiedPercentageAppliedOnExcessOfCoreEarningsOnRollingQuarterBasisBeforeIncentiveFeeOverHurdleRateForPerformanceIncentiveFeeComputation": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RelatedPartyTransactionSpecifiedPercentageAppliedOnExcessOfCoreEarningsOnRollingQuarterBasisBeforeIncentiveFeeOverHurdleRateForPerformanceIncentiveFeeComputation",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsManagementFeesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related Party Transaction, Specified Percentage Applied on Excess of Core Earnings on Rolling Quarter Basis before Incentive Fee over Hurdle Rate for Performance Incentive Fee Computation",
        "label": "Related Party Transaction, Specified Percentage Applied on Excess of Core Earnings on Rolling Quarter Basis before Incentive Fee over Hurdle Rate for Performance Incentive Fee Computation",
        "terseLabel": "Percentage of net income for calculation of performance incentive fees"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_RelatedPartyTransactionThresholdShareholdersEquityConsideredToCalculateBaseManagementFee": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RelatedPartyTransactionThresholdShareholdersEquityConsideredToCalculateBaseManagementFee",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsManagementFeesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related Party Transaction, Threshold Shareholders Equity Considered to Calculate Base Management Fee",
        "label": "Related Party Transaction, Threshold Shareholders Equity Considered to Calculate Base Management Fee",
        "terseLabel": "Base management fee shareholders' equity limit"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RelatedPartyTransactionsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RelatedPartyTransactionsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transactions"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RelatedPartyTransactionsByRelatedPartyAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RelatedPartyTransactionsByRelatedPartyAxis",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3InputRollForwardRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureNetGainsOnLoansHeldForSaleDetails",
      "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpenseDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsAmountsDueFromAffiliateDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsExchangedPrivateNationalMortgageAcceptanceCompanyLlcUnitholdersDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsInvestingActivitiesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsManagementFeesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsMortgageLoanServicingDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsOtherTransactionsReimbursementOfCommonOverheadExpensesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsTables",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related and Nonrelated Parties [Axis]",
        "documentation": "Information by related and nonrelated parties. Related party includes, but is not limited to, affiliate, other entity for which investment is accounted for under equity method, trust for benefit of employee, principal owner, management, and member of immediate family, and other party that may be prevented from pursuing separate interests because of control, significant influence, or ownership interest."
       }
      }
     },
     "auth_ref": [
      "r207",
      "r213",
      "r214",
      "r303",
      "r454",
      "r458",
      "r722",
      "r723",
      "r848",
      "r854",
      "r924",
      "r925",
      "r926",
      "r927",
      "r928",
      "r951",
      "r984",
      "r1428",
      "r1482"
     ]
    },
    "us-gaap_RelatedPartyTransactionsDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RelatedPartyTransactionsDisclosureTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactions"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transactions Disclosure [Text Block]",
        "verboseLabel": "Related Party Transactions",
        "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."
       }
      }
     },
     "auth_ref": [
      "r719",
      "r720",
      "r721",
      "r723",
      "r726",
      "r901",
      "r902",
      "r903",
      "r959",
      "r960",
      "r961",
      "r981",
      "r983"
     ]
    },
    "pfsi_RelatedPartyTransactionsLendingActivityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RelatedPartyTransactionsLendingActivityAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transactions, Lending Activity [Abstract]",
        "terseLabel": "Lending activity between the entity and affiliate"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_RelatedPartyTransactionsPaymentsAndSettlements": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RelatedPartyTransactionsPaymentsAndSettlements",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsOtherTransactionsReimbursementOfCommonOverheadExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Payments and settlements during the period as per arrangements between the reporting entity and related parties.",
        "label": "Related Party Transactions, Payments and Settlements",
        "terseLabel": "Payments and settlements during the period"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_RelatedPartyTransactionsReimbursementExpensesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RelatedPartyTransactionsReimbursementExpensesAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsOtherTransactionsReimbursementOfCommonOverheadExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "No definition available.",
        "label": "Related Party Transactions, Reimbursement Expenses [Abstract]",
        "terseLabel": "Reimbursement of common overhead and expenses incurred on behalf of affiliates"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_RelatedPartyTransactionsReimbursementOfExpenses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RelatedPartyTransactionsReimbursementOfExpenses",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsOtherTransactionsReimbursementOfCommonOverheadExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reimbursement of expenses incurred as per arrangements between the reporting entity and related parties.",
        "label": "Related Party Transactions, Reimbursement of Expenses",
        "terseLabel": "Reimbursement of common overhead and expenses incurred by the Company"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_RelatedPartyTransactionsSourcingFeesPaid": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RelatedPartyTransactionsSourcingFeesPaid",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents a fee paid to a related party relating to mortgage loans purchased from the related party through its correspondent lending activities.",
        "label": "Related Party Transactions, Sourcing Fees Paid",
        "terseLabel": "Sourcing fees included in cost of loans purchased from PMT"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_RelatedPartyTransactionsSourcingFeesPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RelatedPartyTransactionsSourcingFeesPercentage",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents a percentage of related party fees relating to mortgage loans purchased from the related party through its correspondent lending activities.",
        "label": "Related Party Transactions Sourcing Fees Percentage",
        "terseLabel": "Sourcing fees (as a percent)"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_RelatedPartyTransactionsTaxServiceFeeReceivable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RelatedPartyTransactionsTaxServiceFeeReceivable",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the tax service fee receivable from transactions with related parties.",
        "label": "Related Party Transactions Tax Service Fee Receivable",
        "terseLabel": "Tax service fees earned from PMT included in Loan origination fees"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_RelatedPartyTransactionsUnpaidPrincipalBalanceOfLoansFulfilled": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RelatedPartyTransactionsUnpaidPrincipalBalanceOfLoansFulfilled",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the unpaid principal balance of loans fulfilled.",
        "label": "Related Party Transactions Unpaid Principal Balance Of Loans Fulfilled",
        "terseLabel": "Unpaid principal balance of loans fulfilled for PMT subject to fulfillment fees"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_RelatedPartyTransactionsUnpaidPrincipalBalanceOfLoansPurchased": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RelatedPartyTransactionsUnpaidPrincipalBalanceOfLoansPurchased",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents unpaid principal balance of loans purchased.",
        "label": "Related Party Transactions Unpaid Principal Balance Of Loans Purchased",
        "totalLabel": "Unpaid principal balance of loans purchased from PMT"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_RelatedPartyTransactionsUnpaidPrincipalBalanceOfLoansPurchasedConventionalConforming": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RelatedPartyTransactionsUnpaidPrincipalBalanceOfLoansPurchasedConventionalConforming",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails": {
       "parentTag": "pfsi_RelatedPartyTransactionsUnpaidPrincipalBalanceOfLoansPurchased",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents unpaid principal balance of loans purchased conventional conforming.",
        "label": "Related Party Transactions Unpaid Principal Balance Of Loans Purchased Conventional Conforming",
        "terseLabel": "Conventional conforming"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_RelatedPartyTransactionsUnpaidPrincipalBalanceOfLoansPurchasedGovernmentGuaranteedOrInsured": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RelatedPartyTransactionsUnpaidPrincipalBalanceOfLoansPurchasedGovernmentGuaranteedOrInsured",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails": {
       "parentTag": "pfsi_RelatedPartyTransactionsUnpaidPrincipalBalanceOfLoansPurchased",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents unpaid principal balance of loans purchased government guaranteed or insured.",
        "label": "Related Party Transactions Unpaid Principal Balance Of Loans Purchased Government Guaranteed Or Insured",
        "terseLabel": "Government guaranteed or insured"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_RelatedPartyTransactionsUnpaidPrincipalBalanceOfLoansRecaptured": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RelatedPartyTransactionsUnpaidPrincipalBalanceOfLoansRecaptured",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of unpaid principal balance of recaptured from related party.",
        "label": "Related Party Transactions, Unpaid Principal Balance Of Loans Recaptured",
        "terseLabel": "UPB of loans recaptured"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_RelatedPartyTransactionsUnpaidPrincipalBalanceOfLoansSold": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RelatedPartyTransactionsUnpaidPrincipalBalanceOfLoansSold",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsInvestingActivitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of unpaid principal balance of loans sold with related party.",
        "label": "Related Party Transactions, Unpaid Principal Balance Of Loans Sold",
        "terseLabel": "Sale of loans held for sale to PMT"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_RepaymentOfMortgageLoanParticipationCertificates": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RepaymentOfMortgageLoanParticipationCertificates",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the cash outflow from repayment of mortgage loan participation certificates.",
        "label": "Repayment Of Mortgage Loan Participation Certificates",
        "negatedLabel": "Repayment of mortgage loan participation purchase and sale certificates"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_RepaymentOfPrincipalOnlyStrippedMortgageBackedSecurities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RepaymentOfPrincipalOnlyStrippedMortgageBackedSecurities",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of repayment of principal-only stripped mortgage-backed securities.",
        "label": "Repayment of principal-only stripped mortgage-backed securities",
        "negatedLabel": "Repayment of principal-only stripped mortgage-backed securities"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RepaymentsOfNotesPayable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RepaymentsOfNotesPayable",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Repayments of Notes Payable",
        "negatedLabel": "Repayment of notes payable secured by mortgage servicing assets",
        "documentation": "The cash outflow for a borrowing supported by a written promise to pay an obligation."
       }
      }
     },
     "auth_ref": [
      "r67"
     ]
    },
    "pfsi_RepresentationsAndWarrantiesLiability": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RepresentationsAndWarrantiesLiability",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 12.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLiabilityForLossesUnderRepresentationsAndWarrantiesDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Company's estimate of the losses that it expects to incur in the future as a result of its breach of the representations and warranties that it provides to the purchasers and insurers of the mortgage loans it has sold.",
        "label": "Representations and Warranties Liability",
        "periodEndLabel": "Balance at end of quarter",
        "periodStartLabel": "Balance at beginning of quarter",
        "terseLabel": "Liability for losses under representations and warranties"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_RepresentationsAndWarrantiesLiabilityActivityDuringPeriodAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RepresentationsAndWarrantiesLiabilityActivityDuringPeriodAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLiabilityForLossesUnderRepresentationsAndWarrantiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Representations and Warranties Liability Activity During Period [Abstract]",
        "terseLabel": "During the period:"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_RepresentationsAndWarrantiesLossesIncurred": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RepresentationsAndWarrantiesLossesIncurred",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLiabilityForLossesUnderRepresentationsAndWarrantiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents losses charged against the liability for representations and warranties relating to mortgage loans repurchased or losses reimbursed to mortgage loan purchasers due to the Company's breach of representations and warranties made as part of the sale of such loans.",
        "label": "Representations and Warranties Losses Incurred",
        "terseLabel": "Losses incurred"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RepurchaseAgreementCounterpartyAmountAtRisk": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RepurchaseAgreementCounterpartyAmountAtRisk",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoansSoldUnderAgreementToRepurchaseByCounterpartyDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtPrincipalOnlyStrippedMbsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Repurchase Agreement Counterparty, Amount at Risk",
        "terseLabel": "Amount at risk",
        "documentation": "The amount at risk under repurchase agreements is defined as the excess of carrying amount (or market value, if higher than the carrying amount or if there is no carrying amount) of the securities or other assets sold under agreement to repurchase, including accrued interest plus any cash or other assets on deposit to secure the repurchase obligation, over the amount of the repurchase liability (adjusted for accrued interest)."
       }
      }
     },
     "auth_ref": [
      "r207",
      "r220",
      "r763"
     ]
    },
    "srt_RepurchaseAgreementCounterpartyNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "RepurchaseAgreementCounterpartyNameDomain",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeAssetsFinancialAssetsAndCollateralHeldByCounterpartyDetails",
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeLiabilitiesFinancialLiabilitiesAndCollateralHeldByCounterpartyDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails",
      "http://www.pennymacfinancial.com/role/DisclosureNetGainsOnLoansHeldForSaleDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsAmountsDueFromAffiliateDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsExchangedPrivateNationalMortgageAcceptanceCompanyLlcUnitholdersDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsInvestingActivitiesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsManagementFeesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsMortgageLoanServicingDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsOtherTransactionsReimbursementOfCommonOverheadExpensesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsTables",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoansSoldUnderAgreementToRepurchaseByCounterpartyDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtPrincipalOnlyStrippedMbsDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Counterparty Name [Domain]",
        "documentation": "Named other party that participates in a financial transaction. Examples include, but not limited to, the name of the financial institution."
       }
      }
     },
     "auth_ref": [
      "r157",
      "r158",
      "r207",
      "r220",
      "r221",
      "r399",
      "r431",
      "r725",
      "r763",
      "r843",
      "r1061",
      "r1063",
      "r1064",
      "r1278",
      "r1279",
      "r1280",
      "r1281",
      "r1282",
      "r1283",
      "r1284",
      "r1285",
      "r1286",
      "r1388",
      "r1390",
      "r1391",
      "r1392"
     ]
    },
    "us-gaap_RepurchaseAgreementCounterpartyWeightedAverageMaturityOfAgreements1": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RepurchaseAgreementCounterpartyWeightedAverageMaturityOfAgreements1",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMaturitiesOfOutstandingAdvancesUnderRepurchaseAgreementsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Repurchase Agreement Counterparty, Weighted Average Maturity of Agreements",
        "terseLabel": "Weighted-average maturity (in months)",
        "documentation": "Weighted average maturity (weighted by amount of the agreement) of repurchase agreements with the counterparty, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days."
       }
      }
     },
     "auth_ref": [
      "r207",
      "r220",
      "r763"
     ]
    },
    "us-gaap_RepurchaseAgreementsInterestExpenseAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RepurchaseAgreementsInterestExpenseAmount",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpenseDetails": {
       "parentTag": "us-gaap_InterestExpenseOperating",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpenseDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Repurchase Agreements, Interest Expense Amount",
        "terseLabel": "Assets sold under agreements to repurchase",
        "verboseLabel": "Total interest expense",
        "documentation": "This is the amount of interest expense incurred during the reporting period as a result of repurchase agreements."
       }
      }
     },
     "auth_ref": [
      "r104",
      "r825"
     ]
    },
    "pfsi_RepurchaseOfAssetsSoldUnderAgreementsToRepurchase": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RepurchaseOfAssetsSoldUnderAgreementsToRepurchase",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Payments made during the period to repurchase assets sold under agreements to repurchase.",
        "label": "Repurchase Of Assets Sold Under Agreements To Repurchase",
        "negatedLabel": "Repurchase of assets sold under agreements to repurchase"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_RepurchasedLoansMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RepurchasedLoansMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoansHeldForSaleAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to mortgage loans repurchased pursuant to the Company's obligations under representations and warranties made as part of the sale of such mortgage loans.",
        "label": "Mortgage loans repurchased pursuant to representations and warranties",
        "terseLabel": "Mortgage loans repurchased pursuant to representations and warranties"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_RestatementDateAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "RestatementDateAxis",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restatement Determination Date [Axis]",
        "terseLabel": "Restatement Determination Date:"
       }
      }
     },
     "auth_ref": [
      "r1174",
      "r1184",
      "r1194",
      "r1226"
     ]
    },
    "ecd_RestatementDeterminationDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "RestatementDeterminationDate",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restatement Determination Date",
        "terseLabel": "Restatement Determination Date"
       }
      }
     },
     "auth_ref": [
      "r1175",
      "r1185",
      "r1195",
      "r1227"
     ]
    },
    "ecd_RestatementDoesNotRequireRecoveryTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "RestatementDoesNotRequireRecoveryTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restatement Does Not Require Recovery [Text Block]",
        "terseLabel": "Restatement does not require Recovery"
       }
      }
     },
     "auth_ref": [
      "r1182",
      "r1192",
      "r1202",
      "r1234"
     ]
    },
    "us-gaap_RestrictedStockUnitsRSUMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RestrictedStockUnitsRSUMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureStockBasedCompensationOtherDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restricted Stock Units (RSUs) [Member]",
        "terseLabel": "RSUs",
        "documentation": "Share instrument which is convertible to stock or an equivalent amount of cash, after a specified period of time or when specified performance conditions are met."
       }
      }
     },
     "auth_ref": [
      "r1349",
      "r1350",
      "r1351",
      "r1352",
      "r1353",
      "r1354",
      "r1355",
      "r1356",
      "r1357",
      "r1358",
      "r1359",
      "r1360",
      "r1361",
      "r1362",
      "r1363",
      "r1364",
      "r1365",
      "r1366",
      "r1367",
      "r1368",
      "r1369",
      "r1370",
      "r1371",
      "r1372",
      "r1373",
      "r1374"
     ]
    },
    "us-gaap_RetainedEarningsAccumulatedDeficit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RetainedEarningsAccumulatedDeficit",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Retained Earnings (Accumulated Deficit)",
        "terseLabel": "Retained earnings",
        "documentation": "Amount of accumulated undistributed earnings (deficit)."
       }
      }
     },
     "auth_ref": [
      "r55",
      "r77",
      "r852",
      "r884",
      "r889",
      "r899",
      "r932",
      "r1132"
     ]
    },
    "us-gaap_RetainedEarningsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RetainedEarningsMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Retained Earnings [Member]",
        "terseLabel": "Retained earnings",
        "documentation": "Accumulated undistributed earnings (deficit)."
       }
      }
     },
     "auth_ref": [
      "r164",
      "r171",
      "r172",
      "r223",
      "r224",
      "r225",
      "r230",
      "r238",
      "r240",
      "r242",
      "r335",
      "r340",
      "r369",
      "r419",
      "r499",
      "r514",
      "r515",
      "r527",
      "r528",
      "r529",
      "r533",
      "r542",
      "r543",
      "r611",
      "r614",
      "r615",
      "r619",
      "r635",
      "r689",
      "r692",
      "r880",
      "r882",
      "r906",
      "r1485"
     ]
    },
    "us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RevenueFromContractWithCustomerExcludingAssessedTax",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "parentTag": "us-gaap_RevenuesNetOfInterestExpense",
       "weight": 1.0,
       "order": 9.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revenue from Contract with Customer, Excluding Assessed Tax",
        "terseLabel": "Other",
        "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."
       }
      }
     },
     "auth_ref": [
      "r109",
      "r110",
      "r260",
      "r272",
      "r273",
      "r287",
      "r293",
      "r296",
      "r298",
      "r300",
      "r444",
      "r445",
      "r446",
      "r790",
      "r1066",
      "r1068"
     ]
    },
    "us-gaap_RevenuesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RevenuesAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revenues [Abstract]",
        "terseLabel": "Revenues:"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_RevenuesBeforeNonSegmentActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RevenuesBeforeNonSegmentActivities",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails": {
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of revenue recognized from goods sold, services rendered, insurance premiums, or other activities that constitute an earning process. Includes, but is not limited to, investment and interest income before deduction of interest expense when recognized as a component of revenue, and sales and trading gain (loss). This amount excludes non-segment activities.",
        "label": "Revenues Before Non Segment Activities",
        "totalLabel": "Total net revenues"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RevenuesNetOfInterestExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RevenuesNetOfInterestExpense",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revenues, Net of Interest Expense",
        "totalLabel": "Total net revenues",
        "documentation": "Amount of revenue recognized from goods sold, services rendered, insurance premiums, or other activities that constitute an earning process. Includes, but is not limited to, investment and interest income after deduction of interest expense when recognized as a component of revenue, and sales and trading gain (loss)."
       }
      }
     },
     "auth_ref": [
      "r109",
      "r110",
      "r260",
      "r272",
      "r273",
      "r287",
      "r293",
      "r296",
      "r298",
      "r300"
     ]
    },
    "us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Right-of-Use Asset Obtained in Exchange for Operating Lease Liability",
        "terseLabel": "Operating lease right-of-use assets recognized",
        "verboseLabel": "Operating right-of-use assets recognized",
        "documentation": "Amount of increase in right-of-use asset obtained in exchange for operating lease liability."
       }
      }
     },
     "auth_ref": [
      "r704",
      "r1131"
     ]
    },
    "pfsi_RiskBasedCapital": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RiskBasedCapital",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRegulatoryCapitalAndLiquidityRequirementsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of risk-based capital as defined in the regulations.",
        "label": "Risk Based Capital",
        "terseLabel": "Risk-based capital"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RisksAndUncertaintiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RisksAndUncertaintiesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Concentration of Risk"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_RoyalBankOfCanadaMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "RoyalBankOfCanadaMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeLiabilitiesFinancialLiabilitiesAndCollateralHeldByCounterpartyDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoansSoldUnderAgreementToRepurchaseByCounterpartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Royal Bank of Canada.",
        "label": "Royal Bank of Canada",
        "terseLabel": "Royal Bank of Canada"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_Rule10b51ArrAdoptedFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "Rule10b51ArrAdoptedFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Rule 10b5-1 Arrangement Adopted [Flag]",
        "terseLabel": "Rule 10b5-1 Arrangement Adopted"
       }
      }
     },
     "auth_ref": [
      "r1243"
     ]
    },
    "ecd_Rule10b51ArrTrmntdFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "Rule10b51ArrTrmntdFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Rule 10b5-1 Arrangement Terminated [Flag]",
        "terseLabel": "Rule 10b5-1 Arrangement Terminated"
       }
      }
     },
     "auth_ref": [
      "r1243"
     ]
    },
    "pfsi_SaleOfAssetsUnderAgreementsToRepurchase": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "SaleOfAssetsUnderAgreementsToRepurchase",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds from sale of assets under agreements to repurchase.",
        "label": "Sale Of Assets Under Agreements To Repurchase",
        "terseLabel": "Sale of assets under agreements to repurchase"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SalesRevenueNetMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SalesRevenueNetMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureConcentrationOfRiskDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revenue Benchmark [Member]",
        "terseLabel": "Net Revenue",
        "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."
       }
      }
     },
     "auth_ref": [
      "r300",
      "r1320",
      "r1321"
     ]
    },
    "pfsi_SantanderUsCapitalMarketsLlcMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "SantanderUsCapitalMarketsLlcMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeAssetsFinancialAssetsAndCollateralHeldByCounterpartyDetails",
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeLiabilitiesFinancialLiabilitiesAndCollateralHeldByCounterpartyDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtPrincipalOnlyStrippedMbsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Santander US Capital Markets LLC.",
        "label": "Santander US Capital Markets LLC [Member]",
        "terseLabel": "Santander US Capital Markets LLC"
       }
      }
     },
     "auth_ref": []
    },
    "srt_ScenarioUnspecifiedDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "ScenarioUnspecifiedDomain",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Scenario [Domain]",
        "documentation": "Scenario reported, distinguishing information from actual fact. Includes, but is not limited to, pro forma and forecast. Excludes actual facts."
       }
      }
     },
     "auth_ref": [
      "r159",
      "r175",
      "r177",
      "r243",
      "r460",
      "r1254"
     ]
    },
    "us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureEarningsPerShareDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Antidilutive Security, Excluded EPS Calculation [Table]",
        "documentation": "Disclosure of information about security that could potentially dilute basic earnings per share (EPS) in future that was not included in calculation of diluted EPS."
       }
      }
     },
     "auth_ref": [
      "r256"
     ]
    },
    "us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureEarningsPerShareTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share [Table Text Block]",
        "terseLabel": "Schedule of anti-dilutive shares outstanding",
        "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."
       }
      }
     },
     "auth_ref": [
      "r16"
     ]
    },
    "pfsi_ScheduleOfAssumptionsForFairValueAtTheTimeOfInitialRecognitionOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrServicingLiabilitiesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ScheduleOfAssumptionsForFairValueAtTheTimeOfInitialRecognitionOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrServicingLiabilitiesTableTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of all information related to the key inputs and assumptions (including, at a minimum, but not limited to, and if applicable, quantitative information about discount rates, expected prepayments including the expected weighted-average life of prepaid financial assets, and anticipated credit losses) used in measuring the fair value of assets or liabilities that relate to the transferor's continuing involvement with transferred financial assets, at the time of initial recognition.",
        "label": "Schedule of Assumptions for Fair Value at the Time of Initial Recognition of Interests Continued to be Held by Transferor Servicing Assets or Servicing Liabilities [Table Text Block]",
        "terseLabel": "Quantitative summary of key inputs or assumptions used in the valuation of financial statement items, excluding MSR purchases"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ScheduleOfCarryingValueAndFairValueOfDebtTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ScheduleOfCarryingValueAndFairValueOfDebtTableTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of carrying value and fair value of debt.",
        "label": "Schedule Of Carrying Value and Fair Value Of Debt Table Text Block",
        "terseLabel": "Summary of carrying value and fair value of debt"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ScheduleOfCashFlowsBetweenCompanyAndTransfereesUponSaleOfMortgageLoansInTransactionsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ScheduleOfCashFlowsBetweenCompanyAndTransfereesUponSaleOfMortgageLoansInTransactionsTableTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of cash flows between the entity and transferees upon sale of mortgage loans in transactions where the entity maintains continuing involvement with the mortgage loans.",
        "label": "Schedule of Cash Flows Between Company and Transferees upon Sale of Mortgage Loans in Transactions [Table Text Block]",
        "terseLabel": "Summary of cash flows between the Company and transferees upon sale of loans in transactions"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ScheduleOfCompensationCostAndGrantDateFairValueAndGrantedAndVestedUnitsForShareBasedPaymentArrangementsByTypeTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ScheduleOfCompensationCostAndGrantDateFairValueAndGrantedAndVestedUnitsForShareBasedPaymentArrangementsByTypeTableTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureStockBasedCompensationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of share-based compensation plans that may be presented in a single table for granted, vested and grant date fair value and compensation expense.",
        "label": "Schedule Of Compensation Cost And Grant Date Fair Value And Granted and Vested Units For Share Based Payment Arrangements By Type Table Text Block",
        "terseLabel": "Summary of the stock-based compensation activity"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfComplianceWithRegulatoryCapitalRequirementsForMortgageCompaniesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfComplianceWithRegulatoryCapitalRequirementsForMortgageCompaniesTable",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRegulatoryCapitalAndLiquidityRequirementsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Banking Regulation, Mortgage Banking, Capital Requirement [Table]",
        "documentation": "Disclosure of information about actual and required net worth for mortgage banking by secondary market investor and state-imposed regulatory mandate."
       }
      }
     },
     "auth_ref": [
      "r1024",
      "r1027",
      "r1028",
      "r1029"
     ]
    },
    "us-gaap_ScheduleOfComplianceWithRegulatoryCapitalRequirementsForMortgageCompaniesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfComplianceWithRegulatoryCapitalRequirementsForMortgageCompaniesTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRegulatoryCapitalAndLiquidityRequirementsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Banking Regulation, Mortgage Banking, Capital Requirement [Table Text Block]",
        "terseLabel": "Summary of agencies' capital and liquidity requirements by each agency",
        "documentation": "Tabular disclosure of required and actual net worth amounts for mortgage banking as defined by regulatory framework."
       }
      }
     },
     "auth_ref": [
      "r1489",
      "r1490",
      "r1491",
      "r1492"
     ]
    },
    "us-gaap_ScheduleOfDebtTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfDebtTableTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Debt [Table Text Block]",
        "terseLabel": "Summary of note payable",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ScheduleOfDerivativeAndFinancialAssetsBySignificantCounterpartyNotOffsetTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ScheduleOfDerivativeAndFinancialAssetsBySignificantCounterpartyNotOffsetTableTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of derivative and other financial assets by significant counterparty that are not subject to offsetting.",
        "label": "Schedule of Derivative and Financial Assets by Significant Counterparty Not Offset [Table Text Block]",
        "terseLabel": "Summary of the amount of derivative asset positions by significant counterparty after considering master netting arrangements and financial instruments or cash pledged"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ScheduleOfDerivativeAndFinancialLiabilitiesBySignificantCounterpartyNotOffsetTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ScheduleOfDerivativeAndFinancialLiabilitiesBySignificantCounterpartyNotOffsetTableTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of derivative and other financial liabilities by significant counterparty that are not subject to offsetting.",
        "label": "Schedule of Derivative and Financial Liabilities by Significant Counterparty Not Offset [Table Text Block]",
        "terseLabel": "Summary of amount of derivative liabilities and assets sold under agreements to repurchase by significant counterparty after considering master netting arrangements and financial instruments or cash pledged"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Instruments, Gain (Loss) [Table Text Block]",
        "terseLabel": "Summary of gains (losses) recognized on derivative financial instruments and the respective income statement line items",
        "documentation": "Tabular disclosure of the location and amount of derivative instruments and nonderivative instruments designated as hedging instruments reported before netting adjustments, and the amount of gain (loss) on derivative instruments and nonderivative instruments designated and qualified as hedging instruments."
       }
      }
     },
     "auth_ref": [
      "r563",
      "r566",
      "r571",
      "r579",
      "r590"
     ]
    },
    "us-gaap_ScheduleOfDerivativeInstrumentsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfDerivativeInstrumentsTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Derivative Instruments [Table Text Block]",
        "terseLabel": "Summary of derivative financial instruments",
        "documentation": "Tabular disclosure of pertinent information about a derivative or group of derivatives on a disaggregated basis, such as for individual instruments, or small groups of similar instruments. May include a combination of the type of instrument, risks being hedged, notional amount, hedge designation, related hedged item, inception date, maturity date, or other relevant item."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureEarningsPerShareTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Earnings Per Share, Basic and Diluted [Table Text Block]",
        "terseLabel": "Summary of basic and diluted earnings per share calculations",
        "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."
       }
      }
     },
     "auth_ref": [
      "r1316"
     ]
    },
    "us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Table Text Block]",
        "terseLabel": "Summary of financial statement items measured at estimated fair value on a recurring basis",
        "documentation": "Tabular disclosure of assets and liabilities, including [financial] instruments measured at fair value that are classified in stockholders' equity, if any, that are measured at fair value on a recurring basis. The disclosures contemplated herein include the fair value measurements at the reporting date by the level within the fair value hierarchy in which the fair value measurements in their entirety fall, segregating fair value measurements using quoted prices in active markets for identical assets (Level 1), significant other observable inputs (Level 2), and significant unobservable inputs (Level 3)."
       }
      }
     },
     "auth_ref": [
      "r1396",
      "r1397"
     ]
    },
    "pfsi_ScheduleOfFairValueInputsAndSensitivityAnalysisOfFairValueAndAmortizedCostAdverseChangeInAssumptionsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ScheduleOfFairValueInputsAndSensitivityAnalysisOfFairValueAndAmortizedCostAdverseChangeInAssumptionsTableTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of quantitative information about the inputs used in the valuation of the financial statement items and the effect on the estimated fair value and amortized cost from adverse changes in the assumptions.",
        "label": "Schedule of Fair Value Inputs and Sensitivity Analysis of Fair Value and Amortized Cost Adverse Change in Assumptions [Table Text Block]",
        "terseLabel": "Quantitative summary of key inputs used in the valuation of the MSRs at year end and the effect on estimated fair value from adverse changes in those inputs"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ScheduleOfFairValueOptionAggregateDifferenceOfFairValueAndUnpaidPrincipalBalanceOfLoansTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ScheduleOfFairValueOptionAggregateDifferenceOfFairValueAndUnpaidPrincipalBalanceOfLoansTableTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the amount of the difference between the aggregate fair value and the aggregate unpaid principal balance of loans held as assets for which the fair value option has been elected.",
        "label": "Schedule of Fair Value Option Aggregate Difference of Fair Value and Unpaid Principal Balance of Loans [Table Text Block]",
        "terseLabel": "Schedule of fair value and related principal amounts due upon maturity of assets and liabilities accounted for under the fair value option"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ScheduleOfFairValueOptionChangesInFairValueGainLossTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ScheduleOfFairValueOptionChangesInFairValueGainLossTableTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the amounts of gains and losses from fair value changes included in earnings and in which line in the income statement those gains and losses are reported whether or not combined with gains and losses from items required to be accounted for at fair value.",
        "label": "Schedule of Fair Value Option Changes in Fair Value Gain (Loss) [Table Text Block]",
        "terseLabel": "Summary of net gains (losses) from changes in fair values included in earnings for financial statement items carried at fair value"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ScheduleOfGainsLossesOnAssetsMeasuredAtFairValueOnNonRecurringBasisTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ScheduleOfGainsLossesOnAssetsMeasuredAtFairValueOnNonRecurringBasisTableTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the total gains or losses on assets, including financial instruments measured at fair value on a nonrecurring basis.",
        "label": "Schedule of Gains (Losses) on Assets Measured at Fair Value on Non Recurring Basis [Table Text Block]",
        "terseLabel": "Summary of total gains (losses) on assets measured at estimated fair values on a nonrecurring basis"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ScheduleOfGeographicalDistributionOfMortgageServicingPortfolioTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ScheduleOfGeographicalDistributionOfMortgageServicingPortfolioTableTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the geographical distribution of loans included in the entity's servicing portfolio for the top five states as measured by the total unpaid principal balance.",
        "label": "Schedule of Geographical Distribution of Mortgage Servicing Portfolio [Table Text Block]",
        "terseLabel": "Summary of the geographical distribution of loans for the top five and all other states as measured by the total unpaid principal balance (UPB)"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ScheduleOfLiabilityForLossesUnderRepresentationsAndWarrantiesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ScheduleOfLiabilityForLossesUnderRepresentationsAndWarrantiesTable",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLiabilityForLossesUnderRepresentationsAndWarrantiesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureLiabilityForLossesUnderRepresentationsAndWarrantiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Table representing data pertaining to liability for losses under representations and warranties",
        "label": "Schedule of Liability for Losses Under Representations and Warranties [Table]"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ScheduleOfLoanSalesAndServicingActivitiesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ScheduleOfLoanSalesAndServicingActivitiesTable",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesGeographicalDistributionOfLoansDetails",
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfMortgageServicingPortfolioDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Table representing data pertaining to loan sales and servicing activities.",
        "label": "Schedule of Loan Sales and Servicing Activities [Table]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfMaturitiesOfLongTermDebtTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Maturities of Long-Term Debt [Table Text Block]",
        "terseLabel": "Summary of maturities of Long-Term Debt",
        "documentation": "Tabular disclosure of maturity and sinking fund requirement for long-term debt."
       }
      }
     },
     "auth_ref": [
      "r6"
     ]
    },
    "pfsi_ScheduleOfMortgageLoansOnRealEstateTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ScheduleOfMortgageLoansOnRealEstateTableTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoansHeldForSaleAtFairValueTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of mortgage loans held for sale, information may be provided for each individual mortgage loan or groups of mortgage loans.",
        "label": "Schedule of Mortgage Loans on Real Estate [Table Text Block]",
        "terseLabel": "Summary of loans held for sale at fair value"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ScheduleOfMortgageLoansRepurchaseActivityTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ScheduleOfMortgageLoansRepurchaseActivityTableTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLiabilityForLossesUnderRepresentationsAndWarrantiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the activities of mortgage loans.",
        "label": "Schedule of Mortgage Loans Repurchase Activity [Table Text Block]",
        "terseLabel": "Summary of company's liability for losses under representations and warranties"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ScheduleOfMortgageServicingPortfolioTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ScheduleOfMortgageServicingPortfolioTableTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of mortgage servicing portfolio of the entity.",
        "label": "Schedule of Mortgage Servicing Portfolio [Table Text Block]",
        "terseLabel": "Summary of servicing portfolio"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ScheduleOfNetServicingIncomeTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ScheduleOfNetServicingIncomeTableTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of servicing fees, late fees and ancillary and other fees related to the servicing assets.",
        "label": "Schedule of Net Servicing Income [Table Text Block]",
        "terseLabel": "Summary of servicing fees, late fees and ancillary and other fees relating to MSRs recorded on the consolidated statements of income"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDisaggregationOfCertainExpenseCaptionsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Standards Update and Change in Accounting Principle [Table Text Block]",
        "verboseLabel": "Schedule of disaggregation disclosures required by ASU 2024-03",
        "documentation": "Tabular disclosure of changes in accounting principles, including adoption of new accounting pronouncements, that describes the new methods, amount and effects on financial statement line items."
       }
      }
     },
     "auth_ref": [
      "r17",
      "r18",
      "r1273",
      "r1313",
      "r1314",
      "r1381"
     ]
    },
    "us-gaap_ScheduleOfOtherAssetsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfOtherAssetsTableTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureOtherAssetsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Other Assets [Table Text Block]",
        "terseLabel": "Summary of other assets",
        "documentation": "Tabular disclosure of the carrying amounts of other assets. This disclosure includes other current assets and other noncurrent assets."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfParticipatingMortgageLoansTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfParticipatingMortgageLoansTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Participating Mortgage Loans [Table Text Block]",
        "terseLabel": "Summary of participating mortgage loans",
        "documentation": "Tabular disclosure of the terms and amounts of participation in loan arrangements."
       }
      }
     },
     "auth_ref": [
      "r23"
     ]
    },
    "pfsi_ScheduleOfRelatedPartyTransactionsBaseManagementAndPerformanceIncentiveFeesEarnedTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ScheduleOfRelatedPartyTransactionsBaseManagementAndPerformanceIncentiveFeesEarnedTableTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of related party transactions pertaining to base management and performance incentive fees.",
        "label": "Schedule of Related Party Transactions Base Management and Performance Incentive Fees Earned [Table Text Block]",
        "terseLabel": "Summary of management fees earned"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfRelatedPartyTransactionsByRelatedPartyTable",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureNetGainsOnLoansHeldForSaleDetails",
      "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpenseDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsAmountsDueFromAffiliateDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsExchangedPrivateNationalMortgageAcceptanceCompanyLlcUnitholdersDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsInvestingActivitiesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsManagementFeesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsMortgageLoanServicingDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsOtherTransactionsReimbursementOfCommonOverheadExpensesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transaction [Table]",
        "documentation": "Disclosure of information about related party transaction."
       }
      }
     },
     "auth_ref": [
      "r207",
      "r213",
      "r214",
      "r722",
      "r723",
      "r725",
      "r957",
      "r958",
      "r961"
     ]
    },
    "pfsi_ScheduleOfRelatedPartyTransactionsInvestmentActivityTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ScheduleOfRelatedPartyTransactionsInvestmentActivityTableTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of related party transactions pertaining to investment activity between the entity and related parties.",
        "label": "Schedule of Related Party Transactions Investment Activity Table Text Block]",
        "verboseLabel": "Summary of investing activity between the Company and affiliate"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ScheduleOfRelatedPartyTransactionsLendingActivityTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ScheduleOfRelatedPartyTransactionsLendingActivityTableTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of related party transactions pertaining to lending activity between the entity and related parties.",
        "label": "Schedule of Related Party Transactions Lending Activity [Table Text Block]",
        "terseLabel": "Summary of lending activity between the Company and affiliate"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ScheduleOfRelatedPartyTransactionsMortgageLoanServicingFeesEarnedTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ScheduleOfRelatedPartyTransactionsMortgageLoanServicingFeesEarnedTableTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of related party transactions pertaining to mortgage loan servicing fees.",
        "label": "Schedule of Related Party Transactions Mortgage Loan Servicing Fees Earned [Table Text Block]",
        "terseLabel": "Summary of loan servicing fees earned from PMT"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ScheduleOfRelatedPartyTransactionsReimbursementOfExpensesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ScheduleOfRelatedPartyTransactionsReimbursementOfExpensesTableTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of related party transactions pertaining to foregoing reimbursement of expenses incurred by affiliate.",
        "label": "Schedule of Related Party Transactions Reimbursement of Expenses [Table Text Block]",
        "terseLabel": "Summary of reimbursement of expenses"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfRelatedPartyTransactionsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfRelatedPartyTransactionsTableTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Related Party Transactions [Table Text Block]",
        "terseLabel": "Summary of amounts due from and payable to affiliate",
        "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."
       }
      }
     },
     "auth_ref": [
      "r1426",
      "r1427"
     ]
    },
    "us-gaap_ScheduleOfRepurchaseAgreementCounterpartiesWithWhomRepurchaseAgreementsExceed10PercentOfStockholdersEquityTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfRepurchaseAgreementCounterpartiesWithWhomRepurchaseAgreementsExceed10PercentOfStockholdersEquityTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Repurchase Agreement Counterparties with Whom Repurchase Agreements Exceed 10 Percent of Stockholders' Equity [Table Text Block]",
        "terseLabel": "Summary of amount at risk relating to the assets sold under agreements to repurchase by counterparty",
        "documentation": "Tabular disclosure, as of the balance sheet date, of the amount at risk under repurchase agreements with any individual counterparty or group of related counterparties which exceeds 10 percent of stockholders' equity. Includes the name of each counterparty or group of related counterparties, the amount at risk with each, and the weighted average maturity of the repurchase agreements with each. The amount at risk under repurchase agreements is defined as the excess of carrying amount (or market value, if higher than the carrying amount or if there is no carrying amount) of the securities or other assets sold under agreement to repurchase, including accrued interest plus any cash or other assets on deposit to secure the repurchase obligation, over the amount of the repurchase liability (adjusted for accrued interest)."
       }
      }
     },
     "auth_ref": [
      "r1300",
      "r1308",
      "r1439"
     ]
    },
    "us-gaap_ScheduleOfRepurchaseAgreements": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfRepurchaseAgreements",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Repurchase Agreements [Table Text Block]",
        "terseLabel": "Summary of financial data pertaining to assets sold under agreements to repurchase",
        "documentation": "The entire disclosure for repurchase agreements."
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ScheduleOfSaleOfLoansBetweenCompanyAndTransfereesUponSaleOfMortgageLoansInTransactionsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ScheduleOfSaleOfLoansBetweenCompanyAndTransfereesUponSaleOfMortgageLoansInTransactionsTableTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summary of unpaid principal balance and credit performance of mortgage loans sol by the Company in which it maintains continuing performance.",
        "label": "Schedule Of Sale Of Loans Between Company And Transferees Upon Sale Of Mortgage Loans In Transactions Table Text Block",
        "terseLabel": "Summary of sale of loans between the Company and transferees upon sale of loans in transactions"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfSegmentReportingInformationBySegmentTable",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Segment Reporting Information, by Segment [Table]",
        "documentation": "Disclosure of information about profit (loss) and total assets by reportable segment."
       }
      }
     },
     "auth_ref": [
      "r19",
      "r20",
      "r21"
     ]
    },
    "us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfSegmentReportingInformationBySegmentTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Segment Reporting Information, by Segment [Table Text Block]",
        "terseLabel": "Summary of financial highlights by segment",
        "documentation": "Tabular disclosure of the profit or loss and total assets for each reportable segment. An entity discloses certain information on each reportable segment if the amounts (a) are included in the measure of segment profit or loss reviewed by the chief operating decision maker or (b) are otherwise regularly provided to the chief operating decision maker, even if not included in that measure of segment profit or loss."
       }
      }
     },
     "auth_ref": [
      "r19",
      "r20",
      "r21"
     ]
    },
    "us-gaap_ScheduleOfServicingAssetsAtFairValueTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfServicingAssetsAtFairValueTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Servicing Assets at Fair Value [Table Text Block]",
        "terseLabel": "Schedule of activity in MSRs carried at fair value",
        "documentation": "Tabular disclosure of the activity in the balance of servicing assets (including a description of where changes in fair value are reported in the statement of income for each period for which results of operations are presented), including but not limited to, the following: beginning and ending balances, additions (for instance, through purchases of servicing assets), disposals, changes in fair value during the period resulting from changes in inputs or assumptions used in the valuation model, other changes in fair value along with a description of those changes, and other changes that affect the balance along with a description of those changes."
       }
      }
     },
     "auth_ref": [
      "r1442"
     ]
    },
    "us-gaap_ScheduleOfServicingLiabilitiesAtFairValueTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfServicingLiabilitiesAtFairValueTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Servicing Liabilities at Fair Value [Table Text Block]",
        "terseLabel": "Schedule of activity in mortgage servicing liability carried at fair value",
        "documentation": "Tabular disclosure of the activity in the balance of servicing liabilities subsequently measured at fair value (including a description of where changes in fair value are reported in the statement of income for each period for which results of operations are presented), including but not limited to, the following: beginning and ending balances, additions (through assumptions of servicing obligations, and servicing obligations that result from transfers of financial assets), disposals, changes in fair value during the period resulting from changes in inputs or assumptions used in the valuation model, other changes in fair value and a description of those changes, and other changes that affect the balance and a description of those changes."
       }
      }
     },
     "auth_ref": [
      "r1442"
     ]
    },
    "us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureStockBasedCompensationOtherDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Share-Based Compensation Arrangements by Share-Based Payment Award [Table]",
        "documentation": "Disclosure of information about share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r462",
      "r463",
      "r466",
      "r467",
      "r468",
      "r469",
      "r470",
      "r471",
      "r472",
      "r473",
      "r474",
      "r475",
      "r476",
      "r477",
      "r478",
      "r479",
      "r480",
      "r481",
      "r482",
      "r483",
      "r484",
      "r485",
      "r486",
      "r487",
      "r488",
      "r489",
      "r490",
      "r491",
      "r492",
      "r496"
     ]
    },
    "us-gaap_ScheduleOfShortTermDebtTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfShortTermDebtTable",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMaturitiesOfOutstandingAdvancesUnderRepurchaseAgreementsDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoanParticipationAndSaleAgreementDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoansSoldUnderAgreementToRepurchaseByCounterpartyDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtPrincipalOnlyStrippedMbsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Short-Term Debt [Table]",
        "documentation": "Disclosure of information about short-term debt arrangement. Includes, but is not limited to, description of arrangement, lender, repayment term, weighted-average interest rate, borrowed amount, and description and amount of refinancing of short-term obligation when obligation is excluded from current liability."
       }
      }
     },
     "auth_ref": [
      "r43"
     ]
    },
    "pfsi_ScheduleOfTermNotesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ScheduleOfTermNotesTableTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of information pertaining to term notes issued, including but not limited to identification of terms, features, collateral requirements and other information necessary to a fair presentation.",
        "label": "Schedule Of Term Notes Table Text Block",
        "terseLabel": "Summary of term notes issued"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfTreasuryStockByClassTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfTreasuryStockByClassTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureStockholdersEquityTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class of Treasury Stock [Table Text Block]",
        "terseLabel": "Summary of share repurchase activity",
        "documentation": "Tabular disclosure of treasury stock, including, but not limited to, average cost per share, description of share repurchase program, shares repurchased, shares held for each class of treasury stock."
       }
      }
     },
     "auth_ref": [
      "r26",
      "r27",
      "r28",
      "r29"
     ]
    },
    "us-gaap_ScheduleOfUnderlyingAssetsOfRepurchaseAgreementsWhenAmountOfRepurchaseAgreementsExceeds10PercentOfAssetsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfUnderlyingAssetsOfRepurchaseAgreementsWhenAmountOfRepurchaseAgreementsExceeds10PercentOfAssetsTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Underlying Assets of Repurchase Agreements when Amount of Repurchase Agreements Exceeds 10 Percent of Assets [Table Text Block]",
        "terseLabel": "Summary of maturities of outstanding advances under repurchase agreements by maturity date",
        "documentation": "Tabular disclosure, as of the most recent balance sheet date, of securities or other assets sold under repurchase agreements when this amount exceeds 10 percent of total assets. Disclosure may include the following: the type of securities or assets sold under agreements to repurchase, the carrying amount, market value (including accrued interest plus any cash or other assets on deposit. The information is segregated into securities maturing (1) overnight; (2) term up to 30 days; (3) term of 30 to 90 days; (4) term over 90 days; (5) demand."
       }
      }
     },
     "auth_ref": [
      "r207",
      "r219"
     ]
    },
    "pfsi_ScheduleOfUnsecuredDebtTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ScheduleOfUnsecuredDebtTableTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of information pertaining to unsecured 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 Unsecured Debt Table Text Block",
        "terseLabel": "Summary of unsecured notes payable"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ScheduleOfUnsecuredNotesIssuedTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ScheduleOfUnsecuredNotesIssuedTableTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of information pertaining to term unsecured notes issued, including but not limited to identification of terms, features, collateral requirements and other information necessary to a fair presentation.",
        "label": "Schedule Of Unsecured Notes Issued Table Text Block",
        "terseLabel": "Summary of Unsecured Notes issued"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfVariableInterestEntitiesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfVariableInterestEntitiesTable",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureOtherAssetsOtherDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Variable Interest Entity [Table]",
        "documentation": "Disclosure of information about variable interest held, whether or not such variable interest entity (VIE) is included in consolidated financial statements."
       }
      }
     },
     "auth_ref": [
      "r33",
      "r34",
      "r35",
      "r36",
      "r37",
      "r545",
      "r546",
      "r549",
      "r550",
      "r755",
      "r756",
      "r757"
     ]
    },
    "us-gaap_SecondaryMarketInvestorDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SecondaryMarketInvestorDomain",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRegulatoryCapitalAndLiquidityRequirementsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Banking Regulation, Mortgage Banking, Secondary Market Investor [Domain]",
        "documentation": "Secondary market investor imposing net worth requirement for mortgage banking entity."
       }
      }
     },
     "auth_ref": [
      "r1024",
      "r1027",
      "r1028",
      "r1029"
     ]
    },
    "us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SecuritiesSoldUnderAgreementsToRepurchaseMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoansHeldForSaleAtFairValueDetails",
      "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpenseDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoansSoldUnderAgreementToRepurchaseByCounterpartyDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtPrincipalOnlyStrippedMbsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Securities Sold under Agreements to Repurchase [Member]",
        "terseLabel": "Loan Repo Facility",
        "verboseLabel": "Assets sold under agreements to repurchase",
        "documentation": "The securities that an institution sells and agrees to repurchase (the identical or substantially the same securities) as a seller-borrower at a specified date for a specified price, also known as a repurchase agreement, or repo. Most repos involve obligations of the federal government or its agencies, but other financial instruments, such as commercial paper, banker's acceptances, and negotiable certificates of deposit, are sometimes used in repos."
       }
      }
     },
     "auth_ref": [
      "r1438"
     ]
    },
    "dei_Security12bTitle": {
     "xbrltype": "securityTitleItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "Security12bTitle",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Title of 12(b) Security",
        "documentation": "Title of a 12(b) registered security."
       }
      }
     },
     "auth_ref": [
      "r1168"
     ]
    },
    "dei_SecurityExchangeName": {
     "xbrltype": "edgarExchangeCodeItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "SecurityExchangeName",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Exchange Name",
        "documentation": "Name of the Exchange on which a security is registered."
       }
      }
     },
     "auth_ref": [
      "r1170"
     ]
    },
    "us-gaap_SegmentDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SegmentDomain",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segments [Domain]",
        "documentation": "Components of an entity that engage in business activities from which they may earn revenue and incur expenses, including transactions with other components of the same entity."
       }
      }
     },
     "auth_ref": [
      "r109",
      "r110",
      "r111",
      "r112",
      "r260",
      "r268",
      "r271",
      "r272",
      "r273",
      "r274",
      "r275",
      "r276",
      "r277",
      "r278",
      "r279",
      "r280",
      "r281",
      "r282",
      "r284",
      "r285",
      "r286",
      "r287",
      "r288",
      "r289",
      "r290",
      "r291",
      "r293",
      "r294",
      "r295",
      "r300",
      "r352",
      "r353",
      "r354",
      "r355",
      "r356",
      "r357",
      "r358",
      "r359",
      "r360",
      "r367",
      "r375",
      "r376",
      "r537",
      "r538",
      "r863",
      "r864",
      "r865",
      "r866",
      "r867",
      "r868",
      "r869",
      "r870",
      "r871",
      "r872",
      "r873",
      "r1076",
      "r1079",
      "r1080",
      "r1086",
      "r1146",
      "r1449",
      "r1451",
      "r1452",
      "r1453",
      "r1454",
      "r1455",
      "r1456",
      "r1457",
      "r1458",
      "r1459",
      "r1460",
      "r1461",
      "r1462",
      "r1463",
      "r1464",
      "r1465",
      "r1466",
      "r1467",
      "r1468",
      "r1469",
      "r1470",
      "r1471",
      "r1472",
      "r1473",
      "r1474",
      "r1475",
      "r1476",
      "r1477",
      "r1478"
     ]
    },
    "us-gaap_SegmentExpenditureAdditionToLongLivedAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SegmentExpenditureAdditionToLongLivedAssets",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment, Expenditure, Addition to Long-Lived Assets",
        "terseLabel": "Furniture, fixtures, equipment and building improvements",
        "documentation": "Amount of expenditure for addition to long-lived assets included in determination of segment assets by chief operating decision maker (CODM) or otherwise regularly provided to CODM. Excludes expenditure for addition to financial instrument, long-term customer relationship of financial institution, mortgage and other servicing rights, deferred policy acquisition cost, and deferred tax assets."
       }
      }
     },
     "auth_ref": [
      "r260",
      "r282",
      "r293",
      "r1079",
      "r1080"
     ]
    },
    "srt_SegmentGeographicalDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "SegmentGeographicalDomain",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesGeographicalDistributionOfLoansDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Geographical [Domain]",
        "documentation": "Geographical area."
       }
      }
     },
     "auth_ref": [
      "r121",
      "r123",
      "r126",
      "r128",
      "r129",
      "r130",
      "r131",
      "r132",
      "r134",
      "r135",
      "r136",
      "r137",
      "r138",
      "r140",
      "r141",
      "r142",
      "r264",
      "r298",
      "r299",
      "r791",
      "r792",
      "r793",
      "r794",
      "r795",
      "r796",
      "r797",
      "r798",
      "r799",
      "r800",
      "r801",
      "r802",
      "r803",
      "r804",
      "r805",
      "r806",
      "r807",
      "r808",
      "r809",
      "r810",
      "r811",
      "r812",
      "r813",
      "r814",
      "r815",
      "r816",
      "r817",
      "r818",
      "r819",
      "r820",
      "r821",
      "r822",
      "r823",
      "r824",
      "r831",
      "r832",
      "r833",
      "r834",
      "r912",
      "r915",
      "r917",
      "r988",
      "r992",
      "r998",
      "r1018",
      "r1030",
      "r1032",
      "r1033",
      "r1034",
      "r1042",
      "r1043",
      "r1044",
      "r1045",
      "r1047",
      "r1048",
      "r1049",
      "r1050",
      "r1051",
      "r1059",
      "r1071",
      "r1094",
      "r1095",
      "r1135",
      "r1136",
      "r1137",
      "r1138",
      "r1139",
      "r1140",
      "r1141",
      "r1142",
      "r1145",
      "r1152",
      "r1449",
      "r1451",
      "r1452",
      "r1454",
      "r1455",
      "r1456",
      "r1457",
      "r1458",
      "r1459",
      "r1460",
      "r1461",
      "r1462",
      "r1463",
      "r1464",
      "r1465",
      "r1466",
      "r1467",
      "r1468",
      "r1469",
      "r1470",
      "r1471",
      "r1472",
      "r1473",
      "r1474",
      "r1475",
      "r1476",
      "r1477",
      "r1478"
     ]
    },
    "us-gaap_SegmentReportingAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SegmentReportingAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Segments"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SegmentReportingDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SegmentReportingDisclosureTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSegments"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reporting Disclosure [Text Block]",
        "terseLabel": "Segments",
        "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."
       }
      }
     },
     "auth_ref": [
      "r112",
      "r260",
      "r267",
      "r268",
      "r269",
      "r270",
      "r271",
      "r283",
      "r285",
      "r286",
      "r291",
      "r292",
      "r293",
      "r294",
      "r295",
      "r296",
      "r297",
      "r300",
      "r1075",
      "r1077",
      "r1078",
      "r1079",
      "r1081",
      "r1082",
      "r1083"
     ]
    },
    "us-gaap_SegmentReportingInformationLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SegmentReportingInformationLineItems",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reporting Information [Line Items]",
        "terseLabel": "Segments and Related Information",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_SeniorNotesPayableDue2025Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "SeniorNotesPayableDue2025Member",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtMaturitiesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Senior Notes Payable Due 2025.",
        "label": "Unsecured Senior Note",
        "terseLabel": "Unsecured Senior Note"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_SeniorNotesPayableDueDecember2029Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "SeniorNotesPayableDueDecember2029Member",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Senior Notes Payable Due December 2029.",
        "label": "Unsecured Senior Notes Due December 2029",
        "terseLabel": "Unsecured Senior Notes Due December 2029"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_SeniorNotesPayableDueFebruary2029Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "SeniorNotesPayableDueFebruary2029Member",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Senior Notes Payable Due February 2029.",
        "label": "Unsecured Senior Notes Due February 2029",
        "terseLabel": "Unsecured Senior Notes Due February 2029"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_SeniorNotesPayableDueFebruary2033Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "SeniorNotesPayableDueFebruary2033Member",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Senior Notes Payable Due February 2033.",
        "label": "Senior Notes Payable Due February 2033 [Member]",
        "terseLabel": "Unsecured Senior Notes Due February 2033"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_SeniorNotesPayableDueFebruary2034Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "SeniorNotesPayableDueFebruary2034Member",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Senior Notes Payable Due February 2034.",
        "label": "Senior Notes Payable Due February 2034 [Member]",
        "terseLabel": "Unsecured Senior Notes Due February 2034"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_SeniorNotesPayableDueMay2032Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "SeniorNotesPayableDueMay2032Member",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Senior Notes Payable Due May 2032.",
        "label": "Senior Notes Payable Due May 2032 [Member]",
        "terseLabel": "Unsecured Senior Notes Due May 2032"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_SeniorNotesPayableDueNovember2030Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "SeniorNotesPayableDueNovember2030Member",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Senior Notes Payable Due November 2030.",
        "label": "Senior Notes Payable Due November 2030 [Member]",
        "terseLabel": "Unsecured Senior Notes Due November 2030"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_SeniorNotesPayableDueSeptember2031Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "SeniorNotesPayableDueSeptember2031Member",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Senior Notes Payable Due September 2031.",
        "label": "Unsecured Senior Notes Due September 2031",
        "terseLabel": "Unsecured Senior Notes Due September 2031"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_SensitivityAnalysisOfFairValueOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrLiabilitiesImpactOf10PercentAdverseChangeInCostOfServicing": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "SensitivityAnalysisOfFairValueOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrLiabilitiesImpactOf10PercentAdverseChangeInCostOfServicing",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The hypothetical financial impact of a 10 percent adverse change of cost of servicing on the fair value of transferor's interests in transferred financial assets (including any servicing assets or servicing liabilities) as of the balance sheet date.",
        "label": "Sensitivity Analysis of Fair Value of Interests Continued to be Held by Transferor Servicing Assets or Liabilities Impact of 10 Percent Adverse Change in Cost of Servicing",
        "negatedLabel": "Effect on fair value of 10% adverse change"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SensitivityAnalysisOfFairValueOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrLiabilitiesImpactOf10PercentAdverseChangeInPrepaymentSpeed": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SensitivityAnalysisOfFairValueOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrLiabilitiesImpactOf10PercentAdverseChangeInPrepaymentSpeed",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Sensitivity Analysis of Fair Value, Transferor's Interests in Transferred Financial Assets, Impact of 10 Percent Adverse Change in Prepayment Speed",
        "negatedLabel": "Effect on fair value of 10% adverse change",
        "documentation": "The hypothetical financial impact of a 10 percent adverse change of prepayment speed on the fair value of transferor's interests in transferred financial assets (including any servicing assets or servicing liabilities) as of the balance sheet date."
       }
      }
     },
     "auth_ref": [
      "r1437"
     ]
    },
    "pfsi_SensitivityAnalysisOfFairValueOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrLiabilitiesImpactOf10PercentAdverseChangeInPricingSpread": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "SensitivityAnalysisOfFairValueOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrLiabilitiesImpactOf10PercentAdverseChangeInPricingSpread",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The hypothetical financial impact of a 10 percent adverse change of pricing spread on the fair value of transferor's interests in transferred financial assets (including any servicing assets or servicing liabilities) as of the balance sheet date.",
        "label": "Sensitivity Analysis of Fair Value of Interests Continued to be Held by Transferor Servicing Assets or Liabilities Impact of 10 Percent Adverse Change in Pricing Spread",
        "negatedLabel": "Effect on fair value of 10% adverse change"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_SensitivityAnalysisOfFairValueOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrLiabilitiesImpactOf20PercentAdverseChangeInCostOfServicing": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "SensitivityAnalysisOfFairValueOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrLiabilitiesImpactOf20PercentAdverseChangeInCostOfServicing",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The hypothetical financial impact of a 20 percent adverse change of cost of servicing on the fair value of transferor's interests in transferred financial assets (including any servicing assets or servicing liabilities) as of the balance sheet date.",
        "label": "Sensitivity Analysis of Fair Value of Interests Continued to be Held by Transferor Servicing Assets or Liabilities Impact of 20 Percent Adverse Change in Cost of Servicing",
        "negatedLabel": "Effect on fair value of 20% adverse change"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SensitivityAnalysisOfFairValueOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrLiabilitiesImpactOf20PercentAdverseChangeInPrepaymentSpeed": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SensitivityAnalysisOfFairValueOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrLiabilitiesImpactOf20PercentAdverseChangeInPrepaymentSpeed",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Sensitivity Analysis of Fair Value, Transferor's Interests in Transferred Financial Assets, Impact of 20 Percent Adverse Change in Prepayment Speed",
        "negatedLabel": "Effect on fair value of 20% adverse change",
        "documentation": "The hypothetical financial impact of a 20 percent adverse change of prepayment speed on the fair value of transferor's interests in transferred financial assets (including any servicing assets or servicing liabilities) as of the balance sheet date."
       }
      }
     },
     "auth_ref": [
      "r1437"
     ]
    },
    "pfsi_SensitivityAnalysisOfFairValueOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrLiabilitiesImpactOf20PercentAdverseChangeInPricingSpread": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "SensitivityAnalysisOfFairValueOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrLiabilitiesImpactOf20PercentAdverseChangeInPricingSpread",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The hypothetical financial impact of a 20 percent adverse change of pricing spread on the fair value of transferor's interests in transferred financial assets (including any servicing assets or servicing liabilities) as of the balance sheet date.",
        "label": "Sensitivity Analysis of Fair Value of Interests Continued to be Held by Transferor Servicing Assets or Liabilities Impact of 20 Percent Adverse Change in Pricing Spread",
        "negatedLabel": "Effect on fair value of 20% adverse change"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SensitivityAnalysisOfFairValueOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrLiabilitiesImpactOfAdverseChangeInAssumptionLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SensitivityAnalysisOfFairValueOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrLiabilitiesImpactOfAdverseChangeInAssumptionLineItems",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingLiabilitiesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Sensitivity Analysis of Fair Value of Interests Continued to be Held by Transferor, Servicing Assets or Liabilities, Impact of Adverse Change in Assumption [Line Items]",
        "terseLabel": "Sensitivity Analysis of Fair Value of Interests Continued to be Held by Transferor, Servicing Assets or Liabilities, Impact of Adverse Change in Assumption",
        "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."
       }
      }
     },
     "auth_ref": [
      "r750"
     ]
    },
    "pfsi_SensitivityAnalysisOfFairValueOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrLiabilitiesImpactOfOtherThan10Or20PercentAdverseChangeInCostOfServicing": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "SensitivityAnalysisOfFairValueOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrLiabilitiesImpactOfOtherThan10Or20PercentAdverseChangeInCostOfServicing",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The hypothetical financial impact of a specified adverse percentage change in cost of servicing on the fair value of transferor's interests in transferred financial assets (including any servicing assets or servicing liabilities) as of the balance sheet date.",
        "label": "Sensitivity Analysis of Fair Value of Interests Continued to be Held by Transferor Servicing Assets or Liabilities Impact of Other than 10 or 20 Percent Adverse Change in Cost of Servicing",
        "negatedLabel": "Effect on fair value of 5% adverse change"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SensitivityAnalysisOfFairValueOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrLiabilitiesImpactOfOtherThan10Or20PercentAdverseChangeInPrepaymentSpeed": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SensitivityAnalysisOfFairValueOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrLiabilitiesImpactOfOtherThan10Or20PercentAdverseChangeInPrepaymentSpeed",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Sensitivity Analysis of Fair Value, Transferor's Interests in Transferred Financial Assets, Impact of Other than 10 or 20 Percent Adverse Change in Prepayment Speed",
        "negatedLabel": "Effect on fair value of 5% adverse change",
        "documentation": "The hypothetical financial impact of a specified adverse percentage change in prepayment speed on the fair value of transferor's interests in transferred financial assets (including any servicing assets or servicing liabilities) as of the balance sheet date."
       }
      }
     },
     "auth_ref": [
      "r1437"
     ]
    },
    "pfsi_SensitivityAnalysisOfFairValueOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrLiabilitiesImpactOfOtherThan10Or20PercentAdverseChangeInPricingSpread": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "SensitivityAnalysisOfFairValueOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrLiabilitiesImpactOfOtherThan10Or20PercentAdverseChangeInPricingSpread",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The hypothetical financial impact of a specified adverse percentage change in pricing spread on the fair value of transferor's interests in transferred financial assets (including any servicing assets or servicing liabilities) as of the balance sheet date.",
        "label": "Sensitivity Analysis of Fair Value of Interests Continued to be Held by Transferor Servicing Assets or Liabilities Impact of Other than 10 or 20 Percent Adverse Change in Pricing Spread",
        "negatedLabel": "Effect on fair value of 5% adverse change"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SensitivityAnalysisOfFairValueOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrLiabilitiesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SensitivityAnalysisOfFairValueOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrLiabilitiesTable",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingLiabilitiesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Sensitivity Analysis of Fair Value, Transferor's Interests in Transferred Financial Assets [Table]",
        "documentation": "Disclosure of information about sensitivity analysis or stress test showing hypothetical effect on fair value of transferor's interest in transferred financial asset. Includes, but is not limited to, servicing asset and liability."
       }
      }
     },
     "auth_ref": [
      "r750"
     ]
    },
    "pfsi_ServicingAdvances": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ServicingAdvances",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Advances made by a mortgage loan servicer to to meet contractual principal and interest remittance requirements for investors, pay property taxes and insurance premiums, legal expenses and other protective advances to maintain, repair and market real estate properties on behalf of investors.",
        "label": "Servicing Advances",
        "terseLabel": "Servicing advances, net",
        "verboseLabel": "Servicing advances, net (includes valuation allowance of $116,052 and $103,574; $394,107 and $406,825 pledged to creditors)"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ServicingAdvancesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ServicingAdvancesMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to the servicing advances.",
        "label": "Servicing advances",
        "terseLabel": "Servicing advances"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ServicingAdvancesNetValuationAllowance": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ServicingAdvancesNetValuationAllowance",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfCashFlowsWithTransfereesDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the valuation allowance related to servicing advances made by a mortgage loan servicer to meet contractual principal and interest remittance requirements for investors, pay property taxes and insurance premiums, legal expenses and other protective advances so as to maintain, repair and market real estate properties on behalf of investors.",
        "label": "Servicing advances, net, valuation allowance",
        "periodEndLabel": "Balance at end of quarter",
        "periodStartLabel": "Balance at beginning of quarter",
        "terseLabel": "Servicing advances, net, valuation allowance"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ServicingAsset": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ServicingAsset",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 9.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails",
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Servicing Asset",
        "netLabel": "Carrying value",
        "terseLabel": "Mortgage servicing rights, at fair value",
        "verboseLabel": "Mortgage servicing rights at fair value (includes $9,901,292 and $9,367,851 pledged to creditors)",
        "documentation": "Aggregate amount of servicing assets that are subsequently measured at fair value and servicing assets that are subsequently measured using the amortization method."
       }
      }
     },
     "auth_ref": [
      "r766",
      "r1398",
      "r1399",
      "r1400"
     ]
    },
    "us-gaap_ServicingAssetAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ServicingAssetAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Mortgage Servicing Rights and Mortgage Servicing Liabilities"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ServicingAssetAdditionsFromLoanSales": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ServicingAssetAdditionsFromLoanSales",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsInitialRecognitionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of servicing asset additions from Loan sales.",
        "label": "Servicing Asset Additions From Loan Sales",
        "terseLabel": "Amount recognized"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ServicingAssetAtFairValueAdditions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ServicingAssetAtFairValueAdditions",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesActivityInMsrsAtFairValueDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesActivityInMsrsAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Servicing Asset at Fair Value, Additions",
        "totalLabel": "Additions",
        "documentation": "The value of new servicing assets, subsequently measured at fair value, acquired or created during the current period through purchases or from transfers of financial assets."
       }
      }
     },
     "auth_ref": [
      "r772"
     ]
    },
    "pfsi_ServicingAssetAtFairValueAdditionsFromLoanSales": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ServicingAssetAtFairValueAdditionsFromLoanSales",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesActivityInMsrsAtFairValueDetails": {
       "parentTag": "us-gaap_ServicingAssetAtFairValueAdditions",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3InputRollForwardRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsInitialRecognitionDetails",
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesActivityInMsrsAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The value of new servicing assets, subsequently measured at fair value, acquired or created during the current period through loan sales.",
        "label": "Servicing Asset at Fair Value Additions from Loan Sales",
        "positiveLabel": "Amount recognized",
        "terseLabel": "Mortgage servicing rights resulting from loan sales",
        "verboseLabel": "MSRs resulting from loan sales"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ServicingAssetAtFairValueAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ServicingAssetAtFairValueAmount",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails": {
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesActivityInMsrsAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Servicing Asset at Fair Value, Amount",
        "periodEndLabel": "Balance at end of quarter",
        "periodStartLabel": "Balance at beginning of quarter",
        "terseLabel": "Mortgage servicing rights",
        "documentation": "Fair value of an asset representing net future revenue from contractually specified servicing fees, late charges, and other ancillary revenues, in excess of future costs related to servicing arrangements."
       }
      }
     },
     "auth_ref": [
      "r639",
      "r640",
      "r665",
      "r666",
      "r667",
      "r764",
      "r765",
      "r766",
      "r771"
     ]
    },
    "pfsi_ServicingAssetAtFairValueAmountMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ServicingAssetAtFairValueAmountMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueChangesInFairValueFairValueOptionRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to the mortgage servicing rights.",
        "label": "Mortgage servicing rights at fair value",
        "terseLabel": "Mortgage servicing rights at fair value"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ServicingAssetAtFairValueAmountRollForward": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ServicingAssetAtFairValueAmountRollForward",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesActivityInMsrsAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Servicing Asset at Fair Value, Amount [Roll Forward]",
        "terseLabel": "Activity in MSRs carried at fair value",
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period."
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ServicingAssetAtFairValueChangesInFairValueAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ServicingAssetAtFairValueChangesInFairValueAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesActivityInMsrsAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "N/A",
        "label": "Servicing Asset at Fair Value Changes in Fair Value [Abstract]",
        "terseLabel": "Change in fair value due to:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ServicingAssetAtFairValueChangesInFairValueResultingFromChangesInValuationInputsOrChangesInAssumptions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ServicingAssetAtFairValueChangesInFairValueResultingFromChangesInValuationInputsOrChangesInAssumptions",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesActivityInMsrsAtFairValueDetails": {
       "parentTag": "us-gaap_ServicingAssetAtFairValuePeriodIncreaseDecrease",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesActivityInMsrsAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Servicing Asset at Fair Value, Changes in Fair Value Resulting from Changes in Valuation Inputs or Changes in Assumptions",
        "verboseLabel": "Changes in inputs used in valuation model",
        "documentation": "Amount of increase (decrease) in fair value from changes in the inputs, assumptions, or model used to calculate the fair value of the contract to service financial assets under which the benefits of servicing are expected to more than adequately compensate the servicer."
       }
      }
     },
     "auth_ref": [
      "r1443"
     ]
    },
    "us-gaap_ServicingAssetAtFairValueDisposals": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ServicingAssetAtFairValueDisposals",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesActivityInMsrsAtFairValueDetails",
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsInvestingActivitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Servicing Asset at Fair Value, Disposals",
        "terseLabel": "Sale of MSRs at fair value to PMT",
        "verboseLabel": "Sale adjustments (sales) of MSRs Non-affiliates",
        "documentation": "Decrease in servicing assets subsequently measured at fair value resulting from conveyance of servicing rights to unrelated parties."
       }
      }
     },
     "auth_ref": [
      "r773"
     ]
    },
    "pfsi_ServicingAssetAtFairValueDisposalsRelatedParty": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ServicingAssetAtFairValueDisposalsRelatedParty",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesActivityInMsrsAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Decrease in servicing assets subsequently measured at fair value resulting from conveyance of servicing rights to related parties.",
        "label": "Servicing Asset At Fair Value Disposals Related Party",
        "verboseLabel": "Sale adjustments (sales) of MSRs to PennyMac Mortgage Investment Trust"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ServicingAssetAtFairValueOtherChangesInFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ServicingAssetAtFairValueOtherChangesInFairValue",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesActivityInMsrsAtFairValueDetails": {
       "parentTag": "us-gaap_ServicingAssetAtFairValuePeriodIncreaseDecrease",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesActivityInMsrsAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Servicing Asset at Fair Value, Other Changes in Fair Value",
        "terseLabel": "Other changes in fair value",
        "documentation": "Amount of increase (decrease) from changes in fair value classified as other for a contract to service financial assets under which the benefits of servicing are expected to more than adequately compensate the servicer."
       }
      }
     },
     "auth_ref": [
      "r775"
     ]
    },
    "us-gaap_ServicingAssetAtFairValuePeriodIncreaseDecrease": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ServicingAssetAtFairValuePeriodIncreaseDecrease",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "parentTag": "pfsi_MortgageServicingRightsMSRAmortizationImpairmentFairValueChange",
       "weight": 1.0,
       "order": 2.0
      },
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesActivityInMsrsAtFairValueDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesActivityInMsrsAtFairValueDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Servicing Asset at Fair Value, Period Increase (Decrease)",
        "negatedTerseLabel": "Change in fair value of mortgage servicing rights and mortgage servicing liabilities",
        "totalLabel": "Total change in fair value",
        "documentation": "The increase (decrease) in the fair value of servicing assets that are subsequently measured at fair value."
       }
      }
     },
     "auth_ref": [
      "r1442"
     ]
    },
    "us-gaap_ServicingAssetMeasurementInput": {
     "xbrltype": "decimalItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ServicingAssetMeasurementInput",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsInitialRecognitionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Servicing Asset, Measurement Input",
        "terseLabel": "Input",
        "documentation": "Value of input used to measure servicing asset."
       }
      }
     },
     "auth_ref": [
      "r641",
      "r642",
      "r643"
     ]
    },
    "pfsi_ServicingAssetUnpaidPrincipalBalanceOfUnderlyingLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ServicingAssetUnpaidPrincipalBalanceOfUnderlyingLoans",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the servicing asset unpaid principal balance of underlying loans.",
        "label": "Servicing Asset Unpaid Principal Balance Of Underlying Loans",
        "verboseLabel": "Unpaid principal balance of underlying loans"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ServicingAssetWeightedAverageNoteRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ServicingAssetWeightedAverageNoteRate",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted-average note rate on servicing assets.",
        "label": "Servicing Asset Weighted Average Note Rate",
        "terseLabel": "Weighted-average note interest rate (as a percent)"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ServicingAssetWeightedAverageServiceFeeRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ServicingAssetWeightedAverageServiceFeeRate",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted-average servicing fee rate on servicing assets.",
        "label": "Servicing Asset Weighted Average Service Fee Rate",
        "terseLabel": "Weighted-average servicing fee rate (as a percent)"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ServicingAssetsAtFairValueLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ServicingAssetsAtFairValueLineItems",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesActivityInMsrsAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Servicing Assets at Fair Value [Line Items]",
        "terseLabel": "Activity in MSRs carried at fair value",
        "verboseLabel": "Mortgage Servicing Rights",
        "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."
       }
      }
     },
     "auth_ref": [
      "r771",
      "r772",
      "r773",
      "r774",
      "r784"
     ]
    },
    "us-gaap_ServicingAssetsAtFairValueTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ServicingAssetsAtFairValueTable",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesActivityInMsrsAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Servicing Asset at Fair Value, Activity [Table]",
        "documentation": "Disclosure of information about activity of servicing asset subsequently measured at fair value."
       }
      }
     },
     "auth_ref": [
      "r771",
      "r772",
      "r773",
      "r774",
      "r784"
     ]
    },
    "pfsi_ServicingFee": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ServicingFee",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "parentTag": "pfsi_ServicingFeeNet",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsMortgageLoanServicingDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of revenue from servicing real estate mortgages, and other financial assets held by others. Includes  premiums received in lieu of regular servicing fee.",
        "label": "Servicing Fee",
        "verboseLabel": "Owned servicing"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ServicingFeeNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ServicingFeeNet",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "parentTag": "pfsi_SubservicingAndServicingFeeNet",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of revenue from servicing real estate mortgages, and other financial assets held by others. Includes premiums received in lieu of regular servicing fee and fair value changes and hedging results relating to mortgage servicing rights and excess servicing spread payable to PMT.",
        "label": "Servicing Fee Net",
        "totalLabel": "Net loan servicing fees - owned servicing"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ServicingFeesNetMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ServicingFeesNetMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueChangesInFairValueFairValueOptionRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption in which reported facts about income related to net servicing fees has been included.",
        "label": "Net loan servicing fees",
        "terseLabel": "Net loan servicing fees"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ServicingFeesReceivableNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ServicingFeesReceivableNet",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureOtherAssetsOtherDetails": {
       "parentTag": "us-gaap_OtherAssets",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureOtherAssetsOtherDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of servicing fees receivable, net.",
        "label": "Servicing Fees Receivable Net",
        "terseLabel": "Servicing fees receivable, net"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ServicingIncomeAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ServicingIncomeAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Not available.",
        "label": "Servicing Income [Abstract]",
        "terseLabel": "Net loan servicing fees:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ServicingLiability": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ServicingLiability",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails": {
       "parentTag": "us-gaap_LiabilitiesFairValueDisclosure",
       "weight": 1.0,
       "order": 2.0
      },
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 13.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingLiabilitiesDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Servicing Liability",
        "netLabel": "Fair value",
        "terseLabel": "Mortgage servicing liabilities at fair value",
        "verboseLabel": "Mortgage servicing liabilities",
        "documentation": "Aggregate amount of servicing liabilities that are subsequently measured at fair value and servicing liabilities that are subsequently measured using the amortization method."
       }
      }
     },
     "auth_ref": [
      "r766"
     ]
    },
    "us-gaap_ServicingLiabilityAtAmortizedValueLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ServicingLiabilityAtAmortizedValueLineItems",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesMortgageServicingLiabilitiesCarriedAtFvDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Servicing Liability at Amortized Cost [Line Items]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r777",
      "r778",
      "r779",
      "r780",
      "r781",
      "r782",
      "r783"
     ]
    },
    "us-gaap_ServicingLiabilityAtAmortizedValueRollForward": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ServicingLiabilityAtAmortizedValueRollForward",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesMortgageServicingLiabilitiesCarriedAtFvDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Servicing Liability at Amortized Cost [Roll Forward]",
        "terseLabel": "Amortized cost:",
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ServicingLiabilityAtAmortizedValueTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ServicingLiabilityAtAmortizedValueTable",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesMortgageServicingLiabilitiesCarriedAtFvDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Servicing Liability at Amortized Cost [Table]",
        "documentation": "Disclosure of information about activity in the balance of servicing liabilities subsequently measured at amortized cost. Includes, but is not limited to, beginning and ending balances, additions, disposals, and amortization."
       }
      }
     },
     "auth_ref": [
      "r777",
      "r778",
      "r779",
      "r780",
      "r781",
      "r782",
      "r783"
     ]
    },
    "us-gaap_ServicingLiabilityAtFairValueAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ServicingLiabilityAtFairValueAmount",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesMortgageServicingLiabilitiesCarriedAtFvDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Servicing Liability at Fair Value, Amount",
        "periodEndLabel": "Balance at end of quarter",
        "periodStartLabel": "Balance at beginning of quarter",
        "documentation": "Fair value of a liability representing servicing arrangements under which the estimated future revenue from contractually specified servicing fees, late charges, and other ancillary revenues are not expected to adequately compensate the servicer."
       }
      }
     },
     "auth_ref": [
      "r639",
      "r640",
      "r665",
      "r764",
      "r765",
      "r766",
      "r771",
      "r1398",
      "r1399",
      "r1400"
     ]
    },
    "us-gaap_ServicingLiabilityAtFairValueChangesInFairValueResultingFromChangesInValuationInputsOrChangesInAssumptions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ServicingLiabilityAtFairValueChangesInFairValueResultingFromChangesInValuationInputsOrChangesInAssumptions",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesMortgageServicingLiabilitiesCarriedAtFvDetails": {
       "parentTag": "us-gaap_ServicingLiabilityAtFairValuePeriodIncreaseDecrease",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesMortgageServicingLiabilitiesCarriedAtFvDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Servicing Liability at Fair Value, Changes in Fair Value Resulting from Changes in Valuation Inputs or Changes in Assumptions",
        "terseLabel": "Changes in inputs used in valuation model",
        "documentation": "Amount of increase (decrease) in fair value from changes in the inputs, assumptions, or model used to calculate the fair value of the contract to service financial assets under which the estimated future revenues from contractually specified servicing fees, late charges, and other ancillary revenues are not expected to adequately compensate the servicer."
       }
      }
     },
     "auth_ref": [
      "r774"
     ]
    },
    "us-gaap_ServicingLiabilityAtFairValueOtherChangesInFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ServicingLiabilityAtFairValueOtherChangesInFairValue",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesMortgageServicingLiabilitiesCarriedAtFvDetails": {
       "parentTag": "us-gaap_ServicingLiabilityAtFairValuePeriodIncreaseDecrease",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesMortgageServicingLiabilitiesCarriedAtFvDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Servicing Liability at Fair Value, Other Changes in Fair Value",
        "terseLabel": "Other changes in fair value",
        "documentation": "Amount of increase (decrease) from changes in fair value classified as other for a contract to service financial assets under which the estimated future revenues from contractually specified servicing fees, late charges, and other ancillary revenues are not expected to adequately compensate the servicer."
       }
      }
     },
     "auth_ref": [
      "r775"
     ]
    },
    "us-gaap_ServicingLiabilityAtFairValuePeriodIncreaseDecrease": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ServicingLiabilityAtFairValuePeriodIncreaseDecrease",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesMortgageServicingLiabilitiesCarriedAtFvDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesMortgageServicingLiabilitiesCarriedAtFvDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Servicing Liability at Fair Value, Period Increase (Decrease)",
        "totalLabel": "Total change in fair value",
        "documentation": "The net increase (decrease) in the fair value of servicing liabilities subsequently measured at fair value."
       }
      }
     },
     "auth_ref": [
      "r1442"
     ]
    },
    "us-gaap_ServicingLiabilityMeasurementInput": {
     "xbrltype": "decimalItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ServicingLiabilityMeasurementInput",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingLiabilitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Servicing Liability, Measurement Input",
        "terseLabel": "Input",
        "documentation": "Value of input used to measure servicing liability."
       }
      }
     },
     "auth_ref": [
      "r641",
      "r642",
      "r643"
     ]
    },
    "pfsi_ServicingLiabilityServicingFeeRateOfUnderlyingLoans": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ServicingLiabilityServicingFeeRateOfUnderlyingLoans",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingLiabilitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Servicing fee rate relating to mortgage loans underlying servicing liability.",
        "label": "Servicing Liability Servicing Fee Rate Of Underlying Loans",
        "verboseLabel": "Servicing fee rate (as a percent)"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ServicingLiabilityUnpaidPrincipalBalanceOfUnderlyingLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ServicingLiabilityUnpaidPrincipalBalanceOfUnderlyingLoans",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingLiabilitiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unpaid principal balance of mortgage loans underlying fair value of servicing liability.",
        "label": "Servicing Liability Unpaid Principal Balance Of Underlying Loans",
        "verboseLabel": "Unpaid principal balance of underlying loans"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensation": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensation",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Payment Arrangement, Noncash Expense",
        "terseLabel": "Stock-based compensation expense",
        "documentation": "Amount of noncash expense for share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r3"
     ]
    },
    "pfsi_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOptionsAndEquityInstrumentsOtherThanOptionsGrantsInPeriodTotalFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOptionsAndEquityInstrumentsOtherThanOptionsGrantsInPeriodTotalFairValue",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureStockBasedCompensationOtherDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureStockBasedCompensationOtherDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of share-based payments awards options and other than options granted.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Options And Equity Instruments Other Than Options Grants In Period Total Fair Value",
        "totalLabel": "Grant date fair value"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOptionsGrantsInPeriodTotalFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOptionsGrantsInPeriodTotalFairValue",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureStockBasedCompensationOtherDetails": {
       "parentTag": "pfsi_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOptionsAndEquityInstrumentsOtherThanOptionsGrantsInPeriodTotalFairValue",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureStockBasedCompensationOtherDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of share-based payments awards options granted.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Options Grants In Period Total Fair Value",
        "terseLabel": "Grant date fair value"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureStockBasedCompensationOtherDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Grants in Period",
        "terseLabel": "Granted (in units)",
        "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)."
       }
      }
     },
     "auth_ref": [
      "r480"
     ]
    },
    "pfsi_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodTotalFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodTotalFairValue",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureStockBasedCompensationOtherDetails": {
       "parentTag": "pfsi_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOptionsAndEquityInstrumentsOtherThanOptionsGrantsInPeriodTotalFairValue",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureStockBasedCompensationOtherDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of share-based payments awards other than options granted.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Grants In Period Total Fair Value",
        "terseLabel": "Grant date fair value"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureStockBasedCompensationOtherDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Vested in Period",
        "terseLabel": "Vested (in units)",
        "documentation": "The number of equity-based payment instruments, excluding stock (or unit) options, that vested during the reporting period."
       }
      }
     },
     "auth_ref": [
      "r481"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureStockBasedCompensationOtherDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]",
        "terseLabel": "Stock-Based Compensation",
        "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."
       }
      }
     },
     "auth_ref": [
      "r462",
      "r463",
      "r466",
      "r467",
      "r468",
      "r469",
      "r470",
      "r471",
      "r472",
      "r473",
      "r474",
      "r475",
      "r476",
      "r477",
      "r478",
      "r479",
      "r480",
      "r481",
      "r482",
      "r483",
      "r484",
      "r485",
      "r486",
      "r487",
      "r488",
      "r489",
      "r490",
      "r491",
      "r492",
      "r496"
     ]
    },
    "pfsi_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAntidilutiveExcludedFromComputationOfEarningsPerShareAmountWeightedAverageExercisePrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAntidilutiveExcludedFromComputationOfEarningsPerShareAmountWeightedAverageExercisePrice",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureEarningsPerShareDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted-average exercise price of securities outstanding but not included in the computation of earnings per share because their inclusion would be anti-dilutive.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Antidilutive Excluded from Computation of Earnings per Share Amount, Weighted Average Exercise Price",
        "terseLabel": "Weighted-average exercise price of anti-dilutive stock options (in dollars per share)"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureStockBasedCompensationOtherDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Grants in Period, Gross",
        "terseLabel": "Granted (in units)",
        "documentation": "Gross number of share options (or share units) granted during the period."
       }
      }
     },
     "auth_ref": [
      "r473"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureStockBasedCompensationOtherDetails",
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Award Types",
        "terseLabel": "All Award Types",
        "documentation": "Award under share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r466",
      "r467",
      "r468",
      "r469",
      "r470",
      "r471",
      "r472",
      "r473",
      "r474",
      "r475",
      "r476",
      "r477",
      "r478",
      "r479",
      "r480",
      "r481",
      "r482",
      "r483",
      "r484",
      "r485",
      "r486",
      "r488",
      "r489",
      "r490",
      "r491",
      "r492"
     ]
    },
    "pfsi_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisedNumberOfShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisedNumberOfShares",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureStockBasedCompensationOtherDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of options exercised.",
        "label": "Sharebased Compensation Arrangement By Sharebased Payment Award Options Exercised Number Of Shares",
        "terseLabel": "Exercised (in units)"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SharesIssued": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SharesIssued",
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Shares, Issued",
        "periodEndLabel": "Balance (in shares)",
        "periodStartLabel": "Balance (in shares)",
        "documentation": "Number of shares of stock issued as of the balance sheet date, including shares that had been issued and were previously outstanding but which are now held in the treasury."
       }
      }
     },
     "auth_ref": [
      "r7"
     ]
    },
    "us-gaap_ShortMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShortMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Short [Member]",
        "terseLabel": "Sales",
        "documentation": "Indicates the sale of a borrowed security or written option."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShortTermBorrowingsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShortTermBorrowingsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Short-Term Debt"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShortTermDebtLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShortTermDebtLineItems",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMaturitiesOfOutstandingAdvancesUnderRepurchaseAgreementsDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoanParticipationAndSaleAgreementDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoansSoldUnderAgreementToRepurchaseByCounterpartyDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtPrincipalOnlyStrippedMbsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Short-Term Debt [Line Items]",
        "terseLabel": "Short-term debt",
        "verboseLabel": "Mortgage loans sold under agreement to repurchase",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShortTermDebtTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShortTermDebtTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebt"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Short-Term Debt [Text Block]",
        "terseLabel": "Short-Term Debt",
        "documentation": "The entire disclosure for short-term debt."
       }
      }
     },
     "auth_ref": [
      "r73"
     ]
    },
    "us-gaap_ShortTermDebtTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShortTermDebtTypeAxis",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpenseDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoansSoldUnderAgreementToRepurchaseByCounterpartyDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtPrincipalOnlyStrippedMbsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Short-Term Debt, Type [Axis]",
        "documentation": "Information by type of short-term debt arrangement."
       }
      }
     },
     "auth_ref": [
      "r43",
      "r1336",
      "r1337",
      "r1338"
     ]
    },
    "us-gaap_ShortTermDebtTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShortTermDebtTypeDomain",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureNetInterestExpenseDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoansSoldUnderAgreementToRepurchaseByCounterpartyDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtPrincipalOnlyStrippedMbsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Short-Term Debt, Type [Domain]",
        "documentation": "Type of short-term debt arrangement, such as notes, line of credit, commercial paper, asset-based financing, project financing, letter of credit financing."
       }
      }
     },
     "auth_ref": [
      "r41",
      "r1336",
      "r1337",
      "r1338"
     ]
    },
    "us-gaap_ShortTermDebtWeightedAverageInterestRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShortTermDebtWeightedAverageInterestRate",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoanParticipationAndSaleAgreementDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Short-Term Debt, Weighted Average Interest Rate, at Point in Time",
        "terseLabel": "Weighted average interest rate",
        "documentation": "Weighted average interest rate of short-term debt outstanding calculated at point in time."
       }
      }
     },
     "auth_ref": [
      "r42",
      "r384"
     ]
    },
    "us-gaap_ShortTermDebtWeightedAverageInterestRateOverTime": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShortTermDebtWeightedAverageInterestRateOverTime",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoanParticipationAndSaleAgreementDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Short-Term Debt, Weighted Average Interest Rate, over Time",
        "terseLabel": "Weighted-average interest rate",
        "documentation": "Weighted average interest rate of short-term debt outstanding calculated over time."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShortTermInvestments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShortTermInvestments",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails": {
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0,
       "order": 1.0
      },
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Short-Term Investments",
        "terseLabel": "Short-term investment at fair value",
        "documentation": "Amount of investments including trading securities, available-for-sale securities, held-to-maturity securities, and short-term investments classified as other and current."
       }
      }
     },
     "auth_ref": [
      "r89",
      "r90",
      "r1277"
     ]
    },
    "us-gaap_ShortTermLeaseCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShortTermLeaseCost",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetails": {
       "parentTag": "us-gaap_LeaseCost",
       "weight": 1.0,
       "order": 2.0
      },
      "http://www.pennymacfinancial.com/role/DisclosureDisaggregationOfCertainExpenseCaptionsDetails": {
       "parentTag": "pfsi_OccupancyAndEquipment",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDisaggregationOfCertainExpenseCaptionsDetails",
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Short-Term Lease, Cost",
        "terseLabel": "Short-term leases",
        "verboseLabel": "Short-term lease cost",
        "documentation": "Amount of short-term lease cost, excluding expense for lease with term of one month or less."
       }
      }
     },
     "auth_ref": [
      "r701",
      "r1131"
     ]
    },
    "us-gaap_ShorttermDebtAverageOutstandingAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShorttermDebtAverageOutstandingAmount",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoanParticipationAndSaleAgreementDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Short-Term Debt, Average Outstanding Amount",
        "terseLabel": "Average balance of assets sold under agreements to repurchase",
        "documentation": "For the form of debt having an initial term of less than one year or less than the normal operating cycle, if longer, average borrowings during the period."
       }
      }
     },
     "auth_ref": [
      "r117",
      "r118",
      "r962"
     ]
    },
    "us-gaap_ShorttermDebtMaximumAmountOutstandingDuringPeriod": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShorttermDebtMaximumAmountOutstandingDuringPeriod",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoanParticipationAndSaleAgreementDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Short-Term Debt, Maximum Amount Outstanding During Period",
        "terseLabel": "Maximum daily amount outstanding",
        "verboseLabel": "Maximum daily amount outstanding",
        "documentation": "For the form of debt having an initial term of less than one year or less than the normal operating cycle, if longer, the maximum amount borrowed at any time during the period."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StatementBusinessSegmentsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StatementBusinessSegmentsAxis",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segments [Axis]",
        "documentation": "Information by business segments."
       }
      }
     },
     "auth_ref": [
      "r109",
      "r110",
      "r111",
      "r112",
      "r178",
      "r260",
      "r268",
      "r271",
      "r272",
      "r273",
      "r274",
      "r275",
      "r276",
      "r277",
      "r278",
      "r279",
      "r280",
      "r281",
      "r282",
      "r284",
      "r285",
      "r286",
      "r287",
      "r288",
      "r289",
      "r290",
      "r291",
      "r293",
      "r294",
      "r295",
      "r300",
      "r352",
      "r353",
      "r354",
      "r355",
      "r356",
      "r357",
      "r358",
      "r359",
      "r360",
      "r367",
      "r371",
      "r375",
      "r376",
      "r537",
      "r538",
      "r863",
      "r864",
      "r865",
      "r866",
      "r867",
      "r868",
      "r869",
      "r870",
      "r871",
      "r872",
      "r873",
      "r1076",
      "r1079",
      "r1080",
      "r1086",
      "r1146",
      "r1449",
      "r1451",
      "r1452",
      "r1453",
      "r1454",
      "r1455",
      "r1456",
      "r1457",
      "r1458",
      "r1459",
      "r1460",
      "r1461",
      "r1462",
      "r1463",
      "r1464",
      "r1465",
      "r1466",
      "r1467",
      "r1468",
      "r1469",
      "r1470",
      "r1471",
      "r1472",
      "r1473",
      "r1474",
      "r1475",
      "r1476",
      "r1477",
      "r1478"
     ]
    },
    "us-gaap_StatementEquityComponentsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StatementEquityComponentsAxis",
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Components [Axis]",
        "documentation": "Information by component of equity."
       }
      }
     },
     "auth_ref": [
      "r7",
      "r53",
      "r56",
      "r57",
      "r164",
      "r171",
      "r172",
      "r189",
      "r190",
      "r191",
      "r223",
      "r224",
      "r225",
      "r230",
      "r238",
      "r240",
      "r242",
      "r261",
      "r335",
      "r340",
      "r369",
      "r419",
      "r443",
      "r499",
      "r514",
      "r515",
      "r527",
      "r528",
      "r529",
      "r533",
      "r542",
      "r543",
      "r611",
      "r613",
      "r614",
      "r615",
      "r616",
      "r619",
      "r620",
      "r621",
      "r622",
      "r623",
      "r635",
      "r679",
      "r680",
      "r681",
      "r682",
      "r683",
      "r684",
      "r689",
      "r692",
      "r716",
      "r859",
      "r880",
      "r881",
      "r882",
      "r906",
      "r977"
     ]
    },
    "srt_StatementGeographicalAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "StatementGeographicalAxis",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesGeographicalDistributionOfLoansDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Geographical [Axis]",
        "documentation": "Information by geographical components."
       }
      }
     },
     "auth_ref": [
      "r121",
      "r123",
      "r126",
      "r128",
      "r129",
      "r130",
      "r131",
      "r132",
      "r134",
      "r135",
      "r136",
      "r137",
      "r138",
      "r140",
      "r141",
      "r142",
      "r264",
      "r298",
      "r299",
      "r791",
      "r792",
      "r793",
      "r794",
      "r795",
      "r796",
      "r797",
      "r798",
      "r799",
      "r800",
      "r801",
      "r802",
      "r803",
      "r804",
      "r805",
      "r806",
      "r807",
      "r808",
      "r809",
      "r810",
      "r811",
      "r812",
      "r813",
      "r814",
      "r815",
      "r816",
      "r817",
      "r818",
      "r819",
      "r820",
      "r821",
      "r822",
      "r823",
      "r824",
      "r831",
      "r832",
      "r833",
      "r834",
      "r912",
      "r915",
      "r917",
      "r988",
      "r992",
      "r998",
      "r1018",
      "r1030",
      "r1032",
      "r1033",
      "r1034",
      "r1042",
      "r1043",
      "r1044",
      "r1045",
      "r1047",
      "r1048",
      "r1049",
      "r1050",
      "r1051",
      "r1059",
      "r1071",
      "r1094",
      "r1095",
      "r1135",
      "r1136",
      "r1137",
      "r1138",
      "r1139",
      "r1140",
      "r1141",
      "r1142",
      "r1145",
      "r1152",
      "r1449",
      "r1451",
      "r1452",
      "r1454",
      "r1455",
      "r1456",
      "r1457",
      "r1458",
      "r1459",
      "r1460",
      "r1461",
      "r1462",
      "r1463",
      "r1464",
      "r1465",
      "r1466",
      "r1467",
      "r1468",
      "r1469",
      "r1470",
      "r1471",
      "r1472",
      "r1473",
      "r1474",
      "r1475",
      "r1476",
      "r1477",
      "r1478"
     ]
    },
    "us-gaap_StatementLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StatementLineItems",
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnauditedParenthetical",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfChangesInStockholdersEquityUnaudited",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement [Line Items]",
        "terseLabel": "Statement",
        "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."
       }
      }
     },
     "auth_ref": [
      "r223",
      "r224",
      "r225",
      "r261",
      "r421",
      "r422",
      "r424",
      "r426",
      "r692",
      "r790",
      "r898",
      "r907",
      "r909",
      "r922",
      "r924",
      "r925",
      "r926",
      "r927",
      "r928",
      "r931",
      "r934",
      "r935",
      "r936",
      "r937",
      "r938",
      "r941",
      "r942",
      "r943",
      "r944",
      "r947",
      "r948",
      "r949",
      "r950",
      "r951",
      "r955",
      "r956",
      "r963",
      "r964",
      "r965",
      "r966",
      "r967",
      "r968",
      "r969",
      "r970",
      "r971",
      "r972",
      "r973",
      "r974",
      "r977",
      "r1067",
      "r1068",
      "r1153",
      "r1482"
     ]
    },
    "us-gaap_StatementOfCashFlowsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StatementOfCashFlowsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "CONSOLIDATED STATEMENTS OF CASH FLOWS (UNAUDITED)"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StatementOfFinancialPositionAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StatementOfFinancialPositionAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "CONSOLIDATED BALANCE SHEETS (UNAUDITED)"
       }
      }
     },
     "auth_ref": []
    },
    "srt_StatementScenarioAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "StatementScenarioAxis",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Scenario [Axis]",
        "documentation": "Information by scenario reported, distinguishing information from actual fact. Includes, but is not limited to, pro forma and forecast. Excludes actual facts."
       }
      }
     },
     "auth_ref": [
      "r159",
      "r175",
      "r177",
      "r243",
      "r460",
      "r1254",
      "r1255"
     ]
    },
    "us-gaap_StatementTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StatementTable",
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnauditedParenthetical",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfChangesInStockholdersEquityUnaudited",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement [Table]",
        "documentation": "Presentation of information about comprehensive income, income, other comprehensive income, financial position, cash flows, and shareholders' equity."
       }
      }
     },
     "auth_ref": [
      "r223",
      "r224",
      "r225",
      "r261",
      "r303",
      "r421",
      "r422",
      "r424",
      "r426",
      "r692",
      "r790",
      "r898",
      "r907",
      "r909",
      "r922",
      "r924",
      "r925",
      "r926",
      "r927",
      "r928",
      "r931",
      "r934",
      "r935",
      "r936",
      "r937",
      "r938",
      "r941",
      "r942",
      "r943",
      "r944",
      "r947",
      "r948",
      "r949",
      "r950",
      "r951",
      "r955",
      "r956",
      "r963",
      "r964",
      "r965",
      "r966",
      "r967",
      "r968",
      "r969",
      "r970",
      "r971",
      "r972",
      "r973",
      "r974",
      "r977",
      "r1067",
      "r1068",
      "r1153",
      "r1482"
     ]
    },
    "ecd_StkPrcOrTsrEstimationMethodTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "StkPrcOrTsrEstimationMethodTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Price or TSR Estimation Method [Text Block]",
        "terseLabel": "Stock Price or TSR Estimation Method"
       }
      }
     },
     "auth_ref": [
      "r1177",
      "r1187",
      "r1197",
      "r1229"
     ]
    },
    "us-gaap_StockAppreciationRightsSARSMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockAppreciationRightsSARSMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Appreciation Rights (SARs) [Member]",
        "terseLabel": "Stock Appreciation Rights (SARs)",
        "documentation": "Right to receive cash or shares equal to appreciation of predetermined number of grantor's shares during predetermined time period."
       }
      }
     },
     "auth_ref": [
      "r1349",
      "r1350",
      "r1351",
      "r1352",
      "r1353",
      "r1354",
      "r1355",
      "r1356",
      "r1357",
      "r1358",
      "r1359",
      "r1360",
      "r1361",
      "r1362",
      "r1363",
      "r1364",
      "r1365",
      "r1366",
      "r1367",
      "r1368",
      "r1369",
      "r1370",
      "r1371",
      "r1372",
      "r1373",
      "r1374"
     ]
    },
    "us-gaap_StockIssuedDuringPeriodSharesIssuedForServices": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockIssuedDuringPeriodSharesIssuedForServices",
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Issued During Period, Shares, Issued for Services",
        "verboseLabel": "Issuance of common stock in settlement of director fees (in shares)",
        "documentation": "Number of shares issued in lieu of cash for services contributed to the entity. Number of shares includes, but is not limited to, shares issued for services contributed by vendors and founders."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockIssuedDuringPeriodSharesShareBasedCompensation",
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Shares Issued, Shares, Share-Based Payment Arrangement, after Forfeiture",
        "terseLabel": "Stock-based compensation (in shares)",
        "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)."
       }
      }
     },
     "auth_ref": [
      "r7",
      "r52",
      "r53",
      "r77"
     ]
    },
    "us-gaap_StockIssuedDuringPeriodValueIssuedForServices": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockIssuedDuringPeriodValueIssuedForServices",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Issued During Period, Value, Issued for Services",
        "verboseLabel": "Issuance of common stock in settlement of directors' fees",
        "documentation": "Value of stock issued in lieu of cash for services contributed to the entity. Value of the stock issued includes, but is not limited to, services contributed by vendors and founders."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockIssuedDuringPeriodValueShareBasedCompensation",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Shares Issued, Value, Share-Based Payment Arrangement, after Forfeiture",
        "terseLabel": "Stock-based compensation",
        "documentation": "Value, after forfeiture, of shares issued under share-based payment arrangement. Excludes employee stock ownership plan (ESOP)."
       }
      }
     },
     "auth_ref": [
      "r30",
      "r52",
      "r53",
      "r77"
     ]
    },
    "srt_StockRepurchaseProgramAuthorizedAmount1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "StockRepurchaseProgramAuthorizedAmount1",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureStockholdersEquityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share Repurchase Program, Authorized, Amount",
        "terseLabel": "Authorized stock repurchase amount",
        "documentation": "Amount authorized for purchase of share under share repurchase plan. Includes, but is not limited to, repurchase of stock and unit of ownership."
       }
      }
     },
     "auth_ref": [
      "r1347"
     ]
    },
    "us-gaap_StockRepurchasedAndRetiredDuringPeriodShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockRepurchasedAndRetiredDuringPeriodShares",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureStockholdersEquityDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Repurchased and Retired During Period, Shares",
        "negatedLabel": "Repurchase of common stock (in shares)",
        "terseLabel": "Shares of common stock repurchased",
        "documentation": "Number of shares that have been repurchased and retired during the period."
       }
      }
     },
     "auth_ref": [
      "r7",
      "r52",
      "r53",
      "r77"
     ]
    },
    "us-gaap_StockRepurchasedAndRetiredDuringPeriodValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockRepurchasedAndRetiredDuringPeriodValue",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureStockholdersEquityDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Repurchased and Retired During Period, Value",
        "negatedLabel": "Repurchase of common stock",
        "terseLabel": "Cost of shares of common stock repurchased",
        "documentation": "Equity impact of the value of stock that has been repurchased and retired during the period. The excess of the purchase price over par value can be charged against retained earnings (once the excess is fully allocated to additional paid in capital)."
       }
      }
     },
     "auth_ref": [
      "r7",
      "r52",
      "r53",
      "r77"
     ]
    },
    "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity, Including Portion Attributable to Noncontrolling Interest",
        "periodEndLabel": "Balance",
        "periodStartLabel": "Balance",
        "totalLabel": "Total stockholders' equity",
        "documentation": "Amount of equity (deficit) attributable to parent and noncontrolling interest. Excludes temporary equity."
       }
      }
     },
     "auth_ref": [
      "r31",
      "r32",
      "r38",
      "r164",
      "r165",
      "r171",
      "r172",
      "r190",
      "r223",
      "r224",
      "r225",
      "r230",
      "r238",
      "r240",
      "r335",
      "r340",
      "r369",
      "r419",
      "r443",
      "r499",
      "r514",
      "r515",
      "r527",
      "r528",
      "r529",
      "r533",
      "r542",
      "r543",
      "r611",
      "r613",
      "r614",
      "r615",
      "r616",
      "r619",
      "r635",
      "r679",
      "r680",
      "r684",
      "r690",
      "r716",
      "r881",
      "r882",
      "r904",
      "r933",
      "r952",
      "r978",
      "r979",
      "r1020",
      "r1148",
      "r1149",
      "r1160",
      "r1300",
      "r1304",
      "r1305",
      "r1333",
      "r1416",
      "r1485"
     ]
    },
    "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity, Including Portion Attributable to Noncontrolling Interest [Abstract]",
        "terseLabel": "STOCKHOLDERS' EQUITY"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StockholdersEquityNoteAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockholdersEquityNoteAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholders' Equity."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StockholdersEquityNoteDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockholdersEquityNoteDisclosureTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureStockholdersEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity [Text Block]",
        "terseLabel": "Stockholders' Equity",
        "documentation": "The entire disclosure for equity."
       }
      }
     },
     "auth_ref": [
      "r74",
      "r429",
      "r430",
      "r432",
      "r433",
      "r434",
      "r435",
      "r436",
      "r437",
      "r438",
      "r439",
      "r440",
      "r442",
      "r443",
      "r606",
      "r625",
      "r980",
      "r982",
      "r1021"
     ]
    },
    "us-gaap_SubleaseIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SubleaseIncome",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetails": {
       "parentTag": "us-gaap_LeaseCost",
       "weight": -1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Sublease Income",
        "negatedLabel": "Sublease income",
        "documentation": "Amount of sublease income excluding finance and operating lease expense."
       }
      }
     },
     "auth_ref": [
      "r702",
      "r1131"
     ]
    },
    "us-gaap_SubsequentEventLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SubsequentEventLineItems",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Event [Line Items]",
        "terseLabel": "Subsequent Event",
        "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."
       }
      }
     },
     "auth_ref": [
      "r685",
      "r728"
     ]
    },
    "us-gaap_SubsequentEventMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SubsequentEventMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Event [Member]",
        "terseLabel": "Subsequent Event",
        "documentation": "Identifies event that occurred after the balance sheet date but before financial statements are issued or available to be issued."
       }
      }
     },
     "auth_ref": [
      "r685",
      "r728"
     ]
    },
    "us-gaap_SubsequentEventTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SubsequentEventTable",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Event [Table]",
        "documentation": "Disclosure of information about significant event or transaction occurring between statement of financial position date and date when financial statements were issued."
       }
      }
     },
     "auth_ref": [
      "r685",
      "r728"
     ]
    },
    "us-gaap_SubsequentEventTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SubsequentEventTypeAxis",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Event Type [Axis]",
        "documentation": "Information by event that occurred after the balance sheet date but before financial statements are issued or available to be issued."
       }
      }
     },
     "auth_ref": [
      "r685",
      "r728"
     ]
    },
    "us-gaap_SubsequentEventTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SubsequentEventTypeDomain",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Event Type [Domain]",
        "documentation": "Event that occurred after the balance sheet date but before financial statements are issued or available to be issued."
       }
      }
     },
     "auth_ref": [
      "r685",
      "r728"
     ]
    },
    "us-gaap_SubsequentEventsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SubsequentEventsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Events"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SubsequentEventsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SubsequentEventsTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSubsequentEvents"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Events [Text Block]",
        "terseLabel": "Subsequent Events",
        "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."
       }
      }
     },
     "auth_ref": [
      "r727",
      "r729"
     ]
    },
    "pfsi_SubservicingAndServicingFeeNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "SubservicingAndServicingFeeNet",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "parentTag": "us-gaap_RevenuesNetOfInterestExpense",
       "weight": 1.0,
       "order": 4.0
      },
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails": {
       "parentTag": "pfsi_RevenuesBeforeNonSegmentActivities",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureSegmentsDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of revenue from subservicing and servicing real estate mortgages, and other financial assets held by others. Includes premiums received in lieu of regular servicing fee and fair value changes and hedging results relating to mortgage servicing rights and excess servicing spread payable to PMT.",
        "label": "Subservicing And Servicing Fee Net",
        "terseLabel": "Net loan servicing fees",
        "totalLabel": "Net loan servicing fees"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_SubservicingFee": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "SubservicingFee",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited": {
       "parentTag": "pfsi_SubservicingAndServicingFeeNet",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of revenue from subservicing real estate mortgages, and other financial assets held by others. Includes  premiums received in lieu of regular servicing fee.",
        "label": "Subservicing Fee",
        "terseLabel": "Subservicing fees"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SupplementalCashFlowInformationAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SupplementalCashFlowInformationAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Supplemental Cash Flow Information [Abstract]",
        "terseLabel": "Supplemental cash flow information:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SwaptionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SwaptionMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Swaption [Member]",
        "terseLabel": "Total return swap",
        "documentation": "Option contract giving the holder the right to enter into a swap."
       }
      }
     },
     "auth_ref": [
      "r1113",
      "r1386",
      "r1387"
     ]
    },
    "stpr_TX": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/stpr/2025",
     "localname": "TX",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesGeographicalDistributionOfLoansDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "TEXAS",
        "terseLabel": "Texas"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_TabularListTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "TabularListTableTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tabular List [Table Text Block]",
        "terseLabel": "Tabular List, Table"
       }
      }
     },
     "auth_ref": [
      "r1223"
     ]
    },
    "pfsi_TangibleNetWorthTotalAssetsRatioActual": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "TangibleNetWorthTotalAssetsRatioActual",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRegulatoryCapitalAndLiquidityRequirementsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The tangible net worth to total assets ratio actual.",
        "label": "Tangible Net Worth Total Assets Ratio Actual",
        "terseLabel": "Tangible net worth / Total assets ratio actual"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_TangibleNetWorthTotalAssetsRatioRequirement": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "TangibleNetWorthTotalAssetsRatioRequirement",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRegulatoryCapitalAndLiquidityRequirementsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The tangible net worth to total assets ratio requirement.",
        "label": "Tangible Net Worth Total Assets Ratio Requirement",
        "terseLabel": "Tangible net worth / Total assets ratio requirement"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_TargetRecaptureRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "TargetRecaptureRate",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of target recapture date",
        "label": "Target Recapture Rate",
        "terseLabel": "Target recapture rate"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_TermLoanNotesPayableMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "TermLoanNotesPayableMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Term loan notes payable.",
        "label": "Term Loan Notes Payable",
        "terseLabel": "Term Loan Notes Payable"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_TermNotesAndTermLoansMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "TermNotesAndTermLoansMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueMeasurementBasisNonrecurringDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to term notes and term loans.",
        "label": "Term Notes and Term Loans [Member]",
        "terseLabel": "Term Notes and Term Loans"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ThresholdLimitOfLoanCommitmentPerQuarter": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ThresholdLimitOfLoanCommitmentPerQuarter",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of threshold limit for loan commitment per quarter.",
        "label": "Threshold Limit Of Loan Commitment Per Quarter",
        "terseLabel": "Threshold limit of loan commitment"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_ThresholdLimitOfLoanPerQuarter": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "ThresholdLimitOfLoanPerQuarter",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsCorrespondentProductionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of threshold limit for loan per quarter.",
        "label": "Threshold Limit Of Loan Per Quarter",
        "terseLabel": "Threshold limit of loan"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_TimeBasedRestrictedStockUnitsRSUMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "TimeBasedRestrictedStockUnitsRSUMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureEarningsPerShareDetails",
      "http://www.pennymacfinancial.com/role/DisclosureStockBasedCompensationOtherDetails",
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock units that the entity has not yet issued because the agreed-upon consideration, such as employee services, has not yet been received.",
        "label": "Time-based RSUs.",
        "terseLabel": "Time-based RSUs"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_TotalShareholderRtnAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "TotalShareholderRtnAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Shareholder Return Amount",
        "terseLabel": "Total Shareholder Return Amount"
       }
      }
     },
     "auth_ref": [
      "r1215"
     ]
    },
    "ecd_TotalShareholderRtnVsPeerGroupTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "TotalShareholderRtnVsPeerGroupTextBlock",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Shareholder Return Vs Peer Group [Text Block]",
        "terseLabel": "Total Shareholder Return Vs Peer Group"
       }
      }
     },
     "auth_ref": [
      "r1222"
     ]
    },
    "ecd_TradingArrAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "TradingArrAxis",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement [Axis]",
        "terseLabel": "Trading Arrangement:"
       }
      }
     },
     "auth_ref": [
      "r1242"
     ]
    },
    "ecd_TradingArrByIndTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "TradingArrByIndTable",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangements, by Individual [Table]",
        "terseLabel": "Trading Arrangements, by Individual"
       }
      }
     },
     "auth_ref": [
      "r1244"
     ]
    },
    "dei_TradingSymbol": {
     "xbrltype": "tradingSymbolItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "TradingSymbol",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Symbol",
        "documentation": "Trading symbol of an instrument as listed on an exchange."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TransfersAndServicingOfFinancialAssetsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TransfersAndServicingOfFinancialAssetsAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRelatedPartyTransactionsMortgageLoanServicingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Transfers and Servicing of Financial Assets [Abstract]",
        "terseLabel": "Summary of mortgage loan servicing fees earned"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TransfersAndServicingOfFinancialAssetsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TransfersAndServicingOfFinancialAssetsTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivities"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Transfers and Servicing of Financial Assets [Text Block]",
        "terseLabel": "Loan Sales and Servicing Activities",
        "documentation": "The entire disclosure for a transferor's continuing involvement in financial assets that it has transferred in a securitization or asset-backed financing arrangement, the nature of any restrictions on assets reported by an entity in its statement of financial position that relate to a transferred financial asset (including the carrying amounts of such assets), how servicing assets and servicing liabilities are reported, and (for securitization or asset-backed financing arrangements accounted for as sales) when a transferor has continuing involvement with the transferred financial assets and transfers of financial assets accounted for as secured borrowings, how the transfer of financial assets affects an entity's financial position, financial performance, and cash flows."
       }
      }
     },
     "auth_ref": [
      "r608",
      "r730",
      "r731",
      "r732",
      "r737",
      "r741",
      "r745",
      "r746",
      "r751",
      "r752",
      "r757",
      "r758",
      "r761",
      "r767",
      "r769",
      "r770",
      "r775",
      "r776",
      "r783",
      "r785",
      "r923",
      "r1440"
     ]
    },
    "us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOtherInformationDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFairValueOptionMaturitiesRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageLoansAndIrlcDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingLiabilitiesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsInitialRecognitionDetails",
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails",
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesActivityInMsrsAtFairValueDetails",
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesMortgageServicingLiabilitiesCarriedAtFvDetails",
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesServicingLateAncillaryAndOtherFeesRelatingToMsrsDetails",
      "http://www.pennymacfinancial.com/role/DisclosurePrincipalOnlyStrippedMortgageBackedSecuritiesActivityInCompanySInvestmentInPrincipalOnlyStrippedMbsDetails",
      "http://www.pennymacfinancial.com/role/DisclosurePrincipalOnlyStrippedMortgageBackedSecuritiesSummaryOfCompanyInvestmentInPrincipalOnlyStrippedMbsDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtAssetsSoldUnderAgreementToRepurchaseDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtPrincipalOnlyStrippedMbsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Instruments [Domain]",
        "documentation": "Instrument or contract that imposes a contractual obligation to deliver cash or another financial instrument or to exchange other financial instruments on potentially unfavorable terms and conveys a contractual right to receive cash or another financial instrument or to exchange other financial instruments on potentially favorable terms."
       }
      }
     },
     "auth_ref": [
      "r304",
      "r305",
      "r306",
      "r307",
      "r308",
      "r309",
      "r310",
      "r311",
      "r312",
      "r313",
      "r314",
      "r315",
      "r316",
      "r317",
      "r318",
      "r319",
      "r320",
      "r321",
      "r322",
      "r323",
      "r324",
      "r325",
      "r326",
      "r327",
      "r328",
      "r329",
      "r330",
      "r331",
      "r332",
      "r333",
      "r412",
      "r441",
      "r606",
      "r624",
      "r661",
      "r674",
      "r677",
      "r731",
      "r732",
      "r733",
      "r734",
      "r735",
      "r736",
      "r738",
      "r739",
      "r740",
      "r747",
      "r748",
      "r749",
      "r750",
      "r753",
      "r759",
      "r771",
      "r772",
      "r773",
      "r774",
      "r777",
      "r778",
      "r779",
      "r780",
      "r781",
      "r782",
      "r783",
      "r784",
      "r786",
      "r787",
      "r788",
      "r842",
      "r860",
      "r1119",
      "r1120",
      "r1122",
      "r1123",
      "r1124",
      "r1125",
      "r1126",
      "r1127",
      "r1128",
      "r1134",
      "r1264",
      "r1265",
      "r1266",
      "r1267",
      "r1268",
      "r1269",
      "r1270",
      "r1329",
      "r1330",
      "r1331",
      "r1332",
      "r1395",
      "r1398",
      "r1399",
      "r1400",
      "r1407",
      "r1410",
      "r1411",
      "r1412"
     ]
    },
    "ecd_TrdArrAdoptionDate": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "TrdArrAdoptionDate",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement Adoption Date",
        "terseLabel": "Adoption Date"
       }
      }
     },
     "auth_ref": [
      "r1245"
     ]
    },
    "ecd_TrdArrDuration": {
     "xbrltype": "durationItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "TrdArrDuration",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement Duration",
        "terseLabel": "Arrangement Duration"
       }
      }
     },
     "auth_ref": [
      "r1246"
     ]
    },
    "ecd_TrdArrExpirationDate": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "TrdArrExpirationDate",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement Expiration Date",
        "terseLabel": "Expiration Date"
       }
      }
     },
     "auth_ref": [
      "r1246"
     ]
    },
    "ecd_TrdArrIndName": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "TrdArrIndName",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement, Individual Name",
        "terseLabel": "Name"
       }
      }
     },
     "auth_ref": [
      "r1244"
     ]
    },
    "ecd_TrdArrIndTitle": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "TrdArrIndTitle",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement, Individual Title",
        "terseLabel": "Title"
       }
      }
     },
     "auth_ref": [
      "r1244"
     ]
    },
    "ecd_TrdArrSecuritiesAggAvailAmt": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "TrdArrSecuritiesAggAvailAmt",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement, Securities Aggregate Available Amount",
        "terseLabel": "Aggregate Available"
       }
      }
     },
     "auth_ref": [
      "r1247"
     ]
    },
    "ecd_TrdArrTerminationDate": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "TrdArrTerminationDate",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Arrangement Termination Date",
        "terseLabel": "Termination Date"
       }
      }
     },
     "auth_ref": [
      "r1245"
     ]
    },
    "us-gaap_TypeOfAdoptionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TypeOfAdoptionMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDisaggregationOfCertainExpenseCaptionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Standards Update [Domain]",
        "documentation": "Amendment to accounting standards."
       }
      }
     },
     "auth_ref": [
      "r162",
      "r163",
      "r164",
      "r165",
      "r166",
      "r167",
      "r168",
      "r169",
      "r170",
      "r171",
      "r172",
      "r196",
      "r197",
      "r198",
      "r229",
      "r230",
      "r231",
      "r232",
      "r233",
      "r243",
      "r301",
      "r302",
      "r335",
      "r338",
      "r339",
      "r340",
      "r368",
      "r369",
      "r373",
      "r415",
      "r416",
      "r419",
      "r420",
      "r497",
      "r498",
      "r499",
      "r500",
      "r514",
      "r515",
      "r516",
      "r517",
      "r518",
      "r524",
      "r525",
      "r526",
      "r527",
      "r528",
      "r529",
      "r531",
      "r532",
      "r533",
      "r534",
      "r535",
      "r536",
      "r539",
      "r540",
      "r541",
      "r542",
      "r543",
      "r609",
      "r610",
      "r611",
      "r612",
      "r613",
      "r614",
      "r615",
      "r616",
      "r618",
      "r619",
      "r626",
      "r627",
      "r628",
      "r629",
      "r630",
      "r631",
      "r632",
      "r634",
      "r635",
      "r636",
      "r637",
      "r662",
      "r663",
      "r689",
      "r690",
      "r710",
      "r712",
      "r713",
      "r714",
      "r715",
      "r716",
      "r878",
      "r879",
      "r880",
      "r881",
      "r882",
      "r883",
      "r884",
      "r885",
      "r886",
      "r887",
      "r888",
      "r889"
     ]
    },
    "pfsi_USDepartmentOfHousingAndUrbanDevelopmentPLSMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "USDepartmentOfHousingAndUrbanDevelopmentPLSMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureRegulatoryCapitalAndLiquidityRequirementsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to U.S. Department of Housing and Urban Development - PLS.",
        "label": "HUD - PLS",
        "terseLabel": "HUD - PLS"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_UnamortizedDebtIssuanceExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "UnamortizedDebtIssuanceExpense",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoanParticipationAndSaleAgreementDetails": {
       "parentTag": "pfsi_MortgageLoanParticipationAndSaleAgreement",
       "weight": -1.0,
       "order": 2.0
      },
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails": {
       "parentTag": "us-gaap_NotesPayable",
       "weight": -1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLongTermDebtNotePayableDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoanParticipationAndSaleAgreementDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Unamortized Debt Issuance Expense",
        "negatedLabel": "Unamortized debt issuance costs",
        "documentation": "The remaining balance of debt issuance expenses that were capitalized and are being amortized against income over the lives of the respective bond issues. This does not include the amounts capitalized as part of the cost of the utility plant or asset."
       }
      }
     },
     "auth_ref": []
    },
    "ecd_UndrlygSecurityMktPriceChngPct": {
     "xbrltype": "pureItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "UndrlygSecurityMktPriceChngPct",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Underlying Security Market Price Change, Percent",
        "terseLabel": "Underlying Security Market Price Change"
       }
      }
     },
     "auth_ref": [
      "r1241"
     ]
    },
    "pfsi_UnexercisedStockOptionsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "UnexercisedStockOptionsMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to unexercised stock options",
        "label": "Unexercised Stock Options [Member]",
        "terseLabel": "Unexercised stock options"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_UnpaidBalanceMortgageLoansSoldWithContinuingInvolvementBankruptcy": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "UnpaidBalanceMortgageLoansSoldWithContinuingInvolvementBankruptcy",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfCashFlowsWithTransfereesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unpaid balance of mortgage loans sold with continuing involvement in bankruptcy.",
        "label": "Unpaid Balance Mortgage Loans Sold With Continuing Involvement Bankruptcy",
        "terseLabel": "Loans in bankruptcy"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_UnpaidBalanceMortgageLoansSoldWithContinuingInvolvementDelinquentNinetyDaysOrMoreForeclosed": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "UnpaidBalanceMortgageLoansSoldWithContinuingInvolvementDelinquentNinetyDaysOrMoreForeclosed",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfCashFlowsWithTransfereesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unpaid balance of mortgage loans sold with continuing involvement delinquent ninety days or more foreclosed.",
        "label": "Unpaid Balance Mortgage Loans Sold With Continuing Involvement Delinquent Ninety Days or More, Foreclosed",
        "terseLabel": "90 days or more - Foreclosed"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_UnpaidBalanceMortgageLoansSoldWithContinuingInvolvementDelinquentNinetyDaysOrMoreInForeclosure": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "UnpaidBalanceMortgageLoansSoldWithContinuingInvolvementDelinquentNinetyDaysOrMoreInForeclosure",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfCashFlowsWithTransfereesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unpaid balance of mortgage loans sold with continuing involvement delinquent ninety days or more in foreclosure.",
        "label": "Unpaid Balance Mortgage Loans Sold With Continuing Involvement Delinquent Ninety Days or More, in Foreclosure",
        "terseLabel": "90 days or more - In foreclosure"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_UnpaidBalanceMortgageLoansSoldWithContinuingInvolvementDelinquentNinetyDaysOrMoreNotInForeclosure": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "UnpaidBalanceMortgageLoansSoldWithContinuingInvolvementDelinquentNinetyDaysOrMoreNotInForeclosure",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfCashFlowsWithTransfereesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unpaid balance of mortgage loans sold with continuing involvement delinquent ninety days or more not in foreclosure.",
        "label": "Unpaid Balance Mortgage Loans Sold With Continuing Involvement Delinquent Ninety Days or More, Not in Foreclosure",
        "terseLabel": "90 days or more - Not in foreclosure"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_UnpaidBalanceMortgageLoansSoldWithContinuingInvolvementDelinquentThirtyToEightyNineDays": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "UnpaidBalanceMortgageLoansSoldWithContinuingInvolvementDelinquentThirtyToEightyNineDays",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesSummaryOfCashFlowsWithTransfereesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unpaid balance of mortgage loans sold with continuing involvement delinquent thirty to eighty-nine days.",
        "label": "Unpaid Balance Mortgage Loans Sold with Continuing Involvement Delinquent Thirty to Eighty Nine Days",
        "terseLabel": "30-89 days"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_UnpaidPrincipalBalanceOfUnderlyingLoan": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "UnpaidPrincipalBalanceOfUnderlyingLoan",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesActivityInMsrsAtFairValueDetails",
      "http://www.pennymacfinancial.com/role/DisclosureMortgageServicingRightsAndMortgageServicingLiabilitiesMortgageServicingLiabilitiesCarriedAtFvDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The unpaid principal balance (UPB) of underlying loan.",
        "label": "Unpaid Principal Balance Of Underlying Loan",
        "terseLabel": "Unpaid principal balance of underlying loans at end of quarter"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_UnsecuredDebtMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "UnsecuredDebtMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueMeasurementBasisNonrecurringDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Unsecured Debt [Member]",
        "terseLabel": "Unsecured senior notes.",
        "documentation": "Debt obligation not collateralized by pledge of, mortgage of or other lien on the entity's assets."
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_UnsecuredSeniorNotes": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "UnsecuredSeniorNotes",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueMeasurementBasisNonrecurringDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Including the current and noncurrent portions, carrying value as of the balance sheet date of unsecured Notes with the highest claim on the assets of the issuer in case of bankruptcy or liquidation (with maturities initially due after one year or beyond the operating cycle if longer). Senior note holders are paid off in full before any payments are made to junior note holders.",
        "label": "Unsecured Senior Notes",
        "terseLabel": "Unsecured senior notes"
       }
      }
     },
     "auth_ref": []
    },
    "stpr_VA": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/stpr/2025",
     "localname": "VA",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureLoanSalesAndServicingActivitiesGeographicalDistributionOfLoansDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "VIRGINIA",
        "terseLabel": "Virginia"
       }
      }
     },
     "auth_ref": []
    },
    "pfsi_VariableInterestEntityDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "VariableInterestEntityDisclosureAbstract",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "No definition available.",
        "label": "Variable Interest Entities"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_VariableInterestEntityDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "VariableInterestEntityDisclosureTextBlock",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureVariableInterestEntities"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Variable Interest Entity Disclosure [Text Block]",
        "terseLabel": "Variable Interest Entities",
        "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."
       }
      }
     },
     "auth_ref": [
      "r78"
     ]
    },
    "us-gaap_VariableInterestEntityLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "VariableInterestEntityLineItems",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureOtherAssetsOtherDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Variable Interest Entity [Line Items]",
        "verboseLabel": "Other assets",
        "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."
       }
      }
     },
     "auth_ref": [
      "r545",
      "r546",
      "r549",
      "r550",
      "r755",
      "r756",
      "r757"
     ]
    },
    "ecd_VstngDtFrValOfEqtyAwrdsGrntdAndVstdInCvrdYrMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "VstngDtFrValOfEqtyAwrdsGrntdAndVstdInCvrdYrMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Vesting Date Fair Value of Equity Awards Granted and Vested in Covered Year [Member]",
        "terseLabel": "Vesting Date Fair Value of Equity Awards Granted and Vested in Covered Year"
       }
      }
     },
     "auth_ref": [
      "r1211"
     ]
    },
    "srt_WeightedAverageMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "WeightedAverageMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageLoansAndIrlcDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingLiabilitiesDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsEffectOfChangeInInputsOnFairValueDetails",
      "http://www.pennymacfinancial.com/role/DisclosureFairValueLevel3UnobservableInputsMortgageServicingRightsInitialRecognitionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Weighted Average [Member]",
        "terseLabel": "Weighted average",
        "documentation": "Average of a range of values, calculated with consideration of proportional relevance."
       }
      }
     },
     "auth_ref": [
      "r489",
      "r490",
      "r643",
      "r762",
      "r1052",
      "r1053",
      "r1122",
      "r1431",
      "r1433",
      "r1436"
     ]
    },
    "us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureEarningsPerShareDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Weighted Average Number of Shares Outstanding, Diluted, Adjustment [Abstract]",
        "terseLabel": "Effect of dilutive shares:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "WeightedAverageNumberOfDilutedSharesOutstanding",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureEarningsPerShareDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureEarningsPerShareDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Weighted Average Number of Shares Outstanding, Diluted",
        "terseLabel": "Diluted (in shares)",
        "totalLabel": "Weighted average diluted shares of common stock outstanding (in shares)",
        "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."
       }
      }
     },
     "auth_ref": [
      "r247",
      "r255"
     ]
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "WeightedAverageNumberOfSharesOutstandingAbstract",
     "presentation": [
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Weighted Average Number of Shares Outstanding, Diluted [Abstract]",
        "terseLabel": "Weighted average shares outstanding"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "WeightedAverageNumberOfSharesOutstandingBasic",
     "calculation": {
      "http://www.pennymacfinancial.com/role/DisclosureEarningsPerShareDetails": {
       "parentTag": "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureEarningsPerShareDetails",
      "http://www.pennymacfinancial.com/role/StatementConsolidatedStatementsOfIncomeUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Weighted Average Number of Shares Outstanding, Basic",
        "positiveLabel": "Weighted average shares of common stock outstanding (in shares)",
        "terseLabel": "Basic (in shares)",
        "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."
       }
      }
     },
     "auth_ref": [
      "r246",
      "r255"
     ]
    },
    "pfsi_WellsFargoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacfinancial.com/20260331",
     "localname": "WellsFargoMember",
     "presentation": [
      "http://www.pennymacfinancial.com/role/DisclosureDerivativeFinancialInstrumentsOffsettingOfDerivativeAssetsDerivativeLiabilitiesFinancialLiabilitiesAndCollateralHeldByCounterpartyDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtMortgageLoansSoldUnderAgreementToRepurchaseByCounterpartyDetails",
      "http://www.pennymacfinancial.com/role/DisclosureShortTermDebtPrincipalOnlyStrippedMbsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Wells Fargo.",
        "label": "Wells Fargo Bank, N.A.",
        "terseLabel": "Wells Fargo Bank, N.A."
       }
      }
     },
     "auth_ref": []
    },
    "ecd_YrEndFrValOfEqtyAwrdsGrntdInCvrdYrOutsdngAndUnvstdMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2025",
     "localname": "YrEndFrValOfEqtyAwrdsGrntdInCvrdYrOutsdngAndUnvstdMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Year-end Fair Value of Equity Awards Granted in Covered Year that are Outstanding and Unvested [Member]",
        "terseLabel": "Year-end Fair Value of Equity Awards Granted in Covered Year that are Outstanding and Unvested"
       }
      }
     },
     "auth_ref": [
      "r1209"
     ]
    }
   }
  }
 },
 "std_ref": {
  "r0": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "SubTopic": "230",
   "Topic": "830",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477401/830-230-45-1"
  },
  "r1": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "14",
   "Subparagraph": "(a)",
   "SubTopic": "10",
   "Topic": "230",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-14"
  },
  "r2": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "SubTopic": "405",
   "Topic": "942",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477787/942-405-45-2"
  },
  "r3": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "28",
   "Subparagraph": "(a)",
   "SubTopic": "10",
   "Topic": "230",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-28"
  },
  "r4": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "28",
   "Subparagraph": "(b)",
   "SubTopic": "10",
   "Topic": "230",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-28"
  },
  "r5": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "SubTopic": "10",
   "Topic": "360",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482099/360-10-50-1"
  },
  "r6": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "SubTopic": "10",
   "Topic": "470",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481544/470-10-50-1"
  },
  "r7": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "SubTopic": "10",
   "Topic": "505",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-2"
  },
  "r8": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2A",
   "Subparagraph": "(a)",
   "SubTopic": "10",
   "Topic": "718",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2A"
  },
  "r9": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Subparagraph": "(a)",
   "Paragraph": "4",
   "SubTopic": "20",
   "Topic": "860",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4"
  },
  "r10": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(22))",
   "SubTopic": "10",
   "Topic": "210",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r11": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "14",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-14"
  },
  "r12": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "15",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-15"
  },
  "r13": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-4"
  },
  "r14": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482913/230-10-50-2"
  },
  "r15": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482913/230-10-50-3"
  },
  "r16": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "260",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482662/260-10-50-1"
  },
  "r17": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "270",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482989/270-10-45-12"
  },
  "r18": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "270",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "13",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482989/270-10-45-13"
  },
  "r19": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "22",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r20": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "25",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-25"
  },
  "r21": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "30",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-30"
  },
  "r22": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "470",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481544/470-10-50-5"
  },
  "r23": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "470",
   "SubTopic": "30",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481212/470-30-50-1"
  },
  "r24": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-3"
  },
  "r25": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-8"
  },
  "r26": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "30",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481549/505-30-45-1"
  },
  "r27": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "30",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481520/505-30-50-2"
  },
  "r28": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "30",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481520/505-30-50-3"
  },
  "r29": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "30",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481520/505-30-50-4"
  },
  "r30": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "718",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r31": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "810",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "15",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481231/810-10-45-15"
  },
  "r32": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "810",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "16",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481231/810-10-45-16"
  },
  "r33": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "810",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481203/810-10-50-3"
  },
  "r34": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "810",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481203/810-10-50-4"
  },
  "r35": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "810",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481203/810-10-50-5A"
  },
  "r36": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "810",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481203/810-10-50-6"
  },
  "r37": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "810",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "9",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481203/810-10-50-9"
  },
  "r38": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "810",
   "SubTopic": "10",
   "Section": "55",
   "Paragraph": "4I",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481175/810-10-55-4I"
  },
  "r39": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "860",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(e)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4"
  },
  "r40": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "470",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477734/942-470-50-3"
  },
  "r41": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(19)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r42": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(19)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r43": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(19))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r44": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(20))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r45": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(21))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r46": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(22)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r47": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(22)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r48": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(23))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r49": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(24))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r50": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(25))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r51": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(26))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r52": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(28))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r53": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(29))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r54": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(30)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r55": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(30)(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r56": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(30))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r57": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(31))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r58": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(32))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r59": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(10))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r60": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(20))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r61": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r62": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r63": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(8))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r64": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "12",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-12"
  },
  "r65": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "13",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-13"
  },
  "r66": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "15",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-15"
  },
  "r67": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "15",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-15"
  },
  "r68": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "24",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-24"
  },
  "r69": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "25",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-25"
  },
  "r70": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "28",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-28"
  },
  "r71": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "360",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482099/360-10-50-1"
  },
  "r72": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "440",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/440/tableOfContent"
  },
  "r73": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "470",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/470/tableOfContent"
  },
  "r74": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "505",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/505/tableOfContent"
  },
  "r75": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-6"
  },
  "r76": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-7"
  },
  "r77": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.3-04)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480008/505-10-S99-1"
  },
  "r78": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "810",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/810/tableOfContent"
  },
  "r79": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(10)(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r80": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(10))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r81": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(11))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r82": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(13))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r83": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(15)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r84": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(15)(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r85": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(15))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r86": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(16))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r87": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(17))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r88": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(23))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r89": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r90": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r91": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r92": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(10))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r93": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(11))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r94": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(12))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r95": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(13)(h))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r96": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(14)(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r97": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(15))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r98": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r99": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(22))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r100": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r101": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r102": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r103": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r104": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r105": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(8))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r106": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r107": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "230",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479024/942-230-45-1"
  },
  "r108": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "470",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477734/942-470-50-3"
  },
  "r109": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-32"
  },
  "r110": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-32"
  },
  "r111": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-32"
  },
  "r112": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-32"
  },
  "r113": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "SubTopic": "20",
   "Topic": "740",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482659/740-20-45-2"
  },
  "r114": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "20",
   "SubTopic": "210",
   "Topic": "946",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477796/946-210-45-20"
  },
  "r115": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(h))",
   "SubTopic": "10",
   "Topic": "235",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r116": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Topic": "250",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/250/tableOfContent"
  },
  "r117": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "a",
   "Publisher": "SEC"
  },
  "r118": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "b",
   "Subparagraph": "(1)",
   "Publisher": "SEC"
  },
  "r119": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "04",
   "Paragraph": "a",
   "Publisher": "SEC"
  },
  "r120": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "12",
   "Paragraph": "Column A",
   "Footnote": "2",
   "Publisher": "SEC"
  },
  "r121": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "12",
   "Paragraph": "Column C",
   "Footnote": "5",
   "Publisher": "SEC"
  },
  "r122": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "12A",
   "Paragraph": "Column A",
   "Footnote": "2",
   "Publisher": "SEC"
  },
  "r123": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "12A",
   "Paragraph": "Column C",
   "Footnote": "4",
   "Publisher": "SEC"
  },
  "r124": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "12B",
   "Paragraph": "Column A",
   "Subparagraph": "(a)",
   "Footnote": "4",
   "Publisher": "SEC"
  },
  "r125": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "12B",
   "Paragraph": "Column A",
   "Subparagraph": "(b)",
   "Footnote": "4",
   "Publisher": "SEC"
  },
  "r126": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "12B",
   "Paragraph": "Column C",
   "Footnote": "2",
   "Publisher": "SEC"
  },
  "r127": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "14",
   "Paragraph": "Column A",
   "Footnote": "2",
   "Publisher": "SEC"
  },
  "r128": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "14",
   "Paragraph": "Column F",
   "Footnote": "7",
   "Publisher": "SEC"
  },
  "r129": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "28",
   "Paragraph": "Column A",
   "Footnote": "2",
   "Publisher": "SEC"
  },
  "r130": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "28",
   "Paragraph": "Column B",
   "Publisher": "SEC"
  },
  "r131": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "28",
   "Paragraph": "Column C",
   "Publisher": "SEC"
  },
  "r132": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "28",
   "Paragraph": "Column D",
   "Publisher": "SEC"
  },
  "r133": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "28",
   "Paragraph": "Column E",
   "Footnote": "4",
   "Publisher": "SEC"
  },
  "r134": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "28",
   "Paragraph": "Column E",
   "Publisher": "SEC"
  },
  "r135": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "28",
   "Paragraph": "Column F",
   "Publisher": "SEC"
  },
  "r136": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "28",
   "Paragraph": "Column G",
   "Publisher": "SEC"
  },
  "r137": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "28",
   "Paragraph": "Column H",
   "Publisher": "SEC"
  },
  "r138": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "28",
   "Paragraph": "Column I",
   "Publisher": "SEC"
  },
  "r139": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "29",
   "Paragraph": "Column A",
   "Footnote": "3",
   "Publisher": "SEC"
  },
  "r140": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "29",
   "Paragraph": "Column A",
   "Footnote": "4",
   "Publisher": "SEC"
  },
  "r141": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "29",
   "Paragraph": "Column B",
   "Publisher": "SEC"
  },
  "r142": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "29",
   "Paragraph": "Column C",
   "Publisher": "SEC"
  },
  "r143": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "29",
   "Paragraph": "Column G",
   "Footnote": "3",
   "Publisher": "SEC"
  },
  "r144": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "29",
   "Paragraph": "Column G",
   "Footnote": "6",
   "Publisher": "SEC"
  },
  "r145": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "29",
   "Paragraph": "Column G",
   "Footnote": "8",
   "Publisher": "SEC"
  },
  "r146": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "29",
   "Paragraph": "Column H",
   "Publisher": "SEC"
  },
  "r147": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "29",
   "Publisher": "SEC"
  },
  "r148": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "13",
   "Subsection": "01",
   "Paragraph": "a",
   "Subparagraph": "(4)(i)",
   "Publisher": "SEC"
  },
  "r149": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "13",
   "Subsection": "01",
   "Paragraph": "a",
   "Subparagraph": "(4)(iii)(A)",
   "Publisher": "SEC"
  },
  "r150": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "13",
   "Subsection": "01",
   "Paragraph": "a",
   "Subparagraph": "(4)(iii)(B)",
   "Publisher": "SEC"
  },
  "r151": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "13",
   "Subsection": "01",
   "Paragraph": "a",
   "Subparagraph": "(4)(iv)",
   "Publisher": "SEC"
  },
  "r152": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "13",
   "Subsection": "02",
   "Paragraph": "a",
   "Subparagraph": "(4)(i)",
   "Publisher": "SEC"
  },
  "r153": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "13",
   "Subsection": "02",
   "Paragraph": "a",
   "Subparagraph": "(4)(iii)(A)",
   "Publisher": "SEC"
  },
  "r154": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "13",
   "Subsection": "02",
   "Paragraph": "a",
   "Subparagraph": "(4)(iii)(B)",
   "Publisher": "SEC"
  },
  "r155": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "13",
   "Subsection": "02",
   "Paragraph": "a",
   "Subparagraph": "(4)(iii)(C)",
   "Publisher": "SEC"
  },
  "r156": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "13",
   "Subsection": "02",
   "Paragraph": "a",
   "Subparagraph": "(4)(iv)",
   "Publisher": "SEC"
  },
  "r157": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "4",
   "Subsection": "08",
   "Paragraph": "m",
   "Subparagraph": "(1)(iii)",
   "Publisher": "SEC"
  },
  "r158": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "4",
   "Subsection": "08",
   "Paragraph": "m",
   "Subparagraph": "(2)(ii)",
   "Publisher": "SEC"
  },
  "r159": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Staff Accounting Bulletin (SAB)",
   "Number": "Topic 11",
   "Section": "M",
   "Paragraph": "Question 2",
   "Publisher": "SEC"
  },
  "r160": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Staff Accounting Bulletin (SAB)",
   "Number": "Topic 5",
   "Section": "Y",
   "Paragraph": "Question 2",
   "Publisher": "SEC"
  },
  "r161": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Staff Accounting Bulletin (SAB)",
   "Number": "Topic 5",
   "Section": "Y",
   "Paragraph": "Question 4",
   "Publisher": "SEC"
  },
  "r162": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "105",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479343/105-10-65-6"
  },
  "r163": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "105",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479343/105-10-65-6"
  },
  "r164": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "105",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479343/105-10-65-6"
  },
  "r165": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "105",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479343/105-10-65-6"
  },
  "r166": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "105",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479343/105-10-65-6"
  },
  "r167": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "105",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479343/105-10-65-7"
  },
  "r168": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "105",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "9",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479343/105-10-65-9"
  },
  "r169": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "105",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "9",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479343/105-10-65-9"
  },
  "r170": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "105",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "9",
   "Subparagraph": "(d)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479343/105-10-65-9"
  },
  "r171": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "105",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "9",
   "Subparagraph": "(d)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479343/105-10-65-9"
  },
  "r172": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "105",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "9",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479343/105-10-65-9"
  },
  "r173": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "205",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/205/tableOfContent"
  },
  "r174": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "205",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S45",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481034/205-10-S45-5"
  },
  "r175": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "205",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481003/205-10-S50-2"
  },
  "r176": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "205",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480922/205-10-S99-3"
  },
  "r177": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "205",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "7",
   "Subparagraph": "(SAB Topic 1.B.2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480922/205-10-S99-7"
  },
  "r178": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483499/205-20-50-1"
  },
  "r179": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483499/205-20-50-7"
  },
  "r180": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(17))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r181": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(18))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r182": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(3)(a)(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r183": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r184": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483466/210-20-50-3"
  },
  "r185": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483466/210-20-50-3"
  },
  "r186": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483444/210-20-55-10"
  },
  "r187": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482790/220-10-45-1A"
  },
  "r188": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482790/220-10-45-1B"
  },
  "r189": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482765/220-10-50-4"
  },
  "r190": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482765/220-10-50-5"
  },
  "r191": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482765/220-10-50-6"
  },
  "r192": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(25))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r193": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-21"
  },
  "r194": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r195": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-6"
  },
  "r196": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476151/220-40-65-1"
  },
  "r197": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476151/220-40-65-1"
  },
  "r198": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476151/220-40-65-1"
  },
  "r199": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "15",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-15"
  },
  "r200": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "17",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-17"
  },
  "r201": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-2"
  },
  "r202": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "24",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-24"
  },
  "r203": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "25",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-25"
  },
  "r204": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482913/230-10-50-2"
  },
  "r205": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482913/230-10-50-2A"
  },
  "r206": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482913/230-10-50-8"
  },
  "r207": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480738/235-10-S50-1"
  },
  "r208": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480738/235-10-S50-4"
  },
  "r209": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r210": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(g)(1)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r211": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r212": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(h)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r213": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(k)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r214": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(k)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r215": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(m)(1)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r216": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(m)(1)(ii)(A)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r217": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(m)(1)(ii)(A)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r218": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(m)(1)(ii)(A)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r219": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(m)(1)(ii)(A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r220": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(m)(1)(iii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r221": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(m)(2)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r222": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-04(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-3"
  },
  "r223": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "23",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483421/250-10-45-23"
  },
  "r224": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "24",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483421/250-10-45-24"
  },
  "r225": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483421/250-10-45-5"
  },
  "r226": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483421/250-10-45-6"
  },
  "r227": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-1"
  },
  "r228": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-1"
  },
  "r229": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-1"
  },
  "r230": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-1"
  },
  "r231": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-1"
  },
  "r232": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-1"
  },
  "r233": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-1"
  },
  "r234": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-11"
  },
  "r235": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-11"
  },
  "r236": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-3"
  },
  "r237": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-4"
  },
  "r238": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-6"
  },
  "r239": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-7"
  },
  "r240": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-7"
  },
  "r241": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-8"
  },
  "r242": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-9"
  },
  "r243": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5",
   "Subparagraph": "(SAB Topic 11.M.Q2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480530/250-10-S99-5"
  },
  "r244": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480530/250-10-S99-6"
  },
  "r245": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/260/tableOfContent"
  },
  "r246": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-10"
  },
  "r247": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "16",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-16"
  },
  "r248": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-2"
  },
  "r249": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "22",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-22"
  },
  "r250": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "23",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-23"
  },
  "r251": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "28A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-28A"
  },
  "r252": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "60B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-60B"
  },
  "r253": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "60B",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-60B"
  },
  "r254": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-7"
  },
  "r255": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482662/260-10-50-1"
  },
  "r256": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482662/260-10-50-1"
  },
  "r257": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482662/260-10-50-2"
  },
  "r258": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482662/260-10-50-3"
  },
  "r259": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "15",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482635/260-10-55-15"
  },
  "r260": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "270",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482964/270-10-50-1"
  },
  "r261": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "272",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483014/272-10-45-1"
  },
  "r262": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-1"
  },
  "r263": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "20",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-20"
  },
  "r264": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "20",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-20"
  },
  "r265": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-2A"
  },
  "r266": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-9"
  },
  "r267": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/280/tableOfContent"
  },
  "r268": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "15",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-15"
  },
  "r269": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-21"
  },
  "r270": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-21"
  },
  "r271": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r272": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r273": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r274": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r275": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r276": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r277": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r278": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r279": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r280": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(j)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r281": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "25",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-25"
  },
  "r282": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "25",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-25"
  },
  "r283": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "26",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-26"
  },
  "r284": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "26A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-26A"
  },
  "r285": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "26B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-26B"
  },
  "r286": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "26C",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-26C"
  },
  "r287": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-30"
  },
  "r288": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-30"
  },
  "r289": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-30"
  },
  "r290": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-30"
  },
  "r291": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "31",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-31"
  },
  "r292": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-32"
  },
  "r293": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(ee)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-32"
  },
  "r294": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-32"
  },
  "r295": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "34",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-34"
  },
  "r296": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "40",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-40"
  },
  "r297": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "41",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-41"
  },
  "r298": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "41",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-41"
  },
  "r299": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "41",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-41"
  },
  "r300": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "42",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-42"
  },
  "r301": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476173/280-10-65-1"
  },
  "r302": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476173/280-10-65-1"
  },
  "r303": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "13",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481990/310-10-45-13"
  },
  "r304": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-2"
  },
  "r305": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-2"
  },
  "r306": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(aa)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-2"
  },
  "r307": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(aaa)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-2"
  },
  "r308": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-2"
  },
  "r309": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-2"
  },
  "r310": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-2"
  },
  "r311": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-3"
  },
  "r312": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-3"
  },
  "r313": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-3"
  },
  "r314": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-3"
  },
  "r315": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-3"
  },
  "r316": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5"
  },
  "r317": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5"
  },
  "r318": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(aaa)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5"
  },
  "r319": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5"
  },
  "r320": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5"
  },
  "r321": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5"
  },
  "r322": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5"
  },
  "r323": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5"
  },
  "r324": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5"
  },
  "r325": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5"
  },
  "r326": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5A"
  },
  "r327": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5A",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5A"
  },
  "r328": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5A",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5A"
  },
  "r329": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5B"
  },
  "r330": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5B"
  },
  "r331": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5B",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5B"
  },
  "r332": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5B",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5B"
  },
  "r333": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5B",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-5B"
  },
  "r334": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "323",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481687/323-10-50-3"
  },
  "r335": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "4",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479654/326-10-65-4"
  },
  "r336": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "4",
   "Subparagraph": "(e)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479654/326-10-65-4"
  },
  "r337": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "4",
   "Subparagraph": "(e)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479654/326-10-65-4"
  },
  "r338": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "4",
   "Subparagraph": "(e)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479654/326-10-65-4"
  },
  "r339": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "4",
   "Subparagraph": "(e)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479654/326-10-65-4"
  },
  "r340": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "5",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479654/326-10-65-5"
  },
  "r341": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-11"
  },
  "r342": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-13"
  },
  "r343": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-13"
  },
  "r344": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-13"
  },
  "r345": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "14",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-14"
  },
  "r346": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "16",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-16"
  },
  "r347": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-5"
  },
  "r348": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-6"
  },
  "r349": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479106/326-30-50-4"
  },
  "r350": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479106/326-30-50-7"
  },
  "r351": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479106/326-30-50-9"
  },
  "r352": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482573/350-20-50-1"
  },
  "r353": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482573/350-20-50-1"
  },
  "r354": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482573/350-20-50-1"
  },
  "r355": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482573/350-20-50-1"
  },
  "r356": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482573/350-20-50-1"
  },
  "r357": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482573/350-20-50-1"
  },
  "r358": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482573/350-20-50-1"
  },
  "r359": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482573/350-20-50-1"
  },
  "r360": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482573/350-20-50-1"
  },
  "r361": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482573/350-20-50-4"
  },
  "r362": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482665/350-30-50-1"
  },
  "r363": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482665/350-30-50-1"
  },
  "r364": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482665/350-30-50-1"
  },
  "r365": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482665/350-30-50-1"
  },
  "r366": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482665/350-30-50-1"
  },
  "r367": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482665/350-30-50-3"
  },
  "r368": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "60",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476166/350-60-65-1"
  },
  "r369": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "60",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476166/350-60-65-1"
  },
  "r370": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "360",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482099/360-10-50-3"
  },
  "r371": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "360",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482099/360-10-50-3"
  },
  "r372": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "405",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(e)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477092/405-40-50-1"
  },
  "r373": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "405",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477123/405-50-65-1"
  },
  "r374": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "420",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482017/420-10-50-1"
  },
  "r375": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "420",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482017/420-10-50-1"
  },
  "r376": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "420",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SAB Topic 5.P.4.d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479823/420-10-S99-2"
  },
  "r377": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "440",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482648/440-10-50-4"
  },
  "r378": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "440",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482648/440-10-50-4"
  },
  "r379": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483076/450-20-50-4"
  },
  "r380": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483076/450-20-50-9"
  },
  "r381": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 5.Y.Q2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480102/450-20-S99-1"
  },
  "r382": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 5.Y.Q4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480102/450-20-S99-1"
  },
  "r383": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481544/470-10-50-6"
  },
  "r384": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481544/470-10-50-7"
  },
  "r385": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1A"
  },
  "r386": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1A"
  },
  "r387": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1A"
  },
  "r388": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1A"
  },
  "r389": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1A"
  },
  "r390": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1B"
  },
  "r391": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1B"
  },
  "r392": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1B"
  },
  "r393": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1B"
  },
  "r394": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1B"
  },
  "r395": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1B"
  },
  "r396": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r397": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r398": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r399": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r400": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r401": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r402": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1D",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1D"
  },
  "r403": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1D",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1D"
  },
  "r404": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1D",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1D"
  },
  "r405": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1E",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1E"
  },
  "r406": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1E",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1E"
  },
  "r407": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1E",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1E"
  },
  "r408": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1F",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1F"
  },
  "r409": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1F",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1F"
  },
  "r410": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1F",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1F"
  },
  "r411": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1F",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1F"
  },
  "r412": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1I",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1I"
  },
  "r413": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-4"
  },
  "r414": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-4"
  },
  "r415": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481538/470-20-65-4"
  },
  "r416": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "4",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481538/470-20-65-4"
  },
  "r417": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "4",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481538/470-20-65-4"
  },
  "r418": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "4",
   "Subparagraph": "(f)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481538/470-20-65-4"
  },
  "r419": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "4",
   "Subparagraph": "(f)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481538/470-20-65-4"
  },
  "r420": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "4",
   "Subparagraph": "(f)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481538/470-20-65-4"
  },
  "r421": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479887/480-10-S45-1"
  },
  "r422": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479887/480-10-S45-2"
  },
  "r423": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S45",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479887/480-10-S45-3"
  },
  "r424": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479857/480-10-S50-1"
  },
  "r425": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479857/480-10-S50-3"
  },
  "r426": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(01)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480244/480-10-S99-1"
  },
  "r427": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(01)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480244/480-10-S99-1"
  },
  "r428": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3A",
   "Subparagraph": "(24)(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480244/480-10-S99-3A"
  },
  "r429": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-13"
  },
  "r430": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-13"
  },
  "r431": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-13"
  },
  "r432": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-13"
  },
  "r433": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-13"
  },
  "r434": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-13"
  },
  "r435": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "14",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-14"
  },
  "r436": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "14",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-14"
  },
  "r437": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "14",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-14"
  },
  "r438": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "16",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-16"
  },
  "r439": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-18"
  },
  "r440": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-18"
  },
  "r441": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-18"
  },
  "r442": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-18"
  },
  "r443": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.3-04)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480008/505-10-S99-1"
  },
  "r444": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479806/606-10-50-4"
  },
  "r445": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479806/606-10-50-5"
  },
  "r446": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479806/606-10-50-7"
  },
  "r447": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r448": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(01)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r449": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(02)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r450": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(02)(A)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r451": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(02)(B)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r452": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(02)(C)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r453": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(03)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r454": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(n)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r455": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(c)(iv)(01)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-5"
  },
  "r456": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(c)(iv)(02)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-5"
  },
  "r457": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(c)(iv)(03)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-5"
  },
  "r458": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(l)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-5"
  },
  "r459": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480576/715-80-50-5"
  },
  "r460": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480576/715-80-50-5"
  },
  "r461": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/718/tableOfContent"
  },
  "r462": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "35",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480483/718-10-35-1D"
  },
  "r463": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "35",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480483/718-10-35-3"
  },
  "r464": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480454/718-10-45-1"
  },
  "r465": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r466": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r467": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r468": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r469": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r470": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r471": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r472": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r473": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)(01)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r474": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)(02)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r475": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)(03)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r476": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)(04)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r477": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r478": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r479": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r480": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(iii)(01)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r481": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(iii)(02)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r482": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(iii)(03)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r483": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r484": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r485": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(e)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r486": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(e)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r487": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r488": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r489": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r490": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r491": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(iv)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r492": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(v)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r493": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(h)(1)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r494": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(h)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r495": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(h)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r496": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(l)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r497": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "17",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480336/718-10-65-17"
  },
  "r498": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "17",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480336/718-10-65-17"
  },
  "r499": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "17",
   "Subparagraph": "(d)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480336/718-10-65-17"
  },
  "r500": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "17",
   "Subparagraph": "(d)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480336/718-10-65-17"
  },
  "r501": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479983/718-10-S45-1"
  },
  "r502": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 14.F)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479830/718-10-S99-1"
  },
  "r503": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "720",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483359/720-20-50-1"
  },
  "r504": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/740/tableOfContent"
  },
  "r505": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-10"
  },
  "r506": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-12"
  },
  "r507": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-12B"
  },
  "r508": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12C",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-12C"
  },
  "r509": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "14",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-14"
  },
  "r510": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "17",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-17"
  },
  "r511": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-21"
  },
  "r512": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-22"
  },
  "r513": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "23",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-23"
  },
  "r514": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "8",
   "Subparagraph": "(d)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482615/740-10-65-8"
  },
  "r515": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "8",
   "Subparagraph": "(d)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482615/740-10-65-8"
  },
  "r516": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "9",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482615/740-10-65-9"
  },
  "r517": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "9",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482615/740-10-65-9"
  },
  "r518": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "9",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482615/740-10-65-9"
  },
  "r519": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 6.I.5.Q1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479360/740-10-S99-1"
  },
  "r520": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 6.I.7)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479360/740-10-S99-1"
  },
  "r521": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SAB Topic 11.C)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479360/740-10-S99-2"
  },
  "r522": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "270",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477891/740-270-50-1"
  },
  "r523": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482603/740-30-50-2"
  },
  "r524": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478666/740-323-65-2"
  },
  "r525": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478666/740-323-65-2"
  },
  "r526": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478666/740-323-65-2"
  },
  "r527": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(d)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478666/740-323-65-2"
  },
  "r528": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(d)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478666/740-323-65-2"
  },
  "r529": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478666/740-323-65-2"
  },
  "r530": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(g)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478666/740-323-65-2"
  },
  "r531": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(g)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478666/740-323-65-2"
  },
  "r532": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(g)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478666/740-323-65-2"
  },
  "r533": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(g)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478666/740-323-65-2"
  },
  "r534": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479845/805-20-65-3"
  },
  "r535": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479845/805-20-65-3"
  },
  "r536": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "3",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479845/805-20-65-3"
  },
  "r537": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479581/805-30-50-1"
  },
  "r538": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479581/805-30-50-2"
  },
  "r539": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "60",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476176/805-60-65-1"
  },
  "r540": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "60",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476176/805-60-65-1"
  },
  "r541": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "60",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476176/805-60-65-1"
  },
  "r542": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "60",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(d)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476176/805-60-65-1"
  },
  "r543": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "805",
   "SubTopic": "60",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476176/805-60-65-1"
  },
  "r544": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "19",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481231/810-10-45-19"
  },
  "r545": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "25",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481231/810-10-45-25"
  },
  "r546": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "25",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481231/810-10-45-25"
  },
  "r547": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481203/810-10-50-1A"
  },
  "r548": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481203/810-10-50-1A"
  },
  "r549": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(bb)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481203/810-10-50-3"
  },
  "r550": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481203/810-10-50-3"
  },
  "r551": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/815/tableOfContent"
  },
  "r552": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-1A"
  },
  "r553": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-1A"
  },
  "r554": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-1A"
  },
  "r555": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-1A"
  },
  "r556": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-1B"
  },
  "r557": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(1)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-2"
  },
  "r558": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(1)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-2"
  },
  "r559": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(1)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-2"
  },
  "r560": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-2"
  },
  "r561": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-2"
  },
  "r562": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4A"
  },
  "r563": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4A",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4A"
  },
  "r564": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4A",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4A"
  },
  "r565": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4A",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4A"
  },
  "r566": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4A",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4A"
  },
  "r567": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4B"
  },
  "r568": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4B",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4B"
  },
  "r569": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4B",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4B"
  },
  "r570": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4B",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4B"
  },
  "r571": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4C"
  },
  "r572": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4C",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4C"
  },
  "r573": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4C",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4C"
  },
  "r574": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4C",
   "Subparagraph": "(bb)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4C"
  },
  "r575": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4C",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4C"
  },
  "r576": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4C",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4C"
  },
  "r577": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4C",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4C"
  },
  "r578": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4C",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4C"
  },
  "r579": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4CC",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4CC"
  },
  "r580": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4CCC",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4CCC"
  },
  "r581": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4CCC",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4CCC"
  },
  "r582": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4CCC",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4CCC"
  },
  "r583": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4D",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4D"
  },
  "r584": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4D",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4D"
  },
  "r585": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4D",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4D"
  },
  "r586": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4D",
   "Subparagraph": "(a)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4D"
  },
  "r587": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4D",
   "Subparagraph": "(a)(5)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4D"
  },
  "r588": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4D",
   "Subparagraph": "(a)(6)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4D"
  },
  "r589": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4D",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4D"
  },
  "r590": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4E",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4E"
  },
  "r591": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4F",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4F"
  },
  "r592": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4F",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4F"
  },
  "r593": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4H",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4H"
  },
  "r594": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4H",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4H"
  },
  "r595": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4I",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4I"
  },
  "r596": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r597": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r598": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r599": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r600": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)(5)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r601": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r602": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r603": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r604": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5C",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-5C"
  },
  "r605": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-7A"
  },
  "r606": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-8A"
  },
  "r607": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "15",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480960/815-15-50-3"
  },
  "r608": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480591/815-20-50-1"
  },
  "r609": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480528/815-20-65-6"
  },
  "r610": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480528/815-20-65-6"
  },
  "r611": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480528/815-20-65-6"
  },
  "r612": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480528/815-20-65-6"
  },
  "r613": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(h)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480528/815-20-65-6"
  },
  "r614": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(h)(1)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480528/815-20-65-6"
  },
  "r615": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(h)(1)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480528/815-20-65-6"
  },
  "r616": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(h)(1)(iv)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480528/815-20-65-6"
  },
  "r617": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(i)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480528/815-20-65-6"
  },
  "r618": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(i)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480528/815-20-65-6"
  },
  "r619": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(i)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480528/815-20-65-6"
  },
  "r620": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480870/815-30-50-2"
  },
  "r621": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480870/815-30-50-2"
  },
  "r622": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480870/815-30-50-2"
  },
  "r623": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480870/815-30-50-2"
  },
  "r624": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480237/815-40-50-5"
  },
  "r625": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480237/815-40-50-6"
  },
  "r626": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480175/815-40-65-1"
  },
  "r627": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480175/815-40-65-1"
  },
  "r628": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480175/815-40-65-1"
  },
  "r629": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480175/815-40-65-1"
  },
  "r630": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480175/815-40-65-1"
  },
  "r631": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480175/815-40-65-1"
  },
  "r632": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480175/815-40-65-1"
  },
  "r633": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(e)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480175/815-40-65-1"
  },
  "r634": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(e)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480175/815-40-65-1"
  },
  "r635": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(e)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480175/815-40-65-1"
  },
  "r636": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(e)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480175/815-40-65-1"
  },
  "r637": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480175/815-40-65-1"
  },
  "r638": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "35",
   "Paragraph": "54B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482134/820-10-35-54B"
  },
  "r639": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r640": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r641": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r642": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r643": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r644": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r645": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r646": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r647": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r648": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r649": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r650": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r651": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r652": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2E",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2E"
  },
  "r653": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2G",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2G"
  },
  "r654": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-3"
  },
  "r655": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-3"
  },
  "r656": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r657": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r658": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r659": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r660": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r661": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6B"
  },
  "r662": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "13",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482477/820-10-65-13"
  },
  "r663": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "13",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482477/820-10-65-13"
  },
  "r664": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482736/825-10-45-2"
  },
  "r665": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-10"
  },
  "r666": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-11"
  },
  "r667": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-11"
  },
  "r668": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-21"
  },
  "r669": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-21"
  },
  "r670": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(c)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-21"
  },
  "r671": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(d)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-21"
  },
  "r672": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(d)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-21"
  },
  "r673": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "28",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-28"
  },
  "r674": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "28",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-28"
  },
  "r675": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "28",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-28"
  },
  "r676": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-30"
  },
  "r677": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-32"
  },
  "r678": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482804/825-20-50-1"
  },
  "r679": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "17",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481694/830-30-45-17"
  },
  "r680": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "20",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481694/830-30-45-20"
  },
  "r681": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "20",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481694/830-30-45-20"
  },
  "r682": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "20",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481694/830-30-45-20"
  },
  "r683": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "20",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481694/830-30-45-20"
  },
  "r684": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481674/830-30-50-1"
  },
  "r685": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481674/830-30-50-2"
  },
  "r686": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "835",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482925/835-30-45-1A"
  },
  "r687": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "835",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482925/835-30-45-2"
  },
  "r688": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "835",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482900/835-30-50-1"
  },
  "r689": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "8",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479832/842-10-65-8"
  },
  "r690": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "8",
   "Subparagraph": "(c)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479832/842-10-65-8"
  },
  "r691": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/842-20/tableOfContent"
  },
  "r692": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "35",
   "Paragraph": "12A",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479165/842-20-35-12A"
  },
  "r693": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479041/842-20-45-1"
  },
  "r694": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479041/842-20-45-1"
  },
  "r695": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479041/842-20-45-2"
  },
  "r696": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479041/842-20-45-5"
  },
  "r697": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-3"
  },
  "r698": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-3"
  },
  "r699": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-4"
  },
  "r700": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-4"
  },
  "r701": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-4"
  },
  "r702": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-4"
  },
  "r703": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(g)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-4"
  },
  "r704": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(g)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-4"
  },
  "r705": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(g)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-4"
  },
  "r706": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(g)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-4"
  },
  "r707": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-6"
  },
  "r708": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-7A"
  },
  "r709": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-7A"
  },
  "r710": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "848",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483550/848-10-65-1"
  },
  "r711": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "848",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(e)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483550/848-10-65-1"
  },
  "r712": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "848",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483550/848-10-65-2"
  },
  "r713": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "848",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483550/848-10-65-2"
  },
  "r714": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "848",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483550/848-10-65-2"
  },
  "r715": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "848",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(a)(3)(iii)(01)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483550/848-10-65-2"
  },
  "r716": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "848",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(a)(3)(iii)(03)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483550/848-10-65-2"
  },
  "r717": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "848",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483550/848-10-65-2"
  },
  "r718": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "848",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(d)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483550/848-10-65-2"
  },
  "r719": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/850/tableOfContent"
  },
  "r720": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r721": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r722": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r723": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r724": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-2"
  },
  "r725": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-3"
  },
  "r726": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-6"
  },
  "r727": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "855",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/855/tableOfContent"
  },
  "r728": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "855",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483399/855-10-50-2"
  },
  "r729": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "855",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483399/855-10-50-2"
  },
  "r730": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/860/tableOfContent"
  },
  "r731": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r732": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)(2)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r733": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r734": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(bb)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r735": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(bb)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r736": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(bb)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r737": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r738": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r739": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r740": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r741": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(cc)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r742": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(d)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r743": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(d)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r744": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4"
  },
  "r745": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(5)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4"
  },
  "r746": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4"
  },
  "r747": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4"
  },
  "r748": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4"
  },
  "r749": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4"
  },
  "r750": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4"
  },
  "r751": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4"
  },
  "r752": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4D",
   "Subparagraph": "(c)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4D"
  },
  "r753": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481444/860-30-45-1"
  },
  "r754": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481444/860-30-45-2"
  },
  "r755": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(b)(1)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481420/860-30-50-1A"
  },
  "r756": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(b)(1)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481420/860-30-50-1A"
  },
  "r757": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481420/860-30-50-1A"
  },
  "r758": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(c)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481420/860-30-50-1A"
  },
  "r759": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481420/860-30-50-7"
  },
  "r760": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481420/860-30-50-7"
  },
  "r761": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481420/860-30-50-7"
  },
  "r762": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481420/860-30-50-7"
  },
  "r763": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481420/860-30-50-9"
  },
  "r764": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481260/860-50-45-1"
  },
  "r765": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481260/860-50-45-2"
  },
  "r766": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481260/860-50-45-2"
  },
  "r767": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-2"
  },
  "r768": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-2"
  },
  "r769": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-2"
  },
  "r770": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-3"
  },
  "r771": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-3"
  },
  "r772": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-3"
  },
  "r773": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-3"
  },
  "r774": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(4)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-3"
  },
  "r775": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(4)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-3"
  },
  "r776": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(5)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-3"
  },
  "r777": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-4"
  },
  "r778": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-4"
  },
  "r779": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-4"
  },
  "r780": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-4"
  },
  "r781": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(5)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-4"
  },
  "r782": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(6)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-4"
  },
  "r783": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)(7)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-4"
  },
  "r784": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-4"
  },
  "r785": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-4"
  },
  "r786": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(e)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-4"
  },
  "r787": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(e)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-4"
  },
  "r788": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(e)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-4"
  },
  "r789": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "910",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482546/910-10-50-6"
  },
  "r790": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "924",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 11.L)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479941/924-10-S99-1"
  },
  "r791": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478934/932-220-50-1"
  },
  "r792": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-18"
  },
  "r793": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-18"
  },
  "r794": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-18"
  },
  "r795": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "19",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-19"
  },
  "r796": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "20",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-20"
  },
  "r797": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "20",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-20"
  },
  "r798": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "23",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-23"
  },
  "r799": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "23",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-23"
  },
  "r800": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "23",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-23"
  },
  "r801": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "23",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-23"
  },
  "r802": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "23",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-23"
  },
  "r803": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "23",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-23"
  },
  "r804": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "28",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-28"
  },
  "r805": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "28",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-28"
  },
  "r806": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "31",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-31"
  },
  "r807": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "31",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-31"
  },
  "r808": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "31",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-31"
  },
  "r809": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "31",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-31"
  },
  "r810": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "31",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-31"
  },
  "r811": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "31",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-31"
  },
  "r812": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-5"
  },
  "r813": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-5"
  },
  "r814": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-5"
  },
  "r815": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-5"
  },
  "r816": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-5"
  },
  "r817": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-5"
  },
  "r818": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-6"
  },
  "r819": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-7"
  },
  "r820": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-8"
  },
  "r821": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-8"
  },
  "r822": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-8"
  },
  "r823": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "280",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478657/932-280-50-1"
  },
  "r824": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "323",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478988/932-323-50-1"
  },
  "r825": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "940",
   "SubTopic": "405",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478779/940-405-45-1"
  },
  "r826": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "940",
   "SubTopic": "820",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478119/940-820-50-1"
  },
  "r827": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(10))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r828": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(14)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r829": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(27))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r830": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478524/942-220-S99-1"
  },
  "r831": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478671/942-235-S50-1"
  },
  "r832": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-05(b)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477314/942-235-S99-1"
  },
  "r833": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-05(b)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477314/942-235-S99-1"
  },
  "r834": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-05(b)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477314/942-235-S99-1"
  },
  "r835": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477314/942-235-S99-2"
  },
  "r836": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479255/942-310-S50-4"
  },
  "r837": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SAB Topic 11.H.2.Q1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478116/942-310-S99-2"
  },
  "r838": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478451/942-360-50-1"
  },
  "r839": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "470",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477734/942-470-50-3"
  },
  "r840": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477270/942-505-50-1"
  },
  "r841": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "740",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477617/942-740-50-1"
  },
  "r842": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "825",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478898/942-825-50-1"
  },
  "r843": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(1)(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r844": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(10))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r845": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(12))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r846": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(15)(b)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r847": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(15))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r848": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(17))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r849": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(19))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r850": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r851": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(22))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r852": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r853": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(25))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r854": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r855": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(8))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r856": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(11))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r857": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(16))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r858": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(18))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r859": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(19))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r860": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(2)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r861": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(23))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r862": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r863": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-1"
  },
  "r864": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-1"
  },
  "r865": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-1"
  },
  "r866": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column D))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-1"
  },
  "r867": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column E))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-1"
  },
  "r868": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column F))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-1"
  },
  "r869": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column G))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-1"
  },
  "r870": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column H))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-1"
  },
  "r871": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column I))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-1"
  },
  "r872": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column J))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-1"
  },
  "r873": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column K))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-1"
  },
  "r874": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-5"
  },
  "r875": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-5"
  },
  "r876": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7A"
  },
  "r877": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Subparagraph": "(a)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-9"
  },
  "r878": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480016/944-40-65-2"
  },
  "r879": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480016/944-40-65-2"
  },
  "r880": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480016/944-40-65-2"
  },
  "r881": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(f)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480016/944-40-65-2"
  },
  "r882": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480016/944-40-65-2"
  },
  "r883": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(g)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480016/944-40-65-2"
  },
  "r884": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(g)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480016/944-40-65-2"
  },
  "r885": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(g)(2)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480016/944-40-65-2"
  },
  "r886": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(g)(2)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480016/944-40-65-2"
  },
  "r887": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(g)(2)(iv)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480016/944-40-65-2"
  },
  "r888": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(h)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480016/944-40-65-2"
  },
  "r889": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(h)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480016/944-40-65-2"
  },
  "r890": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 5.W.Q2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479583/944-40-S99-1"
  },
  "r891": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "740",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478822/944-740-50-1"
  },
  "r892": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "805",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478072/944-805-50-1"
  },
  "r893": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "825",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477351/944-825-50-1B"
  },
  "r894": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "825",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477351/944-825-50-1B"
  },
  "r895": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480424/946-10-50-1"
  },
  "r896": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480424/946-10-50-2"
  },
  "r897": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480424/946-10-50-3"
  },
  "r898": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479886/946-10-S99-3"
  },
  "r899": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480990/946-20-50-11"
  },
  "r900": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480990/946-20-50-13"
  },
  "r901": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480990/946-20-50-2"
  },
  "r902": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480990/946-20-50-5"
  },
  "r903": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480990/946-20-50-6"
  },
  "r904": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478009/946-205-45-3"
  },
  "r905": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478009/946-205-45-3"
  },
  "r906": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478009/946-205-45-4"
  },
  "r907": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478009/946-205-45-6"
  },
  "r908": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "21",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477796/946-210-45-21"
  },
  "r909": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477796/946-210-45-4"
  },
  "r910": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-1"
  },
  "r911": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-1"
  },
  "r912": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-1"
  },
  "r913": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-1"
  },
  "r914": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-12"
  },
  "r915": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-2"
  },
  "r916": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-6"
  },
  "r917": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-6"
  },
  "r918": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-6"
  },
  "r919": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-6"
  },
  "r920": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-6"
  },
  "r921": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-6"
  },
  "r922": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r923": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(11))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r924": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(12)(b)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r925": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(12)(b)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r926": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(12)(b)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r927": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(13)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r928": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(13)(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r929": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(14))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r930": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(15))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r931": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(16)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r932": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(17))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r933": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(19))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r934": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(2)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r935": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(2)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r936": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(3)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r937": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(3)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r938": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(3)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r939": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r940": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(5)(a)(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r941": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(6)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r942": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(6)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r943": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(6)(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r944": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(6)(e))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r945": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(7)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r946": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(8))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r947": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(9)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r948": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(9)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r949": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(9)(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r950": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(9)(e))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r951": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.6-05(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-2"
  },
  "r952": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.6-05(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-2"
  },
  "r953": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479105/946-220-45-7"
  },
  "r954": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(1)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r955": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r956": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r957": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(c)(2)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r958": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(c)(2)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r959": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r960": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(e))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r961": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(g)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r962": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r963": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r964": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r965": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r966": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r967": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r968": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r969": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r970": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r971": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r972": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r973": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r974": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r975": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r976": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(1)(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-3"
  },
  "r977": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(4)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-3"
  },
  "r978": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-3"
  },
  "r979": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-3"
  },
  "r980": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477968/946-235-50-2"
  },
  "r981": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477968/946-235-50-2"
  },
  "r982": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477968/946-235-50-2"
  },
  "r983": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477968/946-235-50-2"
  },
  "r984": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477802/946-310-45-1"
  },
  "r985": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r986": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r987": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r988": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r989": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column C)(Footnote 6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r990": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r991": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-12A(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-2"
  },
  "r992": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-12A(Column C)(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-2"
  },
  "r993": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 4)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r994": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 4)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r995": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r996": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r997": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r998": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r999": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r1000": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r1001": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5",
   "Subparagraph": "(SX 210.12-13(Column A)(Footnote 1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-5"
  },
  "r1002": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5",
   "Subparagraph": "(SX 210.12-13(Column A)(Footnote 3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-5"
  },
  "r1003": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5",
   "Subparagraph": "(SX 210.12-13(Column G)(Footnote 8))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-5"
  },
  "r1004": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5",
   "Subparagraph": "(SX 210.12-13(Column G))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-5"
  },
  "r1005": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5A",
   "Subparagraph": "(SX 210.12-13A(Column A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-5A"
  },
  "r1006": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5A",
   "Subparagraph": "(SX 210.12-13A(Column E))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-5A"
  },
  "r1007": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5B",
   "Subparagraph": "(SX 210.12-13B(Column E)(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-5B"
  },
  "r1008": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5B",
   "Subparagraph": "(SX 210.12-13B(Column E))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-5B"
  },
  "r1009": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5C",
   "Subparagraph": "(SX 210.12-13C(Column H)(Footnote 7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-5C"
  },
  "r1010": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5C",
   "Subparagraph": "(SX 210.12-13C(Column H))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-5C"
  },
  "r1011": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(b)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r1012": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 1)(b)(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r1013": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r1014": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r1015": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column E)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r1016": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column E)(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r1017": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column F)(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r1018": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column F)(Footnote 7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r1019": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column F))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r1020": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478448/946-505-50-3"
  },
  "r1021": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478448/946-505-50-6"
  },
  "r1022": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "948",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481586/948-10-50-3"
  },
  "r1023": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "948",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481586/948-10-50-3"
  },
  "r1024": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "948",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481586/948-10-50-3"
  },
  "r1025": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "948",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481586/948-10-50-3"
  },
  "r1026": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "948",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481586/948-10-50-3"
  },
  "r1027": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "948",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481586/948-10-50-5"
  },
  "r1028": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "948",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481586/948-10-50-5"
  },
  "r1029": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "948",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481586/948-10-50-5"
  },
  "r1030": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "948",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478322/948-310-S50-2"
  },
  "r1031": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "948",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-29(Column A)(Footnote 3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479628/948-310-S99-1"
  },
  "r1032": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "948",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-29(Column A)(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479628/948-310-S99-1"
  },
  "r1033": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "948",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-29(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479628/948-310-S99-1"
  },
  "r1034": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "948",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-29(Column C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479628/948-310-S99-1"
  },
  "r1035": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "948",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-29(Column G)(Footnote 3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479628/948-310-S99-1"
  },
  "r1036": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "948",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-29(Column G)(Footnote 6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479628/948-310-S99-1"
  },
  "r1037": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "948",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-29(Column G)(Footnote 8))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479628/948-310-S99-1"
  },
  "r1038": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "948",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-29(Column H))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479628/948-310-S99-1"
  },
  "r1039": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "948",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-29)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479628/948-310-S99-1"
  },
  "r1040": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "954",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478785/954-310-50-2"
  },
  "r1041": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "954",
   "SubTopic": "440",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478522/954-440-50-1"
  },
  "r1042": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478979/970-360-S99-1"
  },
  "r1043": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478979/970-360-S99-1"
  },
  "r1044": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478979/970-360-S99-1"
  },
  "r1045": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column D))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478979/970-360-S99-1"
  },
  "r1046": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column E)(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478979/970-360-S99-1"
  },
  "r1047": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column E))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478979/970-360-S99-1"
  },
  "r1048": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column F))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478979/970-360-S99-1"
  },
  "r1049": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column G))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478979/970-360-S99-1"
  },
  "r1050": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column H))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478979/970-360-S99-1"
  },
  "r1051": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Column I))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478979/970-360-S99-1"
  },
  "r1052": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "976",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477332/976-310-50-1"
  },
  "r1053": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "978",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479230/978-310-50-1"
  },
  "r1054": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "985",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481283/985-20-50-1"
  },
  "r1055": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "985",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481283/985-20-50-1"
  },
  "r1056": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "985",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481283/985-20-50-1"
  },
  "r1057": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "985",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481283/985-20-50-2"
  },
  "r1058": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "10",
   "SubTopic": "10",
   "Topic": "825",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482881/825-10-55-10"
  },
  "r1059": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "13H",
   "Subparagraph": "(b)",
   "SubTopic": "40",
   "Topic": "944",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480046/944-40-55-13H"
  },
  "r1060": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "15",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483444/210-20-55-15"
  },
  "r1061": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "16",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483444/210-20-55-16"
  },
  "r1062": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "20",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483444/210-20-55-20"
  },
  "r1063": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "21",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483444/210-20-55-21"
  },
  "r1064": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "22",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483444/210-20-55-22"
  },
  "r1065": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-12"
  },
  "r1066": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "14",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476153/220-40-55-14"
  },
  "r1067": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "21",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476153/220-40-55-21"
  },
  "r1068": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476153/220-40-55-4"
  },
  "r1069": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "21",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-21"
  },
  "r1070": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "52",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482635/260-10-55-52"
  },
  "r1071": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "18",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482836/275-10-55-18"
  },
  "r1072": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482836/275-10-55-3A"
  },
  "r1073": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-30"
  },
  "r1074": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "31",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-31"
  },
  "r1075": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "47",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-47"
  },
  "r1076": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "47",
   "Subparagraph": "(bb)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-47"
  },
  "r1077": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "47",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-47"
  },
  "r1078": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "47",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-47"
  },
  "r1079": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "48",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-48"
  },
  "r1080": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "49",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-49"
  },
  "r1081": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "54",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-54"
  },
  "r1082": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "54",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-54"
  },
  "r1083": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "54",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-54"
  },
  "r1084": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481933/310-10-55-12A"
  },
  "r1085": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479081/326-30-55-8"
  },
  "r1086": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "24",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482548/350-20-55-24"
  },
  "r1087": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r1088": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "69B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481568/470-20-55-69B"
  },
  "r1089": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "69C",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481568/470-20-55-69C"
  },
  "r1090": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "69E",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481568/470-20-55-69E"
  },
  "r1091": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "69F",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481568/470-20-55-69F"
  },
  "r1092": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "64",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481620/480-10-55-64"
  },
  "r1093": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-13"
  },
  "r1094": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479806/606-10-50-5"
  },
  "r1095": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "91",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479777/606-10-55-91"
  },
  "r1096": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "91",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479777/606-10-55-91"
  },
  "r1097": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r1098": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(01)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r1099": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(c)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-5"
  },
  "r1100": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(c)(iv)(01)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-5"
  },
  "r1101": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "17",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480482/715-20-55-17"
  },
  "r1102": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "715",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480547/715-80-55-8"
  },
  "r1103": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1104": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "231",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482663/740-10-55-231"
  },
  "r1105": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479328/805-10-50-8"
  },
  "r1106": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "41",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479303/805-10-55-41"
  },
  "r1107": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "43",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479303/805-10-55-43"
  },
  "r1108": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "47",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479303/805-10-55-47"
  },
  "r1109": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "805",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479908/805-50-55-1"
  },
  "r1110": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(bb)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481203/810-10-50-3"
  },
  "r1111": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "4J",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481175/810-10-55-4J"
  },
  "r1112": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481175/810-10-55-4K"
  },
  "r1113": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4L",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4L"
  },
  "r1114": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "181",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480401/815-10-55-181"
  },
  "r1115": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "182",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480401/815-10-55-182"
  },
  "r1116": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "183",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480401/815-10-55-183"
  },
  "r1117": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "184",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480401/815-10-55-184"
  },
  "r1118": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "185",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480401/815-10-55-185"
  },
  "r1119": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "100",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-100"
  },
  "r1120": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "101",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-101"
  },
  "r1121": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "102",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-102"
  },
  "r1122": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "103",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-103"
  },
  "r1123": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "107",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-107"
  },
  "r1124": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "107",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-107"
  },
  "r1125": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "107",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-107"
  },
  "r1126": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "107",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-107"
  },
  "r1127": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "107",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-107"
  },
  "r1128": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "107",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482078/820-10-55-107"
  },
  "r1129": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482881/825-10-55-12"
  },
  "r1130": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "835",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482949/835-30-55-8"
  },
  "r1131": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "53",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479589/842-20-55-53"
  },
  "r1132": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "852",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481372/852-10-55-10"
  },
  "r1133": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "860",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481420/860-30-50-1A"
  },
  "r1134": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "860",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481395/860-30-55-4"
  },
  "r1135": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "17",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-17"
  },
  "r1136": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-21"
  },
  "r1137": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "29",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-29"
  },
  "r1138": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477215/932-235-50-3"
  },
  "r1139": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477916/932-235-55-2"
  },
  "r1140": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477916/932-235-55-4"
  },
  "r1141": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477916/932-235-55-5"
  },
  "r1142": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477916/932-235-55-6"
  },
  "r1143": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "13H",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480046/944-40-55-13H"
  },
  "r1144": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "29F",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480046/944-40-55-29F"
  },
  "r1145": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "9C",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480046/944-40-55-9C"
  },
  "r1146": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "9C",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480046/944-40-55-9C"
  },
  "r1147": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "9C",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480046/944-40-55-9C"
  },
  "r1148": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "605",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477548/944-605-55-11"
  },
  "r1149": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "605",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "14",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477548/944-605-55-14"
  },
  "r1150": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-1"
  },
  "r1151": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-6"
  },
  "r1152": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477439/946-210-55-1"
  },
  "r1153": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477802/946-310-45-1"
  },
  "r1154": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 2)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r1155": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-12A(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-2"
  },
  "r1156": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 1)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r1157": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r1158": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "830",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "39",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477346/946-830-45-39"
  },
  "r1159": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "830",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479168/946-830-55-10"
  },
  "r1160": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "830",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479168/946-830-55-11"
  },
  "r1161": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "830",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479168/946-830-55-12"
  },
  "r1162": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "948",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478322/948-310-S50-2"
  },
  "r1163": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "948",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-29(Column A)(Footnote 3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479628/948-310-S99-1"
  },
  "r1164": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "948",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-29(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479628/948-310-S99-1"
  },
  "r1165": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "948",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-29(Column C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479628/948-310-S99-1"
  },
  "r1166": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "948",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-29(Column G)(Footnote 3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479628/948-310-S99-1"
  },
  "r1167": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "948",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-29(Column H))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479628/948-310-S99-1"
  },
  "r1168": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "b"
  },
  "r1169": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r1170": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "d1-1"
  },
  "r1171": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 10-Q",
   "Number": "240",
   "Section": "308",
   "Subsection": "a"
  },
  "r1172": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "16",
   "Subsection": "J",
   "Paragraph": "a"
  },
  "r1173": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1"
  },
  "r1174": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "i"
  },
  "r1175": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "A"
  },
  "r1176": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "B"
  },
  "r1177": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "C"
  },
  "r1178": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "D"
  },
  "r1179": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "E"
  },
  "r1180": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "ii"
  },
  "r1181": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "iii"
  },
  "r1182": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "2"
  },
  "r1183": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a"
  },
  "r1184": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "1"
  },
  "r1185": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "i"
  },
  "r1186": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "ii"
  },
  "r1187": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "iii"
  },
  "r1188": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "iv"
  },
  "r1189": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "v"
  },
  "r1190": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "2"
  },
  "r1191": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "3"
  },
  "r1192": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "b"
  },
  "r1193": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a"
  },
  "r1194": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "1"
  },
  "r1195": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "i"
  },
  "r1196": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "ii"
  },
  "r1197": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "iii"
  },
  "r1198": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "iv"
  },
  "r1199": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "v"
  },
  "r1200": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "2"
  },
  "r1201": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "3"
  },
  "r1202": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "b"
  },
  "r1203": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Forms 10-K, 10-Q, 20-F",
   "Number": "240",
   "Section": "13",
   "Subsection": "a-1"
  },
  "r1204": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v"
  },
  "r1205": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "1"
  },
  "r1206": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "ii"
  },
  "r1207": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii"
  },
  "r1208": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "B",
   "Clause": "1",
   "Subclause": "ii"
  },
  "r1209": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "C",
   "Clause": "1",
   "Subclause": "i"
  },
  "r1210": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "C",
   "Clause": "1",
   "Subclause": "ii"
  },
  "r1211": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "C",
   "Clause": "1",
   "Subclause": "iii"
  },
  "r1212": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "C",
   "Clause": "1",
   "Subclause": "iv"
  },
  "r1213": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "C",
   "Clause": "1",
   "Subclause": "v"
  },
  "r1214": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "C",
   "Clause": "1",
   "Subclause": "vi"
  },
  "r1215": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iv"
  },
  "r1216": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "vi"
  },
  "r1217": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "3"
  },
  "r1218": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "4"
  },
  "r1219": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "5",
   "Subparagraph": "i"
  },
  "r1220": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "5",
   "Subparagraph": "ii"
  },
  "r1221": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "5",
   "Subparagraph": "iii"
  },
  "r1222": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "5",
   "Subparagraph": "iv"
  },
  "r1223": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "6"
  },
  "r1224": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "6",
   "Subparagraph": "i"
  },
  "r1225": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1"
  },
  "r1226": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "i"
  },
  "r1227": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "A"
  },
  "r1228": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "B"
  },
  "r1229": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "C"
  },
  "r1230": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "D"
  },
  "r1231": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "E"
  },
  "r1232": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "ii"
  },
  "r1233": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "iii"
  },
  "r1234": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "2"
  },
  "r1235": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "x",
   "Paragraph": "1"
  },
  "r1236": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "x",
   "Paragraph": "2"
  },
  "r1237": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "x",
   "Paragraph": "2",
   "Subparagraph": "ii",
   "Sentence": "A"
  },
  "r1238": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "x",
   "Paragraph": "2",
   "Subparagraph": "ii",
   "Sentence": "C"
  },
  "r1239": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "x",
   "Paragraph": "2",
   "Subparagraph": "ii",
   "Sentence": "D"
  },
  "r1240": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "x",
   "Paragraph": "2",
   "Subparagraph": "ii",
   "Sentence": "E"
  },
  "r1241": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "x",
   "Paragraph": "2",
   "Subparagraph": "ii",
   "Sentence": "F"
  },
  "r1242": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "a"
  },
  "r1243": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "a",
   "Paragraph": "1"
  },
  "r1244": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "a",
   "Paragraph": "2",
   "Subparagraph": "A"
  },
  "r1245": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "a",
   "Paragraph": "2",
   "Subparagraph": "B"
  },
  "r1246": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "a",
   "Paragraph": "2",
   "Subparagraph": "C"
  },
  "r1247": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "a",
   "Paragraph": "2",
   "Subparagraph": "D"
  },
  "r1248": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "b",
   "Paragraph": "1"
  },
  "r1249": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Section": "402",
   "Number": "229",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "C",
   "Clause": "1"
  },
  "r1250": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "A",
   "Number": "229"
  },
  "r1251": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "B",
   "Clause": "1",
   "Number": "229"
  },
  "r1252": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii",
   "Sentence": "B",
   "Clause": "1",
   "Subclause": "i",
   "Number": "229"
  },
  "r1253": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-T",
   "Number": "232",
   "Section": "405"
  },
  "r1254": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483076/450-20-50-10"
  },
  "r1255": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "855",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483399/855-10-50-3"
  },
  "r1256": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "948",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481586/948-10-50-4"
  },
  "r1257": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "948",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481586/948-10-50-4"
  },
  "r1258": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "948",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481586/948-10-50-4"
  },
  "r1259": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "948",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481586/948-10-50-4"
  },
  "r1260": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "948",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481586/948-10-50-4"
  },
  "r1261": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "948",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481586/948-10-50-4"
  },
  "r1262": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "25",
   "Subparagraph": "(a)",
   "SubTopic": "10",
   "Topic": "810",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481231/810-10-45-25"
  },
  "r1263": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(g)(1)",
   "SubTopic": "20",
   "Topic": "842",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-4"
  },
  "r1264": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "a",
   "Publisher": "SEC"
  },
  "r1265": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "b",
   "Subparagraph": "(1)",
   "Publisher": "SEC"
  },
  "r1266": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "b",
   "Subparagraph": "(2)",
   "Publisher": "SEC"
  },
  "r1267": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "b",
   "Subparagraph": "(3)",
   "Publisher": "SEC"
  },
  "r1268": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "c",
   "Subparagraph": "(2)(i)",
   "Publisher": "SEC"
  },
  "r1269": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "c",
   "Subparagraph": "(2)(ii)",
   "Publisher": "SEC"
  },
  "r1270": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "c",
   "Subparagraph": "(2)(iii)",
   "Publisher": "SEC"
  },
  "r1271": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "13",
   "Subsection": "01",
   "Paragraph": "a",
   "Subparagraph": "(4)(ii)",
   "Publisher": "SEC"
  },
  "r1272": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "13",
   "Subsection": "01",
   "Paragraph": "a",
   "Subparagraph": "(4)(iii)",
   "Publisher": "SEC"
  },
  "r1273": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "105",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "9",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479343/105-10-65-9"
  },
  "r1274": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r1275": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(17))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r1276": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(3)(a)(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r1277": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(8))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r1278": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483466/210-20-50-3"
  },
  "r1279": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483466/210-20-50-3"
  },
  "r1280": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483466/210-20-50-3"
  },
  "r1281": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(d)(1)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483466/210-20-50-3"
  },
  "r1282": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(d)(1)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483466/210-20-50-3"
  },
  "r1283": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(d)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483466/210-20-50-3"
  },
  "r1284": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483466/210-20-50-3"
  },
  "r1285": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483444/210-20-55-10"
  },
  "r1286": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483444/210-20-55-12"
  },
  "r1287": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482765/220-10-50-6"
  },
  "r1288": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(1)(e))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r1289": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r1290": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r1291": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "12",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-12"
  },
  "r1292": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "13",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-13"
  },
  "r1293": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "16",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-16"
  },
  "r1294": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "21",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-21"
  },
  "r1295": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "25",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-25"
  },
  "r1296": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "28",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-28"
  },
  "r1297": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "28",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-28"
  },
  "r1298": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "9",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-9"
  },
  "r1299": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483426/235-10-50-4"
  },
  "r1300": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480738/235-10-S50-1"
  },
  "r1301": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480738/235-10-S50-4"
  },
  "r1302": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r1303": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(f))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r1304": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(g)(1)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r1305": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r1306": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(k)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r1307": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(k)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r1308": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(m)(1)(iii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r1309": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-04(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-3"
  },
  "r1310": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "23",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483421/250-10-45-23"
  },
  "r1311": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "24",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483421/250-10-45-24"
  },
  "r1312": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483421/250-10-45-5"
  },
  "r1313": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-1"
  },
  "r1314": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-3"
  },
  "r1315": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-6"
  },
  "r1316": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482662/260-10-50-1"
  },
  "r1317": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "270",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482964/270-10-50-1"
  },
  "r1318": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "275",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/275/tableOfContent"
  },
  "r1319": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-18"
  },
  "r1320": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-18"
  },
  "r1321": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-18"
  },
  "r1322": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-18"
  },
  "r1323": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-18"
  },
  "r1324": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-18"
  },
  "r1325": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-22"
  },
  "r1326": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-30"
  },
  "r1327": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(ee)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-32"
  },
  "r1328": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-32"
  },
  "r1329": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-9"
  },
  "r1330": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "321",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479536/321-10-50-3"
  },
  "r1331": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "321",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479536/321-10-50-3"
  },
  "r1332": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "321",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479536/321-10-50-3"
  },
  "r1333": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "323",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481687/323-10-50-3"
  },
  "r1334": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-13"
  },
  "r1335": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "405",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/405-30/tableOfContent"
  },
  "r1336": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "405",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477092/405-40-50-1"
  },
  "r1337": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "405",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477092/405-40-50-1"
  },
  "r1338": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "405",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(e)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477092/405-40-50-1"
  },
  "r1339": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "410",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "10",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481931/410-30-50-10"
  },
  "r1340": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "450",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/450/tableOfContent"
  },
  "r1341": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1A"
  },
  "r1342": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1A"
  },
  "r1343": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1B"
  },
  "r1344": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1D",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481139/470-20-50-1D"
  },
  "r1345": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "15",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-15"
  },
  "r1346": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.3-04)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480008/505-10-S99-1"
  },
  "r1347": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "505",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481520/505-30-50-4"
  },
  "r1348": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(n)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480506/715-20-50-1"
  },
  "r1349": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1350": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1351": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1352": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1353": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1354": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1355": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1356": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)(01)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1357": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)(02)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1358": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)(03)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1359": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)(iv)(04)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1360": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1361": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1362": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1363": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(iii)(01)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1364": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(iii)(02)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1365": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)(iii)(03)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1366": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1367": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1368": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(e)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1369": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(e)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1370": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1371": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1372": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1373": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(iv)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1374": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(v)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r1375": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(e)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479328/805-10-50-2"
  },
  "r1376": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "805",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479328/805-10-50-3"
  },
  "r1377": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "805",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "15",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480123/805-50-15-3"
  },
  "r1378": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "805",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "25",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480060/805-50-25-1"
  },
  "r1379": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "805",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "30",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480027/805-50-30-1"
  },
  "r1380": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "805",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "30",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480027/805-50-30-2"
  },
  "r1381": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "805",
   "SubTopic": "60",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476176/805-60-65-1"
  },
  "r1382": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-1A"
  },
  "r1383": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-1B"
  },
  "r1384": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4A",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4A"
  },
  "r1385": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4CC",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4CC"
  },
  "r1386": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r1387": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r1388": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-7A"
  },
  "r1389": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-7A"
  },
  "r1390": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-8"
  },
  "r1391": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-8"
  },
  "r1392": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-8"
  },
  "r1393": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "25",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480682/815-20-25-6A"
  },
  "r1394": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(e)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480175/815-40-65-1"
  },
  "r1395": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "35",
   "Paragraph": "54B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482134/820-10-35-54B"
  },
  "r1396": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r1397": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r1398": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r1399": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r1400": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r1401": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r1402": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r1403": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r1404": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r1405": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r1406": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r1407": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2E",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2E"
  },
  "r1408": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-3"
  },
  "r1409": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-3"
  },
  "r1410": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r1411": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-10"
  },
  "r1412": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-11"
  },
  "r1413": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-11"
  },
  "r1414": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-13"
  },
  "r1415": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "28",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-28"
  },
  "r1416": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "28",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-28"
  },
  "r1417": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-32"
  },
  "r1418": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "835",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482925/835-30-45-1A"
  },
  "r1419": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "835",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482925/835-30-45-2"
  },
  "r1420": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "835",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482925/835-30-45-3"
  },
  "r1421": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "835",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482900/835-30-50-1"
  },
  "r1422": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-3"
  },
  "r1423": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-3"
  },
  "r1424": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-4"
  },
  "r1425": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478964/842-20-50-6"
  },
  "r1426": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r1427": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r1428": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-3"
  },
  "r1429": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "852",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481404/852-10-50-7"
  },
  "r1430": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "852",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481404/852-10-50-7"
  },
  "r1431": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r1432": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r1433": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-3"
  },
  "r1434": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4"
  },
  "r1435": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4"
  },
  "r1436": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4"
  },
  "r1437": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4"
  },
  "r1438": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(b)(1)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481420/860-30-50-1A"
  },
  "r1439": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481420/860-30-50-9"
  },
  "r1440": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-2"
  },
  "r1441": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-2"
  },
  "r1442": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-3"
  },
  "r1443": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "50",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(4)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-3"
  },
  "r1444": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "942",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477314/942-235-S99-2"
  },
  "r1445": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(10))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r1446": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(16)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r1447": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(17))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r1448": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r1449": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479432/944-30-50-2B"
  },
  "r1450": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477363/944-310-50-3"
  },
  "r1451": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-4B"
  },
  "r1452": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4B",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-4B"
  },
  "r1453": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-4C"
  },
  "r1454": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4D",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-4D"
  },
  "r1455": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4G",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-4G"
  },
  "r1456": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-5"
  },
  "r1457": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-5"
  },
  "r1458": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-5"
  },
  "r1459": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-5"
  },
  "r1460": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-6"
  },
  "r1461": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-6"
  },
  "r1462": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-6"
  },
  "r1463": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-6"
  },
  "r1464": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-6"
  },
  "r1465": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)(5)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-6"
  },
  "r1466": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)(6)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-6"
  },
  "r1467": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-6"
  },
  "r1468": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7A"
  },
  "r1469": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7A"
  },
  "r1470": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7A"
  },
  "r1471": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7A"
  },
  "r1472": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7A"
  },
  "r1473": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7A"
  },
  "r1474": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7B"
  },
  "r1475": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7B",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7B"
  },
  "r1476": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7B",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-7B"
  },
  "r1477": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480109/944-80-50-2"
  },
  "r1478": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480109/944-80-50-2"
  },
  "r1479": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478009/946-205-45-4"
  },
  "r1480": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-6"
  },
  "r1481": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(12)(b)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r1482": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479105/946-220-45-3"
  },
  "r1483": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Subparagraph": "(k)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479105/946-220-45-3"
  },
  "r1484": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r1485": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(4)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-3"
  },
  "r1486": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-3"
  },
  "r1487": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477802/946-310-45-1"
  },
  "r1488": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column E)(Footnote 6)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r1489": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "948",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481586/948-10-50-3"
  },
  "r1490": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "948",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481586/948-10-50-5"
  },
  "r1491": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "948",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481586/948-10-50-5"
  },
  "r1492": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "948",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481586/948-10-50-5"
  }
 }
}
