{
 "version": "2.2",
 "instance": {
  "pmt-20260331.htm": {
   "nsprefix": "pmt",
   "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
   "dts": {
    "inline": {
     "local": [
      "pmt-20260331.htm"
     ]
    },
    "schema": {
     "local": [
      "pmt-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"
     ]
    }
   },
   "keyStandard": 292,
   "keyCustom": 294,
   "axisStandard": 34,
   "axisCustom": 0,
   "memberStandard": 44,
   "memberCustom": 167,
   "hidden": {
    "total": 20,
    "http://xbrl.sec.gov/dei/2025": 4,
    "http://fasb.org/us-gaap/2025": 16
   },
   "contextCount": 852,
   "entityCount": 1,
   "segmentCount": 220,
   "elementCount": 1278,
   "unitCount": 7,
   "baseTaxonomies": {
    "http://fasb.org/us-gaap/2025": 1744,
    "http://xbrl.sec.gov/dei/2025": 47,
    "http://xbrl.sec.gov/ecd/2025": 11,
    "http://fasb.org/srt/2025": 6
   },
   "report": {
    "R1": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
     "longName": "75000 - Document - Document and Entity Information",
     "shortName": "Document and Entity Information",
     "isDefault": "true",
     "groupType": "document",
     "subGroupType": "",
     "menuCat": "Cover",
     "order": "1",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "dei:DocumentType",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "dei:DocumentType",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R2": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited",
     "longName": "75010 - Statement - Consolidated Balance Sheets (Unaudited)",
     "shortName": "Consolidated Balance Sheets (Unaudited)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "2",
     "firstAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "us-gaap:Cash",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "us-gaap:Cash",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R3": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnauditedParenthetical",
     "longName": "75030 - Statement - Consolidated Balance Sheets (Unaudited) (Parenthetical)",
     "shortName": "Consolidated Balance Sheets (Unaudited) (Parenthetical)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "parenthetical",
     "menuCat": "Statements",
     "order": "3",
     "firstAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "pmt:PledgedAssetsSeparatelyReportedLoansAcquiredForSalePledgedAsCollateralAtFairValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "pmt:PledgedAssetsSeparatelyReportedLoansAcquiredForSalePledgedAsCollateralAtFairValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R4": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited",
     "longName": "75040 - Statement - Consolidated Statements of Operations (Unaudited)",
     "shortName": "Consolidated Statements of Operations (Unaudited)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "4",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:ContractuallySpecifiedServicingFeesAmount",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:HedgingGainsAndLossesOnMortgageServicingAssetsNet",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "unique": true
     }
    },
    "R5": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInShareholdersEquityUnaudited",
     "longName": "75050 - Statement - Consolidated Statements of Changes in Shareholders' Equity (Unaudited)",
     "shortName": "Consolidated Statements of Changes in Shareholders' Equity (Unaudited)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "5",
     "firstAnchor": {
      "contextRef": "C_e7c7aa6c-3035-4656-a517-267051bc8e05",
      "name": "us-gaap:StockholdersEquity",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_e7c7aa6c-3035-4656-a517-267051bc8e05",
      "name": "us-gaap:StockholdersEquity",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R6": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInShareholdersEquityUnauditedParenthetical",
     "longName": "75060 - Statement - Consolidated Statements of Changes in Shareholders' Equity (Unaudited) (Parenthetical)",
     "shortName": "Consolidated Statements of Changes in Shareholders' Equity (Unaudited) (Parenthetical)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "parenthetical",
     "menuCat": "Statements",
     "order": "6",
     "firstAnchor": {
      "contextRef": "C_4ed23830-372e-4848-a3e1-a6173fdcdcc8",
      "name": "us-gaap:CommonStockDividendsPerShareDeclared",
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_4ed23830-372e-4848-a3e1-a6173fdcdcc8",
      "name": "us-gaap:CommonStockDividendsPerShareDeclared",
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R7": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited",
     "longName": "75070 - 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": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:ProfitLoss",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:ProfitLoss",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R8": {
     "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": "8",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:NetIncomeLoss",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true
     },
     "uniqueAnchor": null
    },
    "R9": {
     "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": "9",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "ecd:MtrlTermsOfTrdArrTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "ecd:MtrlTermsOfTrdArrTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R10": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureOrganization",
     "longName": "995455 - Disclosure - Organization",
     "shortName": "Organization",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "10",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R11": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureBasisOfPresentation1",
     "longName": "995465 - Disclosure - Basis of Presentation",
     "shortName": "Basis of Presentation",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "11",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:BasisOfPresentationAndSignificantAccountingPoliciesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:BasisOfPresentationAndSignificantAccountingPoliciesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R12": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureConcentrationOfRisks",
     "longName": "995475 - Disclosure - Concentration of Risks",
     "shortName": "Concentration of Risks",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "12",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:ConcentrationRiskDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:ConcentrationRiskDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R13": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedParties",
     "longName": "995485 - Disclosure - Transactions with Related Parties",
     "shortName": "Transactions with Related Parties",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "13",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R14": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLoanSales",
     "longName": "995495 - Disclosure - Loan Sales",
     "shortName": "Loan Sales",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "14",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:LoanSalesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:LoanSalesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R15": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntities",
     "longName": "995505 - Disclosure - Variable Interest Entities",
     "shortName": "Variable Interest Entities",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "15",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:VariableInterestEntityDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:VariableInterestEntityDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R16": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValue",
     "longName": "995515 - Disclosure - Fair Value",
     "shortName": "Fair Value",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "16",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R17": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageBackedSecurities",
     "longName": "995525 - Disclosure - Mortgage-Backed Securities",
     "shortName": "Mortgage-Backed Securities",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "17",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:MortgageBackedSecuritiesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:MortgageBackedSecuritiesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R18": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForSaleAtFairValue",
     "longName": "995535 - Disclosure - Loans Held for Sale at Fair Value",
     "shortName": "Loans Held for Sale at Fair Value",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "18",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "srt:MortgageLoansOnRealEstateByLoanDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "srt:MortgageLoansOnRealEstateByLoanDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R19": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForInvestmentAtFairValue1",
     "longName": "995545 - Disclosure - Loans Held for Investment at Fair Value",
     "shortName": "Loans Held for Investment at Fair Value",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "19",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:MortgageLoansAtFairValueDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:MortgageLoansAtFairValueDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R20": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilities",
     "longName": "995555 - Disclosure - Derivative and Credit Risk Transfer Strip Assets and Liabilities",
     "shortName": "Derivative and Credit Risk Transfer Strip Assets and Liabilities",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "20",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R21": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageServicingRights",
     "longName": "995565 - Disclosure - Mortgage Servicing Rights",
     "shortName": "Mortgage Servicing Rights",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "21",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:MortgageServicingRightsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:MortgageServicingRightsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R22": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureOtherAssets",
     "longName": "995575 - Disclosure - Other Assets",
     "shortName": "Other Assets",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "22",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:OtherAssetsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:OtherAssetsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R23": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureShorttermDebt",
     "longName": "995585 - Disclosure - Short-Term Debt",
     "shortName": "Short-Term Debt",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "23",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:ShortTermDebtTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:ShortTermDebtTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R24": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebt",
     "longName": "995595 - Disclosure - Long-Term Debt",
     "shortName": "Long-Term Debt",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "24",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:LongTermDebtTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:LongTermDebtTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R25": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLiabilityForLossesUnderRepresentationsAndWarranties",
     "longName": "995605 - Disclosure - Liability for Losses Under Representations and Warranties",
     "shortName": "Liability for Losses Under Representations and Warranties",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "25",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:LiabilityForRepresentationsAndWarrantiesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:LiabilityForRepresentationsAndWarrantiesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R26": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureCommitmentsAndContingencies",
     "longName": "995615 - Disclosure - Commitments and Contingencies",
     "shortName": "Commitments and Contingencies",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "26",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R27": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquity",
     "longName": "995625 - Disclosure - Shareholders' Equity",
     "shortName": "Shareholders' Equity",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "27",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R28": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSale",
     "longName": "995635 - Disclosure - Net Gains on Loans Held for Sale",
     "shortName": "Net Gains on Loans Held for Sale",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "28",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:NetGainOnMortgageLoansAcquiredForSaleDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:NetGainOnMortgageLoansAcquiredForSaleDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R29": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetLossesGainsOnInvestmentsAndFinancings",
     "longName": "995645 - Disclosure - Net (Losses) Gains on Investments and Financings",
     "shortName": "Net (Losses) Gains on Investments and Financings",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "29",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R30": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpense",
     "longName": "995655 - Disclosure - Net Interest Expense",
     "shortName": "Net Interest Expense",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "30",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:InterestIncomeAndInterestExpenseDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:InterestIncomeAndInterestExpenseDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R31": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensation",
     "longName": "995665 - Disclosure - Share-Based Compensation",
     "shortName": "Share-Based Compensation",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "31",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R32": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureIncomeTaxes",
     "longName": "995675 - Disclosure - Income Taxes",
     "shortName": "Income Taxes",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "32",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R33": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureEarningsLossPerCommonShare",
     "longName": "995685 - Disclosure - Earnings (Loss) Per Common Share",
     "shortName": "Earnings (Loss) Per Common Share",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "33",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R34": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureSegments",
     "longName": "995695 - Disclosure - Segments",
     "shortName": "Segments",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "34",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:SegmentReportingDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:SegmentReportingDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R35": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureRegulatoryCapitalAndLiquidityRequirements",
     "longName": "995705 - Disclosure - Regulatory Capital and Liquidity Requirements",
     "shortName": "Regulatory Capital and Liquidity Requirements",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "35",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:RegulatoryCapitalRequirementsForMortgageCompaniesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:RegulatoryCapitalRequirementsForMortgageCompaniesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R36": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureSubsequentEvents",
     "longName": "995715 - Disclosure - Subsequent Events",
     "shortName": "Subsequent Events",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "36",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R37": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureOrganizationAndBasisOfPresentationAndRecentlyIssuedAccountingPronouncementsPolicies",
     "longName": "995725 - Disclosure - Organization and Basis of Presentation and Recently Issued Accounting Pronouncements (Policies)",
     "shortName": "Organization and Basis of Presentation and Recently Issued Accounting Pronouncements (Policies)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "policies",
     "menuCat": "Policies",
     "order": "37",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:SegmentReportingPolicyPolicyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:SegmentReportingPolicyPolicyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R38": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesTables",
     "longName": "995735 - Disclosure - Transactions with Related Parties (Tables)",
     "shortName": "Transactions with Related Parties (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "38",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:ScheduleOfAggregationAndSecuritizationActivitiesAffiliateTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:ScheduleOfAggregationAndSecuritizationActivitiesAffiliateTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R39": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLoanSalesTables",
     "longName": "995745 - Disclosure - Loan Sales (Tables)",
     "shortName": "Loan Sales (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "39",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:SummaryOfCashFlowsBetweenCompanyAndTransfereesUponSaleOfLoansInTransactionsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "pmt:LoanSalesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:SummaryOfCashFlowsBetweenCompanyAndTransfereesUponSaleOfLoansInTransactionsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "pmt:LoanSalesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R40": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesTables",
     "longName": "995755 - Disclosure - Variable Interest Entities (Tables)",
     "shortName": "Variable Interest Entities (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "40",
     "firstAnchor": {
      "contextRef": "C_ee741a43-6e74-405a-99e1-82aa96270e15",
      "name": "pmt:SummaryOfInvestmentInSubordinateMortgageBackedSecuritiesTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_ee741a43-6e74-405a-99e1-82aa96270e15",
      "name": "pmt:SummaryOfInvestmentInSubordinateMortgageBackedSecuritiesTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R41": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueTables",
     "longName": "995765 - Disclosure - Fair Value (Tables)",
     "shortName": "Fair Value (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "41",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:FairValueAssetsMeasuredOnRecurringBasisTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:FairValueAssetsMeasuredOnRecurringBasisTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R42": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageBackedSecuritiesTables",
     "longName": "995775 - Disclosure - Mortgage-Backed Securities (Tables)",
     "shortName": "Mortgage-Backed Securities (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "42",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:ScheduleOfInvestmentInMortgageBackedSecuritiesActivityTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "pmt:MortgageBackedSecuritiesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:ScheduleOfInvestmentInMortgageBackedSecuritiesActivityTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "pmt:MortgageBackedSecuritiesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R43": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForSaleAtFairValueTables",
     "longName": "995785 - 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": "43",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:ScheduleOfMortgageLoanHeldForSaleTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "srt:MortgageLoansOnRealEstateByLoanDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:ScheduleOfMortgageLoanHeldForSaleTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "srt:MortgageLoansOnRealEstateByLoanDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R44": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForInvestmentAtFairValueTables",
     "longName": "995795 - Disclosure - Loans Held for Investment at Fair Value (Tables)",
     "shortName": "Loans Held for Investment at Fair Value (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "44",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:MortgageLoanClassificationByCreditQualityAndTypeTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "pmt:MortgageLoansAtFairValueDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:MortgageLoanClassificationByCreditQualityAndTypeTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "pmt:MortgageLoansAtFairValueDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R45": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesTables",
     "longName": "995805 - Disclosure - Derivative and Credit Risk Transfer Strip Assets and Liabilities (Tables)",
     "shortName": "Derivative and Credit Risk Transfer Strip Assets and Liabilities (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "45",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:DisclosureOfCreditDerivativesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:DisclosureOfCreditDerivativesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R46": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageServicingRightsTables",
     "longName": "995815 - Disclosure - Mortgage Servicing Rights (Tables)",
     "shortName": "Mortgage Servicing Rights (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "46",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:ScheduleOfServicingAssetsAtFairValueTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "pmt:MortgageServicingRightsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:ScheduleOfServicingAssetsAtFairValueTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "pmt:MortgageServicingRightsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R47": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureOtherAssetsTables",
     "longName": "995825 - Disclosure - Other Assets (Tables)",
     "shortName": "Other Assets (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "47",
     "firstAnchor": {
      "contextRef": "C_4ed23830-372e-4848-a3e1-a6173fdcdcc8",
      "name": "us-gaap:ScheduleOfOtherAssetsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:OtherAssetsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_4ed23830-372e-4848-a3e1-a6173fdcdcc8",
      "name": "us-gaap:ScheduleOfOtherAssetsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:OtherAssetsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R48": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureShorttermDebtTables",
     "longName": "995835 - Disclosure - Short-Term Debt (Tables)",
     "shortName": "Short-Term Debt (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "48",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:ScheduleOfRepurchaseAgreements",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:ScheduleOfRepurchaseAgreements",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R49": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtTables",
     "longName": "995845 - Disclosure - Long-Term Debt (Tables)",
     "shortName": "Long-Term Debt (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "49",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:ScheduleOfSecuredNotePayableOfCreditRiskTransferAndMortgageServicingRightsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:ScheduleOfSecuredNotePayableOfCreditRiskTransferAndMortgageServicingRightsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R50": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLiabilityForLossesUnderRepresentationsAndWarrantiesTables",
     "longName": "995855 - 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": "50",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:SummaryOfRecourseLiabilityTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "pmt:LiabilityForRepresentationsAndWarrantiesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:SummaryOfRecourseLiabilityTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "pmt:LiabilityForRepresentationsAndWarrantiesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R51": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesTables",
     "longName": "995865 - Disclosure - Commitments and Contingencies (Tables)",
     "shortName": "Commitments and Contingencies (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "51",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:OtherCommitmentsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:OtherCommitmentsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R52": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquityTables",
     "longName": "995875 - Disclosure - Shareholders' Equity (Tables)",
     "shortName": "Shareholders' Equity (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "52",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:ScheduleOfStockByClassTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:ScheduleOfStockByClassTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R53": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSaleTables",
     "longName": "995885 - 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": "53",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:ScheduleOfNetGainLossOnMortgageLoansHeldForSaleTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "pmt:NetGainOnMortgageLoansAcquiredForSaleDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:ScheduleOfNetGainLossOnMortgageLoansHeldForSaleTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "pmt:NetGainOnMortgageLoansAcquiredForSaleDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R54": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetLossesGainsOnInvestmentsAndFinancingsTables",
     "longName": "995895 - Disclosure - Net (Losses) Gains on Investments and Financings (Tables)",
     "shortName": "Net (Losses) Gains on Investments and Financings (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "54",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:GainsLossesOnInvestmentsAndFinancingsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:GainsLossesOnInvestmentsAndFinancingsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R55": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseTables",
     "longName": "995905 - Disclosure - Net Interest Expense (Tables)",
     "shortName": "Net Interest Expense (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "55",
     "firstAnchor": {
      "contextRef": "C_4ed23830-372e-4848-a3e1-a6173fdcdcc8",
      "name": "us-gaap:InterestIncomeAndInterestExpenseDisclosureTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:InterestIncomeAndInterestExpenseDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_4ed23830-372e-4848-a3e1-a6173fdcdcc8",
      "name": "us-gaap:InterestIncomeAndInterestExpenseDisclosureTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:InterestIncomeAndInterestExpenseDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R56": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationTables",
     "longName": "995915 - Disclosure - Share-Based Compensation (Tables)",
     "shortName": "Share-Based Compensation (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "56",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:ScheduleOfShareBasedCompensationActivityTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:ScheduleOfShareBasedCompensationActivityTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R57": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureEarningsLossPerCommonShareTables",
     "longName": "995925 - Disclosure - Earnings (Loss) Per Common Share (Tables)",
     "shortName": "Earnings (Loss) Per Common Share (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "57",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R58": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureSegmentsTables",
     "longName": "995935 - Disclosure - Segments (Tables)",
     "shortName": "Segments (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "58",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R59": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureRegulatoryCapitalAndLiquidityRequirementsTables",
     "longName": "995945 - Disclosure - Regulatory Capital and Liquidity Requirements (Tables)",
     "shortName": "Regulatory Capital and Liquidity Requirements (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "59",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:RegulatoryCapitalRequirementsForMortgageCompaniesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:RegulatoryCapitalRequirementsForMortgageCompaniesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R60": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureOrganizationAdditionalInformationDetail",
     "longName": "995955 - Disclosure - Organization - Additional Information (Detail)",
     "shortName": "Organization - Additional Information (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "60",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:NumberOfOperatingSegments",
      "unitRef": "U_Segment",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "us-gaap:SegmentReportingPolicyPolicyTextBlock",
       "div",
       "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:NumberOfReportableSegments",
      "unitRef": "U_Segment",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "us-gaap:NumberOfOperatingSegments",
       "span",
       "p",
       "us-gaap:SegmentReportingPolicyPolicyTextBlock",
       "div",
       "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "unique": true
     }
    },
    "R61": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureBasisOfPresentationAdditionalInformationDetail",
     "longName": "995965 - Disclosure - Basis of Presentation - Additional Information (Detail)",
     "shortName": "Basis of Presentation - Additional Information (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "61",
     "firstAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "us-gaap:RestrictedCash",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
       "div",
       "us-gaap:BasisOfPresentationAndSignificantAccountingPoliciesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "us-gaap:RestrictedCash",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
       "div",
       "us-gaap:BasisOfPresentationAndSignificantAccountingPoliciesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R62": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesServicingAgreementAdditionalInformationDetail",
     "longName": "995985 - Disclosure - Transactions with Related Parties - Servicing Agreement - Additional Information (Detail)",
     "shortName": "Transactions with Related Parties - Servicing Agreement - Additional Information (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "62",
     "firstAnchor": {
      "contextRef": "C_6e25dc57-6479-4747-b1c1-363d546cb3cd",
      "name": "pmt:ServicesAgreementExpirationDate",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_6e25dc57-6479-4747-b1c1-363d546cb3cd",
      "name": "pmt:ServicesAgreementExpirationDate",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R63": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesMSRRecaptureAgreementAdditionalInformationDetail",
     "longName": "995995 - Disclosure - Transactions with Related Parties - MSR Recapture Agreement - Additional Information (Detail)",
     "shortName": "Transactions with Related Parties - MSR Recapture Agreement - Additional Information (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "63",
     "firstAnchor": {
      "contextRef": "C_b2dda553-f803-43e7-9afb-744177abc523",
      "name": "pmt:RecaptureAgreementRenewedAndAmendedAdjustedRecaptureFeeDescription",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_b2dda553-f803-43e7-9afb-744177abc523",
      "name": "pmt:RecaptureAgreementRenewedAndAmendedAdjustedRecaptureFeeDescription",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "div",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R64": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfLoanServicingFeesEarnedAndMortgageServicingRightsRecapturedIncomeEarnedDetail",
     "longName": "996005 - Disclosure - Transactions with Related Parties - Summary of Loan Servicing Fees Earned and Mortgage Servicing Rights Recaptured Income Earned (Detail)",
     "shortName": "Transactions with Related Parties - Summary of Loan Servicing Fees Earned and Mortgage Servicing Rights Recaptured Income Earned (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "64",
     "firstAnchor": {
      "contextRef": "C_6e25dc57-6479-4747-b1c1-363d546cb3cd",
      "name": "pmt:LoanPortfolioIncomeExpense",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:MortgageLoanServicingFeesEarnedByAffiliateAndMortgageServicingRightsRecapturedIncomeEarnedTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_6e25dc57-6479-4747-b1c1-363d546cb3cd",
      "name": "pmt:LoanPortfolioIncomeExpense",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:MortgageLoanServicingFeesEarnedByAffiliateAndMortgageServicingRightsRecapturedIncomeEarnedTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R65": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesMortgageBankingServicesAgreementAdditionalInformationDetail",
     "longName": "996015 - Disclosure - Transactions with Related Parties - Mortgage Banking Services Agreement - Additional Information (Detail)",
     "shortName": "Transactions with Related Parties - Mortgage Banking Services Agreement - Additional Information (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "65",
     "firstAnchor": {
      "contextRef": "C_3a2278cb-eed5-4a36-af45-9467a940013e",
      "name": "pmt:ServicesAgreementExpirationDate",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_3a2278cb-eed5-4a36-af45-9467a940013e",
      "name": "pmt:ServicesAgreementExpirationDate",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R66": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesSummaryOfAggregationAndSecuritizationActivitiesDetail",
     "longName": "996025 - Disclosure - Transactions with Related Parties - Summary of Aggregation and Securitization Activities (Detail)",
     "shortName": "Transactions with Related Parties - Summary of Aggregation and Securitization Activities (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "66",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:MortgageLoansSoldToAffiliatesUnpaidPrincipalBalance",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:ScheduleOfAggregationAndSecuritizationActivitiesAffiliateTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:MortgageLoansSoldToAffiliatesUnpaidPrincipalBalance",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:ScheduleOfAggregationAndSecuritizationActivitiesAffiliateTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R67": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesManagementAgreementAdditionalInformationDetail",
     "longName": "996035 - Disclosure - Transactions with Related Parties - Management Agreement - Additional Information (Detail)",
     "shortName": "Transactions with Related Parties - Management Agreement - Additional Information (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "67",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:MortgageBackedSecurityYieldAverageNumberOfYear",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:MortgageBackedSecurityYieldAverageNumberOfYear",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R68": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfManagementFeeExpenseDetail",
     "longName": "996045 - Disclosure - Transactions with Related Parties - Summary of Management Fee Expense (Detail)",
     "shortName": "Transactions with Related Parties - Summary of Management Fee Expense (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "68",
     "firstAnchor": {
      "contextRef": "C_39e3dbc1-1576-4ad8-a952-838273734e10",
      "name": "us-gaap:ManagementFeeExpense",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:ScheduleOfRelatedPartyTransactionsBaseManagementAndPerformanceIncentiveFeesEarnedTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_39e3dbc1-1576-4ad8-a952-838273734e10",
      "name": "us-gaap:ManagementFeeExpense",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:ScheduleOfRelatedPartyTransactionsBaseManagementAndPerformanceIncentiveFeesEarnedTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R69": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfExpensesDetail",
     "longName": "996055 - Disclosure - Transactions with Related Parties - Summary of Expenses (Detail)",
     "shortName": "Transactions with Related Parties - Summary of Expenses (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "69",
     "firstAnchor": {
      "contextRef": "C_39e3dbc1-1576-4ad8-a952-838273734e10",
      "name": "pmt:ReimbursementOfExpensesToAffiliateNet",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:ScheduleOfExpensesRelatedToTransactionWithAffiliateTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_39e3dbc1-1576-4ad8-a952-838273734e10",
      "name": "pmt:ReimbursementOfExpensesToAffiliateNet",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:ScheduleOfExpensesRelatedToTransactionWithAffiliateTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R70": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesNotePayableToPLSAdditionalInformationDetail",
     "longName": "996065 - Disclosure - Transactions with Related Parties - Note Payable to PLS - Additional Information (Detail)",
     "shortName": "Transactions with Related Parties - Note Payable to PLS - Additional Information (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "70",
     "firstAnchor": {
      "contextRef": "C_e5166283-ae19-4944-ad17-0af08402883c",
      "name": "pmt:NumberOfCommonSharesHeldByAffiliate",
      "unitRef": "U_shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_e5166283-ae19-4944-ad17-0af08402883c",
      "name": "pmt:NumberOfCommonSharesHeldByAffiliate",
      "unitRef": "U_shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R71": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfAmountsReceivableFromAndPayableToPFSIDetail",
     "longName": "996095 - Disclosure - Transactions with Related Parties - Summary of Amounts Receivable From and Payable to PFSI (Detail)",
     "shortName": "Transactions with Related Parties - Summary of Amounts Receivable From and Payable to PFSI (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "71",
     "firstAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "pmt:AllocatedExpensesAndCostsPayable",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "pmt:AllocatedExpensesAndCostsPayable",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R72": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfTransferCashToFundLoanServicingAdvancesDetail",
     "longName": "996105 - Disclosure - Transactions with Related Parties - Summary of Transfer Cash to Fund Loan Servicing Advances (Detail)",
     "shortName": "Transactions with Related Parties - Summary of Transfer Cash to Fund Loan Servicing Advances (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "72",
     "firstAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "pmt:ServicingAdvances",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_976883cc-cb31-4da5-84ff-59b607fd3dcd",
      "name": "pmt:ServicingAdvances",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:SummaryOfLoansAndAdvancesTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "unique": true
     }
    },
    "R73": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLoanSalesSummaryOfCashFlowsBetweenCompanyAndTransfereesInTransfersAccountedForSalesDetail",
     "longName": "996115 - Disclosure - Loan Sales - Summary of Cash Flows between Company and Transferees in Transfers Accounted for Sales (Detail)",
     "shortName": "Loan Sales - Summary of Cash Flows between Company and Transferees in Transfers Accounted for Sales (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "73",
     "firstAnchor": {
      "contextRef": "C_cfa1a657-5aeb-4d0b-8bf9-887e74f40b32",
      "name": "us-gaap:CashFlowsBetweenTransfereeAndTransferorProceedsFromNewTransfers",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:SummaryOfCashFlowsBetweenCompanyAndTransfereesUponSaleOfLoansInTransactionsTableTextBlock",
       "div",
       "pmt:LoanSalesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_cfa1a657-5aeb-4d0b-8bf9-887e74f40b32",
      "name": "us-gaap:CashFlowsBetweenTransfereeAndTransferorProceedsFromNewTransfers",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:SummaryOfCashFlowsBetweenCompanyAndTransfereesUponSaleOfLoansInTransactionsTableTextBlock",
       "div",
       "pmt:LoanSalesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R74": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLoanSalesSummaryOfCollectionStatusInformationForLoansAccountedForSalesDetail",
     "longName": "996125 - Disclosure - Loan Sales - Summary of Collection Status Information for Loans Accounted for Sales (Detail)",
     "shortName": "Loan Sales - Summary of Collection Status Information for Loans Accounted for Sales (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "74",
     "firstAnchor": {
      "contextRef": "C_a6b77c93-fbfc-40fa-b915-1bcf900e1543",
      "name": "us-gaap:ContinuingInvolvementWithTransferredFinancialAssetsPrincipalAmountOutstanding",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:SummaryOfUnpaidBalanceInformationForMortgageLoansUponSaleOfLoansInTransactionsTableTextBlock",
       "div",
       "pmt:LoanSalesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_a6b77c93-fbfc-40fa-b915-1bcf900e1543",
      "name": "us-gaap:ContinuingInvolvementWithTransferredFinancialAssetsPrincipalAmountOutstanding",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:SummaryOfUnpaidBalanceInformationForMortgageLoansUponSaleOfLoansInTransactionsTableTextBlock",
       "div",
       "pmt:LoanSalesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R75": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesAdditionalInformationDetail",
     "longName": "996135 - Disclosure - Variable Interest Entities - Additional Information (Detail)",
     "shortName": "Variable Interest Entities - Additional Information (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "75",
     "firstAnchor": {
      "contextRef": "C_d276681c-d2f5-42d3-9a18-c313d7ea2183",
      "name": "pmt:EstablishedPercentageOfUnpaidPrincipalBalanceOfMortgageLoansSoldUnderRecourseObligationLosses",
      "unitRef": "U_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "us-gaap:VariableInterestEntityDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d276681c-d2f5-42d3-9a18-c313d7ea2183",
      "name": "pmt:EstablishedPercentageOfUnpaidPrincipalBalanceOfMortgageLoansSoldUnderRecourseObligationLosses",
      "unitRef": "U_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "us-gaap:VariableInterestEntityDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R76": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail",
     "longName": "996145 - Disclosure - Variable Interest Entities - Summary of Credit Risk Transfer Agreements (Detail)",
     "shortName": "Variable Interest Entities - Summary of Credit Risk Transfer Agreements (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "76",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:RevenuesNetOfInterestExpense",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_e41fa20c-ddd4-4708-a7c0-3761bca83d10",
      "name": "pmt:RealizedGainsLossesRecognizedOnCreditDefaultSwaps",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:ScheduleOfCreditRiskTransferAgreementsTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "unique": true
     }
    },
    "R77": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsParentheticalDetail",
     "longName": "996155 - Disclosure - Variable Interest Entities - Summary of Credit Risk Transfer Agreements (Parenthetical) (Detail)",
     "shortName": "Variable Interest Entities - Summary of Credit Risk Transfer Agreements (Parenthetical) (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "parenthetical",
     "menuCat": "Details",
     "order": "77",
     "firstAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "pmt:DepositsSecuringCreditRiskTransferStripAndDerivativesLiabilities",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "span",
       "link:footnote",
       "div",
       "div",
       "pmt:ScheduleOfCreditRiskTransferAgreementsTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "pmt:DepositsSecuringCreditRiskTransferStripAndDerivativesLiabilities",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "span",
       "link:footnote",
       "div",
       "div",
       "pmt:ScheduleOfCreditRiskTransferAgreementsTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R78": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureVariableInterestEntitiesSummaryOfInvestmentInSeniorAndSubordinateMbsBackedByAssetsHeldInConsolidatedViesDetail",
     "longName": "996165 - Disclosure - Variable Interest Entities - Summary of Investment in Senior and Subordinate MBS Backed by Assets Held in Consolidated VIEs (Detail)",
     "shortName": "Variable Interest Entities - Summary of Investment in Senior and Subordinate MBS Backed by Assets Held in Consolidated VIEs (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "78",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:GainLossOnSaleOfMortgageLoans",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:GainsLossesOnInvestmentsAndFinancingsTableTextBlock",
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_06a6efc9-b3f6-4d26-a799-fcb1dc2b9c68",
      "name": "us-gaap:GainLossOnSaleOfMortgageLoans",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:SummaryOfInvestmentInSubordinateMortgageBackedSecuritiesTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "unique": true
     }
    },
    "R79": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail",
     "longName": "996175 - Disclosure - Fair Value - Summary of Financial Statement Items Measured at Fair Value on Recurring Basis (Detail)",
     "shortName": "Fair Value - Summary of Financial Statement Items Measured at Fair Value on Recurring Basis (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "79",
     "firstAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "us-gaap:ShortTermInvestments",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_36e06f12-a361-45c7-91e0-56971058599b",
      "name": "us-gaap:ShortTermInvestments",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "unique": true
     }
    },
    "R80": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail",
     "longName": "996185 - Disclosure - Fair Value - Summary of Changes in Items Measured Using Level 3 Inputs on Recurring Basis (Detail)",
     "shortName": "Fair Value - Summary of Changes in Items Measured Using Level 3 Inputs on Recurring Basis (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "80",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:ServicingAssetAtFairValueAdditionsFromLoanSales",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:ScheduleOfFairValueInputsDateOfSaleMortgageServicingRightTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_2363288b-2211-4db7-9142-d4dcca723cc4",
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "unique": true
     }
    },
    "R81": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueFairValuesAndRelatedPrincipalAmountsDueUponMaturityOfLoansAccountedForUnderFairValueOptionDetail",
     "longName": "996195 - Disclosure - Fair Value - Fair Values and Related Principal Amounts Due upon Maturity of Loans Accounted for Under Fair Value Option (Detail)",
     "shortName": "Fair Value - Fair Values and Related Principal Amounts Due upon Maturity of Loans Accounted for Under Fair Value Option (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "81",
     "firstAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "us-gaap:MortgageLoansOnRealEstate",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "us-gaap:FairValueOptionLoansHeldAsAssetsAggregateDifference",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueOptionQuantitativeDisclosuresTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "unique": true
     }
    },
    "R82": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfChangesInFairValueIncludedInCurrentPeriodResultsOfOperationsDetail",
     "longName": "996205 - Disclosure - Fair Value - Summary of Changes in Fair Value Included in Current Period Results of Operations (Detail)",
     "shortName": "Fair Value - Summary of Changes in Fair Value Included in Current Period Results of Operations (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "82",
     "firstAnchor": {
      "contextRef": "C_7f2355c3-b64d-4994-871d-d1daa99b86fa",
      "name": "us-gaap:FairValueOptionChangesInFairValueGainLoss1",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:ScheduleOfChangesInFairValueChangesIncludedInCurrentPeriodIncomeTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_7f2355c3-b64d-4994-871d-d1daa99b86fa",
      "name": "us-gaap:FairValueOptionChangesInFairValueGainLoss1",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:ScheduleOfChangesInFairValueChangesIncludedInCurrentPeriodIncomeTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R83": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfCarryingValueOfAssetsRemeasuredBasedOnFairValueOnNonrecurringBasisDetail",
     "longName": "996215 - Disclosure - Fair Value - Summary of Carrying Value of Assets Remeasured Based on Fair Value on Nonrecurring Basis (Detail)",
     "shortName": "Fair Value - Summary of Carrying Value of Assets Remeasured Based on Fair Value on Nonrecurring Basis (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "83",
     "firstAnchor": {
      "contextRef": "C_3e0c7ba3-b6e8-4d89-8027-1ac0c733fbe8",
      "name": "pmt:RealEstateAcquiredThroughForeclosureRemeasuredDuringPeriod",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsMeasuredOnNonrecurringBasisTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_3e0c7ba3-b6e8-4d89-8027-1ac0c733fbe8",
      "name": "pmt:RealEstateAcquiredThroughForeclosureRemeasuredDuringPeriod",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsMeasuredOnNonrecurringBasisTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R84": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInFairValueRecognizedInAssetsThatRemeasuredAtFairValueOnNonrecurringBasisDetail",
     "longName": "996225 - Disclosure - Fair Value - Summary of Changes in Fair Value Recognized in Assets that Remeasured at Fair Value on a Nonrecurring Basis (Detail)",
     "shortName": "Fair Value - Summary of Changes in Fair Value Recognized in Assets that Remeasured at Fair Value on a Nonrecurring Basis (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "84",
     "firstAnchor": {
      "contextRef": "C_536dda3a-666c-40b3-b77d-d8a3c63eafe1",
      "name": "pmt:RealEstateAcquiredThroughForeclosureGainsLossesRecognized",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:ScheduleOfAssetsMeasuredAtFairValueOnNonRecurringBasisTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_536dda3a-666c-40b3-b77d-d8a3c63eafe1",
      "name": "pmt:RealEstateAcquiredThroughForeclosureGainsLossesRecognized",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:ScheduleOfAssetsMeasuredAtFairValueOnNonRecurringBasisTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R85": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueCarryingAndFairValuesOfNotesPayableSecuredByCreditRiskTransferAndMortgageServicingRightsAndExchangeableSeniorNotesDetail",
     "longName": "996235 - Disclosure - Fair Value - Carrying and Fair Values of Notes Payable Secured by Credit Risk Transfer and Mortgage Servicing Rights and Exchangeable Senior Notes (Detail)",
     "shortName": "Fair Value - Carrying and Fair Values of Notes Payable Secured by Credit Risk Transfer and Mortgage Servicing Rights and Exchangeable Senior Notes (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "85",
     "firstAnchor": {
      "contextRef": "C_56da6ec1-d2f3-4a7c-9af2-ba2a8031432e",
      "name": "us-gaap:LongTermDebtFairValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_56da6ec1-d2f3-4a7c-9af2-ba2a8031432e",
      "name": "us-gaap:LongTermDebtFairValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R86": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueKeyInputsUsedInDeterminingFairValueOfIoDetails",
     "longName": "996245 - Disclosure - Fair Value - Key Inputs Used in Determining Fair Value of IO (Details)",
     "shortName": "Fair Value - Key Inputs Used in Determining Fair Value of IO (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "86",
     "firstAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "us-gaap:FinancialInstrumentsOwnedMortgagesMortgageBackedAndAssetBackedSecuritiesAtFairValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d5ae4c11-66d7-4dab-8732-be2ff66e47fb",
      "name": "us-gaap:FinancialInstrumentsOwnedMortgagesMortgageBackedAndAssetBackedSecuritiesAtFairValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:ScheduleOfKeyInputsUsedInDeterminingFairValueOfIoTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "unique": true
     }
    },
    "R87": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInReviewAndApprovalOfBrokerProvidedFairValuesForCRTDerivativesDetail",
     "longName": "996265 - Disclosure - Fair Value - Quantitative Summary of Key Unobservable Inputs Used in Review and Approval of Broker-provided Fair Values for CRT Derivatives (Detail)",
     "shortName": "Fair Value - Quantitative Summary of Key Unobservable Inputs Used in Review and Approval of Broker-provided Fair Values for CRT Derivatives (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "87",
     "firstAnchor": {
      "contextRef": "C_cbcb6d4d-8efe-4de1-99ac-e7f9a34b92e3",
      "name": "pmt:FairValueOfCreditRiskTransferDerivatives",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:ScheduleOfKeyUnobservableInputsUsedInValuationOfCreditRiskTransfersTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_cbcb6d4d-8efe-4de1-99ac-e7f9a34b92e3",
      "name": "pmt:FairValueOfCreditRiskTransferDerivatives",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:ScheduleOfKeyUnobservableInputsUsedInValuationOfCreditRiskTransfersTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R88": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInValuationOfInterestRateLockCommitmentsDetail",
     "longName": "996275 - Disclosure - Fair Value - Quantitative Summary of Key Unobservable Inputs Used in Valuation of Interest Rate Lock Commitments (Detail)",
     "shortName": "Fair Value - Quantitative Summary of Key Unobservable Inputs Used in Valuation of Interest Rate Lock Commitments (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "88",
     "firstAnchor": {
      "contextRef": "C_d11e1495-4a52-423b-934f-ab82a9f37b49",
      "name": "pmt:InterestRateLockCommitmentMeasurementInput",
      "unitRef": "U_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:ScheduleOfKeyInputsUsedInValuationOfInterestRateLockCommitmentsTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d11e1495-4a52-423b-934f-ab82a9f37b49",
      "name": "pmt:InterestRateLockCommitmentMeasurementInput",
      "unitRef": "U_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:ScheduleOfKeyInputsUsedInValuationOfInterestRateLockCommitmentsTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R89": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfKeyUnobservableInputsUsedInValuationCreditRiskTransferStripLiabilitiesDetail",
     "longName": "996285 - Disclosure - Fair Value - Summary of Key Unobservable Inputs Used in Valuation Credit Risk Transfer Strip Liabilities (Detail)",
     "shortName": "Fair Value - Summary of Key Unobservable Inputs Used in Valuation Credit Risk Transfer Strip Liabilities (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "89",
     "firstAnchor": {
      "contextRef": "C_0b1e13e0-4e18-43f5-9a6e-1b87ceee1ef4",
      "name": "pmt:FairValueOfCreditRiskTransferDerivativesLiabilities",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:ScheduleOfKeyUnobservableInputsUsedInValuationOfInterestOnlyStrippedCreditRiskTransferSecuritiesAtFairValueTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_0b1e13e0-4e18-43f5-9a6e-1b87ceee1ef4",
      "name": "pmt:FairValueOfCreditRiskTransferDerivativesLiabilities",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:ScheduleOfKeyUnobservableInputsUsedInValuationOfInterestOnlyStrippedCreditRiskTransferSecuritiesAtFairValueTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R90": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueKeyAssumptionsUsedInDeterminingFairValueOfMsrsAtTimeOfInitialRecognitionDetail",
     "longName": "996295 - Disclosure - Fair Value - Key Assumptions Used in Determining Fair Value of MSRs at Time of Initial Recognition (Detail)",
     "shortName": "Fair Value - Key Assumptions Used in Determining Fair Value of MSRs at Time of Initial Recognition (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "90",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:ServicingAssetAtFairValueAdditionsFromLoanSales",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:ScheduleOfFairValueInputsDateOfSaleMortgageServicingRightTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:FairValueUnpaidPrincipalBalanceOfUnderlyingLoans",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:ScheduleOfFairValueInputsDateOfSaleMortgageServicingRightTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "unique": true
     }
    },
    "R91": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyAssumptionsUsedInValuationOfMsrsAsOfDatesPresentedAndEffectOnEstimatedFairValueFromAdverseChangesInThoseInputsDetail",
     "longName": "996305 - Disclosure - Fair Value - Quantitative Summary of Key Assumptions Used in Valuation of MSRs as of Dates Presented, and Effect on Estimated Fair Value from Adverse Changes in Those Inputs (Detail)",
     "shortName": "Fair Value - Quantitative Summary of Key Assumptions Used in Valuation of MSRs as of Dates Presented, and Effect on Estimated Fair Value from Adverse Changes in Those Inputs (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "91",
     "firstAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "us-gaap:ServicingAssetAtFairValueAmount",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "pmt:FairValueUnpaidPrincipalOfUnderlyingLoansBalance",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:FairValueInputsAndSensitivityAnalysisOfFairValueAdverseChangeInAssumptionsAtPeriodEndTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "unique": true
     }
    },
    "R92": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageBackedSecuritiesSummaryOfInvestmentInMortgageBackedSecuritiesActivityDetail",
     "longName": "996315 - Disclosure - Mortgage-Backed Securities - Summary of Investment in Mortgage Backed Securities Activity (Detail)",
     "shortName": "Mortgage-Backed Securities - Summary of Investment in Mortgage Backed Securities Activity (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "92",
     "firstAnchor": {
      "contextRef": "C_5af40597-82d8-4e34-8b60-3f9de63ff0a6",
      "name": "us-gaap:FinancialInstrumentsOwnedMortgagesMortgageBackedAndAssetBackedSecuritiesAtFairValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_32e92069-3a71-4d42-b4f6-947a8452661f",
      "name": "us-gaap:FinancialInstrumentsOwnedMortgagesMortgageBackedAndAssetBackedSecuritiesAtFairValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:ScheduleOfInvestmentInMortgageBackedSecuritiesActivityTableTextBlock",
       "div",
       "pmt:MortgageBackedSecuritiesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "unique": true
     }
    },
    "R93": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureMortgagebackedSecuritiesScheduleOfMortgageBackedSecuritiesPledgedToSecureAssetsSoldDetails",
     "longName": "996325 - Disclosure - Mortgage-Backed Securities - Schedule of Mortgage Backed Securities Pledged to Secure Assets Sold (Details)",
     "shortName": "Mortgage-Backed Securities - Schedule of Mortgage Backed Securities Pledged to Secure Assets Sold (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "93",
     "firstAnchor": {
      "contextRef": "C_660ce104-2075-4a6c-a173-52c1f9116cab",
      "name": "us-gaap:AssetsSoldUnderAgreementsToRepurchaseMarketValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:ScheduleOfMortgageBackedSecuritiesPledgedToSecureAssetsSoldTableTextBlock",
       "div",
       "pmt:MortgageBackedSecuritiesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_660ce104-2075-4a6c-a173-52c1f9116cab",
      "name": "us-gaap:AssetsSoldUnderAgreementsToRepurchaseMarketValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:ScheduleOfMortgageBackedSecuritiesPledgedToSecureAssetsSoldTableTextBlock",
       "div",
       "pmt:MortgageBackedSecuritiesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R94": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureMortgagebackedSecuritiesSummaryOfInvestmentsInMortgageBackedSecuritiesDetail",
     "longName": "996335 - Disclosure - Mortgage-Backed Securities - Summary of Investments in Mortgage Backed Securities (Detail)",
     "shortName": "Mortgage-Backed Securities - Summary of Investments in Mortgage Backed Securities (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "94",
     "firstAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "us-gaap:FinancialInstrumentsOwnedMortgagesMortgageBackedAndAssetBackedSecuritiesAtFairValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_ac3e2901-688a-44f4-ac58-bcab0911ab0f",
      "name": "us-gaap:InvestmentOwnedBalancePrincipalAmount",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:ScheduleOfInvestmentInMortgageBackedSecuritiesTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "unique": true
     }
    },
    "R95": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageBackedSecuritiesSummaryOfInvestmentInMortgageBackedSecuritiesParentheticalDetail",
     "longName": "996345 - Disclosure - Mortgage-Backed Securities - Summary of Investment in Mortgage Backed Securities (Parenthetical) (Detail)",
     "shortName": "Mortgage-Backed Securities - Summary of Investment in Mortgage Backed Securities (Parenthetical) (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "parenthetical",
     "menuCat": "Details",
     "order": "95",
     "firstAnchor": {
      "contextRef": "C_5dc49d64-17db-4a1f-a19f-0cc80f3e4c76",
      "name": "pmt:MortgageBackedSecuritiesMaturityPeriod",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "pmt:ScheduleOfInvestmentInMortgageBackedSecuritiesTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_5dc49d64-17db-4a1f-a19f-0cc80f3e4c76",
      "name": "pmt:MortgageBackedSecuritiesMaturityPeriod",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "pmt:ScheduleOfInvestmentInMortgageBackedSecuritiesTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R96": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForSaleAtFairValueSummaryOfDistributionOfCompanysLoansHeldForSaleAtFairValueDetail",
     "longName": "996355 - Disclosure - Loans Held for Sale at Fair Value - Summary of Distribution of Company's Loans Held for Sale at Fair Value (Detail)",
     "shortName": "Loans Held for Sale at Fair Value - Summary of Distribution of Company's Loans Held for Sale at Fair Value (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "96",
     "firstAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "us-gaap:MortgagesHeldForSaleFairValueDisclosure",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_34b90bcb-2a67-4c7f-9a01-99029e18a05c",
      "name": "us-gaap:MortgagesHeldForSaleFairValueDisclosure",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:ScheduleOfMortgageLoanHeldForSaleTableTextBlock",
       "div",
       "srt:MortgageLoansOnRealEstateByLoanDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "unique": true
     }
    },
    "R97": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForInvestmentAtFairValueSummaryOfDistributionOfCompanysLoansHeldForInvestmentAtFairValueDetail",
     "longName": "996365 - Disclosure - Loans Held for Investment at Fair Value - Summary of Distribution of Company's Loans Held for Investment at Fair Value (Detail)",
     "shortName": "Loans Held for Investment at Fair Value - Summary of Distribution of Company's Loans Held for Investment at Fair Value (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "97",
     "firstAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "us-gaap:MortgageLoansOnRealEstate",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "pmt:MortgageLoansAtFairValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:MortgageLoanClassificationByCreditQualityAndTypeTableTextBlock",
       "div",
       "pmt:MortgageLoansAtFairValueDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "unique": true
     }
    },
    "R98": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForInvestmentAtFairValueSummaryOfDistributionOfCompanysLoansHeldForInvestmentAtFairValueParentheticalDetail",
     "longName": "996375 - Disclosure - Loans Held for Investment at Fair Value - Summary of Distribution of Company's Loans Held for Investment at Fair Value (Parenthetical) (Detail)",
     "shortName": "Loans Held for Investment at Fair Value - Summary of Distribution of Company's Loans Held for Investment at Fair Value (Parenthetical) (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "parenthetical",
     "menuCat": "Details",
     "order": "98",
     "firstAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "us-gaap:RetainedInterestFairValueDisclosure",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "span",
       "link:footnote",
       "div",
       "div",
       "pmt:MortgageLoanClassificationByCreditQualityAndTypeTableTextBlock",
       "div",
       "pmt:MortgageLoansAtFairValueDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "us-gaap:RetainedInterestFairValueDisclosure",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "span",
       "link:footnote",
       "div",
       "div",
       "pmt:MortgageLoanClassificationByCreditQualityAndTypeTableTextBlock",
       "div",
       "pmt:MortgageLoansAtFairValueDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R99": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDetail",
     "longName": "996385 - Disclosure - Derivative and Credit Risk Transfer Strip Assets and Liabilities - Summary of Derivative and Credit Risk Transfer Strip Assets and Liabilities (Detail)",
     "shortName": "Derivative and Credit Risk Transfer Strip Assets and Liabilities - Summary of Derivative and Credit Risk Transfer Strip Assets and Liabilities (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "99",
     "firstAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "pmt:CarryingValueOfCreditRiskTransferStripsLiabilities",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:DisclosureOfCreditDerivativesTextBlock",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "pmt:CarryingValueOfCreditRiskTransferStripsLiabilities",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:DisclosureOfCreditDerivativesTextBlock",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R100": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai",
     "longName": "996395 - Disclosure - Derivative and Credit Risk Transfer Strip Assets and Liabilities - Derivative Assets and Derivative and Credit Risk Transfer Strip Liabilities at Fair Value and Related Margin Deposits (Detail)",
     "shortName": "Derivative and Credit Risk Transfer Strip Assets and Liabilities - Derivative Assets and Derivative and Credit Risk Transfer Strip Liabilities at Fair Value and Related Margin Deposits (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "100",
     "firstAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "pmt:MarginDepositAssetsLiabilities",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDerivativeInstrumentsTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "pmt:MarginDepositAssetsLiabilities",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDerivativeInstrumentsTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R101": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAssetsFinancialInstrumentsAndCollateralHeldByCounterpartyDetail",
     "longName": "996405 - Disclosure - Derivative and Credit Risk Transfer Strip Assets and Liabilities - Summary of Derivative Assets, Financial Instruments and Collateral Held by Counterparty (Detail)",
     "shortName": "Derivative and Credit Risk Transfer Strip Assets and Liabilities - Summary of Derivative Assets, Financial Instruments and Collateral Held by Counterparty (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "101",
     "firstAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "us-gaap:DerivativeAssetFairValueAfterOffsetAndDeductionSubjectToMasterNettingArrangement",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:ScheduleOfDerivativeAndFinancialAssetsBySignificantCounterpartyNotOffsetTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "us-gaap:DerivativeAssetFairValueAfterOffsetAndDeductionSubjectToMasterNettingArrangement",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:ScheduleOfDerivativeAndFinancialAssetsBySignificantCounterpartyNotOffsetTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R102": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail",
     "longName": "996415 - Disclosure - Derivative and Credit Risk Transfer Strip Assets and Liabilities - Summary of Derivative Liabilities, Financial Liabilities and Collateral Pledged by Counterparty (Detail)",
     "shortName": "Derivative and Credit Risk Transfer Strip Assets and Liabilities - Summary of Derivative Liabilities, Financial Liabilities and Collateral Pledged by Counterparty (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "102",
     "firstAnchor": {
      "contextRef": "C_081dd3b0-ec70-4746-952a-4d8eeea1f2fa",
      "name": "us-gaap:DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoaned",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:ScheduleOfDerivativeAndFinancialLiabilitiesBySignificantCounterpartyNotOffsetTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_081dd3b0-ec70-4746-952a-4d8eeea1f2fa",
      "name": "us-gaap:DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoaned",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:ScheduleOfDerivativeAndFinancialLiabilitiesBySignificantCounterpartyNotOffsetTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R103": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesNetGainsLossesRecognizedOnDerivativeFinancialInstrumentsDetail",
     "longName": "996425 - Disclosure - Derivative and Credit Risk Transfer Strip Assets and Liabilities - Net Gains (Losses) Recognized on Derivative Financial Instruments (Detail)",
     "shortName": "Derivative and Credit Risk Transfer Strip Assets and Liabilities - Net Gains (Losses) Recognized on Derivative Financial Instruments (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "103",
     "firstAnchor": {
      "contextRef": "C_15b68ce4-4e40-48da-a143-cdfd65c823d7",
      "name": "us-gaap:DerivativeGainLossOnDerivativeNet",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_15b68ce4-4e40-48da-a143-cdfd65c823d7",
      "name": "us-gaap:DerivativeGainLossOnDerivativeNet",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R104": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageServicingRightsSummaryOfMsrsCarriedAtFairValueDetail",
     "longName": "996435 - Disclosure - Mortgage Servicing Rights - Summary of MSRs Carried at Fair Value (Detail)",
     "shortName": "Mortgage Servicing Rights - Summary of MSRs Carried at Fair Value (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "104",
     "firstAnchor": {
      "contextRef": "C_5af40597-82d8-4e34-8b60-3f9de63ff0a6",
      "name": "us-gaap:ServicingAssetAtFairValueAmount",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:TransferToAgencyOfMortgageServicingRightsRelatingToDelinquentLoans",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfServicingAssetsAtFairValueTextBlock",
       "div",
       "pmt:MortgageServicingRightsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "unique": true
     }
    },
    "R105": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageServicingRightsSummaryOfNetLoanServicingFeesRelatingToMsrsDetail",
     "longName": "996445 - Disclosure - Mortgage Servicing Rights - Summary of Net Loan Servicing Fees Relating to MSRs (Detail)",
     "shortName": "Mortgage Servicing Rights - Summary of Net Loan Servicing Fees Relating to MSRs (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "105",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:ContractuallySpecifiedServicingFeesAmount",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:LateFeeIncomeGeneratedByServicingFinancialAssetsAmount",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:ScheduleOfContractuallySpecifiedServicingFeesTableTextBlock",
       "div",
       "pmt:MortgageServicingRightsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "unique": true
     }
    },
    "R106": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureOtherAssetsSummaryOfOtherAssetsDetail",
     "longName": "996455 - Disclosure - Other Assets - Summary of Other Assets (Detail)",
     "shortName": "Other Assets - Summary of Other Assets (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "106",
     "firstAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "us-gaap:MarginDepositAssets",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfOtherAssetsTableTextBlock",
       "div",
       "us-gaap:OtherAssetsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "us-gaap:MarginDepositAssets",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfOtherAssetsTableTextBlock",
       "div",
       "us-gaap:OtherAssetsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R107": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseDetail",
     "longName": "996465 - Disclosure - Assets Sold Under Agreements to Repurchase - Summary of Financial Information Relating to Assets Sold under Agreements to Repurchase (Detail)",
     "shortName": "Assets Sold Under Agreements to Repurchase - Summary of Financial Information Relating to Assets Sold under Agreements to Repurchase (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "107",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:SecuritiesSoldUnderAgreementsToRepurchaseWeightedAverageInterestRateDuringPeriod",
      "unitRef": "U_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "4",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfRepurchaseAgreements",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:SecuritiesSoldUnderAgreementsToRepurchaseWeightedAverageInterestRateDuringPeriod",
      "unitRef": "U_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "4",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfRepurchaseAgreements",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R108": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseParentheticalDetail",
     "longName": "996475 - Disclosure - Assets Sold Under Agreements to Repurchase - Summary of Financial Information Relating to Assets Sold under Agreements to Repurchase (Parenthetical) (Detail)",
     "shortName": "Assets Sold Under Agreements to Repurchase - Summary of Financial Information Relating to Assets Sold under Agreements to Repurchase (Parenthetical) (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "parenthetical",
     "menuCat": "Details",
     "order": "108",
     "firstAnchor": {
      "contextRef": "C_15b55bf3-441e-4d52-a07e-44623fda0ccc",
      "name": "us-gaap:AmortizationOfDebtDiscountPremium",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "span",
       "div",
       "div",
       "us-gaap:ScheduleOfRepurchaseAgreements",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_15b55bf3-441e-4d52-a07e-44623fda0ccc",
      "name": "us-gaap:AmortizationOfDebtDiscountPremium",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "span",
       "div",
       "div",
       "us-gaap:ScheduleOfRepurchaseAgreements",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R109": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfMaturitiesOfOutstandingAdvancesUnderRepurchaseAgreementsByMaturityDateDetail",
     "longName": "996485 - Disclosure - Assets Sold Under Agreements to Repurchase - Summary of Maturities of Outstanding Advances Under Repurchase Agreements by Maturity Date (Detail)",
     "shortName": "Assets Sold Under Agreements to Repurchase - Summary of Maturities of Outstanding Advances Under Repurchase Agreements by Maturity Date (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "109",
     "firstAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "us-gaap:SecuritiesSoldUnderAgreementsToRepurchase",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:RepurchaseAgreementsMaturitiesTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "us-gaap:SecuritiesSoldUnderAgreementsToRepurchase",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:RepurchaseAgreementsMaturitiesTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R110": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfAssetsSoldUnderAgreementsToRepurchaseByCounterpartyDetail",
     "longName": "996495 - Disclosure - Assets Sold Under Agreements to Repurchase - Summary of Assets Sold under Agreements to Repurchase by Counterparty (Detail)",
     "shortName": "Assets Sold Under Agreements to Repurchase - Summary of Assets Sold under Agreements to Repurchase by Counterparty (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "110",
     "firstAnchor": {
      "contextRef": "C_0d1fca71-eb83-41ac-b7cc-1bb6f0636109",
      "name": "us-gaap:RepurchaseAgreementCounterpartyAmountAtRisk",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:SecuritiesSoldUnderAgreementsToRepurchaseScheduleOfRepurchaseAgreementCounterPartiesWithWhomRepurchaseAgreementsExceedTenPercentOfStockholdersEquityTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_0d1fca71-eb83-41ac-b7cc-1bb6f0636109",
      "name": "us-gaap:RepurchaseAgreementCounterpartyAmountAtRisk",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:SecuritiesSoldUnderAgreementsToRepurchaseScheduleOfRepurchaseAgreementCounterPartiesWithWhomRepurchaseAgreementsExceedTenPercentOfStockholdersEquityTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R111": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageLoanParticipationPurchaseAndSaleAgreementSummaryOfMortgageLoanParticipationPurchaseAndSaleAgreementDetail",
     "longName": "996505 - Disclosure - Mortgage Loan Participation Purchase and Sale Agreement - Summary of Mortgage Loan Participation Purchase and Sale Agreement (Detail)",
     "shortName": "Mortgage Loan Participation Purchase and Sale Agreement - Summary of Mortgage Loan Participation Purchase and Sale Agreement (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "111",
     "firstAnchor": {
      "contextRef": "C_c49b77fa-0197-496b-96ff-f630f6837dd2",
      "name": "us-gaap:ShortTermDebtWeightedAverageInterestRateOverTime",
      "unitRef": "U_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:ScheduleOfMortgageLoanParticipationAgreementsTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_c49b77fa-0197-496b-96ff-f630f6837dd2",
      "name": "us-gaap:ShortTermDebtWeightedAverageInterestRateOverTime",
      "unitRef": "U_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:ScheduleOfMortgageLoanParticipationAgreementsTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R112": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageLoanParticipationPurchaseAndSaleAgreementSummaryOfMortgageLoanParticipationPurchaseAndSaleAgreementParentheticalDetail",
     "longName": "996515 - Disclosure - Mortgage Loan Participation Purchase and Sale Agreement - Summary of Mortgage Loan Participation Purchase and Sale Agreement (Parenthetical) (Detail)",
     "shortName": "Mortgage Loan Participation Purchase and Sale Agreement - Summary of Mortgage Loan Participation Purchase and Sale Agreement (Parenthetical) (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "parenthetical",
     "menuCat": "Details",
     "order": "112",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:AmortizationOfFinancingCostsAndDiscounts",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_c49b77fa-0197-496b-96ff-f630f6837dd2",
      "name": "us-gaap:AmortizationOfFinancingCostsAndDiscounts",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "div",
       "div",
       "pmt:ScheduleOfMortgageLoanParticipationAgreementsTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "unique": true
     }
    },
    "R113": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfTermNoteIssuedToQualifiedInstitutionalBuyersDetail",
     "longName": "996525 - Disclosure - Long-Term Debt - Summary of Term Note Issued to Qualified Institutional Buyers (Detail)",
     "shortName": "Long-Term Debt - Summary of Term Note Issued to Qualified Institutional Buyers (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "113",
     "firstAnchor": {
      "contextRef": "C_fb735bfd-584c-4843-9b78-fa0fdd9cf2df",
      "name": "pmt:DebtInstrumentUnpaidPrincipalBalance",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
       "div",
       "us-gaap:LongTermDebtTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_fb735bfd-584c-4843-9b78-fa0fdd9cf2df",
      "name": "pmt:DebtInstrumentUnpaidPrincipalBalance",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
       "div",
       "us-gaap:LongTermDebtTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R114": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail",
     "longName": "996535 - Disclosure - Long-Term Debt - Additional Information (Detail)",
     "shortName": "Long-Term Debt - Additional Information (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "114",
     "firstAnchor": {
      "contextRef": "C_79650155-ecb0-46b9-a308-c515e3ac0945",
      "name": "us-gaap:DebtInstrumentInterestRateStatedPercentage",
      "unitRef": "U_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_79650155-ecb0-46b9-a308-c515e3ac0945",
      "name": "us-gaap:DebtInstrumentInterestRateStatedPercentage",
      "unitRef": "U_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R115": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsDetail",
     "longName": "996545 - Disclosure - Long-Term Debt - Summary of Financial Information Relating to Note Payable Secured by Credit Risk Transfer and Mortgage Servicing Assets (Detail)",
     "shortName": "Long-Term Debt - Summary of Financial Information Relating to Note Payable Secured by Credit Risk Transfer and Mortgage Servicing Assets (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "115",
     "firstAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "us-gaap:NotesPayable",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_a4e206e5-4b66-4046-93ca-ec95ec6e05cb",
      "name": "us-gaap:NotesPayable",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:ScheduleOfSecuredNotePayableOfCreditRiskTransferAndMortgageServicingRightsTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "unique": true
     }
    },
    "R116": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsParentheticalDetail",
     "longName": "996555 - Disclosure - Long-Term Debt - Summary of Financial Information Relating to Note Payable Secured by Credit Risk Transfer and Mortgage Servicing Assets (Parenthetical) (Detail)",
     "shortName": "Long-Term Debt - Summary of Financial Information Relating to Note Payable Secured by Credit Risk Transfer and Mortgage Servicing Assets (Parenthetical) (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "parenthetical",
     "menuCat": "Details",
     "order": "116",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:AmortizationOfFinancingCostsAndDiscounts",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_34d30d38-4a30-4257-afd9-0858a2b1a032",
      "name": "us-gaap:AmortizationOfFinancingCostsAndDiscounts",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "span",
       "div",
       "div",
       "pmt:ScheduleOfSecuredNotePayableOfCreditRiskTransferAndMortgageServicingRightsTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "unique": true
     }
    },
    "R117": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToExchangeableSeniorNotesDetail",
     "longName": "996565 - Disclosure - Long-Term Debt - Summary of Financial Information Relating to Exchangeable Senior Notes (Detail)",
     "shortName": "Long-Term Debt - Summary of Financial Information Relating to Exchangeable Senior Notes (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "117",
     "firstAnchor": {
      "contextRef": "C_302f43f3-ce6d-4d01-b524-e1dad1ae7a56",
      "name": "pmt:DebtInstrumentUnpaidPrincipalBalance",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_302f43f3-ce6d-4d01-b524-e1dad1ae7a56",
      "name": "pmt:DebtInstrumentUnpaidPrincipalBalance",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R118": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToExchangeableSeniorNotesParentheticalDetail",
     "longName": "996575 - Disclosure - Long-Term Debt - Summary of Financial Information Relating to Exchangeable Senior Notes (Parenthetical) (Detail)",
     "shortName": "Long-Term Debt - Summary of Financial Information Relating to Exchangeable Senior Notes (Parenthetical) (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "parenthetical",
     "menuCat": "Details",
     "order": "118",
     "firstAnchor": {
      "contextRef": "C_621285ae-fee5-46df-b6ba-df65e5347249",
      "name": "pmt:DebtInstrumentUnpaidPrincipalBalance",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "span",
       "div",
       "div",
       "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_621285ae-fee5-46df-b6ba-df65e5347249",
      "name": "pmt:DebtInstrumentUnpaidPrincipalBalance",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "span",
       "div",
       "div",
       "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R119": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToUnsecuredSeniorNotesDetail",
     "longName": "996585 - Disclosure - Long-Term Debt - Summary of Financial Information Relating to Unsecured Senior Notes (Detail)",
     "shortName": "Long-Term Debt - Summary of Financial Information Relating to Unsecured Senior Notes (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "119",
     "firstAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "pmt:UnsecuredDebtIncludeExchangeableSeniorNotes",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ConvertibleDebtTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "us-gaap:ConvertibleDebt",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ConvertibleDebtTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "unique": true
     }
    },
    "R120": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToUnsecuredSeniorNotesParentheticalDetail",
     "longName": "996595 - Disclosure - Long-Term Debt - Summary of Financial Information Relating to Unsecured Senior Notes (Parenthetical) (Detail)",
     "shortName": "Long-Term Debt - Summary of Financial Information Relating to Unsecured Senior Notes (Parenthetical) (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "parenthetical",
     "menuCat": "Details",
     "order": "120",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:AmortizationOfFinancingCostsAndDiscounts",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_0e45da70-a296-4b54-a9ca-7c951fcafe4d",
      "name": "pmt:InterestExpenseOnConversionOption",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "span",
       "div",
       "div",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "unique": true
     }
    },
    "R121": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToSeniorNotesDetail",
     "longName": "996605 - Disclosure - Long-Term Debt - Summary of Financial Information Relating to Senior Notes (Detail)",
     "shortName": "Long-Term Debt - Summary of Financial Information Relating to Senior Notes (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "121",
     "firstAnchor": {
      "contextRef": "C_8f81b559-7820-4dca-aba9-bb6fdea4d352",
      "name": "pmt:DebtInstrumentUnpaidPrincipalBalance",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_8f81b559-7820-4dca-aba9-bb6fdea4d352",
      "name": "pmt:DebtInstrumentUnpaidPrincipalBalance",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R122": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToAssetBackedFinancingOfVIEAtFairValueDetail",
     "longName": "996615 - Disclosure - Long-Term Debt - Summary of Financial Information Relating to Asset-Backed Financing of a VIE at Fair Value (Detail)",
     "shortName": "Long-Term Debt - Summary of Financial Information Relating to Asset-Backed Financing of a VIE at Fair Value (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "122",
     "firstAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "pmt:AssetBackedSecuredFinancingLiabilityFairValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f236cc47-3735-4d08-ac6e-b639973ea429",
      "name": "pmt:AssetBackedSecuredFinancingLiabilityFairValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:AssetBackedSecuredFinancingTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "unique": true
     }
    },
    "R123": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToAssetBackedFinancingOfVIEAtFairValueParentheticalDetail",
     "longName": "996625 - Disclosure - Long-Term Debt - Summary of Financial Information Relating to Asset-Backed Financing of a VIE at Fair Value (Parenthetical) (Detail)",
     "shortName": "Long-Term Debt - Summary of Financial Information Relating to Asset-Backed Financing of a VIE at Fair Value (Parenthetical) (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "parenthetical",
     "menuCat": "Details",
     "order": "123",
     "firstAnchor": {
      "contextRef": "C_6482c9a9-c995-4971-9625-4f80c935490f",
      "name": "us-gaap:AmortizationOfDebtDiscountPremium",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "span",
       "div",
       "div",
       "pmt:AssetBackedSecuredFinancingTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_6482c9a9-c995-4971-9625-4f80c935490f",
      "name": "us-gaap:AmortizationOfDebtDiscountPremium",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "span",
       "div",
       "div",
       "pmt:AssetBackedSecuredFinancingTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R124": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtScheduleOfContractualMaturitiesOnLongTermDebtObligationsDetail",
     "longName": "996635 - Disclosure - Long-Term Debt - Schedule of Contractual Maturities on Long Term Debt Obligations (Detail)",
     "shortName": "Long-Term Debt - Schedule of Contractual Maturities on Long Term Debt Obligations (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "124",
     "firstAnchor": {
      "contextRef": "C_9dfdaedb-2a57-44dd-9532-8e4594d97f52",
      "name": "pmt:NotesPayableSecuredByCreditRiskTransferAndMortageServicingAsset",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:LongTermDebtByMaturityTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_9dfdaedb-2a57-44dd-9532-8e4594d97f52",
      "name": "pmt:NotesPayableSecuredByCreditRiskTransferAndMortageServicingAsset",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:LongTermDebtByMaturityTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R125": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLiabilityForLossesUnderRepresentationsAndWarrantiesSummaryOfCompanySLiabilityForLossesUnderRepresentationsAndWarrantiesDetail",
     "longName": "996645 - Disclosure - Liability for Losses under Representations and Warranties - Summary of Company's Liability for Losses under Representations and Warranties (Detail)",
     "shortName": "Liability for Losses under Representations and Warranties - Summary of Company's Liability for Losses under Representations and Warranties (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "125",
     "firstAnchor": {
      "contextRef": "C_5af40597-82d8-4e34-8b60-3f9de63ff0a6",
      "name": "pmt:RepresentationsAndWarrantiesLiability",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_e7c7aa6c-3035-4656-a517-267051bc8e05",
      "name": "pmt:RepresentationsAndWarrantiesLiability",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:SummaryOfRecourseLiabilityTableTextBlock",
       "div",
       "pmt:LiabilityForRepresentationsAndWarrantiesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "unique": true
     }
    },
    "R126": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformationDetail",
     "longName": "996655 - Disclosure - Commitments and Contingencies - Additional Information (Detail)",
     "shortName": "Commitments and Contingencies - Additional Information (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "126",
     "firstAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "us-gaap:LossContingencyAccrualAtCarryingValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "us-gaap:LossContingencyAccrualAtCarryingValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R127": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesCompanySOutstandingContractualCommitmentsDetail",
     "longName": "996665 - Disclosure - Commitments and Contingencies - Company's Outstanding Contractual Commitments (Detail)",
     "shortName": "Commitments and Contingencies - Company's Outstanding Contractual Commitments (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "127",
     "firstAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "pmt:MortgageLoansHeldForSaleOutstandingContractualPurchaseCommitments",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:OtherCommitmentsTableTextBlock",
       "div",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "pmt:MortgageLoansHeldForSaleOutstandingContractualPurchaseCommitments",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:OtherCommitmentsTableTextBlock",
       "div",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R128": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquitySummaryOfPreferredSharesOfBeneficialInterestDetail",
     "longName": "996675 - Disclosure - Shareholders' Equity - Summary of Preferred Shares of Beneficial Interest (Detail)",
     "shortName": "Shareholders' Equity - Summary of Preferred Shares of Beneficial Interest (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "128",
     "firstAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "us-gaap:PreferredStockSharesIssued",
      "unitRef": "U_shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "us-gaap:PreferredStockDiscountOnShares",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfStockByClassTextBlock",
       "div",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "unique": true
     }
    },
    "R129": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquitySummaryOfPreferredSharesOfBeneficialInterestParentheticalDetail",
     "longName": "996685 - Disclosure - Shareholders' Equity - Summary of Preferred Shares of Beneficial Interest (Parenthetical) (Detail)",
     "shortName": "Shareholders' Equity - Summary of Preferred Shares of Beneficial Interest (Parenthetical) (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "parenthetical",
     "menuCat": "Details",
     "order": "129",
     "firstAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "us-gaap:PreferredStockParOrStatedValuePerShare",
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_1fa3d5bd-bde3-4f5c-811f-58187d9e48f6",
      "name": "us-gaap:PreferredStockDividendRatePercentage",
      "unitRef": "U_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfStockByClassTextBlock",
       "div",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "unique": true
     }
    },
    "R130": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquityAdditionalInformationDetail",
     "longName": "996695 - Disclosure - Shareholders' Equity - Additional Information (Detail)",
     "shortName": "Shareholders' Equity - Additional Information (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "130",
     "firstAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "srt:StockRepurchaseProgramAuthorizedAmount1",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "srt:StockRepurchaseProgramAuthorizedAmount1",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R131": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquitySummaryOfCommonShareRepurchaseActivityDetail",
     "longName": "996705 - Disclosure - Shareholders' Equity - Summary of Common Share Repurchase Activity (Detail)",
     "shortName": "Shareholders' Equity - Summary of Common Share Repurchase Activity (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "131",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:StockRepurchasedAndRetiredDuringPeriodShares",
      "unitRef": "U_shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true
     },
     "uniqueAnchor": null
    },
    "R132": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureShareholdersEquitySummaryOfCommonShareRepurchaseActivityParentheticalDetails",
     "longName": "996715 - Disclosure - Shareholders' Equity - Summary of Common Share Repurchase Activity (Parenthetical) (Details)",
     "shortName": "Shareholders' Equity - Summary of Common Share Repurchase Activity (Parenthetical) (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "parenthetical",
     "menuCat": "Details",
     "order": "132",
     "firstAnchor": {
      "contextRef": "C_e49bff13-1a7d-4343-900e-fa975f546702",
      "name": "us-gaap:PaymentsOfStockIssuanceCosts",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "p",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true
     },
     "uniqueAnchor": null
    },
    "R133": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSaleSummaryOfNetGainsOnMortgageLoansHeldForSaleDetail",
     "longName": "996725 - Disclosure - Net Gains on Loans Held for Sale - Summary of Net Gains on Mortgage Loans Held for Sale (Detail)",
     "shortName": "Net Gains on Loans Held for Sale - Summary of Net Gains on Mortgage Loans Held for Sale (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "133",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:ReceiptOfMortgageServicingRightsAsProceedsFromSalesOfLoans",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_0e812a8d-1ed0-4e31-a438-8977a433f8b6",
      "name": "pmt:GainLossOnSaleOfMortgageLoansAcquiredForSaleCashPortion",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:ScheduleOfNetGainLossOnMortgageLoansHeldForSaleTableTextBlock",
       "div",
       "pmt:NetGainOnMortgageLoansAcquiredForSaleDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "unique": true
     }
    },
    "R134": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetLossesGainsOnInvestmentsAndFinancingsSummaryOfNetLossesGainsOnInvestmentsAndFinancingsDetails",
     "longName": "996735 - Disclosure - Net (Losses) Gains on Investments and Financings - Summary of Net (Losses) Gains on Investments and Financings (Details)",
     "shortName": "Net (Losses) Gains on Investments and Financings - Summary of Net (Losses) Gains on Investments and Financings (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "134",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:DebtSecuritiesGainLoss",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:GainsLossesOnInvestmentsAndFinancingsTableTextBlock",
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:DebtSecuritiesGainLoss",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:GainsLossesOnInvestmentsAndFinancingsTableTextBlock",
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R135": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail",
     "longName": "996745 - Disclosure - Net Interest Expense - Summary of Net Interest Expense (Detail)",
     "shortName": "Net Interest Expense - Summary of Net Interest Expense (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "135",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:InterestIncomeDomesticDeposits",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InterestIncomeAndInterestExpenseDisclosureTableTextBlock",
       "div",
       "us-gaap:InterestIncomeAndInterestExpenseDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:InterestIncomeDomesticDeposits",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InterestIncomeAndInterestExpenseDisclosureTableTextBlock",
       "div",
       "us-gaap:InterestIncomeAndInterestExpenseDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R136": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfShareBasedCompensationActivityDetail",
     "longName": "996765 - Disclosure - Share-Based Compensation - Summary of Share-Based Compensation Activity (Detail)",
     "shortName": "Share-Based Compensation - Summary of Share-Based Compensation Activity (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "136",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
      "unitRef": "U_shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationActivityTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
      "unitRef": "U_shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationActivityTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R137": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfShareBasedCompensationActivityParentheticalDetail",
     "longName": "996775 - Disclosure - Share-Based Compensation - Summary of Share-Based Compensation Activity (Parenthetical) (Detail)",
     "shortName": "Share-Based Compensation - Summary of Share-Based Compensation Activity (Parenthetical) (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "parenthetical",
     "menuCat": "Details",
     "order": "137",
     "firstAnchor": {
      "contextRef": "C_d6d6dcf1-51ab-4c30-94cf-609e0313ddb3",
      "name": "pmt:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedExceedingPerformanceGoalsTargetInPeriod",
      "unitRef": "U_shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "div",
       "div",
       "us-gaap:ScheduleOfShareBasedCompensationActivityTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d6d6dcf1-51ab-4c30-94cf-609e0313ddb3",
      "name": "pmt:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedExceedingPerformanceGoalsTargetInPeriod",
      "unitRef": "U_shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "div",
       "div",
       "us-gaap:ScheduleOfShareBasedCompensationActivityTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R138": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfRestrictedShareUnitsAndPerformanceShareUnitsExpectedToVestDetail",
     "longName": "996785 - Disclosure - Share-Based Compensation - Summary of Restricted Share Units and Performance Share Units Expected to Vest (Detail)",
     "shortName": "Share-Based Compensation - Summary of Restricted Share Units and Performance Share Units Expected to Vest (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "138",
     "firstAnchor": {
      "contextRef": "C_1872d80c-c20b-4cb9-9eba-c429141c4094",
      "name": "pmt:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentOtherThanOptionVestedAndExpectedToVestNumber",
      "unitRef": "U_shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:ScheduleOfShareBasedCompensationArrangementByShareBasedPaymentAwardRestrictedShareUnitsAndPerformanceShareUnitsExpectedToVestOutstandingTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_1872d80c-c20b-4cb9-9eba-c429141c4094",
      "name": "pmt:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentOtherThanOptionVestedAndExpectedToVestNumber",
      "unitRef": "U_shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "pmt:ScheduleOfShareBasedCompensationArrangementByShareBasedPaymentAwardRestrictedShareUnitsAndPerformanceShareUnitsExpectedToVestOutstandingTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R139": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetail",
     "longName": "996795 - Disclosure - Income Taxes - Additional Information (Detail)",
     "shortName": "Income Taxes - Additional Information (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "139",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:EffectiveIncomeTaxRateContinuingOperations",
      "unitRef": "U_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "3",
      "ancestors": [
       "span",
       "p",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:EffectiveIncomeTaxRateContinuingOperations",
      "unitRef": "U_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "3",
      "ancestors": [
       "span",
       "p",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R140": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureEarningsLossPerCommonShareSummaryOfBasicAndDilutedEarningsPerShareDetail",
     "longName": "996805 - Disclosure - Earnings (Loss) Per Common Share - Summary of Basic and Diluted Earnings per Share (Detail)",
     "shortName": "Earnings (Loss) Per Common Share - Summary of Basic and Diluted Earnings per Share (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "140",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:NetIncomeLoss",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:DividendsOnPreferredShares",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "unique": true
     }
    },
    "R141": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureEarningsLossPerCommonShareSummaryOfPotentiallyDilutiveSharesExcludedFromComputationOfDilutedEarningsPerShareDetail",
     "longName": "996815 - Disclosure - Earnings (Loss) Per Common Share - Summary of Potentially Dilutive Shares Excluded from Computation of Diluted Earnings Per Share (Detail)",
     "shortName": "Earnings (Loss) Per Common Share - Summary of Potentially Dilutive Shares Excluded from Computation of Diluted Earnings Per Share (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "141",
     "firstAnchor": {
      "contextRef": "C_e5781c18-2d1c-4932-a1c7-197a86d9e4c3",
      "name": "us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
      "unitRef": "U_shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_e5781c18-2d1c-4932-a1c7-197a86d9e4c3",
      "name": "us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
      "unitRef": "U_shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    },
    "R142": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureSegmentsAdditionalInformationDetail",
     "longName": "996825 - Disclosure - Segments - Additional Information (Detail)",
     "shortName": "Segments - Additional Information (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "142",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:NumberOfOperatingSegments",
      "unitRef": "U_Segment",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "us-gaap:SegmentReportingPolicyPolicyTextBlock",
       "div",
       "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:SegmentReportingCodmProfitLossMeasureHowUsedDescription",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "us-gaap:SegmentReportingDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "unique": true
     }
    },
    "R143": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail",
     "longName": "996835 - Disclosure - Segments - Financial Highlights by Segment (Detail)",
     "shortName": "Segments - Financial Highlights by Segment (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "143",
     "firstAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "pmt:ServicingIncomeLossNetOfValuationAdjustments",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d0131e3c-2634-44e6-8473-1434828d14fb",
      "name": "us-gaap:GainLossOnSalesOfMortgageBackedSecuritiesMBS",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "unique": true
     }
    },
    "R144": {
     "role": "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureRegulatoryCapitalAndLiquidityRequirementsSummaryOfCapitalAndLiquidityAmountsAndRequirementsByAgenciesDetail",
     "longName": "996855 - Disclosure - Regulatory Capital and Liquidity Requirements - Summary of Capital and Liquidity Amounts and Requirements by Agencies (Detail)",
     "shortName": "Regulatory Capital and Liquidity Requirements - Summary of Capital and Liquidity Amounts and Requirements by Agencies (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "144",
     "firstAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "us-gaap:TangibleCapital",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
       "div",
       "us-gaap:RegulatoryCapitalRequirementsForMortgageCompaniesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_63c18fcd-f962-41d5-afb7-6e063dc00ea9",
      "name": "us-gaap:TangibleCapital",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
       "div",
       "us-gaap:RegulatoryCapitalRequirementsForMortgageCompaniesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "pmt-20260331.htm",
      "first": true,
      "unique": true
     }
    }
   },
   "tag": {
    "pmt_ABCarvalMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ABCarvalMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAssetsFinancialInstrumentsAndCollateralHeldByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "AB Carval [Member]",
        "documentation": "AB Carval."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AccountingPoliciesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AccountingPoliciesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Policies [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AccountingStandardsUpdate202006Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AccountingStandardsUpdate202006Member",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureBasisOfPresentationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accounting Standards Update 2020-06 [Member]",
        "label": "Accounting Standards Update 2020-06 [Member]",
        "documentation": "Accounting Standards Update 2020-06 Debt - Debt with Conversion and Other Options (Subtopic 470-20) and Derivatives and Hedging - Contracts in Entity's Own Equity (Subtopic 815-40): Accounting for Convertible Instruments and Contracts in an Entity's Own Equity."
       }
      }
     },
     "auth_ref": [
      "r660",
      "r661",
      "r662",
      "r663",
      "r664",
      "r665",
      "r666",
      "r667",
      "r668",
      "r669",
      "r670"
     ]
    },
    "us-gaap_AccountingStandardsUpdateExtensibleList": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AccountingStandardsUpdateExtensibleList",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInShareholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accounting Standards Update [Extensible Enumeration]",
        "label": "Accounting Standards Update [Extensible Enumeration]",
        "documentation": "Indicates amendment to accounting standards."
       }
      }
     },
     "auth_ref": [
      "r174",
      "r175",
      "r176",
      "r177",
      "r178",
      "r179",
      "r180",
      "r181",
      "r182",
      "r183",
      "r184",
      "r213",
      "r214",
      "r215",
      "r245",
      "r246",
      "r247",
      "r248",
      "r249",
      "r335",
      "r336",
      "r373",
      "r374",
      "r375",
      "r395",
      "r396",
      "r400",
      "r439",
      "r440",
      "r441",
      "r442",
      "r521",
      "r522",
      "r523",
      "r524",
      "r538",
      "r539",
      "r540",
      "r541",
      "r547",
      "r548",
      "r549",
      "r550",
      "r551",
      "r552",
      "r553",
      "r554",
      "r555",
      "r556",
      "r557",
      "r558",
      "r561",
      "r562",
      "r563",
      "r564",
      "r565",
      "r644",
      "r645",
      "r660",
      "r661",
      "r662",
      "r663",
      "r664",
      "r665",
      "r666",
      "r667",
      "r668",
      "r669",
      "r670",
      "r696",
      "r697",
      "r728",
      "r731",
      "r732",
      "r733",
      "r734",
      "r735",
      "r736",
      "r857",
      "r858",
      "r859",
      "r860",
      "r861",
      "r862",
      "r863",
      "r864",
      "r865",
      "r866",
      "r867",
      "r868"
     ]
    },
    "us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 12.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accounts payable and accrued liabilities",
        "totalLabel": "Accounts Payable and Accrued Liabilities, Total",
        "label": "Accounts Payable and Accrued Liabilities",
        "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": [
      "r99",
      "r100"
     ]
    },
    "us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AccretionAmortizationOfDiscountsAndPremiumsInvestments",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accretion (Amortization) of Discounts and Premiums, Investments",
        "negatedLabel": "Accrual of unearned discounts and amortization of purchase premiums on mortgage-backed securities, loans held for investment, and asset-backed financings, net",
        "documentation": "The sum of the periodic adjustments of the differences between securities' face values and purchase prices that are charged against earnings. This is called accretion if the security was purchased at a discount and amortization if it was purchased at premium. As a noncash item, this element is an adjustment to net income when calculating cash provided by or used in operations using the indirect method."
       }
      }
     },
     "auth_ref": [
      "r81"
     ]
    },
    "us-gaap_AccruedIncomeTaxes": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AccruedIncomeTaxes",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 14.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Accrued Income Taxes, Total",
        "terseLabel": "Income taxes payable",
        "label": "Accrued Income Taxes",
        "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": [
      "r50",
      "r57",
      "r99",
      "r815"
     ]
    },
    "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": [
      "r1201"
     ]
    },
    "us-gaap_AdditionalPaidInCapitalCommonStock": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AdditionalPaidInCapitalCommonStock",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Additional paid-in capital",
        "label": "Additional Paid in Capital, Common Stock",
        "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": [
      "r62"
     ]
    },
    "us-gaap_AdditionalPaidInCapitalMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AdditionalPaidInCapitalMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInShareholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Additional Paid-in Capital [Member]",
        "label": "Additional Paid-in Capital [Member]",
        "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": [
      "r885",
      "r1359",
      "r1360",
      "r1361",
      "r1365",
      "r1468",
      "r1568"
     ]
    },
    "pmt_AdditionalServicingFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "AdditionalServicingFees",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesServicingAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Additional servicing fees per loan per month",
        "label": "Additional Servicing Fees",
        "documentation": "Additional Servicing Fees"
       }
      }
     },
     "auth_ref": []
    },
    "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": [
      "r1214"
     ]
    },
    "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": [
      "r1214"
     ]
    },
    "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": [
      "r1214"
     ]
    },
    "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": [
      "r1214"
     ]
    },
    "pmt_AdjustableRateMortgagesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "AdjustableRateMortgagesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesServicingAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Adjustable rate mortgage loans [Member]",
        "label": "Adjustable Rate Mortgages [Member]",
        "documentation": "Adjustable Rate Mortgages [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AdjustmentsForNewAccountingPronouncementsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AdjustmentsForNewAccountingPronouncementsAxis",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureBasisOfPresentationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accounting Standards Update",
        "label": "Accounting Standards Update [Axis]",
        "documentation": "Information by amendment to accounting standards."
       }
      }
     },
     "auth_ref": [
      "r174",
      "r175",
      "r176",
      "r177",
      "r178",
      "r179",
      "r180",
      "r181",
      "r182",
      "r183",
      "r184",
      "r213",
      "r214",
      "r215",
      "r245",
      "r246",
      "r247",
      "r248",
      "r249",
      "r261",
      "r335",
      "r336",
      "r373",
      "r374",
      "r375",
      "r376",
      "r395",
      "r396",
      "r400",
      "r439",
      "r440",
      "r441",
      "r442",
      "r521",
      "r522",
      "r523",
      "r524",
      "r537",
      "r538",
      "r539",
      "r540",
      "r541",
      "r547",
      "r548",
      "r549",
      "r550",
      "r551",
      "r552",
      "r553",
      "r554",
      "r555",
      "r556",
      "r557",
      "r558",
      "r561",
      "r562",
      "r563",
      "r564",
      "r565",
      "r644",
      "r645",
      "r646",
      "r647",
      "r648",
      "r649",
      "r650",
      "r651",
      "r652",
      "r653",
      "r660",
      "r661",
      "r662",
      "r663",
      "r664",
      "r665",
      "r666",
      "r667",
      "r668",
      "r669",
      "r670",
      "r696",
      "r697",
      "r728",
      "r729",
      "r731",
      "r732",
      "r733",
      "r734",
      "r735",
      "r736",
      "r857",
      "r858",
      "r859",
      "r860",
      "r861",
      "r862",
      "r863",
      "r864",
      "r865",
      "r866",
      "r867",
      "r868"
     ]
    },
    "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustment to Reconcile Net Income to Cash Provided by (Used in) Operating Activity [Abstract]",
        "terseLabel": "Adjustments to reconcile net income to net cash used in operating activities:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AffiliateCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AffiliateCosts",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfExpensesDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfExpensesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total expenses incurred in transaction with affiliates",
        "label": "Affiliate Costs",
        "documentation": "Costs associated with revenues arising from an entity that is an affiliate of the reporting entity by means of direct or indirect ownership."
       }
      }
     },
     "auth_ref": [
      "r68"
     ]
    },
    "pmt_AgencyConformingLoansSecuredByInvestmentPropertiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "AgencyConformingLoansSecuredByInvestmentPropertiesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForInvestmentAtFairValueSummaryOfDistributionOfCompanysLoansHeldForInvestmentAtFairValueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Agency-conforming loans secured by investment properties [Member]",
        "label": "Agency Conforming Loans Secured By Investment Properties [Member]",
        "documentation": "Agency-conforming loans secured by investment properties."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_AgencyConformingLoansSecuredByNonOwnerOccupiedPropertiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "AgencyConformingLoansSecuredByNonOwnerOccupiedPropertiesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForInvestmentAtFairValueSummaryOfDistributionOfCompanysLoansHeldForInvestmentAtFairValueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Agency-conforming Loans Secured By Non-owner Occupied Properties [Member]",
        "label": "Agency Conforming Loans Secured By Non Owner Occupied Properties Member",
        "documentation": "Agency-conforming loans secured by non-owne occupied properties.",
        "verboseLabel": "Non-owner occupied properties [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_AgencyConformingLoansSecuredByOwnerOccupiedPropertiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "AgencyConformingLoansSecuredByOwnerOccupiedPropertiesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForInvestmentAtFairValueSummaryOfDistributionOfCompanysLoansHeldForInvestmentAtFairValueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Agency Conforming Loans Secured By Owner Occupied Properties [Member]",
        "documentation": "Agency conforming loans secured by owner occupied properties.",
        "terseLabel": "Owner occupied properties [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_AgencyFixedRatePassThroughSectionsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "AgencyFixedRatePassThroughSectionsMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureMortgagebackedSecuritiesSummaryOfInvestmentsInMortgageBackedSecuritiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Agency Fixed Rate Pass Through Securities [Member]",
        "label": "Agency Fixed Rate Pass Through Sections [Member]",
        "documentation": "Agency fixed-rate pass-through sections.",
        "verboseLabel": "Agency Fixed Rate Pass Through [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_AggregateCashGainLossOnSaleOfMortgageLoansAcquiredForSaleNetOfCashHedgingResults": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "AggregateCashGainLossOnSaleOfMortgageLoansAcquiredForSaleNetOfCashHedgingResults",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSaleSummaryOfNetGainsOnMortgageLoansHeldForSaleDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSaleSummaryOfNetGainsOnMortgageLoansHeldForSaleDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Aggregate Cash Gain Loss On Sale Of Mortgage Loans Acquired For Sale Net Of Cash Hedging Results",
        "documentation": "Aggregate Cash Gain Loss On Sale Of Mortgage Loans Acquired For Sale Net Of Cash Hedging Results",
        "totalLabel": "Cash gain, net of effects of cash hedging, on sale of mortgage loans held for sale"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_AggregationAndSecuritizationCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "AggregationAndSecuritizationCosts",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfAmountsReceivableFromAndPayableToPFSIDetail": {
       "parentTag": "us-gaap_OtherLiabilities",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfAmountsReceivableFromAndPayableToPFSIDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Aggregation and securitization costs",
        "documentation": "Aggregation and securitization costs.",
        "terseLabel": "Aggregation and securitization costs"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_AggregationAndSecuritizationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "AggregationAndSecuritizationMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Aggregation And Securitization [Member]",
        "documentation": "Aggregation and Securitization.",
        "terseLabel": "Aggregation and Securitization [Member]"
       }
      }
     },
     "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": [
      "r1247"
     ]
    },
    "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": [
      "r1173",
      "r1183",
      "r1193",
      "r1225"
     ]
    },
    "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": [
      "r1176",
      "r1186",
      "r1196",
      "r1228"
     ]
    },
    "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": [
      "r1248"
     ]
    },
    "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": [
      "r1214"
     ]
    },
    "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": [
      "r1221"
     ]
    },
    "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": [
      "r1177",
      "r1187",
      "r1197",
      "r1221",
      "r1229",
      "r1233",
      "r1241"
     ]
    },
    "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": [
      "r1239"
     ]
    },
    "pmt_AllocatedExpensesAndCostsPayable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "AllocatedExpensesAndCostsPayable",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfAmountsReceivableFromAndPayableToPFSIDetail": {
       "parentTag": "us-gaap_OtherLiabilities",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfAmountsReceivableFromAndPayableToPFSIDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Allocated expenses and costs payable",
        "documentation": "Allocated expenses and costs payable.",
        "terseLabel": "Allocated expenses and costs"
       }
      }
     },
     "auth_ref": []
    },
    "dei_AmendmentFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "AmendmentFlag",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Amendment Flag",
        "label": "Amendment Flag",
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AmortizationOfDebtDiscountPremium": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AmortizationOfDebtDiscountPremium",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToAssetBackedFinancingOfVIEAtFairValueParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Amortization of Debt Discount (Premium)",
        "terseLabel": "Amortization of premiums",
        "verboseLabel": "Amortization of debt issuance costs",
        "negatedLabel": "Amortization of premiums",
        "documentation": "Amount of noncash expense included in interest expense to amortize debt discount and premium associated with the related debt instruments. Excludes amortization of financing costs. Alternate captions include noncash interest expense."
       }
      }
     },
     "auth_ref": [
      "r3",
      "r74",
      "r435",
      "r1497"
     ]
    },
    "us-gaap_AmortizationOfFinancingCostsAndDiscounts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AmortizationOfFinancingCostsAndDiscounts",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToUnsecuredSeniorNotesParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageLoanParticipationPurchaseAndSaleAgreementSummaryOfMortgageLoanParticipationPurchaseAndSaleAgreementParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Amortization of Debt Issuance Costs and Discounts, Total",
        "label": "Amortization of premiums and debt issuance costs",
        "terseLabel": "Amortization of debt issuance costs",
        "verboseLabel": "(Accrual) amortization of premiums and of debt issuance costs",
        "documentation": "Amount of amortization expense attributable to debt discount (premium) and debt issuance costs."
       }
      }
     },
     "auth_ref": [
      "r435",
      "r1101",
      "r1102",
      "r1347",
      "r1497"
     ]
    },
    "us-gaap_AncillaryFeeIncomeGeneratedByServicingFinancialAssetsAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AncillaryFeeIncomeGeneratedByServicingFinancialAssetsAmount",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageServicingRightsSummaryOfNetLoanServicingFeesRelatingToMsrsDetail": {
       "parentTag": "pmt_MortgageLoanOtherServicingFees",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageServicingRightsSummaryOfNetLoanServicingFeesRelatingToMsrsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other",
        "label": "Ancillary Fee Income Generated by Servicing Financial Assets, Amount",
        "documentation": "All amounts that are due to the servicer of a financial asset, excluding contractually specified servicing fees and late fees."
       }
      }
     },
     "auth_ref": [
      "r777"
     ]
    },
    "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureEarningsLossPerCommonShareSummaryOfPotentiallyDilutiveSharesExcludedFromComputationOfDilutedEarningsPerShareDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Shares issuable under share-based compensation plan",
        "terseLabel": "Potentially dilutive stock excluded from the diluted earnings per share",
        "label": "Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount",
        "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": [
      "r280"
     ]
    },
    "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureEarningsLossPerCommonShareSummaryOfPotentiallyDilutiveSharesExcludedFromComputationOfDilutedEarningsPerShareDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]",
        "label": "Antidilutive Securities Excluded from Computation of Earnings Per Share [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": [
      "r280"
     ]
    },
    "us-gaap_ArrangementsAndNonarrangementTransactionsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ArrangementsAndNonarrangementTransactionsMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToExchangeableSeniorNotesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToExchangeableSeniorNotesParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfTermNoteIssuedToQualifiedInstitutionalBuyersDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtTables",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquityAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Collaborative Arrangement and Arrangement Other than Collaborative",
        "label": "Collaborative Arrangement and Arrangement Other than Collaborative [Domain]",
        "documentation": "Collaborative arrangement and arrangement other than collaborative applicable to revenue-generating activity or operations."
       }
      }
     },
     "auth_ref": [
      "r566"
     ]
    },
    "pmt_AssetBackedSecuredFinancingInterestExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "AssetBackedSecuredFinancingInterestExpense",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail": {
       "parentTag": "us-gaap_InterestExpenseOperating",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Asset Backed Secured Financing Interest Expense",
        "documentation": "Represents interest expense relating to bonds issued to non-affiliates secured by mortgage loans held in a consolidated VIE.",
        "terseLabel": "Asset-backed financings"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_AssetBackedSecuredFinancingLiabilityFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "AssetBackedSecuredFinancingLiabilityFairValue",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureVariableInterestEntitiesSummaryOfInvestmentInSeniorAndSubordinateMbsBackedByAssetsHeldInConsolidatedViesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToAssetBackedFinancingOfVIEAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Asset-backed financings at fair value",
        "label": "Asset Backed Secured Financing Liability Fair Value",
        "documentation": "Asset-backed secured financing represents the amounts owed to nonaffiliates relating to the securitization of mortgage loans held in a variable interest entity.",
        "terseLabel": "Asset-backed financing of variable interest entities at fair value"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_AssetBackedSecuredFinancingLiabilityFairValueMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "AssetBackedSecuredFinancingLiabilityFairValueMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToAssetBackedFinancingOfVIEAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToAssetBackedFinancingOfVIEAtFairValueParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Asset Backed Secured Financing Liability Fair Value",
        "label": "Asset Backed Secured Financing Liability Fair Value [Member]",
        "documentation": "Asset backed secured financing liability fair value."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_AssetBackedSecuredFinancingTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "AssetBackedSecuredFinancingTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Financial Information Relating to Asset-Backed Financing of a VIE at Fair Value",
        "label": "Asset Backed Secured Financing Table [Text Block]",
        "documentation": "Financial information relating to asset-backed secured financings, including balances, interest rates and interest expense for the period and at period end."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AssetBackedSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AssetBackedSecuritiesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfChangesInFairValueIncludedInCurrentPeriodResultsOfOperationsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToAssetBackedFinancingOfVIEAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToAssetBackedFinancingOfVIEAtFairValueParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Asset-backed Securities",
        "label": "Asset-Backed Securities [Member]",
        "verboseLabel": "Asset-backed financings of VIEs [Member]",
        "documentation": "Securities that are primarily serviced by the cash flows of a discrete pool of receivables or other financial assets for example, but not limited to, credit card receivables, car loans, recreational vehicle loans, and mobile home loans."
       }
      }
     },
     "auth_ref": [
      "r1107",
      "r1109",
      "r1140",
      "r1383",
      "r1385",
      "r1386"
     ]
    },
    "pmt_AssetBackedSecurityFinancingsOfVariableInterestEntitiesLiabilityAtFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "AssetBackedSecurityFinancingsOfVariableInterestEntitiesLiabilityAtFairValue",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail": {
       "parentTag": "us-gaap_FinancialLiabilitiesFairValueDisclosure",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Asset-backed security financings of variable interest entities liability at fair value",
        "documentation": "Asset-backed security financings of variable interest entities liability at fair value.",
        "terseLabel": "Asset-backed financings of the variable interest entities"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_AssetSoldUnderAgreementsToRepurchaseMaximumDailyAmountOutstanding": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "AssetSoldUnderAgreementsToRepurchaseMaximumDailyAmountOutstanding",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Maximum daily amount outstanding",
        "label": "Asset Sold Under Agreements To Repurchase Maximum Daily Amount Outstanding",
        "documentation": "Asset sold under agreements to repurchase maximum daily amount outstanding."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_Assets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "Assets",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      },
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedBalanceSheetsUnaudited2": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total assets",
        "terseLabel": "Total assets at end of quarter",
        "label": "Assets",
        "documentation": "Amount of asset recognized for present right to economic benefit."
       }
      }
     },
     "auth_ref": [
      "r96",
      "r128",
      "r194",
      "r224",
      "r227",
      "r228",
      "r285",
      "r297",
      "r323",
      "r327",
      "r372",
      "r411",
      "r412",
      "r413",
      "r414",
      "r415",
      "r416",
      "r417",
      "r418",
      "r419",
      "r568",
      "r573",
      "r712",
      "r801",
      "r802",
      "r814",
      "r934",
      "r1067",
      "r1068",
      "r1103",
      "r1139",
      "r1147",
      "r1148",
      "r1164",
      "r1411",
      "r1412",
      "r1506"
     ]
    },
    "us-gaap_AssetsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AssetsAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "ASSETS",
        "label": "Assets [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AssetsFairValueDisclosure": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AssetsFairValueDisclosure",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTotalLabel": "Total Assets",
        "totalLabel": "Total Assets",
        "label": "Assets, Fair Value Disclosure",
        "documentation": "Fair value portion of asset recognized for present right to economic benefit."
       }
      }
     },
     "auth_ref": [
      "r672",
      "r673",
      "r1127"
     ]
    },
    "us-gaap_AssetsFairValueDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AssetsFairValueDisclosureAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Assets:",
        "label": "Assets, Fair Value Disclosure [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_AssetsSoldUnderAgreementsAvailableBorrowingCapacityCommitted": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "AssetsSoldUnderAgreementsAvailableBorrowingCapacityCommitted",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseDetail": {
       "parentTag": "pmt_SecuritiesSoldUnderAgreementsAvailableBorrowingCapacity",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Available borrowing capacity, Committed",
        "label": "Assets Sold Under Agreements Available Borrowing Capacity Committed",
        "documentation": "Assets sold under agreements available borrowing capacity committed."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_AssetsSoldUnderAgreementsToRepurchase": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "AssetsSoldUnderAgreementsToRepurchase",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseDetail": {
       "parentTag": "us-gaap_AssetsSoldUnderAgreementsToRepurchaseRepurchaseLiability",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Assets Sold Under Agreements To Repurchase",
        "terseLabel": "Funded under committed facilities",
        "label": "Assets Sold Under Agreements To Repurchase",
        "documentation": "Amount of funds outstanding borrowed in the form of an asset repurchase agreement between PMT and another party for the sale and repurchase of identical or substantially the same assets at a date certain for a specified price."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_AssetsSoldUnderAgreementsToRepurchaseAverageBalance": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "AssetsSoldUnderAgreementsToRepurchaseAverageBalance",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Average balance",
        "label": "Assets Sold Under Agreements To Repurchase Average Balance",
        "documentation": "Assets sold under agreements to repurchase average balance."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AssetsSoldUnderAgreementsToRepurchaseLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AssetsSoldUnderAgreementsToRepurchaseLineItems",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfAssetsSoldUnderAgreementsToRepurchaseByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfMaturitiesOfOutstandingAdvancesUnderRepurchaseAgreementsByMaturityDateDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets Sold under Agreements to Repurchase [Line Items]",
        "terseLabel": "Assets Sold under Agreements to Repurchase [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": [
      "r224",
      "r237",
      "r771"
     ]
    },
    "us-gaap_AssetsSoldUnderAgreementsToRepurchaseMarketValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AssetsSoldUnderAgreementsToRepurchaseMarketValue",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForSaleAtFairValueSummaryOfDistributionOfCompanysLoansHeldForSaleAtFairValueDetail": {
       "parentTag": "pmt_PledgedFinancialInstrumentsNotSeparatelyReportedAndAssetsSeparatelyReportedOnStatementAtFairValue",
       "weight": -1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForInvestmentAtFairValueSummaryOfDistributionOfCompanysLoansHeldForInvestmentAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForSaleAtFairValueSummaryOfDistributionOfCompanysLoansHeldForSaleAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureMortgagebackedSecuritiesScheduleOfMortgageBackedSecuritiesPledgedToSecureAssetsSoldDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureOtherAssetsSummaryOfOtherAssetsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets Sold under Agreements to Repurchase, Market Value",
        "verboseLabel": "Assets sold under agreements to repurchase",
        "terseLabel": "Loans pledged to secure Assets sold under agreements to repurchase",
        "documentation": "Market value of assets sold under agreements to repurchase when the carrying amount (or market value, if higher than the carrying amount) of securities or other assets sold under repurchase agreements exceeds 10 percent of total assets."
       }
      }
     },
     "auth_ref": [
      "r224",
      "r232",
      "r235"
     ]
    },
    "us-gaap_AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodDomain",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfMaturitiesOfOutstandingAdvancesUnderRepurchaseAgreementsByMaturityDateDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Repurchase Agreements and Similar Transactions, Maturity Periods",
        "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": [
      "r224",
      "r237",
      "r770",
      "r1140"
     ]
    },
    "us-gaap_AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AssetsSoldUnderAgreementsToRepurchaseMaturityPeriodsAxis",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfMaturitiesOfOutstandingAdvancesUnderRepurchaseAgreementsByMaturityDateDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Repurchase Agreements and Similar Transactions, Maturity Periods",
        "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": [
      "r224",
      "r237",
      "r770",
      "r1140"
     ]
    },
    "pmt_AssetsSoldUnderAgreementsToRepurchaseMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "AssetsSoldUnderAgreementsToRepurchaseMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesNetGainsLossesRecognizedOnDerivativeFinancialInstrumentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Assets Sold Under Agreements to Repurchase [Member]",
        "label": "Assets Sold Under Agreements To Repurchase [Member]",
        "documentation": "Assets Sold Under Agreements To Repurchase [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AssetsSoldUnderAgreementsToRepurchaseRepurchaseLiability": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AssetsSoldUnderAgreementsToRepurchaseRepurchaseLiability",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 0.0
      },
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Assets sold under agreements to repurchase, At year end",
        "terseLabel": "Assets sold under agreements to repurchase",
        "label": "Assets Sold under Agreements to Repurchase, Repurchase Liability",
        "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": [
      "r224",
      "r232",
      "r236",
      "r765",
      "r771"
     ]
    },
    "pmt_AtlasSecuritizedProductsLPMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "AtlasSecuritizedProductsLPMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfAssetsSoldUnderAgreementsToRepurchaseByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Atlas Securitized Products, L.P. [Member]",
        "label": "Atlas Securitized Products L P [Member]",
        "documentation": "Atlas Securitized Products, L.P."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AuctionMarketPreferredSecuritiesSharesRedeemed": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AuctionMarketPreferredSecuritiesSharesRedeemed",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquityAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Preferred stock redemption share",
        "label": "Auction Market Preferred Securities, Shares, Redeemed",
        "documentation": "These are the number of AMPS shares redeemed during the period."
       }
      }
     },
     "auth_ref": [
      "r33",
      "r34",
      "r60"
     ]
    },
    "pmt_AverageBalanceDuringPeriodForLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "AverageBalanceDuringPeriodForLoans",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfLoanServicingFeesEarnedAndMortgageServicingRightsRecapturedIncomeEarnedDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Loans at fair value",
        "label": "Average Balance During Period For Loans",
        "documentation": "Loans at fair value."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_AverageBalanceDuringPeriodForLoansAcquiredForSale": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "AverageBalanceDuringPeriodForLoansAcquiredForSale",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfLoanServicingFeesEarnedAndMortgageServicingRightsRecapturedIncomeEarnedDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Average investment in loans acquired for sale at fair value",
        "label": "Average Balance During Period For Loans Acquired For Sale",
        "documentation": "Average balance during period for loans acquired for sale.",
        "terseLabel": "Average investment in loans acquired for sale"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_AverageBalanceDuringPeriodForLoansHeldInAVIE": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "AverageBalanceDuringPeriodForLoansHeldInAVIE",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfLoanServicingFeesEarnedAndMortgageServicingRightsRecapturedIncomeEarnedDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Average Balance During Period For Loans Held In A V I E",
        "documentation": "Average balance during period for loans held in A VIE",
        "verboseLabel": "Average MSR portfolio unpaid principal balance"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_AverageMortgageServicingRightsServicingPortfolio": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "AverageMortgageServicingRightsServicingPortfolio",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageServicingRightsSummaryOfNetLoanServicingFeesRelatingToMsrsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Average MSR servicing portfolio",
        "label": "Average Mortgage Servicing Rights Servicing Portfolio",
        "documentation": "Average mortgage servicing rights servicing portfolio."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_AverageMortgageServicingRightsUnpaidPrincipalBalance": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "AverageMortgageServicingRightsUnpaidPrincipalBalance",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageServicingRightsSummaryOfNetLoanServicingFeesRelatingToMsrsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Average UPB of underlying loans",
        "label": "Average Mortgage Servicing Rights Unpaid Principal Balance",
        "documentation": "Average mortgage servicing rights unpaid principal balance."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_AverageShareholdersEquityAmountsUsedToCalculateManagementFeeExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "AverageShareholdersEquityAmountsUsedToCalculateManagementFeeExpense",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfManagementFeeExpenseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Average shareholders' equity amounts used to calculate base management fee expense",
        "label": "Average Shareholders Equity Amounts Used To Calculate Management Fee Expense",
        "documentation": "Average shareholders' equity amounts used to calculate management fee expense."
       }
      }
     },
     "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": [
      "r1236"
     ]
    },
    "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": [
      "r1237"
     ]
    },
    "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": [
      "r1232"
     ]
    },
    "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": [
      "r1232"
     ]
    },
    "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": [
      "r1232"
     ]
    },
    "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": [
      "r1232"
     ]
    },
    "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": [
      "r1232"
     ]
    },
    "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": [
      "r1232"
     ]
    },
    "us-gaap_AwardTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "AwardTypeAxis",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureEarningsLossPerCommonShareSummaryOfPotentiallyDilutiveSharesExcludedFromComputationOfDilutedEarningsPerShareDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfRestrictedShareUnitsAndPerformanceShareUnitsExpectedToVestDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfShareBasedCompensationActivityDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfShareBasedCompensationActivityParentheticalDetail",
      "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": [
      "r491",
      "r492",
      "r493",
      "r494",
      "r495",
      "r496",
      "r497",
      "r498",
      "r499",
      "r500",
      "r501",
      "r502",
      "r503",
      "r504",
      "r505",
      "r506",
      "r507",
      "r508",
      "r509",
      "r510",
      "r511",
      "r513",
      "r514",
      "r515",
      "r516",
      "r517"
     ]
    },
    "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": [
      "r1235"
     ]
    },
    "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": [
      "r1234"
     ]
    },
    "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": [
      "r1233"
     ]
    },
    "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": [
      "r1233"
     ]
    },
    "pmt_BNPParibasMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "BNPParibasMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfAssetsSoldUnderAgreementsToRepurchaseByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAssetsFinancialInstrumentsAndCollateralHeldByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "BNP Paribas [Member]",
        "label": "B N P Paribas [Member]",
        "documentation": "BNP Paribas."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_BankOfAmericaNaMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "BankOfAmericaNaMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfAssetsSoldUnderAgreementsToRepurchaseByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAssetsFinancialInstrumentsAndCollateralHeldByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Bank of America, N.A. [Member]",
        "terseLabel": "Bank of America, N.A. [Member]",
        "label": "Bank Of America Na [Member]",
        "documentation": "Bank Of America Na [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_BankOfMontrealMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "BankOfMontrealMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfAssetsSoldUnderAgreementsToRepurchaseByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bank of Montreal [Member]",
        "documentation": "Bank of Montreal.",
        "terseLabel": "Bank Of Montreal [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BankingAndThriftInterestAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BankingAndThriftInterestAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Banking and Thrift, Interest [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_BarclaysCapitalIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "BarclaysCapitalIncMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfAssetsSoldUnderAgreementsToRepurchaseByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAssetsFinancialInstrumentsAndCollateralHeldByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Barclays Capital Inc. [Member]",
        "label": "Barclays Capital Inc [Member]",
        "documentation": "Barclays Capital Inc."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_BaseManagementFeeShareholdersEquityLimit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "BaseManagementFeeShareholdersEquityLimit",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesManagementAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Base management fee shareholders' equity limit",
        "label": "Base Management Fee Shareholders Equity Limit",
        "documentation": "Represents the shareholders' equity levels upon which base management fee rates are based effective February 1, 2013."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_BaseMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "BaseMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfManagementFeeExpenseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Base [Member]",
        "label": "Base [Member]",
        "documentation": "Base [Member]",
        "verboseLabel": "Base management fee [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_BaseServicesFeesForReo": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "BaseServicesFeesForReo",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesServicingAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Base servicing fees for REO per month",
        "label": "Base Services Fees For Reo",
        "documentation": "Base services fees for reo."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_BaseServicesFeesToRelatedParty": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "BaseServicesFeesToRelatedParty",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesServicingAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Base servicing fees per month",
        "label": "Base Services Fees To Related Party",
        "documentation": "Base Services Fees To Related Party"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BasisOfAccountingPolicyPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BasisOfAccountingPolicyPolicyTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureOrganizationAndBasisOfPresentationAndRecentlyIssuedAccountingPronouncementsPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Basis of Presentation",
        "label": "Basis of Accounting, Policy [Policy Text Block]",
        "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": [
      "r1351"
     ]
    },
    "us-gaap_BasisOfPresentationAndSignificantAccountingPoliciesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "BasisOfPresentationAndSignificantAccountingPoliciesTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureBasisOfPresentation1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Basis of Presentation and Significant Accounting Policies [Text Block]",
        "terseLabel": "Basis of Presentation",
        "documentation": "The entire disclosure for the basis of presentation and significant accounting policies concepts. Basis of presentation describes the underlying basis used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS). Accounting policies describe all significant accounting policies of the reporting entity."
       }
      }
     },
     "auth_ref": [
      "r1350"
     ]
    },
    "pmt_BondFuturesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "BondFuturesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Bond Futures [Member]",
        "label": "Bond Futures [Member]",
        "documentation": "Bond futures."
       }
      }
     },
     "auth_ref": []
    },
    "srt_BrokersAndDealersAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "BrokersAndDealersAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Broker-Dealer [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_COVID19Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "COVID19Member",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLoanSalesSummaryOfCollectionStatusInformationForLoansAccountedForSalesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "COVID-19 [Member]",
        "label": "C O V I D19 [Member]",
        "documentation": "COVID 19."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_CRTTermNotesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "CRTTermNotesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "CRT Term Notes",
        "terseLabel": "CRT Term Notes [Member]",
        "label": "C R T Term Notes [Member]",
        "documentation": "CRT term notes."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_CallOptionsOnInterestRateFuturesPurchaseContractsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "CallOptionsOnInterestRateFuturesPurchaseContractsMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Call Options on Interest Rate Futures Purchase Contracts [Member]",
        "label": "Call Options On Interest Rate Futures Purchase Contracts [Member]",
        "documentation": "Call options on interest rate futures purchase contracts."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_CallOptionsOnInterestRateFuturesSellContractsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "CallOptionsOnInterestRateFuturesSellContractsMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Call Options On Interest Rate Futures Sell Contracts [Member].",
        "label": "Call Options On Interest Rate Futures Sell Contracts [Member]",
        "terseLabel": "Call Options On Interest Rate Futures Sell Contracts [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_CapitalRequirementsByAgenciesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "CapitalRequirementsByAgenciesLineItems",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureRegulatoryCapitalAndLiquidityRequirementsSummaryOfCapitalAndLiquidityAmountsAndRequirementsByAgenciesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Capital Requirements By Agencies [Line Items]",
        "label": "Capital Requirements By Agencies [Line Items]",
        "documentation": "Capital requirements by agencies."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_CapitalRequirementsByAgenciesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "CapitalRequirementsByAgenciesTable",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureRegulatoryCapitalAndLiquidityRequirementsSummaryOfCapitalAndLiquidityAmountsAndRequirementsByAgenciesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Capital Requirements By Agencies [Table]",
        "label": "Capital Requirements By Agencies [Table]",
        "documentation": "Capital Requirements By Agencies [Table]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CarryingReportedAmountFairValueDisclosureMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CarryingReportedAmountFairValueDisclosureMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueCarryingAndFairValuesOfNotesPayableSecuredByCreditRiskTransferAndMortgageServicingRightsAndExchangeableSeniorNotesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Carrying Value [Member]",
        "label": "Reported Value Measurement [Member]",
        "documentation": "Measured as reported on the statement of financial position (balance sheet)."
       }
      }
     },
     "auth_ref": [
      "r700",
      "r701",
      "r709",
      "r1046",
      "r1490"
     ]
    },
    "pmt_CarryingValueAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "CarryingValueAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToUnsecuredSeniorNotesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Carrying value:",
        "label": "Carrying Value [Abstract]",
        "documentation": "Carrying value."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_CarryingValueOfCreditRiskTransferAgreementsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "CarryingValueOfCreditRiskTransferAgreementsAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Carrying Value Of Credit Risk Transfer Agreements [Abstract]",
        "documentation": "Carrying Value of Credit Risk Transfer Agreements [Abstract]",
        "terseLabel": "Carrying value of credit risk transfer arrangements:"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_CarryingValueOfCreditRiskTransferStripsLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "CarryingValueOfCreditRiskTransferStripsLiabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDetail": {
       "parentTag": "pmt_DerivativeAndCreditRiskTransferStripLiabilities",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Credit risk transfer strip liabilities",
        "label": "Carrying Value Of Credit Risk Transfer Strips Liabilities",
        "documentation": "Carrying value of credit risk transfer strips liabilities."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_CarryingValueOfDerivativeAndCreditRiskTransferStripLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "CarryingValueOfDerivativeAndCreditRiskTransferStripLiabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail": {
       "parentTag": "pmt_DerivativeAndCreditRiskTransferStripAssets",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Carrying value of derivative and credit risk transfer strip liabilities",
        "documentation": "Carrying value of derivative and credit risk transfer strip liabilities.",
        "terseLabel": "Derivative and credit risk transfer liabilities - credit risk transfer strip liabilities",
        "negatedLabel": "Derivative and credit risk transfer liabilities - credit risk transfer strips"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_Cash": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "Cash",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cash",
        "label": "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": [
      "r135",
      "r819",
      "r897",
      "r928",
      "r1139",
      "r1147",
      "r1148",
      "r1164",
      "r1280"
     ]
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents, Including Disposal Group and Discontinued Operations, Total",
        "periodStartLabel": "Cash at beginning of quarter",
        "periodEndLabel": "Cash at end of quarter",
        "label": "Cash, Cash Equivalent, Restricted Cash, and Restricted Cash Equivalent, Including Discontinued Operation",
        "documentation": "Amount of cash and cash equivalent, and cash and cash equivalent restricted to withdrawal or usage; 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": [
      "r20",
      "r78",
      "r223"
     ]
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash, Cash Equivalent, Restricted Cash, and Restricted Cash Equivalent, Period Increase (Decrease), Including Exchange Rate Effect and Discontinued Operation",
        "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",
      "r78"
     ]
    },
    "us-gaap_CashCollateralForBorrowedSecurities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CashCollateralForBorrowedSecurities",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAssetsFinancialInstrumentsAndCollateralHeldByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cash collateral received",
        "label": "Cash Collateral for Borrowed Securities",
        "documentation": "Carrying amount as of the balance sheet date of cash collateral held for borrowed securities, for which the cash is restricted as to withdrawal or usage."
       }
      }
     },
     "auth_ref": [
      "r94",
      "r1526"
     ]
    },
    "pmt_CashFlowsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "CashFlowsAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLoanSalesSummaryOfCashFlowsBetweenCompanyAndTransfereesInTransfersAccountedForSalesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cash flows:",
        "label": "Cash Flows [Abstract]",
        "documentation": "Cash flows."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CashFlowsBetweenTransfereeAndTransferorProceedsFromNewTransfers": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CashFlowsBetweenTransfereeAndTransferorProceedsFromNewTransfers",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLoanSalesSummaryOfCashFlowsBetweenCompanyAndTransfereesInTransfersAccountedForSalesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Proceeds from sales",
        "label": "Cash Flows Between Transferor and Transferee, Proceeds from New Transfers",
        "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": [
      "r757"
     ]
    },
    "us-gaap_CashFlowsBetweenTransfereeAndTransferorServicingFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CashFlowsBetweenTransfereeAndTransferorServicingFees",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLoanSalesSummaryOfCashFlowsBetweenCompanyAndTransfereesInTransfersAccountedForSalesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Loan servicing fees received",
        "label": "Cash Flows Between Transferor and Transferee, Servicing Fees",
        "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": [
      "r758"
     ]
    },
    "pmt_CashPortionOfLossOnMortgageLoansAcquiredForSaleAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "CashPortionOfLossOnMortgageLoansAcquiredForSaleAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSaleSummaryOfNetGainsOnMortgageLoansHeldForSaleDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cash losses:",
        "label": "Cash Portion Of Loss On Mortgage Loans Acquired For Sale [Abstract]",
        "documentation": "Cash portion of loss on mortgage loans acquired for sale."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_CertificatesRetainedInAssetBackedFinancingsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "CertificatesRetainedInAssetBackedFinancingsMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Certificates Retained In Asset Backed Financings",
        "label": "Certificates Retained In Asset Backed Financings [Member]",
        "documentation": "Certificates retained in asset-backed financings."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ChangeInFairValueHedgingInstrumentsStillHeldAtPeriodEnd": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ChangeInFairValueHedgingInstrumentsStillHeldAtPeriodEnd",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSaleSummaryOfNetGainsOnMortgageLoansHeldForSaleDetail": {
       "parentTag": "pmt_ChangesInFairValueOfLoansAndDerivatives",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSaleSummaryOfNetGainsOnMortgageLoansHeldForSaleDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Hedging derivatives",
        "label": "Change In Fair Value Hedging Instruments Still Held At Period End",
        "documentation": "Represents the change in fair value of hedging derivatives still held at period end."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ChangeInFairValueOfCommitmentsToPurchaseLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ChangeInFairValueOfCommitmentsToPurchaseLoans",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSaleSummaryOfNetGainsOnMortgageLoansHeldForSaleDetail": {
       "parentTag": "pmt_ChangesInFairValueOfLoansAndDerivatives",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSaleSummaryOfNetGainsOnMortgageLoansHeldForSaleDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest rate lock commitments",
        "label": "Change In Fair Value Of Commitments To Purchase Loans",
        "documentation": "Represents the portion of gain on sale of mortgage loans arising from the change in fair value of commitments to purchase loans."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ChangeInFairValueOfInterestOnlySecurityPayableAtFairValueValuationChanges": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ChangeInFairValueOfInterestOnlySecurityPayableAtFairValueValuationChanges",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail": {
       "parentTag": "pmt_GainsLossesRecognizedOnCreditRiskTransferAgreementsIncludedInNetLossGainOnInvestments",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest-only security payable at fair value - valuation changes",
        "label": "Change In Fair Value Of Interest Only Security Payable At Fair Value Valuation Changes",
        "documentation": "Change in fair value of interest only security payable at fair value valuation changes."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ChangeInFairValueOfMortgageLoansAndRelatedHedgingInstrumentsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ChangeInFairValueOfMortgageLoansAndRelatedHedgingInstrumentsAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSaleSummaryOfNetGainsOnMortgageLoansHeldForSaleDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Changes in fair value of loans and derivatives",
        "label": "Change In Fair Value Of Mortgage Loans And Related Hedging Instruments [Abstract]",
        "documentation": "Change in fair value of mortgage loans and related hedging instruments abstract"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ChangeInFairValueOfMortgageServicingRights": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ChangeInFairValueOfMortgageServicingRights",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Change in fair value of mortgage servicing rights",
        "label": "Change In Fair Value Of Mortgage Servicing Rights",
        "documentation": "Change In Fair Value Of Mortgage Servicing Rights"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ChangeInFairValueRelatingToMortgageLoansStillHeldAtPeriodEnd": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ChangeInFairValueRelatingToMortgageLoansStillHeldAtPeriodEnd",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSaleSummaryOfNetGainsOnMortgageLoansHeldForSaleDetail": {
       "parentTag": "pmt_ChangesInFairValueOfLoansAndDerivatives",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSaleSummaryOfNetGainsOnMortgageLoansHeldForSaleDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Loans",
        "label": "Change In Fair Value Relating To Mortgage Loans Still Held At Period End",
        "documentation": "Represents the change in fair value of mortgage loans still held at period end."
       }
      }
     },
     "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": [
      "r1212"
     ]
    },
    "pmt_ChangesInFairValueOfLoansAndDerivatives": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ChangesInFairValueOfLoansAndDerivatives",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSaleSummaryOfNetGainsOnMortgageLoansHeldForSaleDetail": {
       "parentTag": "us-gaap_GainLossOnSaleOfMortgageLoans",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSaleSummaryOfNetGainsOnMortgageLoansHeldForSaleDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total changes in fair value of loans and derivatives",
        "label": "Changes in fair value of loans and derivatives",
        "documentation": "Changes in fair value of loans and derivatives."
       }
      }
     },
     "auth_ref": []
    },
    "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": [
      "r1209"
     ]
    },
    "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": [
      "r1207"
     ]
    },
    "pmt_CitibankMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "CitibankMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfAssetsSoldUnderAgreementsToRepurchaseByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Citibank, N.A. [Member]",
        "terseLabel": "Citibank, N.A. [Member]",
        "label": "Citibank [Member]",
        "documentation": "Citibank."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_CitigroupGlobalMarketsIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "CitigroupGlobalMarketsIncMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAssetsFinancialInstrumentsAndCollateralHeldByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Citigroup Global Markets Inc. [Member]",
        "label": "Citigroup Global Markets Inc [Member]",
        "documentation": "Citigroup Global Markets Inc."
       }
      }
     },
     "auth_ref": []
    },
    "dei_CityAreaCode": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "CityAreaCode",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "City Area Code",
        "label": "City Area Code",
        "documentation": "Area code of city"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ClassOfStockDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ClassOfStockDomain",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquityAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquitySummaryOfPreferredSharesOfBeneficialInterestDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquitySummaryOfPreferredSharesOfBeneficialInterestParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Class of Stock",
        "label": "Class of Stock [Domain]",
        "documentation": "Share of stock differentiated by the voting rights the holder receives. Examples include, but are not limited to, common stock, redeemable preferred stock, nonredeemable preferred stock, and convertible stock."
       }
      }
     },
     "auth_ref": [
      "r138",
      "r196",
      "r197",
      "r198",
      "r224",
      "r228",
      "r266",
      "r267",
      "r275",
      "r279",
      "r287",
      "r288",
      "r372",
      "r411",
      "r413",
      "r414",
      "r415",
      "r418",
      "r419",
      "r444",
      "r445",
      "r447",
      "r448",
      "r450",
      "r453",
      "r456",
      "r457",
      "r460",
      "r463",
      "r470",
      "r712",
      "r875",
      "r876",
      "r877",
      "r878",
      "r885",
      "r887",
      "r888",
      "r889",
      "r890",
      "r891",
      "r892",
      "r893",
      "r894",
      "r895",
      "r896",
      "r898",
      "r920",
      "r942",
      "r966",
      "r1011",
      "r1012",
      "r1013",
      "r1014",
      "r1015",
      "r1253",
      "r1354",
      "r1356",
      "r1366"
     ]
    },
    "us-gaap_ClassOfStockLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ClassOfStockLineItems",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquitySummaryOfPreferredSharesOfBeneficialInterestDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquitySummaryOfPreferredSharesOfBeneficialInterestParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Class Of Stock [Line Items]",
        "label": "Class of Stock [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": [
      "r196",
      "r197",
      "r198",
      "r287",
      "r447",
      "r456",
      "r457",
      "r458",
      "r460",
      "r463",
      "r468",
      "r470",
      "r642",
      "r875",
      "r876",
      "r877",
      "r878",
      "r1104",
      "r1253",
      "r1352",
      "r1354"
     ]
    },
    "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": [
      "r1213"
     ]
    },
    "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": [
      "r1213"
     ]
    },
    "pmt_CollectionStatusInUnpaidPrincipalBalanceAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "CollectionStatusInUnpaidPrincipalBalanceAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Collection Status In Unpaid Principal Balance [Abstract]",
        "documentation": "Collection status in unpaid principal balance.",
        "terseLabel": "Collection status (unpaid principal balance):"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_CommissionAmountMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "CommissionAmountMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureShareholdersEquitySummaryOfCommonShareRepurchaseActivityParentheticalDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquityAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Commission Amount",
        "label": "Commission Amount [Member]",
        "documentation": "Commission amount."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CommitmentsAndContingencies": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommitmentsAndContingencies",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Commitments and contingencies \u2500 Note 17",
        "label": "Commitments and Contingencies",
        "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": [
      "r58",
      "r103",
      "r818",
      "r919"
     ]
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommitmentsAndContingenciesDisclosureAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and Contingencies Disclosure [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommitmentsAndContingenciesDisclosureTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureCommitmentsAndContingencies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Commitments and Contingencies",
        "label": "Commitments and Contingencies Disclosure [Text Block]",
        "documentation": "The entire disclosure for commitments and contingencies."
       }
      }
     },
     "auth_ref": [
      "r83",
      "r404",
      "r405",
      "r1041",
      "r1401",
      "r1406"
     ]
    },
    "pmt_CommittedAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "CommittedAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInValuationOfInterestRateLockCommitmentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Committed amount",
        "label": "Committed Amount",
        "documentation": "Committed amount."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_CommittedFacilitiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "CommittedFacilitiesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Committed Facilities [Member]",
        "documentation": "Committed Facilities [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CommonStockDividendsPerShareDeclared": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommonStockDividendsPerShareDeclared",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInShareholdersEquityUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Dividends declared per common share",
        "label": "Common Stock, Dividends, Per Share, Declared",
        "documentation": "Aggregate dividends declared during the period for each share of common stock outstanding."
       }
      }
     },
     "auth_ref": [
      "r90"
     ]
    },
    "us-gaap_CommonStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommonStockMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureShareholdersEquitySummaryOfCommonShareRepurchaseActivityParentheticalDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquityAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInShareholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Common Stock [Member]",
        "terseLabel": "Common Shares [Member]",
        "label": "Common Stock [Member]",
        "documentation": "Stock that is subordinate to all other stock of the issuer."
       }
      }
     },
     "auth_ref": [
      "r1152",
      "r1153",
      "r1154",
      "r1156",
      "r1157",
      "r1158",
      "r1159",
      "r1359",
      "r1360",
      "r1365",
      "r1468",
      "r1560",
      "r1568"
     ]
    },
    "us-gaap_CommonStockParOrStatedValuePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommonStockParOrStatedValuePerShare",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Common shares, par value",
        "label": "Common Stock, Par or Stated Value Per Share",
        "documentation": "Face amount or stated value per share of common stock."
       }
      }
     },
     "auth_ref": [
      "r61"
     ]
    },
    "us-gaap_CommonStockSharesAuthorized": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommonStockSharesAuthorized",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Common shares, authorized",
        "label": "Common Stock, Shares Authorized",
        "documentation": "The maximum number of common shares permitted to be issued by an entity's charter and bylaws."
       }
      }
     },
     "auth_ref": [
      "r61",
      "r920"
     ]
    },
    "us-gaap_CommonStockSharesIssued": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommonStockSharesIssued",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Common shares, issued",
        "label": "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": [
      "r61"
     ]
    },
    "us-gaap_CommonStockSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommonStockSharesOutstanding",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodEndLabel": "Common Stock, Shares, Outstanding, Ending Balance",
        "periodStartLabel": "Common Stock, Shares, Outstanding, Beginning Balance",
        "terseLabel": "Common shares, outstanding",
        "label": "Common Stock, Shares, Outstanding",
        "documentation": "Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation."
       }
      }
     },
     "auth_ref": [
      "r6",
      "r61",
      "r920",
      "r940",
      "r1568",
      "r1569"
     ]
    },
    "us-gaap_CommonStockValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CommonStockValue",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common Stock, Value, Issued",
        "terseLabel": "Common shares of beneficial interest, $0.01 par value - authorized, 500,000,000 issued and outstanding, 87,191,663 and 87,016,604 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": [
      "r61",
      "r445",
      "r452",
      "r821",
      "r1139"
     ]
    },
    "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": [
      "r1218"
     ]
    },
    "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": [
      "r1217"
     ]
    },
    "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": [
      "r1219"
     ]
    },
    "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": [
      "r1216"
     ]
    },
    "us-gaap_ComplianceWithRegulatoryCapitalRequirementsForMortgageCompaniesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ComplianceWithRegulatoryCapitalRequirementsForMortgageCompaniesLineItems",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureRegulatoryCapitalAndLiquidityRequirementsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Compliance with Regulatory Capital Requirements for Mortgage Companies [Line Items]",
        "label": "Compliance with Regulatory Capital Requirements for Mortgage Companies [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": [
      "r1019",
      "r1022",
      "r1023",
      "r1024"
     ]
    },
    "us-gaap_ConcentrationRiskDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ConcentrationRiskDisclosureTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureConcentrationOfRisks"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Concentration of Risks",
        "label": "Concentration Risk Disclosure [Text Block]",
        "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": [
      "r289",
      "r290",
      "r703",
      "r705",
      "r706",
      "r707",
      "r708",
      "r1058",
      "r1370"
     ]
    },
    "srt_ConsolidatedEntitiesAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "ConsolidatedEntitiesAxis",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetLossesGainsOnInvestmentsAndFinancingsSummaryOfNetLossesGainsOnInvestmentsAndFinancingsDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureVariableInterestEntitiesSummaryOfInvestmentInSeniorAndSubordinateMbsBackedByAssetsHeldInConsolidatedViesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLoanSalesSummaryOfCashFlowsBetweenCompanyAndTransfereesInTransfersAccountedForSalesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLoanSalesSummaryOfCollectionStatusInformationForLoansAccountedForSalesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToAssetBackedFinancingOfVIEAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToAssetBackedFinancingOfVIEAtFairValueParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesTables",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Consolidated Entities",
        "label": "Consolidated Entities [Axis]",
        "documentation": "Information by consolidated entity or group of entities."
       }
      }
     },
     "auth_ref": [
      "r141",
      "r153",
      "r225",
      "r240",
      "r568",
      "r569",
      "r572",
      "r573",
      "r574",
      "r744",
      "r804",
      "r1042",
      "r1275",
      "r1276",
      "r1277",
      "r1410",
      "r1413",
      "r1414"
     ]
    },
    "srt_ConsolidatedEntitiesDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "ConsolidatedEntitiesDomain",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetLossesGainsOnInvestmentsAndFinancingsSummaryOfNetLossesGainsOnInvestmentsAndFinancingsDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureVariableInterestEntitiesSummaryOfInvestmentInSeniorAndSubordinateMbsBackedByAssetsHeldInConsolidatedViesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLoanSalesSummaryOfCashFlowsBetweenCompanyAndTransfereesInTransfersAccountedForSalesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLoanSalesSummaryOfCollectionStatusInformationForLoansAccountedForSalesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToAssetBackedFinancingOfVIEAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToAssetBackedFinancingOfVIEAtFairValueParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesTables",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Consolidated Entities",
        "label": "Consolidated Entities [Domain]",
        "documentation": "Entity or group of entities consolidated into reporting entity."
       }
      }
     },
     "auth_ref": [
      "r141",
      "r153",
      "r225",
      "r240",
      "r568",
      "r569",
      "r572",
      "r573",
      "r574",
      "r744",
      "r804",
      "r1042",
      "r1275",
      "r1276",
      "r1277",
      "r1410",
      "r1413",
      "r1414"
     ]
    },
    "us-gaap_ContinuingInvolvementWithTransferredFinancialAssetsPrincipalAmountOutstanding": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ContinuingInvolvementWithTransferredFinancialAssetsPrincipalAmountOutstanding",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLoanSalesSummaryOfCollectionStatusInformationForLoansAccountedForSalesDetail"
     ],
     "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": [
      "r759"
     ]
    },
    "us-gaap_ContractuallySpecifiedServicingFeesAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ContractuallySpecifiedServicingFeesAmount",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited": {
       "parentTag": "us-gaap_ContractuallySpecifiedServicingFeesLateFeesAndAncillaryFeesEarnedInExchangeForServicingFinancialAssets",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageServicingRightsSummaryOfNetLoanServicingFeesRelatingToMsrsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Contractually specified",
        "terseLabel": "Contractually-specified servicing fees",
        "label": "Contractually Specified Servicing Fees, Amount",
        "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": [
      "r777"
     ]
    },
    "us-gaap_ContractuallySpecifiedServicingFeesLateFeesAndAncillaryFeesEarnedInExchangeForServicingFinancialAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ContractuallySpecifiedServicingFeesLateFeesAndAncillaryFeesEarnedInExchangeForServicingFinancialAssets",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited": {
       "parentTag": "pmt_ServicingIncomeLossNetOfValuationAdjustments",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageServicingRightsSummaryOfNetLoanServicingFeesRelatingToMsrsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net mortgage loan servicing fees",
        "label": "Contractually Specified Servicing Fee, Late Fee, and Ancillary Fee Earned in Exchange for Servicing Financial Asset",
        "documentation": "Amount of contractually specified servicing fee, late fee, and ancillary fee recognized as income for servicing asset and servicing liability."
       }
      }
     },
     "auth_ref": [
      "r1515"
     ]
    },
    "pmt_ConventionalConformingLoansMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ConventionalConformingLoansMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForSaleAtFairValueSummaryOfDistributionOfCompanysLoansHeldForSaleAtFairValueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Conventional conforming loans.",
        "label": "Conventional Conforming Loans [Member]",
        "terseLabel": "Held for Sale to PLS - Government-Insured or Guaranteed [Member]",
        "verboseLabel": "Held for Sale to PLS - Conventional Conforming Loans [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ConventionalConformingMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ConventionalConformingMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesSummaryOfAggregationAndSecuritizationActivitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Conventional Conforming [Member]",
        "label": "Conventional Conforming [Member]",
        "documentation": "Conventional conforming."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ConversionRate": {
     "xbrltype": "decimalItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ConversionRate",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToSeniorNotesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Conversion Rate",
        "documentation": "Conversion rate.",
        "terseLabel": "Conversion rates"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ConvertibleDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ConvertibleDebt",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToUnsecuredSeniorNotesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Exchangeable senior notes",
        "terseLabel": "Exchangeable senior notes",
        "label": "Convertible Debt",
        "documentation": "Including the current and noncurrent portions, carrying amount of debt identified as being convertible into another form of financial instrument (typically the entity's common stock) as of the balance sheet date, which originally required full repayment more than twelve months after issuance or greater than the normal operating cycle of the company."
       }
      }
     },
     "auth_ref": [
      "r12",
      "r102",
      "r1524"
     ]
    },
    "pmt_ConvertibleDebtAverageBalanceDuringPeriod": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ConvertibleDebtAverageBalanceDuringPeriod",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToUnsecuredSeniorNotesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Average balance",
        "label": "Convertible Debt Average Balance During Period",
        "documentation": "Represents the weighted average balance of exchangeable notes outstanding during the period."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ConvertibleDebtMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ConvertibleDebtMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToUnsecuredSeniorNotesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Exchangeable Senior Notes [Member]",
        "terseLabel": "Convertible Debt [Member]",
        "label": "Convertible Debt [Member]",
        "documentation": "Borrowing which can be exchanged for a specified number of another security at the option of the issuer or the holder, for example, but not limited to, the entity's common stock."
       }
      }
     },
     "auth_ref": [
      "r85",
      "r420",
      "r421",
      "r426",
      "r427",
      "r428",
      "r431",
      "r432",
      "r433",
      "r434",
      "r435",
      "r1098",
      "r1099",
      "r1100",
      "r1101",
      "r1102"
     ]
    },
    "us-gaap_ConvertibleDebtSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ConvertibleDebtSecuritiesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureEarningsLossPerCommonShareSummaryOfPotentiallyDilutiveSharesExcludedFromComputationOfDilutedEarningsPerShareDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Shares Issuable Pursuant to Exchange of Exchangeable Senior Notes [Member]",
        "label": "Convertible Debt Securities [Member]",
        "documentation": "Debt securities that can be exchanged for equity of the debt issuer at the option of the issuer or the holder."
       }
      }
     },
     "auth_ref": [
      "r1419",
      "r1420"
     ]
    },
    "us-gaap_ConvertibleDebtTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ConvertibleDebtTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Convertible Debt [Table Text Block]",
        "terseLabel": "Summary of Financial Information Relating to Unsecured Senior Notes",
        "documentation": "Tabular disclosure of convertible debt instrument. Includes, but is not limited to, principal amount and amortized premium or discount."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_CoronavirusAidReliefAndEconomicSecurityActMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "CoronavirusAidReliefAndEconomicSecurityActMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "CARES Act [Member]",
        "label": "Coronavirus Aid Relief And Economic Security Act [Member]",
        "documentation": "CARES Act."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CorporateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CorporateMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Corporate [Member]",
        "label": "Corporate Segment [Member]",
        "documentation": "Component of an entity that usually provides financial, operational and administrative support and is considered an operating segment. Excludes intersegment elimination and reconciling items."
       }
      }
     },
     "auth_ref": [
      "r1372"
     ]
    },
    "pmt_CorrespondentProductionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "CorrespondentProductionMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Correspondent Production [Member]",
        "label": "Correspondent Production [Member]",
        "documentation": "Correspondent Production [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "srt_CounterpartyNameAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "CounterpartyNameAxis",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureMortgagebackedSecuritiesSummaryOfInvestmentsInMortgageBackedSecuritiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureRegulatoryCapitalAndLiquidityRequirementsSummaryOfCapitalAndLiquidityAmountsAndRequirementsByAgenciesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfAssetsSoldUnderAgreementsToRepurchaseByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAssetsFinancialInstrumentsAndCollateralHeldByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageBackedSecuritiesSummaryOfInvestmentInMortgageBackedSecuritiesParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Counterparty Name",
        "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": [
      "r168",
      "r169",
      "r224",
      "r238",
      "r239",
      "r423",
      "r458",
      "r742",
      "r772",
      "r811",
      "r1049",
      "r1051",
      "r1052",
      "r1287",
      "r1288",
      "r1289",
      "r1290",
      "r1291",
      "r1292",
      "r1293",
      "r1294",
      "r1295",
      "r1461",
      "r1463",
      "r1464",
      "r1465"
     ]
    },
    "dei_CoverAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "CoverAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Cover [Abstract]",
        "documentation": "Cover page."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_CreditAgreementsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "CreditAgreementsMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Credit agreements.",
        "label": "Credit Agreements [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CreditDerivativesByContractTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CreditDerivativesByContractTypeAxis",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfChangesInFairValueIncludedInCurrentPeriodResultsOfOperationsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesNetGainsLossesRecognizedOnDerivativeFinancialInstrumentsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAssetsFinancialInstrumentsAndCollateralHeldByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInReviewAndApprovalOfBrokerProvidedFairValuesForCRTDerivativesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Credit Derivatives Contract Type",
        "label": "Credit Derivatives Contract Type [Axis]",
        "documentation": "Information by major type of contract of credit derivatives."
       }
      }
     },
     "auth_ref": [
      "r627",
      "r632",
      "r634",
      "r637",
      "r638"
     ]
    },
    "us-gaap_CreditDerivativesContractTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CreditDerivativesContractTypeDomain",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfChangesInFairValueIncludedInCurrentPeriodResultsOfOperationsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesNetGainsLossesRecognizedOnDerivativeFinancialInstrumentsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAssetsFinancialInstrumentsAndCollateralHeldByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInReviewAndApprovalOfBrokerProvidedFairValuesForCRTDerivativesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Credit Derivatives Contract Type",
        "label": "Credit Derivatives Contract Type [Domain]",
        "documentation": "Represents major types of credit derivative contracts."
       }
      }
     },
     "auth_ref": [
      "r627",
      "r632",
      "r634",
      "r637",
      "r638"
     ]
    },
    "us-gaap_CreditRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "CreditRiskMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Credit Risk [Member]",
        "label": "Credit Risk [Member]",
        "documentation": "The risk that a borrower will fail to pay interest or principal on a loan or debt security when due."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_CreditRiskTransferAgreementMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "CreditRiskTransferAgreementMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfAssetsSoldUnderAgreementsToRepurchaseByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Credit Risk Transfer Agreements [Member]",
        "label": "Credit Risk Transfer Agreement [Member]",
        "documentation": "Credit Risk Transfer Agreement [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_CreditRiskTransferArrangementFinancingMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "CreditRiskTransferArrangementFinancingMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Credit Risk Transfer Arrangement Financing [Member]",
        "documentation": "Credit risk transfer arrangement financing."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_CreditRiskTransferCreditGuaranteeObligationAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "CreditRiskTransferCreditGuaranteeObligationAssets",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail": {
       "parentTag": "pmt_DerivativeAndCreditRiskTransferStripAssets",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "CRT derivatives",
        "label": "Credit Risk Transfer Credit Guarantee Obligation Assets",
        "documentation": "Net derivative asset on credit risk transfer agreements in relation to the credit guarantee obligation",
        "verboseLabel": "Derivative assets - credit risk transfer derivatives"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_CreditRiskTransferDerivativesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "CreditRiskTransferDerivativesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInReviewAndApprovalOfBrokerProvidedFairValuesForCRTDerivativesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "CRT Derivatives [Member]",
        "terseLabel": "Credit Risk Transfer Derivatives",
        "label": "Credit Risk Transfer Derivatives [Member]",
        "documentation": "Credit risk transfer derivatives."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_CreditRiskTransferStripsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "CreditRiskTransferStripsAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Credit Risk Transfer Strips [Abstract]",
        "documentation": "Credit risk transfer strips.",
        "terseLabel": "Credit risk transfer strips"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_CreditRiskTransferStripsAtFairValueMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "CreditRiskTransferStripsAtFairValueMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfChangesInFairValueIncludedInCurrentPeriodResultsOfOperationsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Credit Risk Transfer Strips at Fair Value [Member]",
        "documentation": "Credit risk transfer strips at fair value.",
        "terseLabel": "Credit Risk Transfer Strips at Fair Value [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_CreditRiskTransferStripsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "CreditRiskTransferStripsMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfChangesInFairValueIncludedInCurrentPeriodResultsOfOperationsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfKeyUnobservableInputsUsedInValuationCreditRiskTransferStripLiabilitiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Credit Risk Transfer Strips [Member]",
        "label": "Credit Risk Transfer Strips [Member]",
        "documentation": "Credit risk transfer strips."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_CreditSensitiveStrategiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "CreditSensitiveStrategiesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Credit Sensitive Strategies [Member]",
        "label": "Credit Sensitive Strategies [Member]",
        "documentation": "Credit sensitive strategies."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_CrtArrangementFinancingMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "CrtArrangementFinancingMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfTermNoteIssuedToQualifiedInstitutionalBuyersDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "CRT Arrangement Financing",
        "label": "CRT Arrangement Financing [Member]",
        "documentation": "CRT arrangement financing.",
        "verboseLabel": "CRT Arrangement Financing [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_CumulativeDividendsFromDateOfOriginalIssuanceToMarchFourteenTwoThousandTwentyFourMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "CumulativeDividendsFromDateOfOriginalIssuanceToMarchFourteenTwoThousandTwentyFourMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquityAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Date Of Original Issuance To March 14, 2024 [Member]",
        "label": "Cumulative Dividends From Date Of Original Issuance To March Fourteen Two Thousand Twenty Four [Member]",
        "documentation": "Cumulative Dividends From Date Of Original Issuance To March Fourteen Two Thousand Twenty Four."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_CumulativeDividendsFromMarchFifteenTwoThousandTwentyFourAndThereafterMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "CumulativeDividendsFromMarchFifteenTwoThousandTwentyFourAndThereafterMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquityAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "March 15, 2024 and Thereafter [Member]",
        "label": "Cumulative Dividends From March Fifteen Two Thousand Twenty Four And Thereafter [Member]",
        "documentation": "Cumulative Dividends From March Fifteen Two Thousand Twenty Four And Thereafter."
       }
      }
     },
     "auth_ref": []
    },
    "srt_CumulativeEffectPeriodOfAdoptionAdjustedBalanceMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "CumulativeEffectPeriodOfAdoptionAdjustedBalanceMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureBasisOfPresentationAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInShareholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cumulative Effect, Period of Adoption, Adjusted Balance [Member]",
        "label": "Cumulative Effect, Period of Adoption, Adjusted Balance [Member]",
        "documentation": "Represents amount after cumulative-effect adjustment to financial statements in period of adoption of amendment to accounting standards."
       }
      }
     },
     "auth_ref": [
      "r1279",
      "r1362",
      "r1364",
      "r1392",
      "r1395",
      "r1400",
      "r1447",
      "r1448",
      "r1449",
      "r1450",
      "r1467",
      "r1468",
      "r1469",
      "r1499"
     ]
    },
    "srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "CumulativeEffectPeriodOfAdoptionAdjustmentMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInShareholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cumulative Effect, Period of Adoption, Adjustment [Member]",
        "label": "Cumulative Effect, Period of Adoption, Adjustment [Member]",
        "documentation": "Increase (decrease) to financial statements for cumulative-effect adjustment in period of adoption of amendment to accounting standards."
       }
      }
     },
     "auth_ref": [
      "r171",
      "r176",
      "r244",
      "r253",
      "r261",
      "r373",
      "r376",
      "r396",
      "r537",
      "r538",
      "r550",
      "r552",
      "r646",
      "r648",
      "r649",
      "r651",
      "r652",
      "r653",
      "r663",
      "r666",
      "r668",
      "r669",
      "r734"
     ]
    },
    "srt_CumulativeEffectPeriodOfAdoptionAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "CumulativeEffectPeriodOfAdoptionAxis",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureBasisOfPresentationAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInShareholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cumulative Effect, Period of Adoption",
        "label": "Cumulative Effect, Period of Adoption [Axis]",
        "documentation": "Information by cumulative-effect adjustment to financial statements in period of adoption of amendment to accounting standards."
       }
      }
     },
     "auth_ref": [
      "r171",
      "r176",
      "r244",
      "r253",
      "r261",
      "r373",
      "r376",
      "r396",
      "r537",
      "r538",
      "r550",
      "r552",
      "r646",
      "r648",
      "r649",
      "r651",
      "r652",
      "r653",
      "r663",
      "r666",
      "r668",
      "r669",
      "r734"
     ]
    },
    "srt_CumulativeEffectPeriodOfAdoptionDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "CumulativeEffectPeriodOfAdoptionDomain",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureBasisOfPresentationAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInShareholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cumulative Effect, Period of Adoption",
        "label": "Cumulative Effect, Period of Adoption [Domain]",
        "documentation": "Cumulative-effect adjustment to financial statements in period of adoption of amendment to accounting standards."
       }
      }
     },
     "auth_ref": [
      "r171",
      "r176",
      "r244",
      "r253",
      "r261",
      "r373",
      "r376",
      "r396",
      "r537",
      "r538",
      "r550",
      "r552",
      "r646",
      "r648",
      "r649",
      "r651",
      "r652",
      "r653",
      "r663",
      "r666",
      "r668",
      "r669",
      "r734"
     ]
    },
    "dei_CurrentFiscalYearEndDate": {
     "xbrltype": "gMonthDayItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "CurrentFiscalYearEndDate",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Current Fiscal Year End Date",
        "label": "Current Fiscal Year End Date",
        "documentation": "End date of current fiscal year in the format --MM-DD."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_DaiwaCapitalMarketsAmericaIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "DaiwaCapitalMarketsAmericaIncMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfAssetsSoldUnderAgreementsToRepurchaseByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Daiwa Capital Markets America Inc. [Member]",
        "label": "Daiwa Capital Markets America Inc [Member]",
        "documentation": "Daiwa Capital Markets America, Inc. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_DaiwaCapitalMarketsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "DaiwaCapitalMarketsMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Daiwa Capital Markets [Member]",
        "label": "Daiwa Capital Markets [Member]",
        "documentation": "Daiwa Capital Markets [Member]."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtDisclosureAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Disclosure [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentAxis",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForInvestmentAtFairValueSummaryOfDistributionOfCompanysLoansHeldForInvestmentAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToExchangeableSeniorNotesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToExchangeableSeniorNotesParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToSeniorNotesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureVariableInterestEntitiesSummaryOfInvestmentInSeniorAndSubordinateMbsBackedByAssetsHeldInConsolidatedViesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfTermNoteIssuedToQualifiedInstitutionalBuyersDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debt Instrument",
        "label": "Debt Instrument [Axis]",
        "documentation": "Information by type of debt instrument, including, but not limited to, draws against credit facilities."
       }
      }
     },
     "auth_ref": [
      "r12",
      "r49",
      "r50",
      "r98",
      "r102",
      "r420",
      "r421",
      "r422",
      "r423",
      "r424",
      "r425",
      "r426",
      "r427",
      "r428",
      "r429",
      "r430",
      "r431",
      "r432",
      "r433",
      "r434",
      "r435",
      "r1098",
      "r1099",
      "r1100",
      "r1101",
      "r1102",
      "r1138",
      "r1352",
      "r1353",
      "r1355",
      "r1358",
      "r1402",
      "r1403",
      "r1404",
      "r1496",
      "r1498",
      "r1522"
     ]
    },
    "us-gaap_DebtInstrumentBasisSpreadOnVariableRate1": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentBasisSpreadOnVariableRate1",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debt instrument interest rate spread",
        "label": "Debt Instrument, Basis Spread on Variable Rate",
        "documentation": "Percentage points added to the reference rate to compute the variable rate on the debt instrument."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentCollateralAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentCollateralAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageServicingRightsSummaryOfMsrsCarriedAtFairValueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair value of mortgage servicing rights pledged to secure Assets sold under agreements to repurchase and Notes payable secured by credit risk transfer and mortgage servicing assets",
        "label": "Debt Instrument, Collateral Amount",
        "documentation": "Amount of assets pledged to secure a debt instrument."
       }
      }
     },
     "auth_ref": [
      "r46"
     ]
    },
    "us-gaap_DebtInstrumentConvertibleConversionRatio1": {
     "xbrltype": "pureItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentConvertibleConversionRatio1",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Number of shares exchanged per exchangeable notes",
        "label": "Debt Instrument, Convertible, Conversion Ratio",
        "documentation": "Ratio applied to the conversion of debt instrument into equity with equity shares divided by debt principal amount."
       }
      }
     },
     "auth_ref": [
      "r34",
      "r53",
      "r88",
      "r89",
      "r422"
     ]
    },
    "us-gaap_DebtInstrumentDescriptionOfVariableRateBasis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentDescriptionOfVariableRateBasis",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfTermNoteIssuedToQualifiedInstitutionalBuyersDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Annual interest rate index",
        "terseLabel": "Debt Instrument, Description of Variable Rate Basis",
        "label": "Debt Instrument, Description of Variable Rate Basis",
        "documentation": "Description of reference rate used for variable rate of debt instrument."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_DebtInstrumentExtendedMaturityDateSubjectToTermNoteIndenture": {
     "xbrltype": "dateItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "DebtInstrumentExtendedMaturityDateSubjectToTermNoteIndenture",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfTermNoteIssuedToQualifiedInstitutionalBuyersDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Debt instrument extended maturity date subject to term note indenture",
        "terseLabel": "Maturity date, Optional extension",
        "label": "Debt Instrument Extended Maturity Date Subject To Term Note Indenture",
        "documentation": "Debt instrument extended maturity date subject to term note indenture."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_DebtInstrumentExtendedTerminationDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "DebtInstrumentExtendedTerminationDate",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Extended termination date of debt instrument",
        "label": "Debt Instrument Extended Termination Date",
        "documentation": "Debt instrument extended termination date."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentFaceAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentFaceAmount",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfTermNoteIssuedToQualifiedInstitutionalBuyersDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Aggregate loan amount",
        "terseLabel": "Notes Issued",
        "label": "Debt Instrument, Face Amount",
        "documentation": "Face (par) amount of debt instrument at time of issuance."
       }
      }
     },
     "auth_ref": [
      "r420",
      "r726",
      "r727",
      "r1099",
      "r1100",
      "r1138"
     ]
    },
    "pmt_DebtInstrumentFairValueCarryingValueAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "DebtInstrumentFairValueCarryingValueAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instrument Fair Value Carrying Value [Abstract]",
        "documentation": "Debt Instrument Fair Value Carrying Value [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentInterestRateStatedPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentInterestRateStatedPercentage",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToExchangeableSeniorNotesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToSeniorNotesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfTermNoteIssuedToQualifiedInstitutionalBuyersDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Percentage of interest on debt",
        "terseLabel": "Interest rate spread (Annual)",
        "label": "Debt Instrument, Interest Rate, Stated Percentage",
        "documentation": "Contractual interest rate for funds borrowed, under the debt agreement."
       }
      }
     },
     "auth_ref": [
      "r52",
      "r421"
     ]
    },
    "us-gaap_DebtInstrumentIssuanceDate1": {
     "xbrltype": "dateItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentIssuanceDate1",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfTermNoteIssuedToQualifiedInstitutionalBuyersDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debt Instrument, Issuance Date",
        "label": "Debt Instrument, Issuance Date",
        "documentation": "Date the debt instrument was issued, in YYYY-MM-DD format."
       }
      }
     },
     "auth_ref": [
      "r54",
      "r1415"
     ]
    },
    "us-gaap_DebtInstrumentLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentLineItems",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToExchangeableSeniorNotesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToExchangeableSeniorNotesParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToSeniorNotesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtScheduleOfContractualMaturitiesOnLongTermDebtObligationsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToAssetBackedFinancingOfVIEAtFairValueParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfTermNoteIssuedToQualifiedInstitutionalBuyersDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debt Instrument [Line Items]",
        "label": "Debt Instrument [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": [
      "r420",
      "r421",
      "r422",
      "r423",
      "r424",
      "r425",
      "r426",
      "r427",
      "r428",
      "r429",
      "r430",
      "r431",
      "r432",
      "r433",
      "r434",
      "r435",
      "r436",
      "r642",
      "r804",
      "r1098",
      "r1099",
      "r1100",
      "r1101",
      "r1102",
      "r1138",
      "r1352",
      "r1353",
      "r1355",
      "r1358",
      "r1496",
      "r1498"
     ]
    },
    "us-gaap_DebtInstrumentMaturityDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentMaturityDate",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToExchangeableSeniorNotesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToSeniorNotesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfTermNoteIssuedToQualifiedInstitutionalBuyersDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Maturity date, Stated",
        "verboseLabel": "Maturity date of debt instrument",
        "label": "Debt Instrument, Maturity Date",
        "documentation": "Date when the debt instrument is scheduled to be fully repaid, in YYYY-MM-DD format."
       }
      }
     },
     "auth_ref": [
      "r195",
      "r1098",
      "r1475",
      "r1476"
     ]
    },
    "us-gaap_DebtInstrumentNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentNameDomain",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForInvestmentAtFairValueSummaryOfDistributionOfCompanysLoansHeldForInvestmentAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToExchangeableSeniorNotesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToExchangeableSeniorNotesParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToSeniorNotesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureVariableInterestEntitiesSummaryOfInvestmentInSeniorAndSubordinateMbsBackedByAssetsHeldInConsolidatedViesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfTermNoteIssuedToQualifiedInstitutionalBuyersDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debt Instrument, Name",
        "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": [
      "r12",
      "r420",
      "r421",
      "r422",
      "r423",
      "r424",
      "r425",
      "r426",
      "r427",
      "r428",
      "r429",
      "r430",
      "r431",
      "r432",
      "r433",
      "r434",
      "r435",
      "r1098",
      "r1099",
      "r1100",
      "r1101",
      "r1102",
      "r1138",
      "r1352",
      "r1353",
      "r1355",
      "r1358",
      "r1402",
      "r1403",
      "r1404",
      "r1496",
      "r1498",
      "r1522"
     ]
    },
    "us-gaap_DebtInstrumentRedemptionPeriodEndDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentRedemptionPeriodEndDate",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToSeniorNotesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instrument, Redemption Period, End Date",
        "terseLabel": "Redemption date",
        "documentation": "End date of debt instrument redemption period, in YYYY-MM-DD format."
       }
      }
     },
     "auth_ref": [
      "r124"
     ]
    },
    "us-gaap_DebtInstrumentTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentTable",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtScheduleOfContractualMaturitiesOnLongTermDebtObligationsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToAssetBackedFinancingOfVIEAtFairValueParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfTermNoteIssuedToQualifiedInstitutionalBuyersDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debt Instrument [Table]",
        "label": "Schedule of Long-Term Debt Instruments [Table]",
        "documentation": "Disclosure of information about long-term debt instrument or arrangement."
       }
      }
     },
     "auth_ref": [
      "r12",
      "r34",
      "r38",
      "r45",
      "r87",
      "r89",
      "r420",
      "r421",
      "r422",
      "r423",
      "r424",
      "r425",
      "r426",
      "r427",
      "r428",
      "r429",
      "r430",
      "r431",
      "r432",
      "r433",
      "r434",
      "r435",
      "r436",
      "r642",
      "r804",
      "r1098",
      "r1099",
      "r1100",
      "r1101",
      "r1102",
      "r1138",
      "r1352",
      "r1353",
      "r1355",
      "r1358",
      "r1496",
      "r1498"
     ]
    },
    "us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseDetail": {
       "parentTag": "us-gaap_AssetsSoldUnderAgreementsToRepurchaseRepurchaseLiability",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Debt Instrument, Unamortized Discount (Premium) and Debt Issuance Costs, Net, Total",
        "terseLabel": "Unamortized debt issuance costs",
        "label": "Debt Instrument, Unamortized Discount (Premium) and Debt Issuance Costs, Net",
        "negatedLabel": "Unamortized debt issuance costs",
        "documentation": "Amount of unamortized debt discount (premium) and debt issuance costs."
       }
      }
     },
     "auth_ref": [
      "r426",
      "r437",
      "r725",
      "r726",
      "r727",
      "r1099",
      "r1100",
      "r1138"
     ]
    },
    "pmt_DebtInstrumentUnpaidPrincipalBalance": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "DebtInstrumentUnpaidPrincipalBalance",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToExchangeableSeniorNotesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToExchangeableSeniorNotesParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToSeniorNotesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfTermNoteIssuedToQualifiedInstitutionalBuyersDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Unpaid principal balance",
        "label": "Debt Instrument Unpaid Principal Balance",
        "documentation": "Debt instrument unpaid principal balance.",
        "verboseLabel": "Principal amount"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtSecurities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtSecurities",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageLoanParticipationPurchaseAndSaleAgreementSummaryOfMortgageLoanParticipationPurchaseAndSaleAgreementDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Loans acquired for sale pledged to secure",
        "label": "Debt Securities",
        "totalLabel": "Debt Securities, Total",
        "documentation": "Amount, after allowance for credit loss, of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), investment in debt security measured at amortized cost (held-to-maturity), and investment in debt security measured at fair value with change in fair value recognized in net income (trading)."
       }
      }
     },
     "auth_ref": [
      "r340",
      "r811",
      "r812",
      "r1149",
      "r1151"
     ]
    },
    "us-gaap_DebtSecuritiesGainLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtSecuritiesGainLoss",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetLossesGainsOnInvestmentsAndFinancingsSummaryOfNetLossesGainsOnInvestmentsAndFinancingsDetails": {
       "parentTag": "pmt_GainLossOnInvestmentsAndFinancings",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetLossesGainsOnInvestmentsAndFinancingsSummaryOfNetLossesGainsOnInvestmentsAndFinancingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investment securities at fair value, Mortgage-backed securities",
        "label": "Debt Securities, Gain (Loss)",
        "totalLabel": "Debt Securities, Gain (Loss), Total",
        "verboseLabel": "Mortgage-backed securities",
        "documentation": "Amount of unrealized and realized gain (loss) on investment in debt security measured at amortized cost (held-to-maturity), investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale) and investment in debt security measured at fair value with change in fair value recognized in net income (trading)."
       }
      }
     },
     "auth_ref": [
      "r831",
      "r1300",
      "r1301"
     ]
    },
    "us-gaap_DeferredTaxAssetsValuationAllowance": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DeferredTaxAssetsValuationAllowance",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Deferred tax assets, valuation allowance",
        "label": "Deferred Tax Assets, Valuation Allowance",
        "documentation": "Amount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized."
       }
      }
     },
     "auth_ref": [
      "r533"
     ]
    },
    "pmt_DelinquentAmountAtEndOfPeriodOnLoansManagedAndSecuritizedNinetyDaysOrMoreInForeclosure": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "DelinquentAmountAtEndOfPeriodOnLoansManagedAndSecuritizedNinetyDaysOrMoreInForeclosure",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLoanSalesSummaryOfCollectionStatusInformationForLoansAccountedForSalesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "In foreclosure",
        "label": "Delinquent Amount At End Of Period On Loans Managed And Securitized Ninety Days Or More In Foreclosure",
        "documentation": "Delinquent amount at end of period on loans managed and securitized ninety days or more in foreclosure or bankruptcy."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_DelinquentAmountAtEndOfPeriodOnLoansManagedAndSecuritizedNinetyDaysOrMoreNotInForeclosure": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "DelinquentAmountAtEndOfPeriodOnLoansManagedAndSecuritizedNinetyDaysOrMoreNotInForeclosure",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLoanSalesSummaryOfCollectionStatusInformationForLoansAccountedForSalesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Not in foreclosure",
        "label": "Delinquent Amount At End Of Period On Loans Managed And Securitized Ninety Days Or More Not In Foreclosure",
        "documentation": "Delinquent amount at end of period on loans managed and securitized ninety days or more not in foreclosure or bankruptcy."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_DelinquentAmountAtEndOfPeriodOnLoansManagedAndSecuritizedNinetyToOneHundredAndEighty": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "DelinquentAmountAtEndOfPeriodOnLoansManagedAndSecuritizedNinetyToOneHundredAndEighty",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "90-180 days delinquent",
        "label": "Delinquent Amount At End Of Period On Loans Managed And Securitized Ninety To One Hundred And Eighty",
        "documentation": "Delinquent amount at end of period on loans managed and securitized ninety to one hundred and eighty."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_DelinquentAmountAtEndOfPeriodOnLoansManagedAndSecuritizedNinetyToOneHundredAndSeventyNine": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "DelinquentAmountAtEndOfPeriodOnLoansManagedAndSecuritizedNinetyToOneHundredAndSeventyNine",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "90-179 days delinquent",
        "label": "Delinquent Amount At End Of Period On Loans Managed And Securitized Ninety To One Hundred And Seventy Nine",
        "documentation": "Delinquent amount at end of period on loans managed and securitized ninety to one hundred and seventy nine."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_DelinquentAmountAtEndOfPeriodOnLoansManagedAndSecuritizedOneHundredAndEightyOrMore": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "DelinquentAmountAtEndOfPeriodOnLoansManagedAndSecuritizedOneHundredAndEightyOrMore",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "180 or more days delinquent",
        "label": "Delinquent Amount At End Of Period On Loans Managed And Securitized One Hundred And Eighty Or More",
        "documentation": "Delinquent amount at end of period on loans managed and securitized one hundred and eighty or more."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_DelinquentAmountAtEndOfPeriodOnLoansManagedAndSecuritizedOneHundredAndEightyOrMoreDaysNotInForeclosure": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "DelinquentAmountAtEndOfPeriodOnLoansManagedAndSecuritizedOneHundredAndEightyOrMoreDaysNotInForeclosure",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "180 or more days delinquent",
        "label": "Delinquent Amount At End Of Period On Loans Managed And Securitized One Hundred And Eighty Or More Days Not In Foreclosure",
        "documentation": "Delinquent amount at end of period on loans managed and securitized one hundred and eighty or more days not in foreclosure."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_DelinquentAmountAtEndOfPeriodOnLoansManagedAndSecuritizedThirtyToEightyNineDays": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "DelinquentAmountAtEndOfPeriodOnLoansManagedAndSecuritizedThirtyToEightyNineDays",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "30-89 days delinquent",
        "label": "Delinquent Amount At End Of Period On Loans Managed And Securitized Thirty To Eighty Nine Days",
        "documentation": "Delinquent amount at end of period on loans managed and securitized thirty to eighty nine days."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_DelinquentAmountAtEndOfPeriodOnLoansManagedAndSecuritizedThirtyToEightyNineDaysDelinquent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "DelinquentAmountAtEndOfPeriodOnLoansManagedAndSecuritizedThirtyToEightyNineDaysDelinquent",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLoanSalesSummaryOfCollectionStatusInformationForLoansAccountedForSalesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "30-89 days delinquent",
        "label": "Delinquent Amount At End Of Period On Loans Managed And Securitized Thirty To Eighty Nine Days Delinquent",
        "documentation": "Delinquent Amount At End Of Period On Loans Managed And Securitized Thirty To Eighty Nine Days Delinquent"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_DelinquentAmountInCOVID19PandemicRelatedForbearanceAtEndOfPeriodOnLoansManagedAndSecuritizedNinetyDaysOrMore": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "DelinquentAmountInCOVID19PandemicRelatedForbearanceAtEndOfPeriodOnLoansManagedAndSecuritizedNinetyDaysOrMore",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLoanSalesSummaryOfCollectionStatusInformationForLoansAccountedForSalesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "90 days or more",
        "label": "Delinquent Amount In C O V I D19 Pandemic Related Forbearance At End Of Period On Loans Managed And Securitized Ninety Days Or More",
        "documentation": "Delinquent amount in COVID-19 pandemic related forbearance at end of period on loans managed and securitized ninety days or more."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_DelinquentAmountInCOVID19PandemicRelatedForbearanceAtEndOfPeriodOnLoansManagedAndSecuritizedNinetyToOneHundredAndEightyDays": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "DelinquentAmountInCOVID19PandemicRelatedForbearanceAtEndOfPeriodOnLoansManagedAndSecuritizedNinetyToOneHundredAndEightyDays",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "90-180 days delinquent",
        "label": "Delinquent Amount In C O V I D19 Pandemic Related Forbearance At End Of Period On Loans Managed And Securitized Ninety To One Hundred And Eighty Days",
        "documentation": "Delinquent amount in COVID19 pandemic related forbearance at end of period on loans managed and securitized ninety to one hundred and eighty days."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_DelinquentAmountInCOVID19PandemicRelatedForbearanceAtEndOfPeriodOnLoansManagedAndSecuritizedOneHundredAndEightyOrMoreDaysNotInForeclosure": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "DelinquentAmountInCOVID19PandemicRelatedForbearanceAtEndOfPeriodOnLoansManagedAndSecuritizedOneHundredAndEightyOrMoreDaysNotInForeclosure",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "180 or more days delinquent",
        "label": "Delinquent Amount In C O V I D19 Pandemic Related Forbearance At End Of Period On Loans Managed And Securitized One Hundred And Eighty Or More Days Not In Foreclosure",
        "documentation": "Delinquent amount in COVID19 pandemic related forbearance at end of period on loans managed and securitized one hundred and eighty or more days not in foreclosure."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_DelinquentAmountInCOVID19PandemicRelatedForbearanceAtEndOfPeriodOnLoansManagedAndSecuritizedThirtyToEightyNineDays": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "DelinquentAmountInCOVID19PandemicRelatedForbearanceAtEndOfPeriodOnLoansManagedAndSecuritizedThirtyToEightyNineDays",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLoanSalesSummaryOfCollectionStatusInformationForLoansAccountedForSalesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "30-89 days",
        "label": "Delinquent Amount In C O V I D19 Pandemic Related Forbearance At End Of Period On Loans Managed And Securitized Thirty To Eighty Nine Days",
        "documentation": "Delinquent amount in COVID-19 pandemic related forbearance at end of period on loans managed and securitized thirty to eighty nine days."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_DepositsSecuringCreditRiskTransferAgreements": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "DepositsSecuringCreditRiskTransferAgreements",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedBalanceSheetsUnaudited2": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 2.0
      },
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Deposits securing credit risk transfer arrangements pledged to creditors",
        "label": "Deposits Securing Credit Risk Transfer Agreements",
        "documentation": "Represents cash deposited to secure the company's obligation under credit risk transfer agreements."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_DepositsSecuringCreditRiskTransferArrangements": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "DepositsSecuringCreditRiskTransferArrangements",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail": {
       "parentTag": "pmt_DerivativeAndCreditRiskTransferStripAssets",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deposits Securing Credit Risk Transfer Arrangements",
        "documentation": "Represents cash deposited to secure the company's obligation under credit risk transfer arrangements.",
        "terseLabel": "Deposits securing credit risk transfer arrangements"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_DepositsSecuringCreditRiskTransferArrangementsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "DepositsSecuringCreditRiskTransferArrangementsMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Deposits Securing Credit Risk Transfer Arrangements [Member]",
        "label": "Deposits securing credit risk transfer arrangements [Member]",
        "documentation": "Deposits securing credit risk transfer arrangements."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_DepositsSecuringCreditRiskTransferStripAndDerivativesLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "DepositsSecuringCreditRiskTransferStripAndDerivativesLiabilities",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Deposits securing CRT strips and derivatives liabilities",
        "label": "Deposits Securing Credit Risk Transfer Strip And Derivatives Liabilities",
        "documentation": "Deposits securing credit risk transfer strip derivatives liabilities."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_DepositsSecuringCreditRiskTransfersPledgedToCreditors": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "DepositsSecuringCreditRiskTransfersPledgedToCreditors",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Deposits securing CRT arrangements",
        "label": "Deposits Securing Credit Risk Transfers Pledged To Creditors",
        "documentation": "Deposits securing credit risk transfers pledged to creditors."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_DerivativeAndCreditRiskTransferStripAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "DerivativeAndCreditRiskTransferStripAssets",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Derivative and credit risk transfer strip assets",
        "label": "Derivative And Credit Risk Transfer Strip Assets",
        "documentation": "Derivative and credit risk transfer strip assets."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_DerivativeAndCreditRiskTransferStripAssetsPledgedToCreditors": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "DerivativeAndCreditRiskTransferStripAssetsPledgedToCreditors",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Derivative and credit risk transfer strip assets pledged to secure",
        "label": "Derivative And Credit Risk Transfer Strip Assets Pledged To Creditors",
        "documentation": "Derivative and credit risk transfer strip assets pledged to creditors."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_DerivativeAndCreditRiskTransferStripLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "DerivativeAndCreditRiskTransferStripLiabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail": {
       "parentTag": "us-gaap_FinancialLiabilitiesFairValueDisclosure",
       "weight": 1.0,
       "order": 3.0
      },
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 11.0
      },
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total derivative and credit risk transfer strip liabilities",
        "label": "Derivative And Credit Risk Transfer Strip Liabilities",
        "documentation": "Derivative and credit risk transfer strip liabilities.",
        "terseLabel": "Derivative and credit risk transfer strip liabilities with nonaffiliates at fair value"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_DerivativeAndCreditRiskTransferStripLiabilitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "DerivativeAndCreditRiskTransferStripLiabilitiesAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Derivative and credit risk transfer strip liabilities:",
        "label": "Derivative And Credit Risk Transfer Strip Liabilities [Abstract]",
        "documentation": "Derivative and credit risk transfer strip Liabilities abstract."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_DerivativeAndCreditRiskTransferStripLiabilitiesAtFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "DerivativeAndCreditRiskTransferStripLiabilitiesAtFairValue",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Derivative and credit risk transfer strip liabilities at fair value",
        "label": "Derivative And Credit Risk Transfer Strip Liabilities At Fair Value",
        "documentation": "Derivative and credit risk transfer strip liabilities at fair value."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_DerivativeAndCreditRiskTransferStripsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "DerivativeAndCreditRiskTransferStripsAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Derivative and CRT strips:",
        "label": "Derivative And Credit Risk Transfer Strips [Abstract]",
        "documentation": "Derivative and credit risk transfer strips."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DerivativeAssetFairValueAfterOffsetAndDeductionSubjectToMasterNettingArrangement": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeAssetFairValueAfterOffsetAndDeductionSubjectToMasterNettingArrangement",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAssetsFinancialInstrumentsAndCollateralHeldByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Asset, Subject to Master Netting Arrangement, after Offset and Deduction",
        "terseLabel": "Net amount",
        "totalLabel": "Total derivative assets after netting",
        "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. Excludes derivative not subject to master netting arrangement or similar agreement."
       }
      }
     },
     "auth_ref": [
      "r202",
      "r640",
      "r1048",
      "r1050"
     ]
    },
    "us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedLiability": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedLiability",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAssetsFinancialInstrumentsAndCollateralHeldByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Financial instruments",
        "label": "Derivative Asset, Security Purchased under Agreement to Resell, and Security Borrowed, Subject to Master Netting Arrangement, Liability Offset",
        "documentation": "Amount of liability associated with derivative assets, securities purchased under agreements to resell and securities borrowed."
       }
      }
     },
     "auth_ref": [
      "r1050",
      "r1051",
      "r1052",
      "r1288"
     ]
    },
    "us-gaap_DerivativeAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeAssets",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail": {
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0,
       "order": 4.0
      },
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative assets",
        "totalLabel": "Total derivative assets after netting",
        "terseLabel": "Derivative assets",
        "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": [
      "r201",
      "r203",
      "r640",
      "r672",
      "r673",
      "r686",
      "r699",
      "r700",
      "r701",
      "r899",
      "r900",
      "r901",
      "r903",
      "r904",
      "r905",
      "r906",
      "r907",
      "r909",
      "r910",
      "r926",
      "r927",
      "r990",
      "r993",
      "r994",
      "r995",
      "r996",
      "r997",
      "r1046",
      "r1048",
      "r1050",
      "r1051",
      "r1052",
      "r1127",
      "r1130",
      "r1137",
      "r1154",
      "r1474",
      "r1475",
      "r1476",
      "r1561"
     ]
    },
    "us-gaap_DerivativeAssetsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeAssetsAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Asset [Abstract]",
        "terseLabel": "Credit risk transfer derivatives"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DerivativeAssetsNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeAssetsNoncurrent",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Derivative assets",
        "label": "Derivative Asset, Noncurrent",
        "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, expected to be settled after one year or the normal operating cycle, if longer. Includes assets not subject to a master netting arrangement and not elected to be offset."
       }
      }
     },
     "auth_ref": [
      "r203"
     ]
    },
    "pmt_DerivativeAssetsPledgedToCreditors": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "DerivativeAssetsPledgedToCreditors",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Derivative assets",
        "terseLabel": "Derivative assets, pledged to creditors",
        "label": "Derivative Assets Pledged To Creditors",
        "documentation": "Derivative assets pledged to creditors."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_DerivativeAssetsPledgedToSecureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "DerivativeAssetsPledgedToSecureAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Derivative assets pledged to secure:",
        "label": "Derivative Assets Pledged To Secure [Abstract]",
        "documentation": "Derivative assets pledged to secure."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_DerivativeAssetsRelatedToCreditRiskTransferDerivativesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "DerivativeAssetsRelatedToCreditRiskTransferDerivativesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Derivative assets related to CRT Derivatives [Member]",
        "label": "Derivative Assets Related To Credit Risk Transfer Derivatives [Member]",
        "documentation": "Derivative assets related to credit risk transfer derivatives."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DerivativeContractTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeContractTypeDomain",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueKeyInputsUsedInDeterminingFairValueOfIoDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesNetGainsLossesRecognizedOnDerivativeFinancialInstrumentsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyAssumptionsUsedInValuationOfMsrsAsOfDatesPresentedAndEffectOnEstimatedFairValueFromAdverseChangesInThoseInputsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Derivative Contract",
        "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": [
      "r211",
      "r586",
      "r588",
      "r589",
      "r591",
      "r592",
      "r593",
      "r594",
      "r596",
      "r597",
      "r598",
      "r599",
      "r600",
      "r601",
      "r602",
      "r603",
      "r604",
      "r605",
      "r606",
      "r607",
      "r608",
      "r609",
      "r610",
      "r611",
      "r612",
      "r907",
      "r910",
      "r925",
      "r926",
      "r927",
      "r930",
      "r931",
      "r932",
      "r933",
      "r935",
      "r936",
      "r937",
      "r938",
      "r954",
      "r955",
      "r956",
      "r957",
      "r960",
      "r961",
      "r962",
      "r963",
      "r990",
      "r991",
      "r994",
      "r996",
      "r1048",
      "r1049",
      "r1052",
      "r1121",
      "r1122",
      "r1152",
      "r1154",
      "r1287",
      "r1288",
      "r1289",
      "r1290",
      "r1291",
      "r1292",
      "r1293",
      "r1294",
      "r1295",
      "r1461",
      "r1463",
      "r1464",
      "r1465",
      "r1477",
      "r1478",
      "r1479",
      "r1480",
      "r1481",
      "r1482",
      "r1484",
      "r1485"
     ]
    },
    "pmt_DerivativeFairValueOfAssetMasterNettingAdjustment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "DerivativeFairValueOfAssetMasterNettingAdjustment",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail": {
       "parentTag": "us-gaap_DerivativeAssets",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Derivative assets, Netting",
        "terseLabel": "Derivative assets, Netting",
        "label": "Derivative Fair Value Of Asset Master Netting Adjustment",
        "documentation": "Derivative fair value of asset master netting adjustment."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DerivativeFairValueOfDerivativeAsset": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeFairValueOfDerivativeAsset",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail": {
       "parentTag": "us-gaap_DerivativeAssets",
       "weight": 1.0,
       "order": 0.0
      },
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedBalanceSheetsUnaudited2": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "netLabel": "Total derivatives assets before netting",
        "verboseLabel": "Derivative assets",
        "label": "Derivative Asset, Subject to Master Netting Arrangement, before Offset",
        "terseLabel": "Derivative assets",
        "documentation": "Fair value, before 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 elected not to be offset. Excludes assets not subject to a master netting arrangement."
       }
      }
     },
     "auth_ref": [
      "r10",
      "r200",
      "r640",
      "r1048",
      "r1050",
      "r1051",
      "r1052"
     ]
    },
    "us-gaap_DerivativeFairValueOfDerivativeAssetAmountNotOffsetAgainstCollateral": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeFairValueOfDerivativeAssetAmountNotOffsetAgainstCollateral",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAssetsFinancialInstrumentsAndCollateralHeldByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Derivative Asset, Subject to Master Netting Arrangement, before Offset of Collateral, Total",
        "terseLabel": "Net amount",
        "label": "Derivative Asset, Subject to Master Netting Arrangement, before Offset of Collateral",
        "documentation": "Fair value, after offset of derivative liability, of 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, before offset against an obligation to return collateral under a master netting arrangement. Includes assets elected not to be offset. Excludes assets not subject to a master netting arrangement."
       }
      }
     },
     "auth_ref": [
      "r1289",
      "r1461",
      "r1465"
     ]
    },
    "us-gaap_DerivativeFairValueOfDerivativeLiability": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeFairValueOfDerivativeLiability",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail": {
       "parentTag": "pmt_DerivativeAndCreditRiskTransferStripLiabilities",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Derivative liabilities",
        "terseLabel": "Total derivative liabilities",
        "label": "Derivative Liability, Subject to Master Netting Arrangement, before Offset",
        "documentation": "Fair value, before 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 elected not to be offset. Excludes liabilities not subject to a master netting arrangement."
       }
      }
     },
     "auth_ref": [
      "r10",
      "r200",
      "r640",
      "r1048",
      "r1050",
      "r1051",
      "r1052"
     ]
    },
    "us-gaap_DerivativeFinancialInstrumentsAssetsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeFinancialInstrumentsAssetsMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Financial Instruments, Assets [Member]",
        "terseLabel": "Derivative Assets [Member]",
        "documentation": "Financial asset or other contract with one or more underlyings, with notional amount or payment provision or both, and contract can be net settled by means outside contract or delivery of asset."
       }
      }
     },
     "auth_ref": [
      "r687"
     ]
    },
    "us-gaap_DerivativeGainLossOnDerivativeNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeGainLossOnDerivativeNet",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesNetGainsLossesRecognizedOnDerivativeFinancialInstrumentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Derivative, Gain (Loss) on Derivative, Net, Total",
        "label": "Derivative, Gain (Loss) on Derivative, Net",
        "terseLabel": "Net gains on derivative financial instruments used as economic hedges",
        "documentation": "Amount of increase (decrease) in the fair value of derivatives recognized in the income statement."
       }
      }
     },
     "auth_ref": [
      "r1046",
      "r1455"
     ]
    },
    "us-gaap_DerivativeGainLossStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeGainLossStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesNetGainsLossesRecognizedOnDerivativeFinancialInstrumentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration]",
        "documentation": "Indicates line item in statement of income or comprehensive income that includes gain (loss) from derivative."
       }
      }
     },
     "auth_ref": [
      "r1455"
     ]
    },
    "us-gaap_DerivativeInstrumentRiskAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeInstrumentRiskAxis",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueKeyInputsUsedInDeterminingFairValueOfIoDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesNetGainsLossesRecognizedOnDerivativeFinancialInstrumentsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyAssumptionsUsedInValuationOfMsrsAsOfDatesPresentedAndEffectOnEstimatedFairValueFromAdverseChangesInThoseInputsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Derivative Instrument",
        "label": "Derivative Instrument [Axis]",
        "documentation": "Information by type of derivative contract."
       }
      }
     },
     "auth_ref": [
      "r211",
      "r586",
      "r588",
      "r589",
      "r591",
      "r592",
      "r593",
      "r594",
      "r596",
      "r597",
      "r598",
      "r599",
      "r600",
      "r601",
      "r602",
      "r603",
      "r604",
      "r605",
      "r606",
      "r607",
      "r608",
      "r609",
      "r610",
      "r611",
      "r612",
      "r907",
      "r910",
      "r925",
      "r926",
      "r927",
      "r930",
      "r931",
      "r932",
      "r933",
      "r935",
      "r936",
      "r937",
      "r938",
      "r954",
      "r955",
      "r956",
      "r957",
      "r960",
      "r961",
      "r962",
      "r963",
      "r990",
      "r991",
      "r994",
      "r996",
      "r1048",
      "r1049",
      "r1052",
      "r1121",
      "r1122",
      "r1152",
      "r1154",
      "r1287",
      "r1288",
      "r1289",
      "r1290",
      "r1291",
      "r1292",
      "r1293",
      "r1294",
      "r1295",
      "r1461",
      "r1463",
      "r1464",
      "r1465",
      "r1477",
      "r1478",
      "r1479",
      "r1480",
      "r1481",
      "r1482",
      "r1484",
      "r1485"
     ]
    },
    "us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Instruments and Hedging Activities Disclosure [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilities"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Derivative and Credit Risk Transfer Strip Assets and Liabilities",
        "label": "Derivative Instruments and Hedging Activities Disclosure [Text Block]",
        "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": [
      "r575",
      "r576",
      "r577",
      "r578",
      "r579",
      "r580",
      "r581",
      "r582",
      "r583",
      "r584",
      "r585",
      "r622",
      "r623",
      "r624",
      "r625",
      "r626",
      "r628",
      "r629",
      "r630",
      "r631",
      "r633",
      "r635",
      "r636",
      "r639",
      "r643",
      "r658",
      "r1121",
      "r1122",
      "r1123",
      "r1124",
      "r1125"
     ]
    },
    "us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesNetGainsLossesRecognizedOnDerivativeFinancialInstrumentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Derivative Instruments Gain Loss By Hedging Relationship By Income Statement Location By Derivative Instrument Risk [Table]",
        "label": "Derivative Instruments, Gain (Loss) [Table]",
        "documentation": "Disclosure of information about 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": [
      "r588",
      "r589",
      "r596",
      "r597",
      "r598",
      "r599",
      "r600",
      "r601",
      "r602",
      "r603",
      "r604",
      "r605",
      "r606",
      "r607",
      "r608",
      "r609",
      "r610",
      "r611",
      "r612",
      "r613",
      "r1122"
     ]
    },
    "us-gaap_DerivativeInstrumentsGainLossLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeInstrumentsGainLossLineItems",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesNetGainsLossesRecognizedOnDerivativeFinancialInstrumentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Derivative Instruments Gain Loss [Line Items]",
        "label": "Derivative Instruments, Gain (Loss) [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": [
      "r588",
      "r589",
      "r596",
      "r597",
      "r598",
      "r599",
      "r600",
      "r601",
      "r602",
      "r603",
      "r604",
      "r605",
      "r606",
      "r607",
      "r608",
      "r609",
      "r610",
      "r611",
      "r612",
      "r613",
      "r614",
      "r1122"
     ]
    },
    "us-gaap_DerivativeLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeLiabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail": {
       "parentTag": "pmt_DerivativeAndCreditRiskTransferStripLiabilities",
       "weight": 1.0,
       "order": 0.0
      },
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDetail": {
       "parentTag": "pmt_DerivativeAndCreditRiskTransferStripLiabilities",
       "weight": 1.0,
       "order": 0.0
      },
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Derivative liabilities",
        "totalLabel": "Total derivative liabilities after netting",
        "label": "Derivative Liability",
        "terseLabel": "Derivative liabilities with PennyMac Financial Services, Inc.",
        "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": [
      "r201",
      "r203",
      "r640",
      "r672",
      "r673",
      "r686",
      "r699",
      "r700",
      "r701",
      "r899",
      "r900",
      "r901",
      "r903",
      "r905",
      "r906",
      "r907",
      "r909",
      "r910",
      "r935",
      "r937",
      "r938",
      "r991",
      "r992",
      "r993",
      "r994",
      "r995",
      "r996",
      "r997",
      "r1048",
      "r1050",
      "r1051",
      "r1052",
      "r1474",
      "r1475",
      "r1476",
      "r1561"
     ]
    },
    "us-gaap_DerivativeLiabilityCollateralRightToReclaimCashOffset": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeLiabilityCollateralRightToReclaimCashOffset",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail": {
       "parentTag": "us-gaap_DerivativeLiabilities",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTerseLabel": "Gross amounts offset in the consolidated balance sheet",
        "negatedLabel": "Derivative liabilities, Netting",
        "label": "Derivative Liability, Subject to Master Netting Arrangement, Collateral, Right to Reclaim Cash Offset",
        "documentation": "Amount of right to receive cash collateral under master netting arrangements offset against derivative liabilities."
       }
      }
     },
     "auth_ref": [
      "r641",
      "r1288",
      "r1461"
     ]
    },
    "us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoaned": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoaned",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail": {
       "parentTag": "us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAmountOffsetAgainstCollateral",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net amounts of liabilities presented in the consolidated balance sheet",
        "terseLabel": "Net amount of liabilities presented in the consolidated balance sheet",
        "label": "Derivative Liability, Securities Sold under Agreements to Repurchase, Securities Loaned",
        "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": [
      "r1050",
      "r1051",
      "r1052",
      "r1289",
      "r1294"
     ]
    },
    "us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAmountOffsetAgainstCollateral": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAmountOffsetAgainstCollateral",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net amount",
        "label": "Derivative Liability, Security Sold under Agreement to Repurchase, and Security Loaned, Including Not Subject to Master Netting Arrangement, after Offset and Deduction",
        "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": [
      "r1052",
      "r1293"
     ]
    },
    "us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimCash": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimCash",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail": {
       "parentTag": "us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAmountOffsetAgainstCollateral",
       "weight": -1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Gross amounts not offset in the consolidated balance sheet, Cash collateral pledged",
        "label": "Derivative Liability, Security Sold under Agreement to Repurchase, and Security Loaned, Subject to Master Netting Arrangement, Collateral, Right to Reclaim Cash Not Offset",
        "documentation": "Amount of right to receive cash collateral under master netting arrangements that have not been offset against derivative liabilities, securities sold under agreements to repurchase and securities loaned."
       }
      }
     },
     "auth_ref": [
      "r1050",
      "r1051",
      "r1052",
      "r1292",
      "r1295"
     ]
    },
    "us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimSecurities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimSecurities",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail": {
       "parentTag": "us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAmountOffsetAgainstCollateral",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Gross amounts not offset in the consolidated balance sheet, Financial instruments",
        "label": "Derivative Liability, Security Sold under Agreement to Repurchase, and Security Loaned, Subject to Master Netting Arrangement, Collateral, Right to Reclaim Security Not Offset",
        "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": [
      "r1292",
      "r1295"
     ]
    },
    "us-gaap_DerivativeNotionalAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativeNotionalAmount",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Notional amount",
        "label": "Derivative, Notional Amount",
        "documentation": "Nominal or face amount used to calculate payment on derivative."
       }
      }
     },
     "auth_ref": [
      "r1121",
      "r1453",
      "r1454"
     ]
    },
    "us-gaap_DerivativesFairValueLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DerivativesFairValueLineItems",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Derivatives Fair Value [Line Items]",
        "label": "Derivatives, Fair Value [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": [
      "r586",
      "r591",
      "r592",
      "r593",
      "r594",
      "r1122"
     ]
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Share-Based Compensation",
        "label": "Share-Based Payment Arrangement [Text Block]",
        "documentation": "The entire disclosure for share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r487",
      "r490",
      "r518",
      "r519",
      "r520",
      "r1113"
     ]
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Payment Arrangement [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DisclosureOfCreditDerivativesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DisclosureOfCreditDerivativesTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of Credit Derivatives [Table Text Block]",
        "terseLabel": "Summary of Derivative and Credit Risk Transfer Strip Assets and Liabilities",
        "documentation": "Tabular disclosure of credit derivatives which includes information by sellers of credit derivatives, about each credit derivative, or each group of similar credit derivatives, including (a) the nature of the credit derivative - its term, how it arose, the events or circumstances that would require the seller to perform under the credit derivative, and the current status of the payment/performance risk of the credit derivative; (b) the maximum potential amount of future payments (undiscounted) the seller could be required to make under the credit derivative; (c) the current fair value of the credit derivative; and (d) the nature of any recourse provisions under the credit derivative, and any assets held either as collateral or by third parties. A credit derivative is a derivative instrument (1) in which one or more of its underlyings are related to the credit risk of a specified entity (or a group of entities) or an index based on the credit risk of a group of entities and (2) that exposes the seller to potential loss from credit-risk-related events specified in the contract. Examples of credit derivatives within the scope of this paragraph include, but are not limited to, credit default swaps, credit spread options, and credit index products; also includes a hybrid instrument that has an embedded credit derivative (for example, but not limited to, a credit-linked note)."
       }
      }
     },
     "auth_ref": [
      "r1457",
      "r1458",
      "r1459",
      "r1460"
     ]
    },
    "pmt_DistressedLoansMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "DistressedLoansMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Distressed loans [Member]",
        "label": "Distressed Loans [Member]",
        "documentation": "Distressed loans."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_DistributionFromCreditRiskTransferArrangements": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "DistributionFromCreditRiskTransferArrangements",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Distribution from credit risk transfer arrangements",
        "label": "Distribution From Credit Risk Transfer Arrangements",
        "documentation": "Distribution from credit risk transfer arrangements."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DividendsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DividendsAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInShareholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Dividends:",
        "label": "Dividends [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DividendsCommonStock": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DividendsCommonStock",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInShareholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Dividends, Common Stock, Total",
        "negatedLabel": "Common share dividends",
        "label": "Dividends, Common Stock",
        "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": [
      "r1",
      "r90"
     ]
    },
    "pmt_DividendsOnPreferredShares": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "DividendsOnPreferredShares",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureEarningsLossPerCommonShareSummaryOfBasicAndDilutedEarningsPerShareDetail": {
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureEarningsLossPerCommonShareSummaryOfBasicAndDilutedEarningsPerShareDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Dividends on preferred shares.",
        "label": "Dividends On Preferred Shares",
        "terseLabel": "Dividends on preferred shares",
        "negatedLabel": "Dividends on preferred shares"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DividendsPayableCurrentAndNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DividendsPayableCurrentAndNoncurrent",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Dividends declared, not paid",
        "label": "Dividends Payable",
        "documentation": "Carrying value as of the balance sheet date of dividends declared but unpaid on equity securities issued by the entity and outstanding."
       }
      }
     },
     "auth_ref": [
      "r50",
      "r57",
      "r100",
      "r1160",
      "r1523"
     ]
    },
    "us-gaap_DividendsPreferredStock": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DividendsPreferredStock",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInShareholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Dividends, Preferred Stock, Total",
        "negatedLabel": "Preferred shares dividends",
        "label": "Dividends, Preferred Stock",
        "documentation": "Amount of paid and unpaid preferred stock dividends declared with the form of settlement in cash, stock and payment-in-kind (PIK)."
       }
      }
     },
     "auth_ref": [
      "r1",
      "r90"
     ]
    },
    "pmt_DocumentAndEntityInformationLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "DocumentAndEntityInformationLineItems",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Document And Entity Information [Line Items]",
        "label": "Document And Entity Information [Line Items]",
        "documentation": "Document and entity information."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_DocumentAndEntityInformationTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "DocumentAndEntityInformationTable",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Document And Entity Information [Table]",
        "label": "Document And Entity Information [Table]",
        "documentation": "Document and entity information."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentFiscalPeriodFocus": {
     "xbrltype": "fiscalPeriodItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentFiscalPeriodFocus",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Document Fiscal Period Focus",
        "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.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Document Fiscal Year Focus",
        "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.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Document Period End Date",
        "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.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Document Quarterly Report",
        "label": "Document Quarterly Report",
        "documentation": "Boolean flag that is true only for a form used as an quarterly report."
       }
      }
     },
     "auth_ref": [
      "r1168"
     ]
    },
    "dei_DocumentTransitionReport": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentTransitionReport",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Document Transition Report",
        "label": "Document Transition Report",
        "documentation": "Boolean flag that is true only for a form used as a transition report."
       }
      }
     },
     "auth_ref": [
      "r1200"
     ]
    },
    "dei_DocumentType": {
     "xbrltype": "submissionTypeItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentType",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Document Type",
        "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": []
    },
    "us-gaap_DueFromCorrespondentBrokers": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DueFromCorrespondentBrokers",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureOtherAssetsSummaryOfOtherAssetsDetail": {
       "parentTag": "us-gaap_OtherAssets",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureOtherAssetsSummaryOfOtherAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Correspondent lending receivables",
        "label": "Due from Correspondent Brokers",
        "documentation": "Amount receivable from correspondent broker-dealer."
       }
      }
     },
     "auth_ref": [
      "r1518"
     ]
    },
    "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": [
      "r1211"
     ]
    },
    "us-gaap_EarningsPerShareAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EarningsPerShareAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings Per Share [Abstract]",
        "terseLabel": "Earnings (loss) per common share"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EarningsPerShareBasic": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EarningsPerShareBasic",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureEarningsLossPerCommonShareSummaryOfBasicAndDilutedEarningsPerShareDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Earnings Per Share, Basic, Total",
        "label": "Earnings Per Share, Basic",
        "terseLabel": "Basic earnings (losses) per share",
        "verboseLabel": "Basic",
        "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": [
      "r184",
      "r209",
      "r248",
      "r249",
      "r250",
      "r251",
      "r253",
      "r254",
      "r255",
      "r257",
      "r263",
      "r266",
      "r275",
      "r278",
      "r279",
      "r284",
      "r442",
      "r523",
      "r554",
      "r565",
      "r669",
      "r670",
      "r799",
      "r830",
      "r1057"
     ]
    },
    "us-gaap_EarningsPerShareDiluted": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EarningsPerShareDiluted",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureEarningsLossPerCommonShareSummaryOfBasicAndDilutedEarningsPerShareDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Earnings Per Share, Diluted, Total",
        "label": "Earnings Per Share, Diluted",
        "terseLabel": "Basic earnings (losses) per share",
        "verboseLabel": "Diluted",
        "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": [
      "r184",
      "r209",
      "r248",
      "r249",
      "r250",
      "r251",
      "r253",
      "r254",
      "r255",
      "r257",
      "r266",
      "r275",
      "r278",
      "r279",
      "r284",
      "r442",
      "r523",
      "r554",
      "r565",
      "r669",
      "r670",
      "r799",
      "r830",
      "r1057"
     ]
    },
    "us-gaap_EarningsPerSharePolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EarningsPerSharePolicyTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureOrganizationAndBasisOfPresentationAndRecentlyIssuedAccountingPronouncementsPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Earnings Per Common Share",
        "label": "Earnings Per Share, Policy [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for computing basic and diluted earnings or loss per share for each class of common stock and participating security. Addresses all significant policy factors, including any antidilutive items that have been excluded from the computation and takes into account stock dividends, splits and reverse splits that occur after the balance sheet date of the latest reporting period but before the issuance of the financial statements."
       }
      }
     },
     "auth_ref": [
      "r25",
      "r26",
      "r281"
     ]
    },
    "us-gaap_EarningsPerShareTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EarningsPerShareTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureEarningsLossPerCommonShare"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings Per Share [Text Block]",
        "terseLabel": "Earnings (Loss) Per Common Share",
        "documentation": "The entire disclosure for earnings per share."
       }
      }
     },
     "auth_ref": [
      "r262",
      "r280",
      "r282",
      "r283"
     ]
    },
    "pmt_EffectOnValueOfFivePercentageAdverseChangeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "EffectOnValueOfFivePercentageAdverseChangeMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyAssumptionsUsedInValuationOfMsrsAsOfDatesPresentedAndEffectOnEstimatedFairValueFromAdverseChangesInThoseInputsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Effect On Value Of Five Percentage Adverse Change",
        "label": "Effect On Value Of Five Percentage Adverse Change [Member]",
        "documentation": "Effect on value of 5% adverse change."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_EffectOnValueOfTenPercentageAdverseChangeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "EffectOnValueOfTenPercentageAdverseChangeMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyAssumptionsUsedInValuationOfMsrsAsOfDatesPresentedAndEffectOnEstimatedFairValueFromAdverseChangesInThoseInputsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Effect On Value Of Ten Percentage Adverse Change",
        "label": "Effect On Value Of Ten Percentage Adverse Change [Member]",
        "documentation": "Effect on value of 10% adverse change."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_EffectOnValueOfTwentyPercentageAdverseChangeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "EffectOnValueOfTwentyPercentageAdverseChangeMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyAssumptionsUsedInValuationOfMsrsAsOfDatesPresentedAndEffectOnEstimatedFairValueFromAdverseChangesInThoseInputsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Effect On Value Of Twenty Percentage Adverse Change",
        "label": "Effect On Value Of Twenty Percentage Adverse Change [Member]",
        "documentation": "Effect on value of 20% adverse change."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EffectiveIncomeTaxRateContinuingOperations": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EffectiveIncomeTaxRateContinuingOperations",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Effective Income Tax Rate Reconciliation, Percent, Total",
        "terseLabel": "Effective income tax rates",
        "label": "Effective Income Tax Rate Reconciliation, Percent",
        "verboseLabel": "Provision for (benefit from) income taxes",
        "documentation": "Percentage of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations."
       }
      }
     },
     "auth_ref": [
      "r528",
      "r1114"
     ]
    },
    "pmt_ElevenJuneTwoThousandNineteenMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ElevenJuneTwoThousandNineteenMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "June 11, 2019 [Member]",
        "label": "Eleven June Two Thousand Nineteen [Member]",
        "documentation": "Eleven June Two Thousand Nineteen."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_EllingtonManagementMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "EllingtonManagementMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAssetsFinancialInstrumentsAndCollateralHeldByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Ellington Management [Member]",
        "documentation": "Ellington Management."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EmployeeStockOptionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EmployeeStockOptionMember",
     "presentation": [
      "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": [
      "r1421",
      "r1422",
      "r1423",
      "r1424",
      "r1425",
      "r1426",
      "r1427",
      "r1428",
      "r1429",
      "r1430",
      "r1431",
      "r1432",
      "r1433",
      "r1434",
      "r1435",
      "r1436",
      "r1437",
      "r1438",
      "r1439",
      "r1440",
      "r1441",
      "r1442",
      "r1443",
      "r1444",
      "r1445",
      "r1446"
     ]
    },
    "dei_EntityAddressAddressLine1": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityAddressAddressLine1",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Entity Address, Address Line One",
        "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.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Entity Address, City or Town",
        "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.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Entity Address, Postal Zip Code",
        "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.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Entity Address, State or Province",
        "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.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Entity Central Index Key",
        "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": [
      "r1166"
     ]
    },
    "dei_EntityCommonStockSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityCommonStockSharesOutstanding",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Entity Common Stock, Shares Outstanding",
        "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.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Entity Current Reporting Status",
        "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.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForSaleAtFairValueSummaryOfDistributionOfCompanysLoansHeldForSaleAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToUnsecuredSeniorNotesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSaleSummaryOfNetGainsOnMortgageLoansHeldForSaleDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetLossesGainsOnInvestmentsAndFinancingsSummaryOfNetLossesGainsOnInvestmentsAndFinancingsDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAssetsFinancialInstrumentsAndCollateralHeldByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnauditedParenthetical",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Entity",
        "label": "Entity [Domain]",
        "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.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Entity Emerging Growth Company",
        "label": "Entity Emerging Growth Company",
        "documentation": "Indicate if registrant meets the emerging growth company criteria."
       }
      }
     },
     "auth_ref": [
      "r1166"
     ]
    },
    "dei_EntityFileNumber": {
     "xbrltype": "fileNumberItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityFileNumber",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity File Number",
        "terseLabel": "Entity 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.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Entity Filer Category",
        "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": [
      "r1166"
     ]
    },
    "dei_EntityIncorporationStateCountryCode": {
     "xbrltype": "edgarStateCountryItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityIncorporationStateCountryCode",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Entity Incorporation, State or Country Code",
        "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.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Interactive Data Current",
        "terseLabel": "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": [
      "r1250"
     ]
    },
    "dei_EntityRegistrantName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityRegistrantName",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Entity Registrant Name",
        "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": [
      "r1166"
     ]
    },
    "dei_EntityShellCompany": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityShellCompany",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Entity Shell Company",
        "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": [
      "r1166"
     ]
    },
    "dei_EntitySmallBusiness": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntitySmallBusiness",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Entity Small Business",
        "label": "Entity Small Business",
        "documentation": "Indicates that the company is a Smaller Reporting Company (SRC)."
       }
      }
     },
     "auth_ref": [
      "r1166"
     ]
    },
    "dei_EntityTaxIdentificationNumber": {
     "xbrltype": "employerIdItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityTaxIdentificationNumber",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Entity Tax Identification Number",
        "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": [
      "r1166"
     ]
    },
    "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": [
      "r1205"
     ]
    },
    "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": [
      "r1246"
     ]
    },
    "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": [
      "r1246"
     ]
    },
    "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": [
      "r1246"
     ]
    },
    "us-gaap_EquityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EquityAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EquityComponentDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EquityComponentDomain",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureShareholdersEquitySummaryOfCommonShareRepurchaseActivityParentheticalDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquityAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInShareholdersEquityUnaudited",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInShareholdersEquityUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Equity Component",
        "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": [
      "r6",
      "r176",
      "r183",
      "r184",
      "r206",
      "r207",
      "r208",
      "r241",
      "r242",
      "r243",
      "r246",
      "r255",
      "r258",
      "r260",
      "r286",
      "r373",
      "r376",
      "r396",
      "r441",
      "r472",
      "r523",
      "r537",
      "r538",
      "r550",
      "r551",
      "r552",
      "r555",
      "r564",
      "r565",
      "r646",
      "r648",
      "r649",
      "r650",
      "r651",
      "r653",
      "r654",
      "r655",
      "r656",
      "r657",
      "r668",
      "r717",
      "r718",
      "r719",
      "r720",
      "r721",
      "r722",
      "r728",
      "r730",
      "r736",
      "r828",
      "r859",
      "r860",
      "r861",
      "r885",
      "r966"
     ]
    },
    "pmt_EquityDistributionAgreementMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "EquityDistributionAgreementMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquityAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Equity Distribution Agreement [Member]",
        "label": "Equity Distribution Agreement [Member]",
        "documentation": "Equity Distribution Agreement."
       }
      }
     },
     "auth_ref": []
    },
    "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": [
      "r1215"
     ]
    },
    "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": [
      "r1173",
      "r1183",
      "r1193",
      "r1225"
     ]
    },
    "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": [
      "r1170",
      "r1180",
      "r1190",
      "r1222"
     ]
    },
    "pmt_EstablishedPercentageOfUnpaidPrincipalBalanceOfMortgageLoansSoldUnderRecourseObligationLosses": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "EstablishedPercentageOfUnpaidPrincipalBalanceOfMortgageLoansSoldUnderRecourseObligationLosses",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Initially established percentage of unpaid principal balance of loans sold under recourse obligation losses",
        "label": "Established Percentage Of Unpaid Principal Balance Of Mortgage Loans Sold Under Recourse Obligation Losses",
        "documentation": "Established percentage of unpaid principal balance of mortgage loans sold under recourse obligation losses."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EstimateOfFairValueFairValueDisclosureMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "EstimateOfFairValueFairValueDisclosureMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueCarryingAndFairValuesOfNotesPayableSecuredByCreditRiskTransferAndMortgageServicingRightsAndExchangeableSeniorNotesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value [Member]",
        "label": "Estimate of Fair Value Measurement [Member]",
        "documentation": "Measured as an estimate of fair value."
       }
      }
     },
     "auth_ref": [
      "r428",
      "r699",
      "r700",
      "r709",
      "r1046",
      "r1099",
      "r1100"
     ]
    },
    "pmt_EstimatedLoansAtFairValueOfCashFlowsValuationDiscountedAnnualRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "EstimatedLoansAtFairValueOfCashFlowsValuationDiscountedAnnualRate",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Estimated loans at fair value of cash flows valuation, discounted annual rate",
        "label": "Estimated Loans At Fair Value Of Cash Flows Valuation Discounted Annual Rate",
        "documentation": "Estimated loans at fair value of cash flows valuation, discounted annual rate."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ExcessServicingSpreadRecaptureReceivedAsExcessServicingSpread": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ExcessServicingSpreadRecaptureReceivedAsExcessServicingSpread",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Excess Servicing Spread Recapture Received As Excess Servicing Spread",
        "verboseLabel": "ESS received pursuant to a recapture agreement with PFSI",
        "terseLabel": "Received pursuant to a recapture agreement",
        "documentation": "Represents excess servicing spread recapture received by the Company in settlement of its recapture agreement with an affiliate in compensation for the affiliate's refinancing of mortgage loans underlying excess servicing spread assets."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ExcessSpreadInvestmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ExcessSpreadInvestmentMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfChangesInFairValueIncludedInCurrentPeriodResultsOfOperationsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Excess servicing spread [Member]",
        "label": "Excess Spread Investment [Member]",
        "documentation": "Excess Spread Investment [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ExchangeRate": {
     "xbrltype": "decimalItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ExchangeRate",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToExchangeableSeniorNotesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Exchange Rate",
        "documentation": "Exchange rate.",
        "terseLabel": "Exchange rates"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ExchangeableNotesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ExchangeableNotesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToUnsecuredSeniorNotesParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Exchangeable Notes [Member]",
        "label": "Exchangeable Notes [Member]",
        "documentation": "Exchangeable notes."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ExchangeableSeniorNotesAndTwoThousandTwentyThreeSeniorNotesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ExchangeableSeniorNotesAndTwoThousandTwentyThreeSeniorNotesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToUnsecuredSeniorNotesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Exchangeable senior notes and 2023 senior notes.",
        "label": "Exchangeable Senior Notes and Two Thousand Twenty Three Senior Notes [Member]",
        "terseLabel": "Exchangeable Senior Notes and 2023 Senior Notes [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ExchangeableSeniorNotesDueTwoThousandAndTwentyFourAndTwoThousandAndTwentySixMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ExchangeableSeniorNotesDueTwoThousandAndTwentyFourAndTwoThousandAndTwentySixMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2024 Exchangeable Notes and 2026 Exchangeable Notes [Member]",
        "label": "Exchangeable Senior Notes Due Two Thousand And Twenty Four And Two Thousand And Twenty Six [Member]",
        "documentation": "Exchangeable senior notes due two thousand and twenty four and two thousand and twenty six."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ExchangeableSeniorNotesDueTwoThousandAndTwentyFourMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ExchangeableSeniorNotesDueTwoThousandAndTwentyFourMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Exchangeable Senior Notes due November 1, 2024 [Member]",
        "label": "Exchangeable Senior Notes Due Two Thousand And Twenty Four [Member]",
        "documentation": "Exchangeable senior notes due two thousand and twenty four."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ExchangeableSeniorNotesDueTwoThousandAndTwentySixMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ExchangeableSeniorNotesDueTwoThousandAndTwentySixMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Exchangeable Senior Notes due March 15, 2026 [Member]",
        "label": "Exchangeable Senior Notes Due Two Thousand And Twenty Six [Member]",
        "documentation": "Exchangeable senior notes due two thousand and twenty six."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ExchangeableSeniorNotesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ExchangeableSeniorNotesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToExchangeableSeniorNotesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToExchangeableSeniorNotesParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToUnsecuredSeniorNotesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtScheduleOfContractualMaturitiesOnLongTermDebtObligationsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfTermNoteIssuedToQualifiedInstitutionalBuyersDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Exchangeable Senior Notes [Member]",
        "documentation": "Exchangeable senior notes.",
        "terseLabel": "Exchangeable Senior Notes [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ExchangeableSeniorNotesPerNotePrincipalAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ExchangeableSeniorNotesPerNotePrincipalAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToExchangeableSeniorNotesParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Exchangeable Senior Notes Per Note Principal Amount",
        "label": "Exchangeable Senior Notes Per Note Principal Amount",
        "documentation": "Exchangeable Senior Notes Per Note Principal Amount",
        "verboseLabel": "Principal amount"
       }
      }
     },
     "auth_ref": []
    },
    "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": [
      "r1221"
     ]
    },
    "pmt_ExpectedForfeitureRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ExpectedForfeitureRate",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Expected forfeiture rates based on grantees classifications",
        "terseLabel": "Expected Forfeiture Rate",
        "label": "Expected Forfeiture Rate",
        "documentation": "Expected forfeiture Rate."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FTOneNotesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FTOneNotesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "FT-1 Notes [Member]",
        "label": "F T One Notes [Member]",
        "documentation": "F T One notes."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueAdjustmentDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAdjustmentDisclosureAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Adjustment Disclosure [Abstract]",
        "terseLabel": "Changes in fair value included in income arising from:",
        "verboseLabel": "Changes in fair value included in income arising from:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueAssetRecurringBasisStillHeldUnrealizedGainLossStatementOfIncomeExtensibleList": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAssetRecurringBasisStillHeldUnrealizedGainLossStatementOfIncomeExtensibleList",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail"
     ],
     "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": [
      "r682",
      "r687",
      "r1129"
     ]
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueKeyInputsUsedInDeterminingFairValueOfIoDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfKeyUnobservableInputsUsedInValuationCreditRiskTransferStripLiabilitiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueKeyAssumptionsUsedInDeterminingFairValueOfMsrsAtTimeOfInitialRecognitionDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyAssumptionsUsedInValuationOfMsrsAsOfDatesPresentedAndEffectOnEstimatedFairValueFromAdverseChangesInThoseInputsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInReviewAndApprovalOfBrokerProvidedFairValuesForCRTDerivativesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInValuationOfInterestRateLockCommitmentsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfCarryingValueOfAssetsRemeasuredBasedOnFairValueOnNonrecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInFairValueRecognizedInAssetsThatRemeasuredAtFairValueOnNonrecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]",
        "label": "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [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": [
      "r672",
      "r673",
      "r686",
      "r1127"
     ]
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueKeyInputsUsedInDeterminingFairValueOfIoDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfKeyUnobservableInputsUsedInValuationCreditRiskTransferStripLiabilitiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueKeyAssumptionsUsedInDeterminingFairValueOfMsrsAtTimeOfInitialRecognitionDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyAssumptionsUsedInValuationOfMsrsAsOfDatesPresentedAndEffectOnEstimatedFairValueFromAdverseChangesInThoseInputsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInReviewAndApprovalOfBrokerProvidedFairValuesForCRTDerivativesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInValuationOfInterestRateLockCommitmentsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfCarryingValueOfAssetsRemeasuredBasedOnFairValueOnNonrecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInFairValueRecognizedInAssetsThatRemeasuredAtFairValueOnNonrecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Table]",
        "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": [
      "r672",
      "r673",
      "r686",
      "r1127"
     ]
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueCarryingAndFairValuesOfNotesPayableSecuredByCreditRiskTransferAndMortgageServicingRightsAndExchangeableSeniorNotesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]",
        "label": "Fair Value Measurement Inputs and Valuation Techniques [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": [
      "r674",
      "r675",
      "r676",
      "r1115",
      "r1117",
      "r1130"
     ]
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueCarryingAndFairValuesOfNotesPayableSecuredByCreditRiskTransferAndMortgageServicingRightsAndExchangeableSeniorNotesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Table]",
        "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": [
      "r674",
      "r675",
      "r676",
      "r1115",
      "r1117",
      "r1130"
     ]
    },
    "pmt_FairValueAssetsGainsLossesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FairValueAssetsGainsLossesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfChangesInFairValueIncludedInCurrentPeriodResultsOfOperationsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Assets, Total [Member]",
        "label": "Fair Value Assets Gains Losses [Member]",
        "documentation": "Fair Value Assets Gains Losses [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueAssetsMeasuredOnNonrecurringBasisTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAssetsMeasuredOnNonrecurringBasisTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Carrying Value of Financial Statement Items Remeasured Based on Fair Value on Nonrecurring Basis",
        "label": "Fair Value Measurements, Nonrecurring [Table Text Block]",
        "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": [
      "r1472",
      "r1473"
     ]
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Asset, Recurring Basis, Still Held, Unrealized Gain (Loss)",
        "terseLabel": "Changes in fair value recognized during the quarter relating to assets",
        "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": [
      "r682",
      "r687",
      "r1128",
      "r1129"
     ]
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAssetsMeasuredOnRecurringBasisTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Financial Statement Items Measured at Fair Value on Recurring Basis",
        "label": "Fair Value, Assets Measured on Recurring Basis [Table Text Block]",
        "documentation": "Tabular disclosure of assets, including [financial] instruments measured at fair value that are classified in stockholders' equity, if any, by class 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": [
      "r1472",
      "r1473"
     ]
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfChangesInFairValueIncludedInCurrentPeriodResultsOfOperationsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfKeyUnobservableInputsUsedInValuationCreditRiskTransferStripLiabilitiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForInvestmentAtFairValueSummaryOfDistributionOfCompanysLoansHeldForInvestmentAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForSaleAtFairValueSummaryOfDistributionOfCompanysLoansHeldForSaleAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetLossesGainsOnInvestmentsAndFinancingsSummaryOfNetLossesGainsOnInvestmentsAndFinancingsDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureOtherAssetsSummaryOfOtherAssetsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfLoanServicingFeesEarnedAndMortgageServicingRightsRecapturedIncomeEarnedDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Asset Class",
        "label": "Asset Class [Domain]",
        "documentation": "Class of asset."
       }
      }
     },
     "auth_ref": [
      "r677",
      "r678",
      "r679",
      "r680",
      "r681",
      "r682",
      "r687",
      "r1046",
      "r1128",
      "r1137"
     ]
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Changes in Items Measured Using Level 3 Inputs on Recurring Basis",
        "label": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Table Text Block]",
        "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": [
      "r677",
      "r682",
      "r687",
      "r1128"
     ]
    },
    "us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForSaleAtFairValueSummaryOfDistributionOfCompanysLoansHeldForSaleAtFairValueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]",
        "label": "Fair Value, Balance Sheet Grouping, Financial Statement Captions [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": [
      "r699",
      "r700",
      "r701",
      "r1046",
      "r1137",
      "r1490"
     ]
    },
    "us-gaap_FairValueByAssetClassAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueByAssetClassAxis",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfChangesInFairValueIncludedInCurrentPeriodResultsOfOperationsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfKeyUnobservableInputsUsedInValuationCreditRiskTransferStripLiabilitiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForInvestmentAtFairValueSummaryOfDistributionOfCompanysLoansHeldForInvestmentAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForSaleAtFairValueSummaryOfDistributionOfCompanysLoansHeldForSaleAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetLossesGainsOnInvestmentsAndFinancingsSummaryOfNetLossesGainsOnInvestmentsAndFinancingsDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureOtherAssetsSummaryOfOtherAssetsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfLoanServicingFeesEarnedAndMortgageServicingRightsRecapturedIncomeEarnedDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Asset Class",
        "label": "Asset Class [Axis]",
        "documentation": "Information by class of asset."
       }
      }
     },
     "auth_ref": [
      "r677",
      "r678",
      "r679",
      "r680",
      "r681",
      "r682",
      "r687",
      "r1046",
      "r1128",
      "r1137"
     ]
    },
    "us-gaap_FairValueByBalanceSheetGroupingTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueByBalanceSheetGroupingTable",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForSaleAtFairValueSummaryOfDistributionOfCompanysLoansHeldForSaleAtFairValueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value By Balance Sheet Grouping [Table]",
        "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": [
      "r699",
      "r701",
      "r1046",
      "r1137",
      "r1488",
      "r1490"
     ]
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfCarryingValueOfAssetsRemeasuredBasedOnFairValueOnNonrecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Level 1 [Member]",
        "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": [
      "r428",
      "r474",
      "r475",
      "r476",
      "r477",
      "r478",
      "r479",
      "r481",
      "r482",
      "r671",
      "r673",
      "r674",
      "r675",
      "r676",
      "r685",
      "r686",
      "r688",
      "r699",
      "r751",
      "r752",
      "r753",
      "r1046",
      "r1099",
      "r1100",
      "r1107",
      "r1108",
      "r1109",
      "r1110",
      "r1111",
      "r1127",
      "r1130",
      "r1137"
     ]
    },
    "us-gaap_FairValueByMeasurementBasisAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueByMeasurementBasisAxis",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueCarryingAndFairValuesOfNotesPayableSecuredByCreditRiskTransferAndMortgageServicingRightsAndExchangeableSeniorNotesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measurement Basis [Axis]",
        "documentation": "Information by measurement basis."
       }
      }
     },
     "auth_ref": [
      "r428",
      "r699",
      "r700",
      "r701",
      "r709",
      "r712",
      "r713",
      "r1046",
      "r1099",
      "r1100",
      "r1490"
     ]
    },
    "us-gaap_FairValueByMeasurementFrequencyAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueByMeasurementFrequencyAxis",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfCarryingValueOfAssetsRemeasuredBasedOnFairValueOnNonrecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInFairValueRecognizedInAssetsThatRemeasuredAtFairValueOnNonrecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Recurring [Member]",
        "label": "Measurement Frequency [Axis]",
        "documentation": "Information by measurement frequency."
       }
      }
     },
     "auth_ref": [
      "r672",
      "r673",
      "r674",
      "r676",
      "r1127",
      "r1475",
      "r1486"
     ]
    },
    "us-gaap_FairValueConcentrationOfRiskDisclosureItemsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueConcentrationOfRiskDisclosureItemsAxis",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyAssumptionsUsedInValuationOfMsrsAsOfDatesPresentedAndEffectOnEstimatedFairValueFromAdverseChangesInThoseInputsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Concentration of Credit or Market Risk",
        "label": "Concentration of Credit or Market Risk [Axis]",
        "documentation": "Information by type of credit or market risk."
       }
      }
     },
     "auth_ref": [
      "r702",
      "r704",
      "r1255"
     ]
    },
    "us-gaap_FairValueConcentrationOfRiskDisclosureItemsDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueConcentrationOfRiskDisclosureItemsDomain",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyAssumptionsUsedInValuationOfMsrsAsOfDatesPresentedAndEffectOnEstimatedFairValueFromAdverseChangesInThoseInputsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value, Concentration of Risk, Disclosure Items",
        "label": "Fair Value, Concentration of Risk, Disclosure Items [Domain]",
        "documentation": "Provides the general information items required or determined to be disclosed with respect to all significant concentrations of risk, including credit risk and market risk, arising from all financial instruments (as defined), whether from an individual counterparty or groups of counterparties."
       }
      }
     },
     "auth_ref": [
      "r702",
      "r704",
      "r1255"
     ]
    },
    "us-gaap_FairValueDisclosureItemAmountsDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueDisclosureItemAmountsDomain",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueCarryingAndFairValuesOfNotesPayableSecuredByCreditRiskTransferAndMortgageServicingRightsAndExchangeableSeniorNotesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Measurement [Domain]",
        "documentation": "Measurement basis, for example, but not limited to, reported value, fair value, portion at fair value, portion at other than fair value."
       }
      }
     },
     "auth_ref": [
      "r428",
      "r1099",
      "r1100"
     ]
    },
    "us-gaap_FairValueDisclosuresAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueDisclosuresAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Disclosures [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueDisclosuresTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueDisclosuresTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value",
        "label": "Fair Value Disclosures [Text Block]",
        "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": [
      "r674",
      "r681",
      "r683",
      "r684",
      "r685",
      "r688",
      "r689",
      "r690",
      "r691",
      "r692",
      "r796",
      "r1127",
      "r1131"
     ]
    },
    "pmt_FairValueInputAnnualPerLoanCostOfServicing": {
     "xbrltype": "decimalItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FairValueInputAnnualPerLoanCostOfServicing",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyAssumptionsUsedInValuationOfMsrsAsOfDatesPresentedAndEffectOnEstimatedFairValueFromAdverseChangesInThoseInputsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value input annual per loan cost of servicing.",
        "label": "Fair Value Input Annual Per Loan Cost Of Servicing",
        "terseLabel": "Estimated fair value inputs, Annual per-loan cost of servicing"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FairValueInputAnnualPerLoanCostOfServicingDuringPeriod": {
     "xbrltype": "decimalItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FairValueInputAnnualPerLoanCostOfServicingDuringPeriod",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueKeyAssumptionsUsedInDeterminingFairValueOfMsrsAtTimeOfInitialRecognitionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value inputs, Annual per loan cost of servicing during period",
        "documentation": "Fair value input annual per loan cost of servicing during period.",
        "label": "Fair Value Input Annual Per Loan Cost Of Servicing During Period"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FairValueInputCostOfServicingMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FairValueInputCostOfServicingMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyAssumptionsUsedInValuationOfMsrsAsOfDatesPresentedAndEffectOnEstimatedFairValueFromAdverseChangesInThoseInputsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cost of Servicing [Member]",
        "label": "Fair Value Input Cost Of Servicing [Member]",
        "documentation": "Cost of servicing."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FairValueInputEffectOnValueOfPercentageAdverseChange": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FairValueInputEffectOnValueOfPercentageAdverseChange",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyAssumptionsUsedInValuationOfMsrsAsOfDatesPresentedAndEffectOnEstimatedFairValueFromAdverseChangesInThoseInputsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Effect on value of percentage adverse change, Fair value input",
        "label": "Fair Value Input Effect On Value Of Percentage Adverse Change",
        "documentation": "Effect on fair value of MSRs carried at fair value of a specified adverse change in the value of an input."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FairValueInputPrepaymentSpeedMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FairValueInputPrepaymentSpeedMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyAssumptionsUsedInValuationOfMsrsAsOfDatesPresentedAndEffectOnEstimatedFairValueFromAdverseChangesInThoseInputsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Prepayment Speed [Member]",
        "label": "Fair Value Input Prepayment Speed [Member]",
        "documentation": "Prepayment speed."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FairValueInputPricingSpreadMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FairValueInputPricingSpreadMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyAssumptionsUsedInValuationOfMsrsAsOfDatesPresentedAndEffectOnEstimatedFairValueFromAdverseChangesInThoseInputsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Pricing Spread [Member]",
        "label": "Fair Value Input Pricing Spread [Member]",
        "documentation": "Pricing spread."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FairValueInputWeightedAverageLife": {
     "xbrltype": "durationItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FairValueInputWeightedAverageLife",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueKeyInputsUsedInDeterminingFairValueOfIoDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyAssumptionsUsedInValuationOfMsrsAsOfDatesPresentedAndEffectOnEstimatedFairValueFromAdverseChangesInThoseInputsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Estimated fair value inputs, Life (in years)",
        "label": "Fair Value Input Weighted Average Life",
        "documentation": "Represents the average life of the ESS asset based on its prepayment speed input.",
        "terseLabel": "Fair value inputs, Equivalent life (in years)"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FairValueInputsAndSensitivityAnalysisOfFairValueAdverseChangeInAssumptionsAtPeriodEndTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FairValueInputsAndSensitivityAnalysisOfFairValueAdverseChangeInAssumptionsAtPeriodEndTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Quantitative Summary of Key Assumptions Used in Valuation of MSRs as of Dates Presented, and Effect on Estimated Fair Value from Adverse Changes in Those Inputs",
        "label": "Fair Value Inputs And Sensitivity Analysis Of Fair Value Adverse Change In Assumptions At Period End Table [Text Block]",
        "documentation": "Fair Value Inputs And Sensitivity Analysis Of Fair Value Adverse Change In Assumptions At Period End [Table Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FairValueInputsAnnualPerLoanCostOfServicing": {
     "xbrltype": "perUnitItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FairValueInputsAnnualPerLoanCostOfServicing",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyAssumptionsUsedInValuationOfMsrsAsOfDatesPresentedAndEffectOnEstimatedFairValueFromAdverseChangesInThoseInputsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Estimated fair value inputs, Annual per-loan cost of servicing",
        "label": "Fair Value Inputs Annual Per Loan Cost Of Servicing",
        "documentation": "Annual per loan cost of servicing. fair value input relating to mortgage loans underlying MSRs accounted for at fair value."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FairValueInputsAnnualPrepaymentSpeed": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FairValueInputsAnnualPrepaymentSpeed",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueKeyInputsUsedInDeterminingFairValueOfIoDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyAssumptionsUsedInValuationOfMsrsAsOfDatesPresentedAndEffectOnEstimatedFairValueFromAdverseChangesInThoseInputsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Estimated fair value inputs, Prepayment speed",
        "label": "Fair Value Inputs Annual Prepayment Speed",
        "documentation": "Fair value inputs, annual total prepayment speed.",
        "terseLabel": "Fair value inputs, Prepayment speed"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FairValueInputsInvoluntaryPrepaymentSpeed": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FairValueInputsInvoluntaryPrepaymentSpeed",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInReviewAndApprovalOfBrokerProvidedFairValuesForCRTDerivativesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Key inputs used in fair value for CRT agreements",
        "label": "Fair Value Inputs Involuntary Prepayment Speed",
        "documentation": "Fair value inputs involuntary prepayment speed."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueInputsLevel1Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueInputsLevel1Member",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfCarryingValueOfAssetsRemeasuredBasedOnFairValueOnNonrecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Level 1 [Member]",
        "label": "Fair Value, Inputs, Level 1 [Member]",
        "documentation": "Quoted prices in active markets for identical assets or liabilities that the reporting entity can access at the measurement date."
       }
      }
     },
     "auth_ref": [
      "r428",
      "r474",
      "r479",
      "r481",
      "r673",
      "r686",
      "r699",
      "r751",
      "r1046",
      "r1107",
      "r1108",
      "r1109",
      "r1110",
      "r1111",
      "r1127",
      "r1137"
     ]
    },
    "us-gaap_FairValueInputsLevel2Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueInputsLevel2Member",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfCarryingValueOfAssetsRemeasuredBasedOnFairValueOnNonrecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Level 2 [Member]",
        "label": "Fair Value, Inputs, Level 2 [Member]",
        "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": [
      "r428",
      "r474",
      "r479",
      "r481",
      "r483",
      "r673",
      "r674",
      "r686",
      "r699",
      "r752",
      "r1046",
      "r1099",
      "r1100",
      "r1107",
      "r1108",
      "r1109",
      "r1110",
      "r1111",
      "r1127",
      "r1137"
     ]
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueInputsLevel3Member",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfCarryingValueOfAssetsRemeasuredBasedOnFairValueOnNonrecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Level 3 [Member]",
        "label": "Fair Value, Inputs, Level 3 [Member]",
        "documentation": "Unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing."
       }
      }
     },
     "auth_ref": [
      "r428",
      "r474",
      "r475",
      "r476",
      "r477",
      "r478",
      "r479",
      "r481",
      "r482",
      "r673",
      "r674",
      "r675",
      "r676",
      "r686",
      "r699",
      "r753",
      "r1046",
      "r1099",
      "r1100",
      "r1107",
      "r1108",
      "r1109",
      "r1110",
      "r1111",
      "r1127",
      "r1130",
      "r1137"
     ]
    },
    "pmt_FairValueInputsOption-AdjustedSpread": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FairValueInputsOption-AdjustedSpread",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueKeyInputsUsedInDeterminingFairValueOfIoDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Inputs Option-Adjusted Spread",
        "documentation": "Fair value inputs option-adjusted spread."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FairValueInputsOptionAdjustedSpread": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FairValueInputsOptionAdjustedSpread",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyAssumptionsUsedInValuationOfMsrsAsOfDatesPresentedAndEffectOnEstimatedFairValueFromAdverseChangesInThoseInputsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Inputs Option Adjusted Spread",
        "documentation": "Fair value inputs option adjusted spread.",
        "terseLabel": "Estimated fair value inputs, Option-adjusted spread"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FairValueInputsPrepaymentSpeedDuringPeriod": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FairValueInputsPrepaymentSpeedDuringPeriod",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueKeyAssumptionsUsedInDeterminingFairValueOfMsrsAtTimeOfInitialRecognitionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value inputs, Prepayment speed during period",
        "label": "Fair Value Inputs Prepayment Speed During Period",
        "documentation": "Prepayment speed input applied to MSR cash flows in estimating the value of new MSRs carried at fair value during the period."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FairValueInputsPricingSpread": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FairValueInputsPricingSpread",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueKeyInputsUsedInDeterminingFairValueOfIoDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyAssumptionsUsedInValuationOfMsrsAsOfDatesPresentedAndEffectOnEstimatedFairValueFromAdverseChangesInThoseInputsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Estimated fair value inputs, Pricing spread",
        "label": "Fair Value Inputs Pricing Spread",
        "documentation": "Fair value inputs pricing spread.",
        "verboseLabel": "Fair value inputs, Pricing spread"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FairValueInputsPricingSpreadDuringPeriod": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FairValueInputsPricingSpreadDuringPeriod",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueKeyAssumptionsUsedInDeterminingFairValueOfMsrsAtTimeOfInitialRecognitionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Fair Value inputs, Pricing spread during period",
        "label": "Fair Value Inputs Pricing Spread During Period",
        "documentation": "Pricing spread applied to reference discount rate applied to ESS cash flows in estimating the value of ESS added during the period."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FairValueInputsRemainingLossExpectation": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FairValueInputsRemainingLossExpectation",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInReviewAndApprovalOfBrokerProvidedFairValuesForCRTDerivativesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Key inputs used in fair value for CRT agreements",
        "label": "Fair Value Inputs Remaining Loss Expectation",
        "documentation": "Fair value inputs remaining loss expectation."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FairValueInputsVoluntaryPrepaymentSpeed": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FairValueInputsVoluntaryPrepaymentSpeed",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInReviewAndApprovalOfBrokerProvidedFairValuesForCRTDerivativesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Key inputs used in fair value for CRT agreements",
        "label": "Fair Value Inputs Voluntary Prepayment Speed",
        "documentation": "Fair value inputs voluntary prepayment speed."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FairValueInputsWeightedAverageLifeDuringPeriod": {
     "xbrltype": "durationItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FairValueInputsWeightedAverageLifeDuringPeriod",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueKeyAssumptionsUsedInDeterminingFairValueOfMsrsAtTimeOfInitialRecognitionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value inputs, Weighted average equivalent average life during period",
        "label": "Fair Value Inputs Weighted Average Life During Period",
        "documentation": "Weighted average life input applied to MSR cash flows in estimating the value of MSRs carried at fair value added during the period."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisChangeInUnrealizedGainLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisChangeInUnrealizedGainLoss",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Liability, Recurring Basis, Still Held, Unrealized Gain (Loss)",
        "terseLabel": "Change in fair value recognized during the quarter relating to liability",
        "documentation": "Amount of unrealized gain (loss) recognized in income from liability measured at fair value on recurring basis using unobservable input (level 3) and still held."
       }
      }
     },
     "auth_ref": [
      "r682",
      "r687"
     ]
    },
    "pmt_FairValueLiabilitiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FairValueLiabilitiesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfChangesInFairValueIncludedInCurrentPeriodResultsOfOperationsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Liabilities, Total [Member]",
        "label": "Fair Value Liabilities [Member]",
        "documentation": "Fair value liabilities."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueMeasurementFrequencyDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueMeasurementFrequencyDomain",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfCarryingValueOfAssetsRemeasuredBasedOnFairValueOnNonrecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInFairValueRecognizedInAssetsThatRemeasuredAtFairValueOnNonrecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Measurement Frequency",
        "label": "Measurement Frequency [Domain]",
        "documentation": "Measurement frequency."
       }
      }
     },
     "auth_ref": [
      "r672",
      "r673",
      "r674",
      "r676",
      "r1127",
      "r1475",
      "r1486"
     ]
    },
    "us-gaap_FairValueMeasurementPolicyPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueMeasurementPolicyPolicyTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureOrganizationAndBasisOfPresentationAndRecentlyIssuedAccountingPronouncementsPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value",
        "label": "Fair Value Measurement, Policy [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for fair value measurements of financial and non-financial assets, liabilities and instruments classified in shareholders' equity. Disclosures include, but are not limited to, how an entity that manages a group of financial assets and liabilities on the basis of its net exposure measures the fair value of those assets and liabilities."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAccrualOfUnearnedDiscount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAccrualOfUnearnedDiscount",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value measurement with unobservable inputs reconciliation recurring basis accrual of unearned discount.",
        "label": "Fair value measurement with unobservable inputs reconciliation recurring basis accrual of unearned discount",
        "terseLabel": "Accrual of unearned discount"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Gain (Loss) Included in Earnings",
        "documentation": "Amount of gain (loss) recognized in income from asset measured at fair value on recurring basis using unobservable input (level 3)."
       }
      }
     },
     "auth_ref": [
      "r678",
      "r687",
      "r1128",
      "r1129"
     ]
    },
    "pmt_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchasesAndIssuances": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchasesAndIssuances",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Purchases and issuances",
        "label": "Fair Value Measurement With Unobservable Inputs Reconciliation Recurring Basis Asset Purchases And Issuances",
        "documentation": "Fair Value Measurement with Unobservable Inputs Reconciliation Recurring Basis Asset Purchases And Issuances"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSalesAndSettlements": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSalesAndSettlements",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Repayments and sales",
        "terseLabel": "Repayments and sales",
        "label": "Fair Value Measurement With Unobservable Inputs Reconciliation Recurring Basis Asset Sales And Settlements",
        "documentation": "Fair value measurement with unobservable inputs reconciliation recurring basis asset sales and settlements."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInValuationOfInterestRateLockCommitmentsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair value",
        "periodStartLabel": "Beginning balance",
        "periodEndLabel": "Ending balance",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset Value",
        "verboseLabel": "Fair value, Assets",
        "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": [
      "r677",
      "r687",
      "r1128"
     ]
    },
    "pmt_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisCapitalizationOfInterestAndFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisCapitalizationOfInterestAndFees",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Capitalization of interest and fees",
        "label": "Fair Value Measurement With Unobservable Inputs Reconciliation Recurring Basis Capitalization Of Interest And Fees",
        "documentation": "Fair value measurement with unobservable inputs reconciliation recurring basis capitalization of interest and fees."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Gain (Loss) Included in Earnings",
        "terseLabel": "Change in instrument-specific credit risk\\Other factors",
        "documentation": "Amount of gain (loss) recognized in income from liability measured at fair value on recurring basis using unobservable input (level 3)."
       }
      }
     },
     "auth_ref": [
      "r678",
      "r687"
     ]
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInValuationOfInterestRateLockCommitmentsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodStartLabel": "Beginning balance",
        "periodEndLabel": "Ending balance",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability Value",
        "terseLabel": "Fair value of liabilities",
        "negatedLabel": "Fair value, Liabilities",
        "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": [
      "r677",
      "r687"
     ]
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfCarryingValueOfAssetsRemeasuredBasedOnFairValueOnNonrecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value Hierarchy and NAV",
        "label": "Fair Value Hierarchy and NAV [Domain]",
        "documentation": "Categories used to prioritize the inputs to valuation techniques to measure fair value."
       }
      }
     },
     "auth_ref": [
      "r428",
      "r474",
      "r475",
      "r476",
      "r477",
      "r478",
      "r479",
      "r481",
      "r482",
      "r671",
      "r673",
      "r674",
      "r675",
      "r676",
      "r685",
      "r686",
      "r688",
      "r699",
      "r751",
      "r752",
      "r753",
      "r1046",
      "r1099",
      "r1100",
      "r1107",
      "r1108",
      "r1109",
      "r1110",
      "r1111",
      "r1127",
      "r1130",
      "r1137"
     ]
    },
    "us-gaap_FairValueMeasurementsNonrecurringMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueMeasurementsNonrecurringMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfCarryingValueOfAssetsRemeasuredBasedOnFairValueOnNonrecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInFairValueRecognizedInAssetsThatRemeasuredAtFairValueOnNonrecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Nonrecurring [Member]",
        "label": "Fair Value, Nonrecurring [Member]",
        "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": [
      "r672",
      "r673",
      "r674",
      "r676",
      "r1127",
      "r1475"
     ]
    },
    "us-gaap_FairValueMeasurementsRecurringMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueMeasurementsRecurringMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Recurring [Member]",
        "label": "Fair Value, Recurring [Member]",
        "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": [
      "r1127",
      "r1472",
      "r1473",
      "r1474",
      "r1475",
      "r1476",
      "r1486"
     ]
    },
    "pmt_FairValueOfCreditRiskTransferDerivatives": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FairValueOfCreditRiskTransferDerivatives",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInReviewAndApprovalOfBrokerProvidedFairValuesForCRTDerivativesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of credit risk transfer derivatives.",
        "label": "Fair Value Of Credit Risk Transfer Derivatives",
        "terseLabel": "Fair value"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FairValueOfCreditRiskTransferDerivativesLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FairValueOfCreditRiskTransferDerivativesLiabilities",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfKeyUnobservableInputsUsedInValuationCreditRiskTransferStripLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair value of CRT derivatives liabilities",
        "label": "Fair Value Of Credit Risk Transfer Derivatives Liabilities",
        "documentation": "Fair value of credit risk transfer derivatives liabilities."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueOptionChangesInFairValueGainLoss1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueOptionChangesInFairValueGainLoss1",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfChangesInFairValueIncludedInCurrentPeriodResultsOfOperationsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Option, Changes in Fair Value, Gain (Loss)",
        "terseLabel": "Changes in fair value included in current period income (expense)",
        "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": [
      "r713",
      "r715",
      "r1046",
      "r1137"
     ]
    },
    "us-gaap_FairValueOptionCreditRiskGainsLossesOnAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueOptionCreditRiskGainsLossesOnAssets",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail": {
       "parentTag": "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Changes in instrument-specific credit risk",
        "label": "Fair Value, Option, Credit Risk, Gains (Losses) on Assets",
        "documentation": "This item represents the estimated amount of gains or losses included in earnings during the period attributable to changes in instrument-specific credit risk arising from loans and other receivables held as assets."
       }
      }
     },
     "auth_ref": [
      "r714"
     ]
    },
    "us-gaap_FairValueOptionLoansHeldAsAssetsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueOptionLoansHeldAsAssetsAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueFairValuesAndRelatedPrincipalAmountsDueUponMaturityOfLoansAccountedForUnderFairValueOptionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Option, Loans Held as Assets [Abstract]",
        "terseLabel": "Loans, fair value [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueOptionLoansHeldAsAssetsAggregateDifference": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueOptionLoansHeldAsAssetsAggregateDifference",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueFairValuesAndRelatedPrincipalAmountsDueUponMaturityOfLoansAccountedForUnderFairValueOptionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Difference",
        "label": "Fair Value, Option, Loans Held as Assets, Aggregate Difference",
        "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 or more past due, in nonaccrual status, or both."
       }
      }
     },
     "auth_ref": [
      "r711"
     ]
    },
    "us-gaap_FairValueOptionLoansHeldAsAssetsAggregateDifferenceAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueOptionLoansHeldAsAssetsAggregateDifferenceAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueFairValuesAndRelatedPrincipalAmountsDueUponMaturityOfLoansAccountedForUnderFairValueOptionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Loans, difference, [Abstract]",
        "label": "Fair Value, Option, Loans Held as Assets, Aggregate Difference [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FairValueOptionLoansHeldAsAssetsAggregateFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FairValueOptionLoansHeldAsAssetsAggregateFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueFairValuesAndRelatedPrincipalAmountsDueUponMaturityOfLoansAccountedForUnderFairValueOptionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Fair value",
        "label": "Fair Value Option Loans Held As Assets Aggregate Fair Value",
        "documentation": "Total fair value of mortgage loans carried at fair value under the fair value option."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FairValueOptionLoansHeldAsAssetsInForeclosureAggregateDifference": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FairValueOptionLoansHeldAsAssetsInForeclosureAggregateDifference",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueFairValuesAndRelatedPrincipalAmountsDueUponMaturityOfLoansAccountedForUnderFairValueOptionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "90 or more days delinquent, in foreclosure",
        "label": "Fair Value Option Loans Held As Assets In Foreclosure Aggregate Difference",
        "documentation": "Aggregate difference between fair value and unpaid principal balance mortgage loans carried at fair value under the fair value option, more than 90 days past due and in foreclosure."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FairValueOptionLoansHeldAsAssetsInForeclosureAggregateFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FairValueOptionLoansHeldAsAssetsInForeclosureAggregateFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueFairValuesAndRelatedPrincipalAmountsDueUponMaturityOfLoansAccountedForUnderFairValueOptionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "90 or more days delinquent, in foreclosure",
        "label": "Fair Value Option Loans Held As Assets In Foreclosure Aggregate Fair Value",
        "documentation": "Fair value of mortgage loans carried at fair value under the fair value option, more than 90 days past due and in foreclosure."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FairValueOptionLoansHeldAsAssetsNinetyDaysOrLessPastDue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FairValueOptionLoansHeldAsAssetsNinetyDaysOrLessPastDue",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueFairValuesAndRelatedPrincipalAmountsDueUponMaturityOfLoansAccountedForUnderFairValueOptionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Current through 89 days delinquent",
        "label": "Fair Value Option Loans Held As Assets Ninety Days Or Less Past Due",
        "documentation": "Fair value of mortgage loans carried at fair value under the fair value option and less than 90 days past due."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FairValueOptionLoansHeldAsAssetsNinetyDaysOrLessPastDueAggregateDifference": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FairValueOptionLoansHeldAsAssetsNinetyDaysOrLessPastDueAggregateDifference",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueFairValuesAndRelatedPrincipalAmountsDueUponMaturityOfLoansAccountedForUnderFairValueOptionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Current through 89 days delinquent",
        "label": "Fair Value Option Loans Held As Assets Ninety Days Or Less Past Due Aggregate Difference",
        "documentation": "Aggregate difference between fair value and unpaid principal balance mortgage loans carried at fair value under the fair value option and less than 90 days past due."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FairValueOptionLoansHeldAsAssetsNotInForeclosureAggregateDifference": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FairValueOptionLoansHeldAsAssetsNotInForeclosureAggregateDifference",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueFairValuesAndRelatedPrincipalAmountsDueUponMaturityOfLoansAccountedForUnderFairValueOptionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "90 or more days delinquent, not in foreclosure",
        "label": "Fair Value Option Loans Held As Assets Not In Foreclosure Aggregate Difference",
        "documentation": "Aggregate difference between fair value and unpaid principal balance mortgage loans carried at fair value under the fair value option, more than 90 days past due and not in foreclosure."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FairValueOptionLoansHeldAsAssetsNotInForeclosureAggregateFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FairValueOptionLoansHeldAsAssetsNotInForeclosureAggregateFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueFairValuesAndRelatedPrincipalAmountsDueUponMaturityOfLoansAccountedForUnderFairValueOptionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "90 or more days delinquent, not in foreclosure",
        "label": "Fair Value Option Loans Held As Assets Not In Foreclosure Aggregate Fair Value",
        "documentation": "Fair value of mortgage loans carried at fair value under the fair value option, more than 90 days past due and not in foreclosure."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FairValueOptionNonCreditRiskGainsLossesOnAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FairValueOptionNonCreditRiskGainsLossesOnAssets",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail": {
       "parentTag": "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Changes in fair value of mortgage loans attributable to changes in inputs other than credit.",
        "label": "Fair Value Option Non Credit Risk Gains Losses On Assets",
        "terseLabel": "Other factors"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueOptionQuantitativeDisclosuresLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueOptionQuantitativeDisclosuresLineItems",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfChangesInFairValueIncludedInCurrentPeriodResultsOfOperationsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueFairValuesAndRelatedPrincipalAmountsDueUponMaturityOfLoansAccountedForUnderFairValueOptionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value, Option, Quantitative Disclosures [Line Items]",
        "label": "Fair Value, Option, Quantitative Disclosures [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": [
      "r709",
      "r710",
      "r713",
      "r715",
      "r1046",
      "r1137"
     ]
    },
    "us-gaap_FairValueOptionQuantitativeDisclosuresTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueOptionQuantitativeDisclosuresTable",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfChangesInFairValueIncludedInCurrentPeriodResultsOfOperationsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueFairValuesAndRelatedPrincipalAmountsDueUponMaturityOfLoansAccountedForUnderFairValueOptionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value Option Quantitative Disclosures [Table]",
        "label": "Fair Value Option, Disclosures [Table]",
        "documentation": "Disclosure of information about asset and liability measured at fair value under fair value option."
       }
      }
     },
     "auth_ref": [
      "r709",
      "r710",
      "r713",
      "r1046",
      "r1137",
      "r1495"
     ]
    },
    "us-gaap_FairValueOptionQuantitativeDisclosuresTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueOptionQuantitativeDisclosuresTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Values and Related Principal Amounts Due upon Maturity of Mortgage Loans Accounted for Under Fair Value Option",
        "label": "Fair Value Option, Disclosures [Table Text Block]",
        "documentation": "Tabular disclosure of information about asset and liability measured at fair value under fair value option."
       }
      }
     },
     "auth_ref": [
      "r1046",
      "r1137",
      "r1491",
      "r1494",
      "r1495"
     ]
    },
    "us-gaap_FairValueRecurringBasisUnobservableInputReconciliationAssetGainLossStatementOfIncomeExtensibleList": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueRecurringBasisUnobservableInputReconciliationAssetGainLossStatementOfIncomeExtensibleList",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Asset, Recurring Basis, Unobservable Input Reconciliation, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration]",
        "documentation": "Indicates line item in statement of income or comprehensive income that includes gain (loss) from asset measured at fair value using unobservable input (level 3)."
       }
      }
     },
     "auth_ref": [
      "r678",
      "r687"
     ]
    },
    "pmt_FairValueUnobservableInputsDiscountRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FairValueUnobservableInputsDiscountRate",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInReviewAndApprovalOfBrokerProvidedFairValuesForCRTDerivativesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Key inputs used in fair value for CRT agreements",
        "label": "Fair Value Unobservable Inputs Discount Rate",
        "documentation": "Fair value unobservable inputs discount rate."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FairValueUnpaidPrincipalBalanceOfUnderlyingLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FairValueUnpaidPrincipalBalanceOfUnderlyingLoans",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueKeyAssumptionsUsedInDeterminingFairValueOfMsrsAtTimeOfInitialRecognitionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Unpaid Principal Balance Of Underlying Loans",
        "documentation": "Represents unpaid principal balance of loans underlying ESS.",
        "verboseLabel": "Fair value, Unpaid principal balance of underlying loans"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FairValueUnpaidPrincipalOfUnderlyingLoansBalance": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FairValueUnpaidPrincipalOfUnderlyingLoansBalance",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyAssumptionsUsedInValuationOfMsrsAsOfDatesPresentedAndEffectOnEstimatedFairValueFromAdverseChangesInThoseInputsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Unpaid Principal Of Underlying Loans Balance",
        "documentation": "Unpaid principal balance of mortgage loans underlying MSRs carried at fair value at period end.",
        "terseLabel": "Unpaid principal balance of underlying loans, Fair Value"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FairValueWeightedAverageCouponInterestRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FairValueWeightedAverageCouponInterestRate",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyAssumptionsUsedInValuationOfMsrsAsOfDatesPresentedAndEffectOnEstimatedFairValueFromAdverseChangesInThoseInputsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted-average note interest rate, Fair value",
        "label": "Fair Value Weighted Average Coupon Interest Rate",
        "documentation": "Average note interest rate applicable to MSRs carried at fair value."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Values Derivatives Balance Sheet Location By Derivative Contract Type By Hedging Designation [Table]",
        "label": "Fair Values Derivatives, Balance Sheet Location, by Derivative Contract Type [Table]",
        "documentation": "Disclosure of information about location and fair value of derivative instrument and nonderivative instrument designated as hedging instrument."
       }
      }
     },
     "auth_ref": [
      "r586",
      "r591",
      "r592",
      "r593",
      "r594",
      "r1122"
     ]
    },
    "pmt_FannieCapMarketsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FannieCapMarketsMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAssetsFinancialInstrumentsAndCollateralHeldByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fannie Cap Markets [Member]",
        "documentation": "Fannie Cap Markets."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FannieMaeMSRFinancingMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FannieMaeMSRFinancingMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfTermNoteIssuedToQualifiedInstitutionalBuyersDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fannie Mae M S R Financing",
        "label": "Fannie Mae M S R Financing [Member]",
        "documentation": "Fannie mae M S R financing.",
        "verboseLabel": "Fannie Mae MSR Financing"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FannieMaeMortgageServicingRightsFinancingMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FannieMaeMortgageServicingRightsFinancingMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fannie Mae Mortgage Servicing Rights Financing [Member]",
        "documentation": "Fannie Mae mortgage servicing rights financing."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FannieMaeOrFreddieMacMortgageLoansMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FannieMaeOrFreddieMacMortgageLoansMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesMortgageBankingServicesAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureRegulatoryCapitalAndLiquidityRequirementsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fannie Mae Or Freddie Mac Mortgage Loans [Member]",
        "label": "Fannie Mae Or Freddie Mac Mortgage Loans [Member]",
        "documentation": "Fannie Mae or Freddie Mac mortgage loans."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FebruaryTwoThousandTwentyFiveMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FebruaryTwoThousandTwentyFiveMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToSeniorNotesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "February Two Thousand Twenty Five [Member]",
        "documentation": "February Two Thousand Twenty Five.",
        "terseLabel": "February 2025 [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FederalNationalMortgageAssociationAndFederalHomeLoanMortgageCorporationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FederalNationalMortgageAssociationAndFederalHomeLoanMortgageCorporationMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureRegulatoryCapitalAndLiquidityRequirementsSummaryOfCapitalAndLiquidityAmountsAndRequirementsByAgenciesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fannie Mae and Freddie Mac [Member]",
        "label": "Federal National Mortgage Association And Federal Home Loan Mortgage Corporation [Member]",
        "documentation": "Federal national mortgage association and federal home loan mortgage corporation."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FederalNationalMortgageAssociationCertificatesAndObligationsFNMAMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FederalNationalMortgageAssociationCertificatesAndObligationsFNMAMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesManagementAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fannie Mae [Member]",
        "label": "Federal National Mortgage Association Certificates and Obligations (FNMA) [Member]",
        "documentation": "Investments in debentures, bonds and other debt securities issued by the Federal National Mortgage Association (FNMA or Fannie Mae)."
       }
      }
     },
     "auth_ref": [
      "r98",
      "r102"
     ]
    },
    "pmt_FeesAndCommissionsMortgageBankingAndServicingMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FeesAndCommissionsMortgageBankingAndServicingMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfChangesInFairValueIncludedInCurrentPeriodResultsOfOperationsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net Loan Servicing Fees [Member]",
        "label": "Fees And Commissions Mortgage Banking And Servicing [Member]",
        "documentation": "Fees and commissions mortgage banking and servicing."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FifteenthDecemberTwentyTwentyFiveMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FifteenthDecemberTwentyTwentyFiveMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToExchangeableSeniorNotesParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "December 15, 2025 [Member]",
        "label": "Fifteenth December Twenty Twenty Five [Member]",
        "documentation": "December 15, 2025."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FinancialInstrumentAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancialInstrumentAxis",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfChangesInFairValueIncludedInCurrentPeriodResultsOfOperationsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForInvestmentAtFairValueSummaryOfDistributionOfCompanysLoansHeldForInvestmentAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForSaleAtFairValueSummaryOfDistributionOfCompanysLoansHeldForSaleAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureMortgagebackedSecuritiesSummaryOfInvestmentsInMortgageBackedSecuritiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesNetGainsLossesRecognizedOnDerivativeFinancialInstrumentsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAssetsFinancialInstrumentsAndCollateralHeldByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueFairValuesAndRelatedPrincipalAmountsDueUponMaturityOfLoansAccountedForUnderFairValueOptionDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyAssumptionsUsedInValuationOfMsrsAsOfDatesPresentedAndEffectOnEstimatedFairValueFromAdverseChangesInThoseInputsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInValuationOfInterestRateLockCommitmentsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToAssetBackedFinancingOfVIEAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToAssetBackedFinancingOfVIEAtFairValueParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageServicingRightsSummaryOfMsrsCarriedAtFairValueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Financial Instrument",
        "label": "Financial Instrument [Axis]",
        "documentation": "Information by type of financial instrument."
       }
      }
     },
     "auth_ref": [
      "r342",
      "r343",
      "r344",
      "r345",
      "r346",
      "r347",
      "r348",
      "r349",
      "r350",
      "r351",
      "r352",
      "r353",
      "r354",
      "r355",
      "r356",
      "r357",
      "r358",
      "r359",
      "r360",
      "r361",
      "r362",
      "r363",
      "r364",
      "r365",
      "r366",
      "r367",
      "r368",
      "r369",
      "r370",
      "r371",
      "r377",
      "r378",
      "r379",
      "r380",
      "r381",
      "r382",
      "r383",
      "r384",
      "r436",
      "r468",
      "r642",
      "r658",
      "r693",
      "r710",
      "r715",
      "r748",
      "r749",
      "r750",
      "r751",
      "r752",
      "r753",
      "r754",
      "r755",
      "r756",
      "r760",
      "r761",
      "r762",
      "r763",
      "r764",
      "r769",
      "r778",
      "r779",
      "r780",
      "r781",
      "r783",
      "r784",
      "r785",
      "r786",
      "r787",
      "r788",
      "r789",
      "r790",
      "r791",
      "r792",
      "r793",
      "r810",
      "r829",
      "r1096",
      "r1127",
      "r1128",
      "r1130",
      "r1131",
      "r1132",
      "r1133",
      "r1134",
      "r1135",
      "r1136",
      "r1140",
      "r1267",
      "r1268",
      "r1269",
      "r1270",
      "r1271",
      "r1272",
      "r1273",
      "r1387",
      "r1388",
      "r1389",
      "r1390",
      "r1471",
      "r1474",
      "r1475",
      "r1476",
      "r1483",
      "r1486",
      "r1487",
      "r1488"
     ]
    },
    "us-gaap_FinancialInstrumentPerformanceStatusAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancialInstrumentPerformanceStatusAxis",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueFairValuesAndRelatedPrincipalAmountsDueUponMaturityOfLoansAccountedForUnderFairValueOptionDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureRegulatoryCapitalAndLiquidityRequirementsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Financial Instrument Performance Status",
        "label": "Financial Instrument Performance Status [Axis]",
        "documentation": "Information by category of performance or non-performance status of financial instruments."
       }
      }
     },
     "auth_ref": [
      "r1398"
     ]
    },
    "us-gaap_FinancialInstrumentPerformanceStatusDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancialInstrumentPerformanceStatusDomain",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueFairValuesAndRelatedPrincipalAmountsDueUponMaturityOfLoansAccountedForUnderFairValueOptionDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureRegulatoryCapitalAndLiquidityRequirementsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Financial Instrument Performance Status",
        "label": "Financial Instrument Performance Status [Domain]",
        "documentation": "Category of performance or non-performance status of financial instruments, including but not limited to, financing receivables, loans, debt, and investments."
       }
      }
     },
     "auth_ref": [
      "r1398"
     ]
    },
    "pmt_FinancialInstrumentsOwnedMortgagesMortgageBackedAndAssetBackedSecuritiesAmortizationAndAccrualOfNetPurchasePremiumsAndDiscounts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FinancialInstrumentsOwnedMortgagesMortgageBackedAndAssetBackedSecuritiesAmortizationAndAccrualOfNetPurchasePremiumsAndDiscounts",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageBackedSecuritiesSummaryOfInvestmentInMortgageBackedSecuritiesActivityDetail": {
       "parentTag": "pmt_FinancialInstrumentsOwnedMortgagesMortgageBackedAndAssetBackedSecuritiesChangesInFairValueRecordedInIncome",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageBackedSecuritiesSummaryOfInvestmentInMortgageBackedSecuritiesActivityDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Instruments Owned Mortgages Mortgage Backed And Asset Backed Securities Amortization and Accrual of Net Purchase Premiums and Discounts",
        "documentation": "Financial instruments owned mortgages mortgage backed and asset backed securities amortization and accrual of net purchase premiums and discounts.",
        "terseLabel": "Amortization and accrual of net purchase premiums and discounts , net"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FinancialInstrumentsOwnedMortgagesMortgageBackedAndAssetBackedSecuritiesAmortizationOfPurchasePremiumsDiscounts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FinancialInstrumentsOwnedMortgagesMortgageBackedAndAssetBackedSecuritiesAmortizationOfPurchasePremiumsDiscounts",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageBackedSecuritiesSummaryOfInvestmentInMortgageBackedSecuritiesActivityDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Instruments Owned Mortgages Mortgage Backed And Asset Backed Securities Amortization Of Purchase Premiums Discounts",
        "documentation": "Financial instruments owned mortgages mortgage backed and asset backed securities amortization of purchase premiums discounts.",
        "terseLabel": "Accrual (amortization) of net purchase premiums and discounts",
        "verboseLabel": "Amortization and accrual of net purchase premiums and discounts"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FinancialInstrumentsOwnedMortgagesMortgageBackedAndAssetBackedSecuritiesAtFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancialInstrumentsOwnedMortgagesMortgageBackedAndAssetBackedSecuritiesAtFairValue",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail": {
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0,
       "order": 1.0
      },
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 2.0
      },
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureMortgagebackedSecuritiesSummaryOfInvestmentsInMortgageBackedSecuritiesDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueKeyInputsUsedInDeterminingFairValueOfIoDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureMortgagebackedSecuritiesSummaryOfInvestmentsInMortgageBackedSecuritiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageBackedSecuritiesSummaryOfInvestmentInMortgageBackedSecuritiesActivityDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Fair value",
        "periodStartLabel": "Balance at beginning of quarter",
        "periodEndLabel": "Balance at end of quarter",
        "label": "Financial Instruments, Owned, Mortgages, Mortgage-Backed and Asset-Backed Securities, at Fair Value",
        "verboseLabel": "Mortgage-backed securities at fair value pledged to creditors",
        "terseLabel": "Mortgage-backed securities",
        "documentation": "The fair value as of the balance sheet date of firm holdings in mortgages, mortgage backed securities (investment instruments that represent ownership of an undivided interest in a group of mortgages, where principal and interest from the individual mortgages are used to pay investors' principal and interest on the mortgage backed security) and asset-backed securities that are primarily paid from the cash flows of a discrete pool of receivables or other financial assets (such as credit-card receivables), either fixed or revolving, that by their terms convert into cash within a finite time period. Includes both pledged (to counterparties as collateral for financing transactions) and unpledged holdings."
       }
      }
     },
     "auth_ref": [
      "r1520"
     ]
    },
    "pmt_FinancialInstrumentsOwnedMortgagesMortgageBackedAndAssetBackedSecuritiesAtFairValuePurchases": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FinancialInstrumentsOwnedMortgagesMortgageBackedAndAssetBackedSecuritiesAtFairValuePurchases",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageBackedSecuritiesSummaryOfInvestmentInMortgageBackedSecuritiesActivityDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Purchases",
        "label": "Financial Instruments Owned Mortgages Mortgage Backed And Asset Backed Securities At Fair Value Purchases",
        "documentation": "Financial instruments owned mortgages mortgage backed and asset backed securities at fair value purchases."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FinancialInstrumentsOwnedMortgagesMortgageBackedAndAssetBackedSecuritiesAtFairValueSales": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FinancialInstrumentsOwnedMortgagesMortgageBackedAndAssetBackedSecuritiesAtFairValueSales",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageBackedSecuritiesSummaryOfInvestmentInMortgageBackedSecuritiesActivityDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Sales",
        "label": "Financial Instruments Owned Mortgages Mortgage Backed And Asset Backed Securities At Fair Value Sales",
        "documentation": "Financial instruments owned mortgages mortgage backed and asset backed securities at fair value sales."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FinancialInstrumentsOwnedMortgagesMortgageBackedAndAssetBackedSecuritiesChangesInFairValueIncludedInIncomeAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FinancialInstrumentsOwnedMortgagesMortgageBackedAndAssetBackedSecuritiesChangesInFairValueIncludedInIncomeAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageBackedSecuritiesSummaryOfInvestmentInMortgageBackedSecuritiesActivityDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Changes in fair value included in income arising from:",
        "label": "Financial Instruments Owned Mortgages Mortgage Backed And Asset Backed Securities Changes In Fair Value Included In Income [Abstract]",
        "documentation": "Financial instruments owned mortgages mortgage backed and asset backed securities changes in fair value included in income."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FinancialInstrumentsOwnedMortgagesMortgageBackedAndAssetBackedSecuritiesChangesInFairValueRecordedInIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FinancialInstrumentsOwnedMortgagesMortgageBackedAndAssetBackedSecuritiesChangesInFairValueRecordedInIncome",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageBackedSecuritiesSummaryOfInvestmentInMortgageBackedSecuritiesActivityDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageBackedSecuritiesSummaryOfInvestmentInMortgageBackedSecuritiesActivityDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total changes in fair value included in income",
        "label": "Financial Instruments Owned Mortgages Mortgage Backed And Asset Backed Securities Changes In Fair Value Recorded In Income",
        "documentation": "Financial instruments owned mortgages mortgage backed and asset backed securities changes in fair value recorded in income."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FinancialInstrumentsOwnedMortgagesMortgageBackedAndAssetBackedSecuritiesCumulativeValuationChanges": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FinancialInstrumentsOwnedMortgagesMortgageBackedAndAssetBackedSecuritiesCumulativeValuationChanges",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureMortgagebackedSecuritiesSummaryOfInvestmentsInMortgageBackedSecuritiesDetail": {
       "parentTag": "us-gaap_FinancialInstrumentsOwnedMortgagesMortgageBackedAndAssetBackedSecuritiesAtFairValue",
       "weight": -1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureMortgagebackedSecuritiesSummaryOfInvestmentsInMortgageBackedSecuritiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial instruments owned mortgages mortgage backed and asset backed securities cumulative valuation changes.",
        "label": "Financial Instruments Owned Mortgages Mortgage Backed And Asset Backed Securities Cumulative Valuation Changes",
        "terseLabel": "Cumulative valuation changes",
        "negatedLabel": "Cumulative valuation changes"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FinancialInstrumentsOwnedMortgagesMortgageBackedAndAssetBackedSecuritiesPurchasePremiumsDiscountsNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FinancialInstrumentsOwnedMortgagesMortgageBackedAndAssetBackedSecuritiesPurchasePremiumsDiscountsNet",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureMortgagebackedSecuritiesSummaryOfInvestmentsInMortgageBackedSecuritiesDetail": {
       "parentTag": "us-gaap_FinancialInstrumentsOwnedMortgagesMortgageBackedAndAssetBackedSecuritiesAtFairValue",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureMortgagebackedSecuritiesSummaryOfInvestmentsInMortgageBackedSecuritiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial instruments owned mortgages mortgage backed and asset backed securities purchase premiums (discounts), net",
        "documentation": "Financial instruments owned mortgages mortgage backed and asset backed securities purchase premiums (discounts), net.",
        "terseLabel": "Purchase premiums (discounts), net"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FinancialInstrumentsOwnedMortgagesMortgageBackedAndAssetBackedSecuritiesRepayment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FinancialInstrumentsOwnedMortgagesMortgageBackedAndAssetBackedSecuritiesRepayment",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageBackedSecuritiesSummaryOfInvestmentInMortgageBackedSecuritiesActivityDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Repayments",
        "label": "Financial Instruments Owned Mortgages Mortgage Backed And Asset Backed Securities Repayment",
        "documentation": "Financial instruments owned mortgages mortgage backed and asset backed securities repayment."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FinancialInstrumentsOwnedMortgagesMortgageBackedAndAssetBackedSecuritiesValuationAdjustments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FinancialInstrumentsOwnedMortgagesMortgageBackedAndAssetBackedSecuritiesValuationAdjustments",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageBackedSecuritiesSummaryOfInvestmentInMortgageBackedSecuritiesActivityDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Valuation adjustments",
        "label": "Financial Instruments Owned Mortgages Mortgage Backed And Asset Backed Securities Valuation Adjustments",
        "documentation": "Financial instruments owned mortgages mortgage backed and asset backed securities valuation adjustments."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FinancialInstrumentsOwnedMortgagesMortgageBackedAndAssetBackedSecuritiesValuationAdjustmentsNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FinancialInstrumentsOwnedMortgagesMortgageBackedAndAssetBackedSecuritiesValuationAdjustmentsNet",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageBackedSecuritiesSummaryOfInvestmentInMortgageBackedSecuritiesActivityDetail": {
       "parentTag": "pmt_FinancialInstrumentsOwnedMortgagesMortgageBackedAndAssetBackedSecuritiesChangesInFairValueRecordedInIncome",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageBackedSecuritiesSummaryOfInvestmentInMortgageBackedSecuritiesActivityDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Valuation adjustments, net",
        "documentation": "Financial Instruments Owned Mortgages Mortgage Backed And Asset Backed Securities Valuation Adjustments net",
        "label": "Financial Instruments Owned Mortgages Mortgage Backed And Asset Backed Securities Valuation Adjustments net"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FinancialLiabilitiesFairValueDisclosure": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancialLiabilitiesFairValueDisclosure",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total liabilities",
        "label": "Financial Liabilities Fair Value Disclosure",
        "documentation": "Fair value of financial obligations, including, but not limited to, debt instruments, derivative liabilities, federal funds purchased and sold under agreements to repurchase, securities loaned or sold under agreements to repurchase, financial instruments sold not yet purchased, guarantees, line of credit, loans and notes payable, servicing liability, and trading liabilities."
       }
      }
     },
     "auth_ref": [
      "r1472",
      "r1473",
      "r1483",
      "r1487",
      "r1488",
      "r1489",
      "r1492"
     ]
    },
    "us-gaap_FinancingReceivableRecordedInvestmentLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FinancingReceivableRecordedInvestmentLineItems",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForInvestmentAtFairValueSummaryOfDistributionOfCompanysLoansHeldForInvestmentAtFairValueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Financing Receivable Recorded Investment [Line Items]",
        "label": "Financing Receivable, Credit Quality Indicator [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": [
      "r130",
      "r1076",
      "r1077",
      "r1078",
      "r1079",
      "r1080",
      "r1081",
      "r1082",
      "r1083",
      "r1084",
      "r1085",
      "r1086",
      "r1087",
      "r1088",
      "r1089",
      "r1090",
      "r1091",
      "r1092",
      "r1093",
      "r1094",
      "r1095",
      "r1398",
      "r1399"
     ]
    },
    "us-gaap_FixedAnnuityMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FixedAnnuityMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquityAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fixed Annuity",
        "label": "Fixed Annuity [Member]",
        "documentation": "Contract that provides a guaranteed stream of fixed payments."
       }
      }
     },
     "auth_ref": [
      "r1142"
     ]
    },
    "pmt_FixedInterestRateJumboMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FixedInterestRateJumboMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForInvestmentAtFairValueSummaryOfDistributionOfCompanysLoansHeldForInvestmentAtFairValueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fixed interest rate jumbo loans held in a VIE [Member]",
        "label": "Fixed Interest Rate Jumbo [Member]",
        "documentation": "Fixed interest rate jumbo."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FixedRateMortgageLoansMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FixedRateMortgageLoansMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesServicingAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fixed-Rate Mortgage Loans [Member]",
        "label": "Fixed Rate Mortgage Loans [Member]",
        "documentation": "Fixed Rate Mortgage Loans [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FloatingRateCollateralizedMortgageObligationsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FloatingRateCollateralizedMortgageObligationsMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureMortgagebackedSecuritiesSummaryOfInvestmentsInMortgageBackedSecuritiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Floating Rate Collateralized Mortgage Obligations Member",
        "documentation": "Floating rate collateralized mortgage obligations.",
        "terseLabel": "Floating Rate Collateralized Mortgage Obligations [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "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": [
      "r1177",
      "r1187",
      "r1197",
      "r1229"
     ]
    },
    "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": [
      "r1177",
      "r1187",
      "r1197",
      "r1229"
     ]
    },
    "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": [
      "r1177",
      "r1187",
      "r1197",
      "r1229"
     ]
    },
    "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": [
      "r1177",
      "r1187",
      "r1197",
      "r1229"
     ]
    },
    "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": [
      "r1177",
      "r1187",
      "r1197",
      "r1229"
     ]
    },
    "pmt_ForwardPurchaseContractMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ForwardPurchaseContractMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Forward Purchase Contracts [Member]",
        "label": "Forward Purchase Contract [Member]",
        "documentation": "Forward Purchase Contract [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ForwardSalesContractsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ForwardSalesContractsMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forward Sales Contracts [Member]",
        "verboseLabel": "Forward Sales Contracts [Member]",
        "terseLabel": "Forward Sale Contracts [Member]",
        "documentation": "Forward Sales Contracts [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FourAprilTwentyTwentyFourMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FourAprilTwentyTwentyFourMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfTermNoteIssuedToQualifiedInstitutionalBuyersDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Four April Twenty Twenty Four [Member]",
        "documentation": "Four april twenty twenty four.",
        "terseLabel": "April 4, 2024 [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FourJuneTwoThousandTwentyFourMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FourJuneTwoThousandTwentyFourMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToExchangeableSeniorNotesParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Four june two thousand twenty four [Member]",
        "documentation": "Four june two thousand twenty four.",
        "terseLabel": "June 4, 2024 [Member]"
       }
      }
     },
     "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": [
      "r1210"
     ]
    },
    "pmt_FreddieMacCreditAgreementsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FreddieMacCreditAgreementsMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Freddie Mac Credit Agreements [Member]",
        "label": "Freddie Mac Credit Agreements [Member]",
        "documentation": "Freddie mac credit agreements."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FreddieMacMSRFinancingMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FreddieMacMSRFinancingMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Freddie Mac MSR Financing",
        "label": "Freddie Mac M S R Financing [Member]",
        "documentation": "Freddie Mac M S R financing."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FreddieMacMortgageServicingRightsAndServicingAdvanceReceivablesFinancingMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FreddieMacMortgageServicingRightsAndServicingAdvanceReceivablesFinancingMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Freddie Mac Mortgage Servicing Rights And Servicing Advance Receivables Financing [Member]",
        "documentation": "Freddie Mac mortgage servicing rights and servicing advance receivables financing."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FreddieMacMortgageServicingRightsFinancingMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FreddieMacMortgageServicingRightsFinancingMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Freddie Mac Mortgage Servicing Rights Financing [Member]",
        "documentation": "Freddie Mac mortgage servicing rights financing."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FreddieMacMsrAndServicingAdvanceReceivablesFinancingMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FreddieMacMsrAndServicingAdvanceReceivablesFinancingMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Freddie Mac MSR and servicing advance receivables financing.",
        "label": "Freddie Mac MSR and Servicing Advance Receivables Financing [Member]",
        "terseLabel": "Freddie Mac MSR and Servicing Advance Receivables Financing"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FreddieMaeMsrAndServicingAdvanceReceivablesFinancingMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FreddieMaeMsrAndServicingAdvanceReceivablesFinancingMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Freddie Mae MSR and servicing advance receivables financing.",
        "label": "Freddie Mae MSR and Servicing Advance Receivables Financing [Member]",
        "terseLabel": "Freddie Mac MSR and Servicing Advance Receivables Financing"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FundedUnderCommittedFacilitiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FundedUnderCommittedFacilitiesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "CommittedFacilitiesMember",
        "terseLabel": "Funded Under Committed Facilities [Member]",
        "label": "Funded Under Committed Facilities [Member]",
        "documentation": "Funded under committed facilities."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_FundedUnderUncommittedFacilitiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "FundedUnderUncommittedFacilitiesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Funded Under Uncommitted Facilities [Member]",
        "label": "Funded Under Uncommitted Facilities [Member]",
        "documentation": "Funded under uncommitted facilities."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_GainLossOnAssetBackedFinancingAtFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "GainLossOnAssetBackedFinancingAtFairValue",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetLossesGainsOnInvestmentsAndFinancingsSummaryOfNetLossesGainsOnInvestmentsAndFinancingsDetails": {
       "parentTag": "pmt_GainLossOnInvestmentsAndFinancings",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetLossesGainsOnInvestmentsAndFinancingsSummaryOfNetLossesGainsOnInvestmentsAndFinancingsDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureVariableInterestEntitiesSummaryOfInvestmentInSeniorAndSubordinateMbsBackedByAssetsHeldInConsolidatedViesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gain Loss On Asset Backed Financing At Fair Value",
        "documentation": "Gain loss on asset backed financing at fair value.",
        "verboseLabel": "Asset-backed financings",
        "terseLabel": "Asset-backed financings of variable interest entities at fair value"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_GainLossOnCreditRiskTransferArrangements": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "GainLossOnCreditRiskTransferArrangements",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Credit risk transfer arrangements",
        "label": "Gain Loss On Credit Risk Transfer Arrangements",
        "documentation": "Gain loss on credit risk transfer arrangements."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_GainLossOnInvestments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "GainLossOnInvestments",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited": {
       "parentTag": "us-gaap_RevenuesNetOfInterestExpense",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net (loss) gain on investments",
        "label": "Gain (Loss) on Investments",
        "terseLabel": "Net (losses) gains on investments and financings",
        "documentation": "Amount of realized and unrealized gain (loss) on investment."
       }
      }
     },
     "auth_ref": [
      "r73",
      "r75",
      "r1251"
     ]
    },
    "pmt_GainLossOnInvestmentsAndFinancings": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "GainLossOnInvestmentsAndFinancings",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 3.0
      },
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetLossesGainsOnInvestmentsAndFinancingsSummaryOfNetLossesGainsOnInvestmentsAndFinancingsDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetLossesGainsOnInvestmentsAndFinancingsSummaryOfNetLossesGainsOnInvestmentsAndFinancingsDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Net losses (gains) on investments and financings",
        "label": "Gain Loss On Investments And Financings",
        "documentation": "Gain loss on investments and financings.",
        "terseLabel": "Net gains on investments and financings",
        "negatedLabel": "Net losses (gains) on investments and financings",
        "totalLabel": "Net gains on investments and financings"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_GainLossOnInvestmentsMember1": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "GainLossOnInvestmentsMember1",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfChangesInFairValueIncludedInCurrentPeriodResultsOfOperationsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gain (Loss) on Investments [Member]",
        "terseLabel": "Net (Losses) Gains on Investments and Financings [Member]",
        "documentation": "Primary financial statement caption encompassing gain (loss) on investments."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_GainLossOnLoansAcquiredForSaleMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "GainLossOnLoansAcquiredForSaleMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesNetGainsLossesRecognizedOnDerivativeFinancialInstrumentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net gains on loans acquired for sale [Member]",
        "label": "Gain Loss On Loans Acquired For Sale [Member]",
        "documentation": "Gain loss on loans acquired for sale."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_GainLossOnLoansHeldForInvestment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "GainLossOnLoansHeldForInvestment",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gain loss on loans held for investment",
        "documentation": "Gain loss on loans held for investment.",
        "terseLabel": "Loans held for investment"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_GainLossOnNetDerivativeRelatesToCreditRiskTransfer": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "GainLossOnNetDerivativeRelatesToCreditRiskTransfer",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetLossesGainsOnInvestmentsAndFinancingsSummaryOfNetLossesGainsOnInvestmentsAndFinancingsDetails": {
       "parentTag": "pmt_GainLossOnInvestmentsAndFinancings",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetLossesGainsOnInvestmentsAndFinancingsSummaryOfNetLossesGainsOnInvestmentsAndFinancingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "CRT arrangements",
        "label": "Gain Loss On Net Derivative Relates To Credit Risk Transfer",
        "documentation": "Gain (loss) on net derivative relates to credit risk transfer."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_GainLossOnSaleOfDerivatives": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "GainLossOnSaleOfDerivatives",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetLossesGainsOnInvestmentsAndFinancingsSummaryOfNetLossesGainsOnInvestmentsAndFinancingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Hedging derivatives",
        "label": "Gain (Loss) on Sale of Derivatives",
        "documentation": "The difference between the book value and the sale price of options, swaps, futures, forward contracts, and other derivative instruments. This element refers to the gain (loss) included in earnings."
       }
      }
     },
     "auth_ref": [
      "r3",
      "r111",
      "r954",
      "r955",
      "r956",
      "r957"
     ]
    },
    "us-gaap_GainLossOnSaleOfMortgageLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "GainLossOnSaleOfMortgageLoans",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetLossesGainsOnInvestmentsAndFinancingsSummaryOfNetLossesGainsOnInvestmentsAndFinancingsDetails": {
       "parentTag": "pmt_GainLossOnInvestmentsAndFinancings",
       "weight": 1.0,
       "order": 1.0
      },
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSaleSummaryOfNetGainsOnMortgageLoansHeldForSaleDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSaleSummaryOfNetGainsOnMortgageLoansHeldForSaleDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetLossesGainsOnInvestmentsAndFinancingsSummaryOfNetLossesGainsOnInvestmentsAndFinancingsDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureVariableInterestEntitiesSummaryOfInvestmentInSeniorAndSubordinateMbsBackedByAssetsHeldInConsolidatedViesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gain (Loss) on Sale of Mortgage Loans",
        "verboseLabel": "Loans",
        "terseLabel": "Loans held for investment",
        "totalLabel": "Total non-cash gains",
        "documentation": "The gains (losses) included in earnings that represent the difference between the sale price and the carrying value of loans made to finance real estate acquisitions. This element refers to the gain (loss) and not to the cash proceeds of the sale. This element is a noncash adjustment to net income when calculating net cash generated by operating activities using the indirect method."
       }
      }
     },
     "auth_ref": [
      "r3",
      "r132",
      "r133",
      "r136"
     ]
    },
    "pmt_GainLossOnSaleOfMortgageLoansAcquiredForSaleCashPortion": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "GainLossOnSaleOfMortgageLoansAcquiredForSaleCashPortion",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSaleSummaryOfNetGainsOnMortgageLoansHeldForSaleDetail": {
       "parentTag": "pmt_AggregateCashGainLossOnSaleOfMortgageLoansAcquiredForSaleNetOfCashHedgingResults",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSaleSummaryOfNetGainsOnMortgageLoansHeldForSaleDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Sales of loans",
        "label": "Gain Loss On Sale Of Mortgage Loans Acquired For Sale Cash Portion",
        "documentation": "Gain Loss On Sale Of Mortgage Loans Acquired For Sale Cash Portion"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_GainLossOnSalesOfLoansNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "GainLossOnSalesOfLoansNet",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited": {
       "parentTag": "us-gaap_RevenuesNetOfInterestExpense",
       "weight": 1.0,
       "order": 0.0
      },
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSaleSummaryOfNetGainsOnMortgageLoansHeldForSaleDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Gain (Loss) on Sales of Loans, Net, Total",
        "label": "Gain (Loss) on Sales of Loans, Net",
        "negatedLabel": "Net gains on loans held for sale",
        "verboseLabel": "Net gains on loans held for sale",
        "terseLabel": "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": [
      "r3",
      "r111"
     ]
    },
    "pmt_GainLossOnSalesOfLoansNetMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "GainLossOnSalesOfLoansNetMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfChangesInFairValueIncludedInCurrentPeriodResultsOfOperationsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gain Loss On Sales Of Loans Net [Member]",
        "documentation": "Gain (loss) on sales of loans, net.",
        "terseLabel": "Net Gains on Loans Held for Sale [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_GainLossOnSalesOfMortgageBackedSecuritiesMBS": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "GainLossOnSalesOfMortgageBackedSecuritiesMBS",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gain (Loss) on Sales of Mortgage-Backed Securities (MBS)",
        "terseLabel": "Mortgage-backed securities",
        "documentation": "Net gain (loss) resulting from the sales of securitized, pay-through debt securities collateralized by real estate mortgage loans (mortgages)."
       }
      }
     },
     "auth_ref": [
      "r111"
     ]
    },
    "pmt_GainLossRecognizedOnCreditRiskTransferStrips": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "GainLossRecognizedOnCreditRiskTransferStrips",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail": {
       "parentTag": "pmt_GainsLossesRecognizedOnCreditRiskTransferAgreementsIncludedInNetLossGainOnInvestments",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Credit risk transfer strips",
        "label": "Gain Loss Recognized On Credit Risk Transfer Strips",
        "documentation": "Gain (loss) recognized on credit risk transfer strips."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_GainsLossesOnInvestmentsAndFinancingsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "GainsLossesOnInvestmentsAndFinancingsTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetLossesGainsOnInvestmentsAndFinancingsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gains (losses) on investments and financings.",
        "label": "Gains Losses On Investments And Financings Table [Text Block]",
        "terseLabel": "Summary of Net (Losses) Gains on Investments and Financings"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_GainsLossesOnSalesOfOtherRealEstate": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "GainsLossesOnSalesOfOtherRealEstate",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited": {
       "parentTag": "us-gaap_RevenuesNetOfInterestExpense",
       "weight": 1.0,
       "order": 4.0
      },
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 9.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Results of real estate acquired in settlement of loans",
        "terseLabel": "Results of real estate acquired in settlement of loans",
        "label": "Gains (Losses) on Sales of Other Real Estate",
        "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": [
      "r112"
     ]
    },
    "pmt_GainsLossesRecognizedOnCreditDefaultSwapsValuationChanges": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "GainsLossesRecognizedOnCreditDefaultSwapsValuationChanges",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail": {
       "parentTag": "pmt_GainsLossesRecognizedOnCreditRiskTransferAgreements",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Valuation changes",
        "label": "Gains Losses Recognized On Credit Default Swaps Valuation Changes",
        "documentation": "Represents the net unrealized valuation changes pursuant to credit risk transfer agreements."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_GainsLossesRecognizedOnCreditRiskTransferAgreements": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "GainsLossesRecognizedOnCreditRiskTransferAgreements",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail": {
       "parentTag": "pmt_GainsLossesRecognizedOnCreditRiskTransferAgreementsIncludedInNetLossGainOnInvestments",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gains Losses Recognized On Credit Risk Transfer Agreements",
        "documentation": "Gains losses recognized on credit risk transfer agreements.",
        "totalLabel": "Gains recognized on gross derivative related to credit risk transactions"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_GainsLossesRecognizedOnCreditRiskTransferAgreementsIncludedInNetLossGainOnInvestments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "GainsLossesRecognizedOnCreditRiskTransferAgreementsIncludedInNetLossGainOnInvestments",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail": {
       "parentTag": "us-gaap_RevenuesNetOfInterestExpense",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gains Losses Recognized On Credit Risk Transfer Agreements Included In Net Loss Gain On Investments",
        "documentation": "Represents the net cash and valuation gains or losses pursuant to credit risk transfer agreements.",
        "totalLabel": "Gains (losses) recognized on gross derivative related to credit risk transactions"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_GainsLossesRecognizedOnCreditRiskTransferStripsValuationChanges": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "GainsLossesRecognizedOnCreditRiskTransferStripsValuationChanges",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail": {
       "parentTag": "pmt_GainLossRecognizedOnCreditRiskTransferStrips",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Valuation changes",
        "label": "Gains Losses Recognized On Credit Risk Transfer Strips Valuation Changes",
        "documentation": "Gains losses recognized on credit risk transfer strips valuation changes."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_GeneralDiscussionOfDerivativeInstrumentsAndHedgingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "GeneralDiscussionOfDerivativeInstrumentsAndHedgingActivitiesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "General Discussion of Derivative Instruments and Hedging Activities [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_GinnieMaeMortgageLoansMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "GinnieMaeMortgageLoansMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesMortgageBankingServicesAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Ginnie Mae Mortgage Loans [Member]",
        "label": "Ginnie Mae Mortgage Loans [Member]",
        "documentation": "Ginnie Mae mortgage loans."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_GoldmanSachsCoLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "GoldmanSachsCoLLCMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfAssetsSoldUnderAgreementsToRepurchaseByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAssetsFinancialInstrumentsAndCollateralHeldByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Goldman Sachs &amp; Co. LLC [Member]",
        "label": "Goldman Sachs Co L L C [Member]",
        "documentation": "Goldman Sachs &amp; Co. LLC."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_GoodFaithAndMarginDepositsWithBrokerDealers": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "GoodFaithAndMarginDepositsWithBrokerDealers",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Good Faith and Margin Deposit with Broker-Dealer",
        "terseLabel": "Margin deposits placed with counterparties included in Other assets",
        "documentation": "Amount of right to receive cash and securities on deposit with broker-dealers to demonstrate an intention to complete a purchase (good faith deposit) and collateral deposited by counterparty to cover the credit risk assumed (margin deposit)."
       }
      }
     },
     "auth_ref": [
      "r1281"
     ]
    },
    "pmt_GovernmentGuaranteedOrInsuredMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "GovernmentGuaranteedOrInsuredMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesSummaryOfAggregationAndSecuritizationActivitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Government Guaranteed Or Insured [Member]",
        "label": "Government Guaranteed Or Insured [Member]",
        "documentation": "Government guaranteed or insured."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_GovernmentGuaranteedSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "GovernmentGuaranteedSecuritiesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForSaleAtFairValueSummaryOfDistributionOfCompanysLoansHeldForSaleAtFairValueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Government Guaranteed Securities [Member]",
        "documentation": "Government Guaranteed Securities [Member]",
        "terseLabel": "Held for Sale to PLS - Government-Insured or Guaranteed [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_GovernmentSponsoredEntityEligibleMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "GovernmentSponsoredEntityEligibleMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForSaleAtFairValueSummaryOfDistributionOfCompanysLoansHeldForSaleAtFairValueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Government Sponsored Entity Eligible [Member]",
        "documentation": "Government sponsored entity eligible.",
        "verboseLabel": "GSE Eligible [Member]",
        "terseLabel": "Held for Sale to Nonaffiliates-GSE Eligible [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_GregHendryMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "GregHendryMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Greg Hendry [Member]",
        "documentation": "Greg Hendry."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_GuaranteeObligationsRecourseProvisionUnpaidPrincipalBalanceOfMortgageLoansSubjectToRepresentationsAndWarranties": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "GuaranteeObligationsRecourseProvisionUnpaidPrincipalBalanceOfMortgageLoansSubjectToRepresentationsAndWarranties",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLiabilityForLossesUnderRepresentationsAndWarrantiesSummaryOfCompanySLiabilityForLossesUnderRepresentationsAndWarrantiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "UPB of loans subject to representations and warranties at end of quarter",
        "label": "Guarantee Obligations Recourse Provision Unpaid Principal Balance Of Mortgage Loans Subject To Representations And Warranties",
        "documentation": "Unpaid principal balance of mortgage loans subject to representations and warranties made by the company at period-end."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_HedgingGainsAndLossesOnMortgageServicingAssetNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "HedgingGainsAndLossesOnMortgageServicingAssetNet",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Mortgage servicing rights hedging results",
        "label": "Hedging Gains And Losses On Mortgage Servicing Asset Net",
        "documentation": "Hedging gains and losses on mortgage servicing asset net."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_HedgingGainsAndLossesOnMortgageServicingAssetsNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "HedgingGainsAndLossesOnMortgageServicingAssetsNet",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited": {
       "parentTag": "pmt_ServicingIncomeLossNetOfValuationAdjustments",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Mortgage servicing rights hedging results",
        "label": "Hedging Gains And Losses On Mortgage Servicing Assets Net",
        "documentation": "Hedging Gains And Losses On Mortgage Servicing Assets Net."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_HeldForSaleNonaffiliatesGSEEligibleMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "HeldForSaleNonaffiliatesGSEEligibleMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForSaleAtFairValueSummaryOfDistributionOfCompanysLoansHeldForSaleAtFairValueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Held For Sale Nonaffiliates GSE Eligible [Member]",
        "documentation": "Held for sale nonaffiliates GSE eligible.",
        "terseLabel": "Held for Sale to Nonaffiliates-GSE Eligible [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_HeldForSaleToAffiliatesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "HeldForSaleToAffiliatesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForSaleAtFairValueSummaryOfDistributionOfCompanysLoansHeldForSaleAtFairValueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Held For Sale To Affiliates [Member]",
        "documentation": "Held for sale to affiliates."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_HeldForSaleToNonaffiliatesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "HeldForSaleToNonaffiliatesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForSaleAtFairValueSummaryOfDistributionOfCompanysLoansHeldForSaleAtFairValueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Held For Sale To Nonaffiliates [Member]",
        "documentation": "Held for sale to nonaffiliates."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_HeldForSaleToPennymacLoanServicesGovernmentSponseredEntityEligibleMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "HeldForSaleToPennymacLoanServicesGovernmentSponseredEntityEligibleMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForSaleAtFairValueSummaryOfDistributionOfCompanysLoansHeldForSaleAtFairValueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Held for Sale to Pennymac Loan Services - Government Sponsered Entity Eligible [Member]",
        "documentation": "Held for sale to nonaffiliates\u2014GSE eligible.",
        "terseLabel": "Held for sale to PLS - GSE Eligible [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_HomeEquityLoanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "HomeEquityLoanMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForSaleAtFairValueSummaryOfDistributionOfCompanysLoansHeldForSaleAtFairValueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Home Equity Lines of Credit [Member]",
        "label": "Home Equity Loan [Member]",
        "documentation": "Loan based on the equity of the borrower's residential property in which the borrower receives the loan amount upfront. Excludes home equity lines of credit."
       }
      }
     },
     "auth_ref": [
      "r1379"
     ]
    },
    "us-gaap_IncentiveFeeDescription": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncentiveFeeDescription",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesManagementAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Performance incentive fee description",
        "label": "Incentive Fee, Description",
        "documentation": "Description of the nature of the payments to managing member or general partner for incentive rights held including the fee rate, basis of calculation, relevant accounting period, whether the fee is paid to an entity other than the managing member or general partner, or if the fee is waived."
       }
      }
     },
     "auth_ref": [
      "r949",
      "r1502"
     ]
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited": {
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Income (loss) before benefit from income taxes",
        "label": "Income (Loss) from Continuing Operations before Income Taxes, Noncontrolling Interest",
        "verboseLabel": "(Benefit from) provision for income taxes",
        "totalLabel": "Income (loss) before provision for (benefit from) 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": [
      "r67",
      "r113",
      "r127",
      "r801",
      "r803",
      "r825",
      "r1054",
      "r1055",
      "r1056",
      "r1060",
      "r1067",
      "r1369",
      "r1374",
      "r1375",
      "r1376",
      "r1377"
     ]
    },
    "us-gaap_IncomeStatementAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncomeStatementAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Statement [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncomeStatementLocationAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncomeStatementLocationAxis",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfChangesInFairValueIncludedInCurrentPeriodResultsOfOperationsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesNetGainsLossesRecognizedOnDerivativeFinancialInstrumentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net Gains on Loans Acquired for Sale [Member]",
        "label": "Statement of Income Location, Balance [Axis]",
        "documentation": "Information by location in statement of income where disaggregated amount is reported."
       }
      }
     },
     "auth_ref": [
      "r397",
      "r399",
      "r401",
      "r588",
      "r596",
      "r613",
      "r621",
      "r678",
      "r682",
      "r687",
      "r713",
      "r715",
      "r716",
      "r854",
      "r856",
      "r951",
      "r1045",
      "r1046",
      "r1115",
      "r1116",
      "r1122",
      "r1124",
      "r1129",
      "r1137",
      "r1451",
      "r1452",
      "r1529"
     ]
    },
    "us-gaap_IncomeStatementLocationDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncomeStatementLocationDomain",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfChangesInFairValueIncludedInCurrentPeriodResultsOfOperationsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesNetGainsLossesRecognizedOnDerivativeFinancialInstrumentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Income Statement Location",
        "label": "Statement of Income Location, Balance [Domain]",
        "documentation": "Location in statement of income where disaggregated amount is reported."
       }
      }
     },
     "auth_ref": [
      "r399",
      "r401",
      "r588",
      "r596",
      "r613",
      "r621",
      "r678",
      "r682",
      "r687",
      "r713",
      "r715",
      "r716",
      "r854",
      "r856",
      "r951",
      "r1045",
      "r1046",
      "r1115",
      "r1116",
      "r1122",
      "r1124",
      "r1129",
      "r1137",
      "r1451",
      "r1452",
      "r1529"
     ]
    },
    "us-gaap_IncomeTaxDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncomeTaxDisclosureAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax Disclosure [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncomeTaxDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncomeTaxDisclosureTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureIncomeTaxes"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Income Taxes",
        "label": "Income Tax Disclosure [Text Block]",
        "documentation": "The entire disclosure for income tax."
       }
      }
     },
     "auth_ref": [
      "r224",
      "r229",
      "r526",
      "r528",
      "r529",
      "r530",
      "r531",
      "r532",
      "r534",
      "r542",
      "r544",
      "r545",
      "r546",
      "r809",
      "r870",
      "r880",
      "r1114"
     ]
    },
    "us-gaap_IncomeTaxExpenseBenefit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncomeTaxExpenseBenefit",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited": {
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Income Tax Expense (Benefit), Total",
        "label": "Income Tax Expense (Benefit)",
        "verboseLabel": "(Benefit from) provision for income taxes",
        "terseLabel": "Provision for (benefit from) income taxes",
        "documentation": "Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations."
       }
      }
     },
     "auth_ref": [
      "r134",
      "r137",
      "r224",
      "r259",
      "r260",
      "r285",
      "r305",
      "r327",
      "r527",
      "r528",
      "r543",
      "r834",
      "r1054",
      "r1055",
      "r1056",
      "r1114"
     ]
    },
    "pmt_IncomeTaxLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "IncomeTaxLineItems",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Income Tax [Line Items]",
        "label": "Income Tax [Line Items]",
        "documentation": "Income tax."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_IncomeTaxTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "IncomeTaxTable",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Income Tax [Table]",
        "label": "Income Tax [Table]",
        "documentation": "Income tax."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncomeTaxesPaidNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncomeTaxesPaidNet",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Income Taxes Paid, Net, Total",
        "terseLabel": "Income taxes",
        "label": "Income Taxes Paid, Net",
        "documentation": "Amount, after refund, of cash paid to foreign, federal, state, and local jurisdictions as income tax."
       }
      }
     },
     "auth_ref": [
      "r21",
      "r222",
      "r535",
      "r536"
     ]
    },
    "us-gaap_IncreaseDecreaseDueFromAffiliates": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncreaseDecreaseDueFromAffiliates",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 18.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (Decrease) Due from Affiliates",
        "negatedLabel": "Decrease in due from PennyMac Financial Services, Inc.",
        "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": [
      "r2"
     ]
    },
    "us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncreaseDecreaseInAccountsPayableAndAccruedLiabilities",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 21.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Increase (Decrease) in Accounts Payable and Accrued Liabilities, Total",
        "label": "Increase (Decrease) in Accounts Payable and Accrued Liabilities",
        "terseLabel": "Decrease in accounts payable and accrued liabilities",
        "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": [
      "r2"
     ]
    },
    "us-gaap_IncreaseDecreaseInDueToAffiliates": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncreaseDecreaseInDueToAffiliates",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 22.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (Decrease) in Due to Affiliates",
        "terseLabel": "Increase (decrease) in due to PennyMac Financial Services, Inc.",
        "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": [
      "r2"
     ]
    },
    "us-gaap_IncreaseDecreaseInIncomeTaxes": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncreaseDecreaseInIncomeTaxes",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 23.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (Decrease) in Income Taxes",
        "terseLabel": "Increase (decrease) in income taxes payable",
        "documentation": "The increase (decrease) during the reporting period in the amounts payable to taxing authorities for taxes that are based on the reporting entity's earnings, net of amounts receivable from taxing authorities for refunds of overpayments or recoveries of income taxes, and in deferred and other tax liabilities and assets."
       }
      }
     },
     "auth_ref": [
      "r1346"
     ]
    },
    "us-gaap_IncreaseDecreaseInInterestPayableNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncreaseDecreaseInInterestPayableNet",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureBasisOfPresentationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Decrease in interest expense",
        "label": "Increase (Decrease) in Interest Payable, Net",
        "documentation": "The increase (decrease) during the reporting period in interest payable, which represents the amount owed to note holders, bond holders, and other parties for interest earned on loans or credit extended to the reporting entity."
       }
      }
     },
     "auth_ref": [
      "r2"
     ]
    },
    "pmt_IncreaseDecreaseInMarginDepositsOutstandingInvestingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "IncreaseDecreaseInMarginDepositsOutstandingInvestingActivities",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0,
       "order": 13.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase Decrease In Margin Deposits Outstanding Investing Activities",
        "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.",
        "negatedLabel": "Decrease (increase) in margin deposits",
        "terseLabel": "Decrease (increase) in margin deposits"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncreaseDecreaseInOtherOperatingAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "IncreaseDecreaseInOtherOperatingAssets",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 19.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Increase (Decrease) in Other Operating Assets, Total",
        "label": "Increase (Decrease) in Other Operating Assets",
        "negatedLabel": "(Increase) decrease in other assets",
        "documentation": "Amount of increase (decrease) in operating assets classified as other."
       }
      }
     },
     "auth_ref": [
      "r2"
     ]
    },
    "pmt_IncreaseDecreaseInServicingAdvances": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "IncreaseDecreaseInServicingAdvances",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 17.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Decrease in servicing advances",
        "label": "Increase Decrease In Servicing Advances",
        "documentation": "Increase (Decrease) in Servicing Advances"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_IncreaseToMaximumPercentageOfOutstandingUnpaidPrincipalBalance": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "IncreaseToMaximumPercentageOfOutstandingUnpaidPrincipalBalance",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Increase to maximum percentage of outstanding unpaid principal balance",
        "label": "Increase To Maximum Percentage Of Outstanding Unpaid Principal Balance",
        "documentation": "Increase to maximum percentage of outstanding unpaid principal balance."
       }
      }
     },
     "auth_ref": []
    },
    "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": [
      "r1177",
      "r1187",
      "r1197",
      "r1221",
      "r1229",
      "r1233",
      "r1241"
     ]
    },
    "pmt_InitialExchangeableRateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "InitialExchangeableRateMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Initial Exchangeable Rate [Member]",
        "label": "Initial Exchangeable Rate [Member]",
        "documentation": "Initial Exchangeable Rate [Member]"
       }
      }
     },
     "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": [
      "r1239"
     ]
    },
    "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": [
      "r1169",
      "r1245"
     ]
    },
    "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": [
      "r1169",
      "r1245"
     ]
    },
    "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": [
      "r1169",
      "r1245"
     ]
    },
    "pmt_Interest-OnlyStrippedMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "Interest-OnlyStrippedMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureMortgagebackedSecuritiesSummaryOfInvestmentsInMortgageBackedSecuritiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest-Only Stripped [Member]",
        "documentation": "Interest-only stripped."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestAndDividendIncomeOperatingAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestAndDividendIncomeOperatingAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest income:",
        "label": "Interest and Dividend Income, Operating [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_InterestAndFeeIncomeLoanHeld-For-Investment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "InterestAndFeeIncomeLoanHeld-For-Investment",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail": {
       "parentTag": "us-gaap_InterestIncomeOperating",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest and Fee Income, Loan, Held-for-Investment",
        "documentation": "Interest and fee income from mortgage loans considered to be held-for-investment.",
        "terseLabel": "Loans held for investment"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestAndFeeIncomeLoansHeldForSaleMortgages": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestAndFeeIncomeLoansHeldForSaleMortgages",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail": {
       "parentTag": "us-gaap_InterestIncomeOperating",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Loans acquired for sale at fair value",
        "label": "Interest and Fee Income, Loan, Mortgage, Held-for-Sale",
        "verboseLabel": "Loans held for sale",
        "documentation": "Interest and fee income from mortgage loans considered to be held-for-sale."
       }
      }
     },
     "auth_ref": [
      "r107"
     ]
    },
    "pmt_InterestEarnedOnDepositsSecuringCreditRiskTransferAgreements": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "InterestEarnedOnDepositsSecuringCreditRiskTransferAgreements",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail": {
       "parentTag": "us-gaap_RevenuesNetOfInterestExpense",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Earned On Deposits Securing Credit Risk Transfer Agreements",
        "documentation": "Interest earned on deposits securing credit risk transfer agreements.",
        "terseLabel": "Interest income -- Deposits securing credit risk transfer arrangements"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestExpense",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureVariableInterestEntitiesSummaryOfInvestmentInSeniorAndSubordinateMbsBackedByAssetsHeldInConsolidatedViesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Interest expense, total",
        "terseLabel": "Interest expense",
        "label": "Interest Expense, Operating and Nonoperating",
        "documentation": "Amount of interest expense classified as operating and nonoperating. Includes, but is not limited to, cost of borrowing accounted for as interest expense."
       }
      }
     },
     "auth_ref": [
      "r285",
      "r297",
      "r301",
      "r307",
      "r327",
      "r724",
      "r1067",
      "r1068",
      "r1565"
     ]
    },
    "us-gaap_InterestExpenseAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestExpenseAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Interest expense:",
        "label": "Interest Expense, Operating and Nonoperating [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestExpenseLongTermDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestExpenseLongTermDebt",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToUnsecuredSeniorNotesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToAssetBackedFinancingOfVIEAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Interest expense",
        "totalLabel": "Interest Expense, Long-Term Debt, Total",
        "terseLabel": "Total interest expense",
        "label": "Unsecured senior notes",
        "documentation": "Aggregate amount of interest paid or due on all long-term debt."
       }
      }
     },
     "auth_ref": [
      "r121",
      "r138",
      "r139"
     ]
    },
    "pmt_InterestExpenseMortgageLoanParticipationPurchaseAndSaleAgreement": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "InterestExpenseMortgageLoanParticipationPurchaseAndSaleAgreement",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail": {
       "parentTag": "us-gaap_InterestExpenseOperating",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Mortgage loan participation purchase and sale agreements",
        "label": "Interest Expense Mortgage Loan Participation Purchase And Sale Agreement",
        "documentation": "Represents the interest expense related to mortgage loans participation purchase and sale agreement."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_InterestExpenseNotesPayableSecuredByCreditRiskTransferAndMortgageServicingAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "InterestExpenseNotesPayableSecuredByCreditRiskTransferAndMortgageServicingAssets",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail": {
       "parentTag": "us-gaap_InterestExpenseOperating",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Notes payable secured by credit risk transfer and mortgage servicing assets",
        "label": "Interest Expense Notes Payable Secured By Credit Risk Transfer And Mortgage Servicing Assets",
        "documentation": "Interest expense notes payable secured by credit risk transfer and mortgage servicing assets."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_InterestExpenseOnConversionOption": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "InterestExpenseOnConversionOption",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToUnsecuredSeniorNotesParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Conversion options",
        "label": "Interest Expense On Conversion Option",
        "documentation": "Interest expense on conversion option."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_InterestExpenseOnMortgageLoanImpoundDeposits": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "InterestExpenseOnMortgageLoanImpoundDeposits",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail": {
       "parentTag": "us-gaap_InterestExpenseOperating",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest on loan impound deposits",
        "label": "Interest Expense On Mortgage Loan Impound Deposits",
        "documentation": "Represents interest expense incurred by the company paid to borrowers' impound accounts relating to borrower funds held in escrow to pay hazard insurance and property taxes on the properties securing the mortgage loans."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_InterestExpenseOnMortgageLoansServicedForAgencySecuritizations": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "InterestExpenseOnMortgageLoansServicedForAgencySecuritizations",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail": {
       "parentTag": "us-gaap_InterestExpenseOperating",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest shortfall on repayments of loans serviced for Agency securitizations",
        "label": "Interest Expense On Mortgage Loans Serviced For Agency Securitizations",
        "documentation": "Represents interest incurred relating to mortgage-backed securities secured by mortgage loans in the company's loan servicing portfolio whereby the underlying loans prepaid during the period and the company as servicer of the mortgage-backed security is obligated to pass through the interest for the entire month and the borrower is only required to pay interest through the date of payoff during the month."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestExpenseOperating": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestExpenseOperating",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited": {
       "parentTag": "us-gaap_InterestIncomeExpenseNet",
       "weight": -1.0,
       "order": 1.0
      },
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail": {
       "parentTag": "us-gaap_InterestIncomeExpenseNet",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest expense",
        "label": "Interest Expense, Operating",
        "totalLabel": "Interest expense, total",
        "documentation": "Amount of interest expense classified as operating."
       }
      }
     },
     "auth_ref": [
      "r301",
      "r800",
      "r1055",
      "r1298"
     ]
    },
    "us-gaap_InterestExpenseOther": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestExpenseOther",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail": {
       "parentTag": "us-gaap_InterestExpenseOperating",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other",
        "label": "Interest Expense, Other",
        "documentation": "Amount of interest expense classified as other."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestExpenseSecuritiesSoldUnderAgreementsToRepurchase": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestExpenseSecuritiesSoldUnderAgreementsToRepurchase",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail": {
       "parentTag": "us-gaap_InterestExpenseOperating",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Assets sold under agreements to repurchase",
        "terseLabel": "Total interest expense",
        "label": "Interest Expense, Securities Sold under Agreements to Repurchase",
        "documentation": "Gross expenses on securities sold coupled with an agreement to repurchase the same from the same counterparty at a fixed or determinable price within a fixed or variable time period."
       }
      }
     },
     "auth_ref": [
      "r120",
      "r138",
      "r139"
     ]
    },
    "us-gaap_InterestIncomeAndInterestExpenseDisclosureTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestIncomeAndInterestExpenseDisclosureTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Net Interest Expense",
        "label": "Interest Income and Interest Expense Disclosure [Table Text Block]",
        "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.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpense"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net Interest Expense",
        "label": "Interest Income and Interest Expense Disclosure [Text Block]",
        "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": [
      "r107",
      "r108",
      "r109",
      "r110",
      "r114",
      "r116",
      "r117",
      "r118",
      "r119",
      "r120",
      "r121",
      "r122"
     ]
    },
    "us-gaap_InterestIncomeDomesticDeposits": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestIncomeDomesticDeposits",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail": {
       "parentTag": "us-gaap_InterestIncomeOperating",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Interest Income, Domestic Deposits, Total",
        "terseLabel": "Cash and short-term investments",
        "label": "Interest Income, Domestic Deposits",
        "documentation": "Interest earned on deposits in United States money market accounts and other United States interest earning accounts."
       }
      }
     },
     "auth_ref": [
      "r117"
     ]
    },
    "us-gaap_InterestIncomeExpenseNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestIncomeExpenseNet",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited": {
       "parentTag": "us-gaap_RevenuesNetOfInterestExpense",
       "weight": 1.0,
       "order": 3.0
      },
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Income (Expense), Operating",
        "totalLabel": "Net interest expense",
        "documentation": "Amount of interest income (expense) classified as operating."
       }
      }
     },
     "auth_ref": [
      "r797",
      "r1055",
      "r1374"
     ]
    },
    "us-gaap_InterestIncomeExpenseNetAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestIncomeExpenseNetAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net interest expense:",
        "label": "Interest Income (Expense), Operating [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_InterestIncomeExpenseOther": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "InterestIncomeExpenseOther",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail": {
       "parentTag": "us-gaap_InterestIncomeOperating",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest income (expense) other.",
        "terseLabel": "Other",
        "label": "Interest Income Expense Other"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_InterestIncomeOnMortgageLoansSubjectToDepositsSecuringCreditRiskTransferAgreements": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "InterestIncomeOnMortgageLoansSubjectToDepositsSecuringCreditRiskTransferAgreements",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail": {
       "parentTag": "us-gaap_InterestIncomeOperating",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Deposits securing CRT arrangements",
        "label": "Interest Income On Mortgage Loans Subject To Deposits Securing Credit Risk Transfer Agreements",
        "documentation": "Interest income on mortgage loans subject to deposits securing credit risk transfer agreements."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_InterestIncomeOnMortgageLoansSubjectToPlacementFeesRelatingToCustodialFunds": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "InterestIncomeOnMortgageLoansSubjectToPlacementFeesRelatingToCustodialFunds",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail": {
       "parentTag": "us-gaap_InterestIncomeOperating",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Placement fees relating to custodial funds",
        "label": "Interest Income On Mortgage Loans Subject To Placement Fees Relating To Custodial Funds",
        "documentation": "Interest income on mortgage loans subject to placement fees relating to custodial funds."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestIncomeOperating": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestIncomeOperating",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail": {
       "parentTag": "us-gaap_InterestIncomeExpenseNet",
       "weight": 1.0,
       "order": 0.0
      },
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited": {
       "parentTag": "us-gaap_InterestIncomeExpenseNet",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureVariableInterestEntitiesSummaryOfInvestmentInSeniorAndSubordinateMbsBackedByAssetsHeldInConsolidatedViesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest income",
        "totalLabel": "Interest income",
        "label": "Interest Income, Operating",
        "documentation": "Amount of operating interest income, including, but not limited to, amortization and accretion of premiums and discounts on securities."
       }
      }
     },
     "auth_ref": [
      "r300",
      "r805",
      "r806",
      "r943",
      "r1002",
      "r1004",
      "r1067",
      "r1161",
      "r1162",
      "r1297",
      "r1571"
     ]
    },
    "us-gaap_InterestIncomeSecuritiesMortgageBacked": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestIncomeSecuritiesMortgageBacked",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail": {
       "parentTag": "us-gaap_InterestIncomeOperating",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Mortgage-backed securities",
        "label": "Interest Income, Securities, Mortgage-Backed",
        "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": [
      "r114"
     ]
    },
    "us-gaap_InterestOnConvertibleDebtNetOfTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestOnConvertibleDebtNetOfTax",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureEarningsLossPerCommonShareSummaryOfBasicAndDilutedEarningsPerShareDetail": {
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureEarningsLossPerCommonShareSummaryOfBasicAndDilutedEarningsPerShareDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest on Exchangeable Notes, net of income taxes",
        "label": "Interest on Convertible Debt, Net of Tax",
        "documentation": "Amount, after tax, of interest recognized on convertible debt instrument excluding interest on principal required to be paid in cash."
       }
      }
     },
     "auth_ref": [
      "r265",
      "r269",
      "r279"
     ]
    },
    "pmt_InterestOnlySecurityPayableAtFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "InterestOnlySecurityPayableAtFairValue",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail": {
       "parentTag": "us-gaap_FinancialLiabilitiesFairValueDisclosure",
       "weight": 1.0,
       "order": 2.0
      },
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail": {
       "parentTag": "pmt_DerivativeAndCreditRiskTransferStripAssets",
       "weight": -1.0,
       "order": 3.0
      },
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtScheduleOfContractualMaturitiesOnLongTermDebtObligationsDetail": {
       "parentTag": "us-gaap_LongTermDebt",
       "weight": 1.0,
       "order": 3.0
      },
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtScheduleOfContractualMaturitiesOnLongTermDebtObligationsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Only Security Payable At Fair Value",
        "documentation": "Represents the fair value of interest-only strip securities classified as a liability.",
        "negatedLabel": "Interest-only security payable at fair value",
        "verboseLabel": "Interest-only security payable at fair value",
        "terseLabel": "Interest-only security payable at fair value"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_InterestOnlySecurityPayableMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "InterestOnlySecurityPayableMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfChangesInFairValueIncludedInCurrentPeriodResultsOfOperationsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest-only security payable [Member]",
        "label": "Interest Only Security Payable [Member]",
        "documentation": "Interest Only Security Payable [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_InterestOnlyStrippedMortgageBackedSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "InterestOnlyStrippedMortgageBackedSecuritiesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureMortgagebackedSecuritiesSummaryOfInvestmentsInMortgageBackedSecuritiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest-only stripped mortgage-backed securities.",
        "label": "Interest-Only Stripped Mortgage-Backed Securities [Member]",
        "terseLabel": "Interest-Only Stripped Mortgage-Backed Securities [Member]",
        "verboseLabel": "Interest-Only Stripped Securities [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestPaidNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestPaidNet",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest",
        "label": "Interest Paid, Excluding Capitalized Interest, Operating Activity",
        "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": [
      "r217",
      "r220",
      "r221"
     ]
    },
    "us-gaap_InterestPayableCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestPayableCurrent",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 17.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accounts payable and accrued liabilities interest payable",
        "label": "Interest Payable, Current",
        "documentation": "Carrying value as of the balance sheet date of [accrued] interest payable on all forms of debt, including trade payables, that has been incurred and is unpaid. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer)."
       }
      }
     },
     "auth_ref": [
      "r50"
     ]
    },
    "pmt_InterestRateLockCommitmentMeasurementInput": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "InterestRateLockCommitmentMeasurementInput",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInValuationOfInterestRateLockCommitmentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Key inputs used in valuation of IRLCs",
        "label": "Interest Rate Lock Commitment Measurement Input",
        "documentation": "Interest rate lock commitment measurement input."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_InterestRateLockCommitmentsAndLoansAcquiredForSaleMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "InterestRateLockCommitmentsAndLoansAcquiredForSaleMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesNetGainsLossesRecognizedOnDerivativeFinancialInstrumentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest rate lock commitments and loans acquired for sale [Member]",
        "label": "Interest Rate Lock Commitments And Loans Acquired For Sale [Member]",
        "documentation": "Interest rate lock commitments and loans acquired for sale."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_InterestRateLockCommitmentsAndLoansHeldForSaleMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "InterestRateLockCommitmentsAndLoansHeldForSaleMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesNetGainsLossesRecognizedOnDerivativeFinancialInstrumentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Rate Lock Commitments And Loans Held For Sale [Member]",
        "documentation": "Interest rate lock commitments and loans held for sale.",
        "terseLabel": "Interest rate lock commitments and loans held for sale [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestRateLockCommitmentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestRateLockCommitmentsMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesNetGainsLossesRecognizedOnDerivativeFinancialInstrumentsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAssetsFinancialInstrumentsAndCollateralHeldByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInValuationOfInterestRateLockCommitmentsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Rate Lock Commitments [Member]",
        "terseLabel": "Interest Rate Lock Commitments with PFSI [Member]",
        "verboseLabel": "Interest Rate Lock Commitments [Member]",
        "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": []
    },
    "pmt_InterestRateLockCommitmentsWithNon-AffiliatesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "InterestRateLockCommitmentsWithNon-AffiliatesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Rate Lock Commitments with Non-Affiliates [Member]",
        "documentation": "Interest rate lock commitments with non-affiliates."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_InterestRateLockCommitmentsWithPennymacFinancialServicesIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "InterestRateLockCommitmentsWithPennymacFinancialServicesIncMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Rate Lock Commitments with Pennymac Financial Services, Inc [Member]",
        "documentation": "Interest rate lock commitments with pennymac financial services, inc.",
        "terseLabel": "Interest Rate Lock Commitments with PFSI [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_InterestRateSensitiveStrategiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "InterestRateSensitiveStrategiesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest Rate Sensitive Strategies [Member]",
        "label": "Interest Rate Sensitive Strategies [Member]",
        "documentation": "Interest rate sensitive strategies."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestReceivable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestReceivable",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureOtherAssetsSummaryOfOtherAssetsDetail": {
       "parentTag": "us-gaap_OtherAssets",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureOtherAssetsSummaryOfOtherAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest receivable",
        "label": "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": [
      "r1284",
      "r1570"
     ]
    },
    "us-gaap_InterestReceivableAndOtherAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InterestReceivableAndOtherAssets",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedBalanceSheetsUnaudited2": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other interest receivable",
        "label": "Interest Receivable and Other Assets",
        "documentation": "Amount of interest receivable and assets classified as other."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentIncomeExpenseMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentIncomeExpenseMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfChangesInFairValueIncludedInCurrentPeriodResultsOfOperationsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Income (Expense) [Member]",
        "terseLabel": "Net Interest Expense [Member]",
        "documentation": "Primary financial statement caption encompassing investment income (expense)."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentIncomeNetAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentIncomeNetAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Net investment income:",
        "terseLabel": "Net investment income",
        "label": "Investment Income, Net [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentOwnedBalancePrincipalAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentOwnedBalancePrincipalAmount",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureMortgagebackedSecuritiesSummaryOfInvestmentsInMortgageBackedSecuritiesDetail": {
       "parentTag": "us-gaap_FinancialInstrumentsOwnedMortgagesMortgageBackedAndAssetBackedSecuritiesAtFairValue",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureMortgagebackedSecuritiesSummaryOfInvestmentsInMortgageBackedSecuritiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Owned, Balance, Principal Amount",
        "terseLabel": "Principal balance or notional amount",
        "documentation": "Amount of principal of investment owned."
       }
      }
     },
     "auth_ref": [
      "r899",
      "r908",
      "r978",
      "r988",
      "r1001",
      "r1154"
     ]
    },
    "pmt_InvestmentPropertiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "InvestmentPropertiesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureVariableInterestEntitiesSummaryOfInvestmentInSeniorAndSubordinateMbsBackedByAssetsHeldInConsolidatedViesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investment Properties [Member]",
        "label": "Investment Properties [Member]",
        "documentation": "Investment properties."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentTypeAxis",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureShorttermDebtTables",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesManagementAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfAssetsSoldUnderAgreementsToRepurchaseByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investment Type",
        "label": "Investment Type [Axis]",
        "documentation": "Information by type of investments."
       }
      }
     },
     "auth_ref": [
      "r900",
      "r902",
      "r903",
      "r905",
      "r908",
      "r974",
      "r979",
      "r982",
      "r987",
      "r989",
      "r998",
      "r1006",
      "r1007",
      "r1008",
      "r1009",
      "r1010",
      "r1154"
     ]
    },
    "us-gaap_InvestmentTypeCategorizationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentTypeCategorizationMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureShorttermDebtTables",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesManagementAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfAssetsSoldUnderAgreementsToRepurchaseByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investments",
        "label": "Investments [Domain]",
        "documentation": "Asset obtained to generate income or appreciate in value."
       }
      }
     },
     "auth_ref": [
      "r900",
      "r902",
      "r903",
      "r905",
      "r908",
      "r974",
      "r979",
      "r982",
      "r987",
      "r989",
      "r998",
      "r1006",
      "r1007",
      "r1008",
      "r1009",
      "r1010",
      "r1154"
     ]
    },
    "us-gaap_InvestmentTypeExtensibleEnumeration": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentTypeExtensibleEnumeration",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesManagementAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment, Type [Extensible Enumeration]",
        "documentation": "Indicates type of investment. Includes, but is not limited to, common stock, preferred stock, convertible security, fixed income security, government security, option purchased, warrant, loan participation and assignment, commercial paper, bankers' acceptance, certificates of deposit, short-term security, repurchase agreement, and other investment company."
       }
      }
     },
     "auth_ref": [
      "r900",
      "r905",
      "r975",
      "r979",
      "r980",
      "r982",
      "r983",
      "r989",
      "r999",
      "r1006"
     ]
    },
    "us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentsDebtAndEquitySecuritiesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments, Debt and Equity Securities [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetLossesGainsOnInvestmentsAndFinancings"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments in Debt and Marketable Equity Securities (and Certain Trading Assets) Disclosure [Text Block]",
        "terseLabel": "Net (Losses) Gains on Investments and Financings",
        "documentation": "The entire disclosure for investments in certain debt and equity securities."
       }
      }
     },
     "auth_ref": [
      "r123",
      "r140",
      "r339",
      "r341",
      "r694",
      "r695",
      "r1519"
     ]
    },
    "pmt_IoSecurityMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "IoSecurityMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueKeyInputsUsedInDeterminingFairValueOfIoDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "IO [Member]",
        "documentation": "IO security.",
        "label": "IO Security [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_JPMorganChaseAndCompanyMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "JPMorganChaseAndCompanyMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfAssetsSoldUnderAgreementsToRepurchaseByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "JPMorgan Chase &amp; Co. [Member]",
        "label": "J P Morgan Chase And Company [Member]",
        "documentation": "JP Morgan Chase And Company [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_JPMorganSecuritiesLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "JPMorganSecuritiesLLCMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAssetsFinancialInstrumentsAndCollateralHeldByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "J.P. Morgan Securities LLC [Member]",
        "label": "J P Morgan Securities L L C [Member]",
        "documentation": "J.P. Morgan Securities LLC."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_JumboLoanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "JumboLoanMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForSaleAtFairValueSummaryOfDistributionOfCompanysLoansHeldForSaleAtFairValueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Jumbo loan.",
        "label": "Jumbo Loan [Member]",
        "terseLabel": "Jumbo [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_JuneTwoThousandTwentyFiveMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "JuneTwoThousandTwentyFiveMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToSeniorNotesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "June Two Thousand twenty Five [Member]",
        "documentation": "June 2025.",
        "terseLabel": "June 2025 [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LaborAndRelatedExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LaborAndRelatedExpense",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited": {
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Compensation",
        "label": "Labor and Related Expense",
        "documentation": "Amount of expense for salary, wage, profit sharing; incentive and equity-based compensation; and other employee benefit."
       }
      }
     },
     "auth_ref": [
      "r798",
      "r1055",
      "r1299"
     ]
    },
    "us-gaap_LateFeeIncomeGeneratedByServicingFinancialAssetsAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LateFeeIncomeGeneratedByServicingFinancialAssetsAmount",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageServicingRightsSummaryOfNetLoanServicingFeesRelatingToMsrsDetail": {
       "parentTag": "pmt_MortgageLoanOtherServicingFees",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageServicingRightsSummaryOfNetLoanServicingFeesRelatingToMsrsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Late charges",
        "label": "Late Fee Income Generated by Servicing Financial Assets, Amount",
        "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": [
      "r777"
     ]
    },
    "pmt_LeasesCommitmentsAndPurchaseObligationsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "LeasesCommitmentsAndPurchaseObligationsAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesCompanySOutstandingContractualCommitmentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Commitments to purchase mortgage loans:",
        "label": "Leases Commitments And Purchase Obligations [Abstract]",
        "documentation": "Leases Commitments And Purchase Obligations [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "dei_LegalEntityAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "LegalEntityAxis",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForSaleAtFairValueSummaryOfDistributionOfCompanysLoansHeldForSaleAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToUnsecuredSeniorNotesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSaleSummaryOfNetGainsOnMortgageLoansHeldForSaleDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetLossesGainsOnInvestmentsAndFinancingsSummaryOfNetLossesGainsOnInvestmentsAndFinancingsDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAssetsFinancialInstrumentsAndCollateralHeldByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnauditedParenthetical",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Legal Entity",
        "label": "Legal Entity [Axis]",
        "documentation": "The set of legal entities associated with a report."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_Liabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "Liabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total liabilities",
        "label": "Liabilities",
        "documentation": "Amount of liability recognized for present obligation requiring transfer or otherwise providing economic benefit to others."
       }
      }
     },
     "auth_ref": [
      "r12",
      "r49",
      "r50",
      "r51",
      "r56",
      "r57",
      "r58",
      "r59",
      "r224",
      "r227",
      "r228",
      "r372",
      "r411",
      "r412",
      "r413",
      "r414",
      "r415",
      "r416",
      "r417",
      "r418",
      "r419",
      "r569",
      "r573",
      "r574",
      "r712",
      "r918",
      "r1059",
      "r1103",
      "r1164",
      "r1411",
      "r1506",
      "r1507"
     ]
    },
    "us-gaap_LiabilitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LiabilitiesAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "LIABILITIES",
        "label": "Liabilities [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LiabilitiesAndStockholdersEquity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LiabilitiesAndStockholdersEquity",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total liabilities and shareholders\u2019 equity",
        "label": "Liabilities and Equity",
        "documentation": "Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any."
       }
      }
     },
     "auth_ref": [
      "r66",
      "r104",
      "r823",
      "r1139",
      "r1147",
      "r1148",
      "r1352",
      "r1357",
      "r1391",
      "r1493"
     ]
    },
    "us-gaap_LiabilitiesFairValueDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LiabilitiesFairValueDisclosureAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Liabilities:",
        "label": "Liabilities, Fair Value Disclosure [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_LiabilityForRepresentationsAndWarrantiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "LiabilityForRepresentationsAndWarrantiesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Liability For Representations And Warranties [Abstract]",
        "documentation": "Liability for representations and warranties."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_LiabilityForRepresentationsAndWarrantiesDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "LiabilityForRepresentationsAndWarrantiesDisclosureTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLiabilityForLossesUnderRepresentationsAndWarranties"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Liability for Losses Under Representations and Warranties",
        "label": "Liability For Representations And Warranties Disclosure [Text Block]",
        "documentation": "The entire disclosure representing the liability of the entity under the representations and warranties made to purchasers of the loans it sells."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LineOfCreditFacilityMaximumAmountOutstandingDuringPeriod": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LineOfCreditFacilityMaximumAmountOutstandingDuringPeriod",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Maximum daily amount outstanding",
        "label": "Line of Credit Facility, Maximum Amount Outstanding During Period",
        "documentation": "Maximum amount borrowed under the credit facility at any time during the period."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LineOfCreditFacilityMaximumBorrowingCapacity",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Line of credit, maximum borrowing capacity",
        "label": "Line of Credit Facility, Maximum Borrowing Capacity",
        "documentation": "Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility."
       }
      }
     },
     "auth_ref": [
      "r48",
      "r55"
     ]
    },
    "pmt_LiquidAssetRequirementForRegulatoryCompliance": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "LiquidAssetRequirementForRegulatoryCompliance",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureRegulatoryCapitalAndLiquidityRequirementsSummaryOfCapitalAndLiquidityAmountsAndRequirementsByAgenciesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Liquidity, Required",
        "label": "Liquid Asset Requirement For Regulatory Compliance",
        "documentation": "Liquid asset requirement for \u200bregulatory compliance."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_LiquidAssetsForRegulatoryCompliance": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "LiquidAssetsForRegulatoryCompliance",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureRegulatoryCapitalAndLiquidityRequirementsSummaryOfCapitalAndLiquidityAmountsAndRequirementsByAgenciesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Liquidity, Actual",
        "label": "Liquid Assets For Regulatory Compliance",
        "documentation": "Liquid\u200b assets for regulatory compliance."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_LiquidityRequirementRatioAmount": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "LiquidityRequirementRatioAmount",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureRegulatoryCapitalAndLiquidityRequirementsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Liquidity requirement basis point",
        "label": "Liquidity Requirement Ratio Amount",
        "documentation": "Liquidity requirement ratio amount."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_LoanAndSecurityAgreementWithCitibankMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "LoanAndSecurityAgreementWithCitibankMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Loan And Security Agreement With Citibank [Member]",
        "label": "Loan And Security Agreement With Citibank [Member]",
        "documentation": "Loan and security agreement with citibank member."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_LoanFulfillmentFeesPayableToAffiliate": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "LoanFulfillmentFeesPayableToAffiliate",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited": {
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesSummaryOfAggregationAndSecuritizationActivitiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Loan fulfillment fees earned by PLS",
        "terseLabel": "Loan fulfillment fees",
        "label": "Loan Fulfillment Fees Payable To Affiliate",
        "documentation": "The fees paid by the reporting entity to an affiliate for services performed in connection with the acquisition, packaging and sale of the reporting entity's mortgage loans."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_LoanFulfillmentFeesPayableToAffiliates": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "LoanFulfillmentFeesPayableToAffiliates",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loan Fulfillment Fees Payable To Affiliates",
        "documentation": "Loan fulfillment fees payable to affiliates.",
        "terseLabel": "Loan fulfillment fees"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_LoanManagementFeesAndFulfillmentServicingPayableToAffiliate": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "LoanManagementFeesAndFulfillmentServicingPayableToAffiliate",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Loan servicing fees and fulfillment payable to PFSI",
        "label": "Loan Management Fees And Fulfillment Servicing Payable To Affiliate",
        "documentation": "Loan management fees and fulfillment servicing payable to affiliate."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_LoanOriginationsFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "LoanOriginationsFees",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited": {
       "parentTag": "us-gaap_RevenuesNetOfInterestExpense",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Loan origination fees",
        "label": "Loan Originations Fees",
        "documentation": "Fees charged to correspondent lenders and borrowers relating to the purchase or origination of mortgage loans."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LoanPortfolioExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LoanPortfolioExpense",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited": {
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfLoanServicingFeesEarnedAndMortgageServicingRightsRecapturedIncomeEarnedDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Loan servicing fees",
        "label": "Loan Portfolio Expense",
        "documentation": "The loan servicing fees paid to third parties that relate to loan expenses for a portfolio containing the entire group of loans owned by the company."
       }
      }
     },
     "auth_ref": [
      "r70"
     ]
    },
    "pmt_LoanPortfolioIncomeExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "LoanPortfolioIncomeExpense",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfLoanServicingFeesEarnedAndMortgageServicingRightsRecapturedIncomeEarnedDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loan Portfolio Income Expense",
        "documentation": "Loan portfolio income expense",
        "terseLabel": "Loan servicing fees"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LoanProcessingFee": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LoanProcessingFee",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited": {
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Loan origination",
        "label": "Loan Processing Fee",
        "documentation": "Expenses paid for obtaining loans which includes expenses such as application and origination fees."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_LoanSalesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "LoanSalesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Loan Sales [Abstract]",
        "documentation": "Loan sales."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_LoanSalesDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "LoanSalesDisclosureTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLoanSales"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Loan Sales",
        "label": "Loan Sales Disclosure [Text Block]",
        "documentation": "Loan Sales Disclosure."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_LoanServicingFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "LoanServicingFees",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Loan servicing fees",
        "label": "Loan Servicing Fees",
        "documentation": "Loan servicing fees."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_LoanServicingFeesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "LoanServicingFeesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesNetGainsLossesRecognizedOnDerivativeFinancialInstrumentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net Loan Servicing fees [Member]",
        "label": "Loan Servicing Fees [Member]",
        "documentation": "Loan Servicing Fees [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_LoansAcquiredForSaleMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "LoansAcquiredForSaleMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Loans acquired for sale [Member]",
        "terseLabel": "Loans Acquired For Sale",
        "label": "Loans Acquired For Sale [Member]",
        "documentation": "Loans acquired for sale."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_LoansAndMSRsSoldUnderAgreementsToRepurchaseMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "LoansAndMSRsSoldUnderAgreementsToRepurchaseMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureShorttermDebtTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loans And M S Rs Sold Under Agreements To Repurchase [Member]",
        "documentation": "Loans and M S Rs sold under agreements to repurchase.",
        "terseLabel": "Loans and MSRs Sold Under Agreements to Repurchase [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_LoansAtFairValueMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "LoansAtFairValueMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Loans At Fair Value [Member]",
        "terseLabel": "Loans At Fair Value",
        "label": "Loans At Fair Value [Member]",
        "documentation": "Loans at fair value."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_LoansHeldForInvestmentAtFairValueMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "LoansHeldForInvestmentAtFairValueMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loans held for investment at fair value [Member]",
        "documentation": "Loans held for investment at fair value.",
        "terseLabel": "Loans Held For Investment At Fair Value [Member]",
        "verboseLabel": "Loans Held for Investment at Fair Value [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_LoansHeldForInvestmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "LoansHeldForInvestmentMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loans Held for Investment [Member]",
        "documentation": "Loans held for investment."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_LoansHeldForSaleAtFairValueMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "LoansHeldForSaleAtFairValueMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForSaleAtFairValueSummaryOfDistributionOfCompanysLoansHeldForSaleAtFairValueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loans Held For Sale At Fair Value [Member]",
        "documentation": "Loans held for sale at fair value.",
        "terseLabel": "Loans Held for Sale at Fair Value [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_LoansHeldForSaleMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "LoansHeldForSaleMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loans Held For Sale [Member]",
        "documentation": "Loans held for sale."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_LoansManagedAndSecuritizedCustodialFundsManaged": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "LoansManagedAndSecuritizedCustodialFundsManaged",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLoanSalesSummaryOfCollectionStatusInformationForLoansAccountedForSalesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Custodial funds managed by the Company",
        "label": "Loans Managed And Securitized Custodial Funds Managed",
        "documentation": "Represents custodial funds managed relating to mortgage loans sold and serviced by the company."
       }
      }
     },
     "auth_ref": []
    },
    "dei_LocalPhoneNumber": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "LocalPhoneNumber",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Local Phone Number",
        "label": "Local Phone Number",
        "documentation": "Local phone number for entity."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LongTermDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LongTermDebt",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtScheduleOfContractualMaturitiesOnLongTermDebtObligationsDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtScheduleOfContractualMaturitiesOnLongTermDebtObligationsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total",
        "label": "Long-Term Debt",
        "documentation": "Amount, after deduction of unamortized premium (discount) and debt issuance cost, of long-term debt. Excludes lease obligation."
       }
      }
     },
     "auth_ref": [
      "r12",
      "r102",
      "r225",
      "r240",
      "r427",
      "r438",
      "r804",
      "r1099",
      "r1100",
      "r1138",
      "r1524"
     ]
    },
    "pmt_LongTermDebtAverageBalanceDuringPeriod": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "LongTermDebtAverageBalanceDuringPeriod",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToAssetBackedFinancingOfVIEAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Average balance",
        "label": "Long Term Debt Average Balance During Period",
        "documentation": "Long term debt average balance during period."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_LongTermDebtByMaturityTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "LongTermDebtByMaturityTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Contractual Maturities on Long Term Debt Obligations",
        "label": "Long Term Debt By Maturity Table [Text Block]",
        "documentation": "Represents table detailing aggregate annual maturities on long-term debt obligations (based on final maturity dates)."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LongTermDebtFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LongTermDebtFairValue",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueCarryingAndFairValuesOfNotesPayableSecuredByCreditRiskTransferAndMortgageServicingRightsAndExchangeableSeniorNotesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Notes payable",
        "label": "Long-Term Debt, Fair Value",
        "documentation": "The fair value amount of long-term debt whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission."
       }
      }
     },
     "auth_ref": [
      "r1046",
      "r1137",
      "r1472",
      "r1474",
      "r1475",
      "r1476",
      "r1487",
      "r1488",
      "r1489",
      "r1492"
     ]
    },
    "us-gaap_LongTermDebtTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LongTermDebtTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebt"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Long-Term Debt",
        "label": "Long-Term Debt [Text Block]",
        "documentation": "The entire disclosure for long-term debt."
       }
      }
     },
     "auth_ref": [
      "r84"
     ]
    },
    "us-gaap_LongTermDebtWeightedAverageInterestRateOverTime": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LongTermDebtWeightedAverageInterestRateOverTime",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToUnsecuredSeniorNotesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToAssetBackedFinancingOfVIEAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Weighted average interest rate",
        "terseLabel": "Weighted-average interest rate",
        "label": "Long-Term Debt, Weighted Average Interest Rate, over Time",
        "documentation": "Weighted average interest rate of long-term debt outstanding calculated over time."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LongTermNotesPayableAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LongTermNotesPayableAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Assets securing notes payable:",
        "label": "Notes Payable, Noncurrent [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LongtermDebtTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LongtermDebtTypeAxis",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToExchangeableSeniorNotesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToSeniorNotesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToUnsecuredSeniorNotesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToUnsecuredSeniorNotesParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueCarryingAndFairValuesOfNotesPayableSecuredByCreditRiskTransferAndMortgageServicingRightsAndExchangeableSeniorNotesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtScheduleOfContractualMaturitiesOnLongTermDebtObligationsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToAssetBackedFinancingOfVIEAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToAssetBackedFinancingOfVIEAtFairValueParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfTermNoteIssuedToQualifiedInstitutionalBuyersDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Long-term Debt, Type",
        "label": "Long-Term Debt, Type [Axis]",
        "documentation": "Information by type of long-term debt."
       }
      }
     },
     "auth_ref": [
      "r12",
      "r1402",
      "r1403",
      "r1404"
     ]
    },
    "us-gaap_LongtermDebtTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LongtermDebtTypeDomain",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToExchangeableSeniorNotesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToSeniorNotesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToUnsecuredSeniorNotesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToUnsecuredSeniorNotesParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueCarryingAndFairValuesOfNotesPayableSecuredByCreditRiskTransferAndMortgageServicingRightsAndExchangeableSeniorNotesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtScheduleOfContractualMaturitiesOnLongTermDebtObligationsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToAssetBackedFinancingOfVIEAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToAssetBackedFinancingOfVIEAtFairValueParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfTermNoteIssuedToQualifiedInstitutionalBuyersDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Long-term Debt, Type",
        "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": [
      "r12",
      "r30",
      "r1402",
      "r1403",
      "r1404"
     ]
    },
    "us-gaap_LongtermDebtWeightedAverageInterestRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LongtermDebtWeightedAverageInterestRate",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToAssetBackedFinancingOfVIEAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted average interest rate",
        "label": "Long-Term Debt, Weighted Average Interest Rate, at Point in Time",
        "documentation": "Weighted average interest rate of long-term debt outstanding calculated at point in time."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LossContingencyAccrualAtCarryingValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "LossContingencyAccrualAtCarryingValue",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loss Contingency Accrual",
        "periodEndLabel": "Loss Contingency Accrual, Ending Balance",
        "periodStartLabel": "Loss Contingency Accrual, Beginning Balance",
        "terseLabel": "Loss contingency accrual",
        "documentation": "Amount of loss contingency liability."
       }
      }
     },
     "auth_ref": [
      "r406",
      "r1254"
     ]
    },
    "pmt_MSRAtFairValueServiceFeeAnnualRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MSRAtFairValueServiceFeeAnnualRate",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyAssumptionsUsedInValuationOfMsrsAsOfDatesPresentedAndEffectOnEstimatedFairValueFromAdverseChangesInThoseInputsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted-average annual servicing fee rate (in basis points), Fair value input",
        "label": "M S R At Fair Value Service Fee Annual Rate",
        "documentation": "MSR at fair value service fee annual rate."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MSRAtFairValueServiceFeeAnnualRateAtInitialRecognition": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MSRAtFairValueServiceFeeAnnualRateAtInitialRecognition",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueKeyAssumptionsUsedInDeterminingFairValueOfMsrsAtTimeOfInitialRecognitionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair value, Weighted-average annual servicing fee rate (in basis points)",
        "label": "M S R At Fair Value Service Fee Annual Rate At Initial Recognition",
        "documentation": "MSR at fair value service fee annual rate at initial recognition."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ManagementAgreementExpirationDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ManagementAgreementExpirationDate",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesManagementAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Management Agreement Expiration Date",
        "documentation": "Management agreement expiration date.",
        "terseLabel": "Management agreement expiration date"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ManagementAgreementMaturityRenewalTerm": {
     "xbrltype": "durationItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ManagementAgreementMaturityRenewalTerm",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesManagementAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Management Agreement Maturity Renewal Term",
        "documentation": "Management agreement maturity renewal term.",
        "terseLabel": "Management agreement maturity renewal term"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ManagementFeeExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ManagementFeeExpense",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited": {
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfManagementFeeExpenseDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Total management fee incurred during the period",
        "terseLabel": "Management fees",
        "label": "Management Fee Expense",
        "documentation": "Amount of expense for investment management fee, including, but not limited to, expense in connection with research, selection, supervision, and custody of investment."
       }
      }
     },
     "auth_ref": [
      "r5",
      "r946",
      "r1162",
      "r1563"
     ]
    },
    "us-gaap_ManagementFeePayable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ManagementFeePayable",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfAmountsReceivableFromAndPayableToPFSIDetail": {
       "parentTag": "us-gaap_OtherLiabilities",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfAmountsReceivableFromAndPayableToPFSIDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Management fees",
        "label": "Management Fee Payable",
        "documentation": "Amount of fee payable for management of fund or trust."
       }
      }
     },
     "auth_ref": [
      "r912"
     ]
    },
    "us-gaap_ManagingRisksInherentInServicingAssetsAndServicingLiabilitiesByTypeOfRiskAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ManagingRisksInherentInServicingAssetsAndServicingLiabilitiesByTypeOfRiskAxis",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Servicing Assets and Servicing Liabilities Risk",
        "label": "Servicing Assets and Servicing Liabilities Risk [Axis]",
        "documentation": "Information by type of risks inherent in servicing assets and servicing liabilities."
       }
      }
     },
     "auth_ref": [
      "r44"
     ]
    },
    "pmt_MarchFiveTwentyTwentyOneMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MarchFiveTwentyTwentyOneMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToExchangeableSeniorNotesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "March Five Twenty Twenty One [Member]",
        "documentation": "March five twenty twenty one.",
        "terseLabel": "March 5, 2021 [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_MarginDepositAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MarginDepositAssets",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureOtherAssetsSummaryOfOtherAssetsDetail": {
       "parentTag": "us-gaap_OtherAssets",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureOtherAssetsSummaryOfOtherAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Margin deposits",
        "label": "Margin Deposit Assets",
        "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": [
      "r909",
      "r1281"
     ]
    },
    "pmt_MarginDepositAssetsLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MarginDepositAssetsLiabilities",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Margin deposits received from derivative counterparties, net",
        "label": "Margin Deposit Assets Liabilities",
        "documentation": "Margin deposit assets liabilities.",
        "terseLabel": "Margin deposits (received from) placed with derivative counterparties included in derivative balances above, net"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MarginDepositsPlacedWithCounterParties": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MarginDepositsPlacedWithCounterParties",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Margin deposits placed with counterparties included in Other assets, net",
        "label": "Margin Deposits Placed With Counter Parties",
        "documentation": "Margin deposits placed with counter parties."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_Maturity30To90DaysMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "Maturity30To90DaysMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfMaturitiesOfOutstandingAdvancesUnderRepurchaseAgreementsByMaturityDateDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Over 30 to 90 days [Member]",
        "label": "Maturity 30 to 90 Days [Member]",
        "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": [
      "r224",
      "r234",
      "r1140"
     ]
    },
    "pmt_MaturityNineZeroToOneEightZeroDaysMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MaturityNineZeroToOneEightZeroDaysMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfMaturitiesOfOutstandingAdvancesUnderRepurchaseAgreementsByMaturityDateDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Over 90 days to 180 days [Member]",
        "label": "Maturity Nine Zero To One Eight Zero Days [Member]",
        "documentation": "Maturity of repurchase agreement over 90 days to 180 days."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MaturityOneEightZeroDaysToOneYearMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MaturityOneEightZeroDaysToOneYearMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfMaturitiesOfOutstandingAdvancesUnderRepurchaseAgreementsByMaturityDateDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Over 180 Days to 1 Year [Member]",
        "label": "Maturity One Eight Zero Days To One Year [Member]",
        "documentation": "Maturity of repurchase agreement over 180 days to 1 year."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MaturityOneYearToTwoYearsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MaturityOneYearToTwoYearsMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfMaturitiesOfOutstandingAdvancesUnderRepurchaseAgreementsByMaturityDateDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Over 1 year to 2 years [Member]",
        "label": "Maturity One Year To Two Years [Member]",
        "documentation": "Maturity One Year To Two Years [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_MaturityUpTo30DaysMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MaturityUpTo30DaysMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfMaturitiesOfOutstandingAdvancesUnderRepurchaseAgreementsByMaturityDateDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Within 30 days [Member]",
        "label": "Maturity Less than 30 Days [Member]",
        "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": [
      "r224",
      "r233",
      "r1140"
     ]
    },
    "pmt_MaximumAggregateOfferingPrice": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MaximumAggregateOfferingPrice",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquityAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Maximum aggregate offering price",
        "label": "Maximum Aggregate Offering Price",
        "documentation": "Maximum Aggregate Offering Price"
       }
      }
     },
     "auth_ref": []
    },
    "srt_MaximumMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "MaximumMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueKeyInputsUsedInDeterminingFairValueOfIoDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfKeyUnobservableInputsUsedInValuationCreditRiskTransferStripLiabilitiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesManagementAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesMortgageBankingServicesAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesServicingAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueKeyAssumptionsUsedInDeterminingFairValueOfMsrsAtTimeOfInitialRecognitionDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyAssumptionsUsedInValuationOfMsrsAsOfDatesPresentedAndEffectOnEstimatedFairValueFromAdverseChangesInThoseInputsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInReviewAndApprovalOfBrokerProvidedFairValuesForCRTDerivativesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInValuationOfInterestRateLockCommitmentsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageBackedSecuritiesSummaryOfInvestmentInMortgageBackedSecuritiesParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureRegulatoryCapitalAndLiquidityRequirementsAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquityAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesNotePayableToPLSAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Maximum [Member]",
        "label": "Maximum [Member]",
        "documentation": "Upper limit of the provided range."
       }
      }
     },
     "auth_ref": [
      "r142",
      "r143",
      "r144",
      "r145",
      "r146",
      "r155",
      "r157",
      "r158",
      "r172",
      "r173",
      "r291",
      "r407",
      "r408",
      "r409",
      "r410",
      "r485",
      "r514",
      "r515",
      "r516",
      "r525",
      "r676",
      "r794",
      "r853",
      "r855",
      "r869",
      "r909",
      "r910",
      "r976",
      "r980",
      "r985",
      "r986",
      "r999",
      "r1026",
      "r1028",
      "r1030",
      "r1031",
      "r1043",
      "r1044",
      "r1075",
      "r1104",
      "r1112",
      "r1115",
      "r1117",
      "r1118",
      "r1130",
      "r1131",
      "r1135",
      "r1136",
      "r1142",
      "r1415",
      "r1508",
      "r1509",
      "r1510",
      "r1511",
      "r1512",
      "r1513"
     ]
    },
    "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": [
      "r1213"
     ]
    },
    "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": [
      "r1213"
     ]
    },
    "us-gaap_MeasurementInputConstantPrepaymentRateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MeasurementInputConstantPrepaymentRateMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInReviewAndApprovalOfBrokerProvidedFairValuesForCRTDerivativesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Voluntary Prepayment Speed [Member]",
        "label": "Measurement Input, Constant Prepayment Rate [Member]",
        "documentation": "Measurement input using principal prepayment as proportion of outstanding loan principal at constant rate."
       }
      }
     },
     "auth_ref": [
      "r1130",
      "r1474",
      "r1475",
      "r1476"
     ]
    },
    "us-gaap_MeasurementInputDiscountRateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MeasurementInputDiscountRateMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfKeyUnobservableInputsUsedInValuationCreditRiskTransferStripLiabilitiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInReviewAndApprovalOfBrokerProvidedFairValuesForCRTDerivativesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Discount Rate [Member]",
        "label": "Measurement Input, Discount Rate [Member]",
        "documentation": "Measurement input using interest rate to determine present value of future cash flows."
       }
      }
     },
     "auth_ref": [
      "r1115",
      "r1117",
      "r1118",
      "r1474",
      "r1475",
      "r1476"
     ]
    },
    "pmt_MeasurementInputInvoluntaryPrepaymentSpeedMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MeasurementInputInvoluntaryPrepaymentSpeedMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfKeyUnobservableInputsUsedInValuationCreditRiskTransferStripLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Involuntary Prepayment Speed [Member]",
        "label": "Measurement Input Involuntary Prepayment Speed [Member]",
        "documentation": "Measurement input involuntary prepayment speed."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_MeasurementInputLossSeverityMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MeasurementInputLossSeverityMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInReviewAndApprovalOfBrokerProvidedFairValuesForCRTDerivativesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measurement Input, Loss Severity [Member]",
        "terseLabel": "Measurement Input, Loss Severity",
        "documentation": "Measurement input using loss, including, but not limited to, interest and write-down of principal, incurred on defaulted security as proportion of principal balance."
       }
      }
     },
     "auth_ref": [
      "r1130",
      "r1474",
      "r1475",
      "r1476"
     ]
    },
    "us-gaap_MeasurementInputPrepaymentRateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MeasurementInputPrepaymentRateMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInReviewAndApprovalOfBrokerProvidedFairValuesForCRTDerivativesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Involuntary Prepayment Speed [Member]",
        "label": "Measurement Input, Prepayment Rate [Member]",
        "documentation": "Measurement input using principal prepayment at other than constant rate as proportion of outstanding loan principal."
       }
      }
     },
     "auth_ref": [
      "r1474",
      "r1475",
      "r1476"
     ]
    },
    "pmt_MeasurementInputPullThroughRateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MeasurementInputPullThroughRateMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInValuationOfInterestRateLockCommitmentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Pull-Through Rate [Member]",
        "label": "Measurement Input Pull Through Rate [Member]",
        "documentation": "Measurement input pull through rate."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MeasurementInputRemainingLossExpectationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MeasurementInputRemainingLossExpectationMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfKeyUnobservableInputsUsedInValuationCreditRiskTransferStripLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Remaining Loss Expectation [Member]",
        "label": "Measurement Input Remaining Loss Expectation [Member]",
        "documentation": "Measurement input remaining loss expectation."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MeasurementInputServicingFeeMultipleMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MeasurementInputServicingFeeMultipleMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInValuationOfInterestRateLockCommitmentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Servicing Fee Multiple [Member]",
        "label": "Measurement Input Servicing Fee Multiple [Member]",
        "documentation": "Measurement input servicing fee multiple."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_MeasurementInputTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MeasurementInputTypeAxis",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfKeyUnobservableInputsUsedInValuationCreditRiskTransferStripLiabilitiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInReviewAndApprovalOfBrokerProvidedFairValuesForCRTDerivativesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInValuationOfInterestRateLockCommitmentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Measurement Input Type",
        "label": "Measurement Input Type [Axis]",
        "documentation": "Information by type of measurement input used to determine value of asset and liability."
       }
      }
     },
     "auth_ref": [
      "r512",
      "r513",
      "r514",
      "r515",
      "r516",
      "r517",
      "r674",
      "r675",
      "r676",
      "r1115",
      "r1117",
      "r1118",
      "r1130"
     ]
    },
    "us-gaap_MeasurementInputTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MeasurementInputTypeDomain",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfKeyUnobservableInputsUsedInValuationCreditRiskTransferStripLiabilitiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInReviewAndApprovalOfBrokerProvidedFairValuesForCRTDerivativesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInValuationOfInterestRateLockCommitmentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Measurement Input Type",
        "label": "Measurement Input Type [Domain]",
        "documentation": "Measurement input used to determine value of asset and liability."
       }
      }
     },
     "auth_ref": [
      "r674",
      "r675",
      "r676",
      "r1115",
      "r1117",
      "r1118",
      "r1130"
     ]
    },
    "pmt_MeasurementInputUnpaidPrincipalBalanceMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MeasurementInputUnpaidPrincipalBalanceMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInValuationOfInterestRateLockCommitmentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measurement Input Unpaid Principal Balance [Member]",
        "documentation": "Measurement input unpaid principal balance.",
        "terseLabel": "Percentage of Unpaid Principal Balance [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MeasurementInputVoluntaryPrepaymentSpeedMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MeasurementInputVoluntaryPrepaymentSpeedMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfKeyUnobservableInputsUsedInValuationCreditRiskTransferStripLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Voluntary Prepayment Speed [Member]",
        "label": "Measurement Input Voluntary Prepayment Speed [Member]",
        "documentation": "Measurement input voluntary prepayment speed."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MetroLifeInsCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MetroLifeInsCoMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAssetsFinancialInstrumentsAndCollateralHeldByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Metro Life Ins Co [Member]",
        "documentation": "Metro Life Ins Co."
       }
      }
     },
     "auth_ref": []
    },
    "srt_MinimumMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "MinimumMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueKeyInputsUsedInDeterminingFairValueOfIoDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfKeyUnobservableInputsUsedInValuationCreditRiskTransferStripLiabilitiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesManagementAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesMortgageBankingServicesAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesServicingAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueKeyAssumptionsUsedInDeterminingFairValueOfMsrsAtTimeOfInitialRecognitionDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyAssumptionsUsedInValuationOfMsrsAsOfDatesPresentedAndEffectOnEstimatedFairValueFromAdverseChangesInThoseInputsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInReviewAndApprovalOfBrokerProvidedFairValuesForCRTDerivativesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInValuationOfInterestRateLockCommitmentsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageBackedSecuritiesSummaryOfInvestmentInMortgageBackedSecuritiesParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureRegulatoryCapitalAndLiquidityRequirementsAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquityAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesNotePayableToPLSAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Minimum [Member]",
        "terseLabel": "Minimum [Member]",
        "label": "Minimum [Member]",
        "documentation": "Lower limit of the provided range."
       }
      }
     },
     "auth_ref": [
      "r142",
      "r143",
      "r144",
      "r145",
      "r146",
      "r155",
      "r157",
      "r158",
      "r172",
      "r173",
      "r291",
      "r407",
      "r408",
      "r409",
      "r410",
      "r485",
      "r514",
      "r515",
      "r516",
      "r525",
      "r676",
      "r794",
      "r853",
      "r855",
      "r869",
      "r909",
      "r910",
      "r976",
      "r980",
      "r985",
      "r986",
      "r999",
      "r1026",
      "r1028",
      "r1030",
      "r1031",
      "r1043",
      "r1044",
      "r1075",
      "r1104",
      "r1112",
      "r1115",
      "r1117",
      "r1118",
      "r1130",
      "r1131",
      "r1135",
      "r1142",
      "r1415",
      "r1508",
      "r1509",
      "r1510",
      "r1511",
      "r1512",
      "r1513"
     ]
    },
    "us-gaap_MinimumNetWorthRequiredForCompliance": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MinimumNetWorthRequiredForCompliance",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureRegulatoryCapitalAndLiquidityRequirementsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Minimum net worth amount",
        "label": "Banking Regulation, Mortgage Banking, Net Worth, Minimum",
        "documentation": "Amount of minimum net worth required for mortgage banking as defined by regulatory framework."
       }
      }
     },
     "auth_ref": [
      "r1019",
      "r1022",
      "r1023",
      "r1024"
     ]
    },
    "pmt_MizuhoFinancialGroupMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MizuhoFinancialGroupMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfAssetsSoldUnderAgreementsToRepurchaseByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAssetsFinancialInstrumentsAndCollateralHeldByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Mizuho Financial Group [Member]",
        "label": "Mizuho Financial Group [Member]",
        "documentation": "Mizuho Financial Group."
       }
      }
     },
     "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": [
      "r1232"
     ]
    },
    "pmt_MorganStanleyAndCompanyLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MorganStanleyAndCompanyLLCMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfAssetsSoldUnderAgreementsToRepurchaseByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAssetsFinancialInstrumentsAndCollateralHeldByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Morgan Stanley &amp; Co. LLC [Member]",
        "label": "Morgan Stanley And Company L L C [Member]",
        "documentation": "Morgan Stanley And Company. LLC."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MorganStanleyCoLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MorganStanleyCoLLCMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Morgan Stanley &amp; Co. LLC [Member]",
        "label": "Morgan Stanley Co L L C [Member]",
        "documentation": "Morgan stanley &amp; co. Llc member"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageBackedSecuritiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageBackedSecuritiesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Mortgage Backed Securities [Abstract]",
        "documentation": "Mortgage backed securities."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageBackedSecuritiesAtFairValueMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageBackedSecuritiesAtFairValueMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Mortgage-backed securities at fair value.",
        "label": "Mortgage Backed Securities At Fair Value [Member]",
        "terseLabel": "Mortgage-backed securities at fair value [Member]",
        "verboseLabel": "Mortgage Backed Securities at Fair Value [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_MortgageBackedSecuritiesAvailableForSaleFairValueDisclosure": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MortgageBackedSecuritiesAvailableForSaleFairValueDisclosure",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureVariableInterestEntitiesSummaryOfInvestmentInSeniorAndSubordinateMbsBackedByAssetsHeldInConsolidatedViesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Security, Mortgage-Backed, Available-for-Sale, Fair Value Disclosure",
        "terseLabel": "Retained interests at fair value pledged to secure Assets sold under agreements to repurchase",
        "documentation": "Fair value of securitized, pay-through debt securities collateralized by real estate mortgage loans classified as available-for-sale."
       }
      }
     },
     "auth_ref": [
      "r672",
      "r673",
      "r1487",
      "r1488",
      "r1489"
     ]
    },
    "pmt_MortgageBackedSecuritiesCallOptionsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageBackedSecuritiesCallOptionsMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "MBS Call Options [Member]",
        "label": "Mortgage Backed Securities Call Options [Member]",
        "documentation": "Mortgage backed securities call options."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageBackedSecuritiesDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageBackedSecuritiesDisclosureTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageBackedSecurities"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Mortgage-Backed Securities",
        "label": "Mortgage Backed Securities Disclosure [Text Block]",
        "documentation": "Mortgage backed securities."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageBackedSecuritiesIncludingInterestOnlyStrippedMortgageBackedSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageBackedSecuritiesIncludingInterestOnlyStrippedMortgageBackedSecuritiesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureMortgagebackedSecuritiesSummaryOfInvestmentsInMortgageBackedSecuritiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Mortgage-backed securities including interest-only stripped mortgage-backed securities.",
        "label": "Mortgage-Backed Securities Including Interest-Only Stripped Mortgage-Backed Securities [Member]",
        "terseLabel": "Mortgage-Backed Securities Including Interest-Only Stripped Mortgage-Backed Securities [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageBackedSecuritiesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageBackedSecuritiesLineItems",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureMortgagebackedSecuritiesScheduleOfMortgageBackedSecuritiesPledgedToSecureAssetsSoldDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureMortgagebackedSecuritiesSummaryOfInvestmentsInMortgageBackedSecuritiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageBackedSecuritiesSummaryOfInvestmentInMortgageBackedSecuritiesActivityDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageBackedSecuritiesSummaryOfInvestmentInMortgageBackedSecuritiesParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Mortgage Backed Securities [Line Items]",
        "label": "Mortgage Backed Securities [Line Items]",
        "documentation": "Mortgage backed securities."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageBackedSecuritiesMaturityPeriod": {
     "xbrltype": "durationItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageBackedSecuritiesMaturityPeriod",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageBackedSecuritiesSummaryOfInvestmentInMortgageBackedSecuritiesParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Mortgage backed securities, maturity period",
        "label": "Mortgage Backed Securities Maturity Period",
        "documentation": "Mortgage backed securities maturity period."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_MortgageBackedSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MortgageBackedSecuritiesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfChangesInFairValueIncludedInCurrentPeriodResultsOfOperationsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureMortgagebackedSecuritiesScheduleOfMortgageBackedSecuritiesPledgedToSecureAssetsSoldDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureMortgagebackedSecuritiesSummaryOfInvestmentsInMortgageBackedSecuritiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageBackedSecuritiesSummaryOfInvestmentInMortgageBackedSecuritiesActivityDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Mortgage Backed Securities [Member]",
        "label": "Collateralized Mortgage-Backed Securities [Member]",
        "verboseLabel": "Mortgage Backed Securities At Fair Value [Member]",
        "documentation": "Securities collateralized by mortgage loans."
       }
      }
     },
     "auth_ref": [
      "r1107",
      "r1108",
      "r1109",
      "r1110",
      "r1111",
      "r1382",
      "r1383",
      "r1384",
      "r1385",
      "r1386",
      "r1556"
     ]
    },
    "pmt_MortgageBackedSecuritiesPutOptionsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageBackedSecuritiesPutOptionsMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "MBS Put Options [Member]",
        "label": "Mortgage Backed Securities Put Options [Member]",
        "documentation": "Mortgage Backed Securities Put Options [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageBackedSecuritiesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageBackedSecuritiesTable",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureMortgagebackedSecuritiesScheduleOfMortgageBackedSecuritiesPledgedToSecureAssetsSoldDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureMortgagebackedSecuritiesSummaryOfInvestmentsInMortgageBackedSecuritiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageBackedSecuritiesSummaryOfInvestmentInMortgageBackedSecuritiesActivityDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageBackedSecuritiesSummaryOfInvestmentInMortgageBackedSecuritiesParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Mortgage Backed Securities [Table]",
        "label": "Mortgage Backed Securities [Table]",
        "documentation": "Mortgage backed securities."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageBackedSecurityYieldAverageNumberOfYear": {
     "xbrltype": "durationItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageBackedSecurityYieldAverageNumberOfYear",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesManagementAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "MBS yield, average number of year",
        "label": "Mortgage Backed Security Yield Average Number Of Year",
        "documentation": "Mortgage-backed security yield average number of year."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_MortgageBankingAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MortgageBankingAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Mortgage Banking [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageLoanClassificationByCreditQualityAndTypeTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageLoanClassificationByCreditQualityAndTypeTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForInvestmentAtFairValueTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Mortgage Loan Classification By Credit Quality And Type Table [Text Block]",
        "documentation": "Mortgage Loan Classification By Credit Quality And Type [Table Text Block]",
        "terseLabel": "Summary of Distribution of Company's Loans Held for Investment at Fair Value"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageLoanCollectionAndLiquidationExpenses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageLoanCollectionAndLiquidationExpenses",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited": {
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Loan collection and liquidation",
        "label": "Mortgage Loan Collection And Liquidation Expenses",
        "documentation": "The amount of expenses for mortgage loan collection and liquidation costs on distressed mortgage loans."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageLoanHedgingActivitiesCashGainLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageLoanHedgingActivitiesCashGainLoss",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSaleSummaryOfNetGainsOnMortgageLoansHeldForSaleDetail": {
       "parentTag": "pmt_AggregateCashGainLossOnSaleOfMortgageLoansAcquiredForSaleNetOfCashHedgingResults",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSaleSummaryOfNetGainsOnMortgageLoansHeldForSaleDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Hedging activities",
        "label": "Mortgage Loan Hedging Activities Cash Gain Loss",
        "documentation": "Cash gains (losses) realized pursuant to mortgage loan hedging activities."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageLoanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageLoanMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForInvestmentAtFairValueSummaryOfDistributionOfCompanysLoansHeldForInvestmentAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetLossesGainsOnInvestmentsAndFinancingsSummaryOfNetLossesGainsOnInvestmentsAndFinancingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Distressed [Member]",
        "label": "Mortgage Loan [Member]",
        "documentation": "Mortgage loan."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageLoanOtherServicingFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageLoanOtherServicingFees",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited": {
       "parentTag": "us-gaap_ContractuallySpecifiedServicingFeesLateFeesAndAncillaryFeesEarnedInExchangeForServicingFinancialAssets",
       "weight": 1.0,
       "order": 1.0
      },
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageServicingRightsSummaryOfNetLoanServicingFeesRelatingToMsrsDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageServicingRightsSummaryOfNetLoanServicingFeesRelatingToMsrsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other",
        "totalLabel": "Mortgage loan other servicing fees",
        "label": "Mortgage Loan Other Servicing Fees",
        "documentation": "Mortgage loan other servicing fees."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageLoanParticipationAndSaleAgreementInterestExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageLoanParticipationAndSaleAgreementInterestExpense",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageLoanParticipationPurchaseAndSaleAgreementSummaryOfMortgageLoanParticipationPurchaseAndSaleAgreementDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Mortgage Loan Participation And Sale Agreement Interest Expense",
        "terseLabel": "Total interest expense",
        "documentation": "Mortgage loan participation and sale agreement interest expense."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageLoanParticipationAndSaleAgreementMaximumDailyOutstanding": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageLoanParticipationAndSaleAgreementMaximumDailyOutstanding",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageLoanParticipationPurchaseAndSaleAgreementSummaryOfMortgageLoanParticipationPurchaseAndSaleAgreementDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Maximum daily amount outstanding",
        "label": "Mortgage Loan Participation And Sale Agreement Maximum Daily Outstanding",
        "documentation": "Mortgage loan participation and sale agreement maximum daily outstanding."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageLoanParticipationPurchaseAndSaleAgreement": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageLoanParticipationPurchaseAndSaleAgreement",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageLoanParticipationPurchaseAndSaleAgreementSummaryOfMortgageLoanParticipationPurchaseAndSaleAgreementDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageLoanParticipationPurchaseAndSaleAgreementSummaryOfMortgageLoanParticipationPurchaseAndSaleAgreementDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Mortgage loan participation purchase and sale agreements",
        "label": "Mortgage Loan Participation Purchase And Sale Agreement",
        "documentation": "Borrowings secured by mortgage loans held for sale in the form of a mortgage loan participation purchase and sale agreement.",
        "totalLabel": "Mortgage loan participation purchase and sale agreements"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageLoanParticipationPurchaseAndSaleAgreementAverageBalance": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageLoanParticipationPurchaseAndSaleAgreementAverageBalance",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageLoanParticipationPurchaseAndSaleAgreementSummaryOfMortgageLoanParticipationPurchaseAndSaleAgreementDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Average balance",
        "label": "Mortgage Loan Participation Purchase And Sale Agreement Average Balance",
        "documentation": "Mortgage loan participation purchase and sale agreement average balance."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageLoanParticipationPurchaseAndSaleAgreementAverageOutstandingBalance": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageLoanParticipationPurchaseAndSaleAgreementAverageOutstandingBalance",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageLoanParticipationPurchaseAndSaleAgreementSummaryOfMortgageLoanParticipationPurchaseAndSaleAgreementParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Average outstanding balance",
        "label": "Mortgage Loan Participation Purchase And Sale Agreement Average Outstanding Balance",
        "documentation": "Mortgage loan participation purchase and sale agreement average outstanding balance."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageLoanParticipationPurchaseAndSaleAgreementLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageLoanParticipationPurchaseAndSaleAgreementLineItems",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageLoanParticipationPurchaseAndSaleAgreementSummaryOfMortgageLoanParticipationPurchaseAndSaleAgreementDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageLoanParticipationPurchaseAndSaleAgreementSummaryOfMortgageLoanParticipationPurchaseAndSaleAgreementParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Mortgage Loan Participation Purchase And Sale Agreement [Line Items]",
        "label": "Mortgage Loan Participation Purchase And Sale Agreement [Line Items]",
        "documentation": "Mortgage loan participation purchase and sale agreement."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageLoanParticipationPurchaseAndSaleAgreementObligationsAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageLoanParticipationPurchaseAndSaleAgreementObligationsAmount",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageLoanParticipationPurchaseAndSaleAgreementSummaryOfMortgageLoanParticipationPurchaseAndSaleAgreementDetail": {
       "parentTag": "pmt_MortgageLoanParticipationPurchaseAndSaleAgreement",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageLoanParticipationPurchaseAndSaleAgreementSummaryOfMortgageLoanParticipationPurchaseAndSaleAgreementDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Amount outstanding",
        "label": "Mortgage Loan Participation Purchase And Sale Agreement Obligations Amount",
        "documentation": "Mortgage loan participation purchase and sale agreement obligations amount."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageLoanParticipationPurchaseAndSaleAgreementTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageLoanParticipationPurchaseAndSaleAgreementTable",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageLoanParticipationPurchaseAndSaleAgreementSummaryOfMortgageLoanParticipationPurchaseAndSaleAgreementDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageLoanParticipationPurchaseAndSaleAgreementSummaryOfMortgageLoanParticipationPurchaseAndSaleAgreementParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Mortgage Loan Participation Purchase And Sale Agreement [Table]",
        "label": "Mortgage Loan Participation Purchase And Sale Agreement [Table]",
        "documentation": "Mortgage loan participation purchase and sale agreement."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageLoanParticipationPurchaseAndSalesAgreementMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageLoanParticipationPurchaseAndSalesAgreementMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageLoanParticipationPurchaseAndSaleAgreementSummaryOfMortgageLoanParticipationPurchaseAndSaleAgreementDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageLoanParticipationPurchaseAndSaleAgreementSummaryOfMortgageLoanParticipationPurchaseAndSaleAgreementParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Mortgage Loan Participation Purchase and Sale Agreement [Member]",
        "label": "Mortgage Loan Participation Purchase And Sales Agreement [Member]",
        "documentation": "Mortgage loan participation purchase and sales agreement."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageLoanServicingFeesEarnedByAffiliateAndMortgageServicingRightsRecapturedIncomeEarnedTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageLoanServicingFeesEarnedByAffiliateAndMortgageServicingRightsRecapturedIncomeEarnedTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Loan Servicing Fees Earned and Mortgage Servicing Rights Recaptured Income Earned",
        "label": "Mortgage Loan Servicing Fees Earned By Affiliate And Mortgage Servicing Rights Recaptured Income Earned Table [Text Block]",
        "documentation": "Mortgage loan servicing fees earned by affiliate and mortgage servicing rights recaptured income earned [Table Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageLoanServicingFeesPayable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageLoanServicingFeesPayable",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfAmountsReceivableFromAndPayableToPFSIDetail": {
       "parentTag": "us-gaap_OtherLiabilities",
       "weight": 1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesMortgageBankingServicesAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfAmountsReceivableFromAndPayableToPFSIDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Mortgage loan servicing fees payable",
        "terseLabel": "Loan servicing fees",
        "label": "Mortgage Loan Servicing Fees Payable",
        "documentation": "Mortgage loan servicing fees payable."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageLoanSourcingFeesFromAffiliate": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageLoanSourcingFeesFromAffiliate",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesSummaryOfAggregationAndSecuritizationActivitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Mortgage Loan Sourcing Fees From Affiliate",
        "documentation": "Represents fees received by the company from an affiliate for mortgage loans that it purchases from correspondent lenders to but is not licensed as a seller/servicer to sell such loans into the secondary market.",
        "terseLabel": "Sourcing fees received from PLS included in Net gains on loans held for sale"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageLoansAcquiredForSaleAtFairValueMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageLoansAcquiredForSaleAtFairValueMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForInvestmentAtFairValueSummaryOfDistributionOfCompanysLoansHeldForInvestmentAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForSaleAtFairValueSummaryOfDistributionOfCompanysLoansHeldForSaleAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueFairValuesAndRelatedPrincipalAmountsDueUponMaturityOfLoansAccountedForUnderFairValueOptionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Loans acquired for sale at fair value [Member]",
        "label": "Mortgage Loans Acquired For Sale At Fair Value [Member]",
        "documentation": "Total Aggregate difference between fair value and unpaid principal balance mortgage loans carried at fair value under the fair value option.",
        "terseLabel": "Mortgage Loans Acquired For Sale At Fair Value [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageLoansAcquiredForSaleMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageLoansAcquiredForSaleMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForSaleAtFairValueSummaryOfDistributionOfCompanysLoansHeldForSaleAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfLoanServicingFeesEarnedAndMortgageServicingRightsRecapturedIncomeEarnedDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Mortgage Loans Acquired for Sale [Member]",
        "label": "Mortgage Loans Acquired For Sale [Member]",
        "documentation": "Mortgage loans acquired for sale.",
        "verboseLabel": "Loans acquired for sale [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageLoansAcquiredForSaleOutstandingContractualPurchaseCommitments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageLoansAcquiredForSaleOutstandingContractualPurchaseCommitments",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesCompanySOutstandingContractualCommitmentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Commitments to purchase loans acquired for sale",
        "label": "Mortgage Loans Acquired For Sale Outstanding Contractual Purchase Commitments",
        "documentation": "Represents disclosure of amount of the company's contractual commitments to purchase recently originated mortgage loans."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageLoansAtFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageLoansAtFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForInvestmentAtFairValueSummaryOfDistributionOfCompanysLoansHeldForInvestmentAtFairValueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Asset-backed financings at fair value (1)",
        "label": "Mortgage Loans At Fair Value",
        "documentation": "Mortgage loans at fair value."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageLoansAtFairValueAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageLoansAtFairValueAbstract",
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Mortgage Loans At Fair Value [Abstract]",
        "label": "Mortgage Loans At Fair Value [Abstract]",
        "documentation": "Mortgage loans at fair value."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageLoansAtFairValueDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageLoansAtFairValueDisclosureTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForInvestmentAtFairValue1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Mortgage Loans At Fair Value Disclosure [Text Block]",
        "documentation": "This element represents the fair value disclosures of non-correspondent lending loans, their further classification by types and the geographical segregation of loans considering their origination.",
        "terseLabel": "Loans Held for Investment at Fair Value"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageLoansAtFairValueMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageLoansAtFairValueMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfLoanServicingFeesEarnedAndMortgageServicingRightsRecapturedIncomeEarnedDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "At fair value [Member]",
        "label": "Mortgage Loans At Fair Value [Member]",
        "verboseLabel": "Loans at fair value [Member]",
        "documentation": "Mortgage loans at fair value."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageLoansAtFairValueSoldUnderAgreementsMaturity": {
     "xbrltype": "dateItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageLoansAtFairValueSoldUnderAgreementsMaturity",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfAssetsSoldUnderAgreementsToRepurchaseByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted-average maturity, Facility",
        "label": "Mortgage Loans At Fair Value Sold Under Agreements Maturity",
        "documentation": "Mortgage loans at fair value sold under agreements maturity."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageLoansAtFairValueSoldUnderAgreementsWeightedAverageMaturity": {
     "xbrltype": "dateItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageLoansAtFairValueSoldUnderAgreementsWeightedAverageMaturity",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfAssetsSoldUnderAgreementsToRepurchaseByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted average maturity",
        "label": "Mortgage Loans At Fair Value Sold Under Agreements Weighted Average Maturity",
        "documentation": "Mortgage loans at fair value sold under agreements weighted average maturity."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageLoansFairValueDisclosure": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageLoansFairValueDisclosure",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail": {
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueFairValuesAndRelatedPrincipalAmountsDueUponMaturityOfLoansAccountedForUnderFairValueOptionDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Fair value",
        "label": "Mortgage Loans Fair Value Disclosure",
        "documentation": "Mortgage loans fair value disclosure.",
        "terseLabel": "Loans held for investment"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageLoansHeldForInvestmentHeldByVariableInterestEntityMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageLoansHeldForInvestmentHeldByVariableInterestEntityMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueFairValuesAndRelatedPrincipalAmountsDueUponMaturityOfLoansAccountedForUnderFairValueOptionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Mortgage Loans Held For Investment Held By Variable Interest Entity [Member]",
        "documentation": "Mortgage loans held for investment held by variable interest entity.",
        "terseLabel": "Loans held for investment Held in consolidated VIEs [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageLoansHeldForInvestmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageLoansHeldForInvestmentMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfChangesInFairValueIncludedInCurrentPeriodResultsOfOperationsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForInvestmentAtFairValueSummaryOfDistributionOfCompanysLoansHeldForInvestmentAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfLoanServicingFeesEarnedAndMortgageServicingRightsRecapturedIncomeEarnedDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Mortgage Loans held for investment [Member]",
        "documentation": "Mortgage Loans held for investment [Member]",
        "terseLabel": "Loans held for investment [Member]",
        "verboseLabel": "Loans Held for Investment Pledged to Secure [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageLoansHeldForSaleMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageLoansHeldForSaleMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfChangesInFairValueIncludedInCurrentPeriodResultsOfOperationsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForSaleAtFairValueSummaryOfDistributionOfCompanysLoansHeldForSaleAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueFairValuesAndRelatedPrincipalAmountsDueUponMaturityOfLoansAccountedForUnderFairValueOptionDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfLoanServicingFeesEarnedAndMortgageServicingRightsRecapturedIncomeEarnedDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Mortgage Loans Held For Sale [Member]",
        "documentation": "Mortgage loans held for sale.",
        "terseLabel": "Loans held for sale [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageLoansHeldForSaleOutstandingContractualPurchaseCommitments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageLoansHeldForSaleOutstandingContractualPurchaseCommitments",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesCompanySOutstandingContractualCommitmentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Mortgage Loans Held For Sale Outstanding Contractual Purchase Commitments",
        "documentation": "Represents disclosure of amount of the company's contractual commitments to purchase recently originated mortgage loans.",
        "terseLabel": "Commitments to purchase loans held for sale from PLS"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageLoansInDistressedMortgageLoanPortfolioAtFairValueMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageLoansInDistressedMortgageLoanPortfolioAtFairValueMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueFairValuesAndRelatedPrincipalAmountsDueUponMaturityOfLoansAccountedForUnderFairValueOptionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Distressed at Fair Value [Member]",
        "label": "Mortgage Loans In Distressed Mortgage Loan Portfolio At Fair Value [Member]",
        "documentation": "Mortgage Loans In Distressed Mortgage Loan Portfolio At Fair Value [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_MortgageLoansOnRealEstate": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MortgageLoansOnRealEstate",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedBalanceSheetsUnaudited2": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 0.0
      },
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForInvestmentAtFairValueSummaryOfDistributionOfCompanysLoansHeldForInvestmentAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureVariableInterestEntitiesSummaryOfInvestmentInSeniorAndSubordinateMbsBackedByAssetsHeldInConsolidatedViesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueFairValuesAndRelatedPrincipalAmountsDueUponMaturityOfLoansAccountedForUnderFairValueOptionDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Fair value, Total",
        "periodEndLabel": "SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate, Ending Balance",
        "periodStartLabel": "SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate, Beginning Balance",
        "label": "Loans held for investment at fair value",
        "verboseLabel": "Loans held for investment at fair value",
        "terseLabel": "Loans held for investment at fair value ($10,866,292 and $8,530,939 pledged to creditors, respectively)",
        "documentation": "Amount of 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": [
      "r1026",
      "r1035",
      "r1038"
     ]
    },
    "srt_MortgageLoansOnRealEstateAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "MortgageLoansOnRealEstateAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageLoansOnRealEstateAdjustedLoanCommitments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageLoansOnRealEstateAdjustedLoanCommitments",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesMortgageBankingServicesAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Mortgage adjusted loan commitments",
        "label": "Mortgage Loans On Real Estate Adjusted Loan Commitments",
        "documentation": "Mortgage loans on real estate adjusted loan commitments."
       }
      }
     },
     "auth_ref": []
    },
    "srt_MortgageLoansOnRealEstateByLoanDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "MortgageLoansOnRealEstateByLoanDisclosureTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/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": [
      "r163",
      "r164",
      "r167",
      "r1026",
      "r1036",
      "r1037",
      "r1040"
     ]
    },
    "srt_MortgageLoansOnRealEstateDescriptionLoanCategoryAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "MortgageLoansOnRealEstateDescriptionLoanCategoryAxis",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesServicingAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate, Loan Category",
        "label": "SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate, Loan Category [Axis]",
        "documentation": "Information by loan category 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": [
      "r156",
      "r157",
      "r158",
      "r1026",
      "r1029",
      "r1030",
      "r1031"
     ]
    },
    "pmt_MortgageLoansOnRealEstateInForeclosurePrincipalAmountOfDelinquentLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageLoansOnRealEstateInForeclosurePrincipalAmountOfDelinquentLoans",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueFairValuesAndRelatedPrincipalAmountsDueUponMaturityOfLoansAccountedForUnderFairValueOptionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "90 or more days delinquent, in foreclosure",
        "label": "Mortgage Loans On Real Estate In Foreclosure Principal Amount Of Delinquent Loans",
        "documentation": "Total unpaid principal balance of mortgage loans carried at fair value under the fair value option."
       }
      }
     },
     "auth_ref": []
    },
    "srt_MortgageLoansOnRealEstateLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "MortgageLoansOnRealEstateLineItems",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesManagementAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesMortgageBankingServicesAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesServicingAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLoanSalesSummaryOfCashFlowsBetweenCompanyAndTransfereesInTransfersAccountedForSalesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLoanSalesSummaryOfCollectionStatusInformationForLoansAccountedForSalesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesLoanServicingAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesMSRRecaptureAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Mortgage Loans on Real Estate [Line Items]",
        "terseLabel": "Mortgage Loans On Real Estate [Line Items]",
        "label": "SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate [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": [
      "r154",
      "r155",
      "r156",
      "r157",
      "r158",
      "r159",
      "r160",
      "r161",
      "r162",
      "r165",
      "r166",
      "r1026",
      "r1027",
      "r1028",
      "r1029",
      "r1030",
      "r1031",
      "r1032",
      "r1033",
      "r1034",
      "r1035",
      "r1038",
      "r1039"
     ]
    },
    "srt_MortgageLoansOnRealEstateLoanCategoryDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "MortgageLoansOnRealEstateLoanCategoryDomain",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesServicingAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate, Loan Category",
        "label": "SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate, Loan Category [Domain]",
        "documentation": "Loan category 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": [
      "r156",
      "r157",
      "r158",
      "r1026",
      "r1029",
      "r1030",
      "r1031"
     ]
    },
    "srt_MortgageLoansOnRealEstateLoanTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "MortgageLoansOnRealEstateLoanTypeAxis",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForInvestmentAtFairValueSummaryOfDistributionOfCompanysLoansHeldForInvestmentAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForSaleAtFairValueSummaryOfDistributionOfCompanysLoansHeldForSaleAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureMortgagebackedSecuritiesScheduleOfMortgageBackedSecuritiesPledgedToSecureAssetsSoldDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesMortgageBankingServicesAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesServicingAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageBackedSecuritiesSummaryOfInvestmentInMortgageBackedSecuritiesActivityDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureRegulatoryCapitalAndLiquidityRequirementsAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfManagementFeeExpenseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate, Loan Type",
        "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": [
      "r155",
      "r157",
      "r158",
      "r162",
      "r166",
      "r1026",
      "r1028",
      "r1030",
      "r1031",
      "r1035",
      "r1039"
     ]
    },
    "srt_MortgageLoansOnRealEstateLoanTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "MortgageLoansOnRealEstateLoanTypeDomain",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForInvestmentAtFairValueSummaryOfDistributionOfCompanysLoansHeldForInvestmentAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForSaleAtFairValueSummaryOfDistributionOfCompanysLoansHeldForSaleAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureMortgagebackedSecuritiesScheduleOfMortgageBackedSecuritiesPledgedToSecureAssetsSoldDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesMortgageBankingServicesAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesServicingAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageBackedSecuritiesSummaryOfInvestmentInMortgageBackedSecuritiesActivityDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureRegulatoryCapitalAndLiquidityRequirementsAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfManagementFeeExpenseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate, Loan Type",
        "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": [
      "r155",
      "r157",
      "r158",
      "r162",
      "r166",
      "r1026",
      "r1028",
      "r1030",
      "r1031",
      "r1035",
      "r1039"
     ]
    },
    "pmt_MortgageLoansOnRealEstateLoansCommitmentsMultiplier": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageLoansOnRealEstateLoansCommitmentsMultiplier",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesMortgageBankingServicesAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Mortgage loans commitments multiplier",
        "label": "Mortgage Loans On Real Estate Loans Commitments Multiplier",
        "documentation": "Mortgage loans on real estate loans commitments multiplier."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageLoansOnRealEstateNotInForeclosurePrincipalAmountOfDelinquentLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageLoansOnRealEstateNotInForeclosurePrincipalAmountOfDelinquentLoans",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueFairValuesAndRelatedPrincipalAmountsDueUponMaturityOfLoansAccountedForUnderFairValueOptionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "90 or more days delinquent, not in foreclosure",
        "label": "Mortgage Loans On Real Estate Not In Foreclosure Principal Amount Of Delinquent Loans",
        "documentation": "Unpaid principal balance of mortgage loans carried at fair value under the fair value option, more than 90 days past due and in foreclosure."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageLoansOnRealEstateNumberOfLoansPurchased": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageLoansOnRealEstateNumberOfLoansPurchased",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesMortgageBankingServicesAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Number of mortgage loans purchased",
        "label": "Mortgage Loans On Real Estate Number Of Loans Purchased",
        "documentation": "Mortgage loans on real estate number of loans purchased."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageLoansOnRealEstateNumberOfLoansPurchasedMultiplier": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageLoansOnRealEstateNumberOfLoansPurchasedMultiplier",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesMortgageBankingServicesAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Number of mortgage loans purchased multiplier",
        "label": "Mortgage Loans On Real Estate Number Of Loans Purchased Multiplier",
        "documentation": "Mortgage loans on real estate number of loans purchased multiplier."
       }
      }
     },
     "auth_ref": []
    },
    "srt_MortgageLoansOnRealEstateOtherRequiredDisclosuresAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "MortgageLoansOnRealEstateOtherRequiredDisclosuresAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueFairValuesAndRelatedPrincipalAmountsDueUponMaturityOfLoansAccountedForUnderFairValueOptionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Loans, principal amount due upon maturity [Abstract]",
        "label": "SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate, Other Disclosure [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "srt_MortgageLoansOnRealEstatePrincipalAmountOfDelinquentLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "MortgageLoansOnRealEstatePrincipalAmountOfDelinquentLoans",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueFairValuesAndRelatedPrincipalAmountsDueUponMaturityOfLoansAccountedForUnderFairValueOptionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Principal amount due upon maturity",
        "label": "SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate, Principal Amount of Delinquent Loans",
        "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": [
      "r166",
      "r1026",
      "r1039"
     ]
    },
    "pmt_MortgageLoansOnRealEstatePrincipalAmountOfDelinquentLoansLessThanNinetyDays": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageLoansOnRealEstatePrincipalAmountOfDelinquentLoansLessThanNinetyDays",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueFairValuesAndRelatedPrincipalAmountsDueUponMaturityOfLoansAccountedForUnderFairValueOptionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Current through 89 days delinquent",
        "label": "Mortgage Loans On Real Estate Principal Amount Of Delinquent Loans Less Than Ninety Days",
        "documentation": "Unpaid principal balance of mortgage loans carried at fair value under the fair value option and less than 90 days past due."
       }
      }
     },
     "auth_ref": []
    },
    "srt_MortgageLoansOnRealEstateRenewedAndExtended": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "MortgageLoansOnRealEstateRenewedAndExtended",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesMSRRecaptureAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Mortgage loans on real estate, renewed and Extended, description",
        "label": "SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate, Renewed and Extended, Description",
        "documentation": "Description of reason 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 was renewed or extended at amount in excess of unpaid amount on previous mortgage."
       }
      }
     },
     "auth_ref": [
      "r163",
      "r1026",
      "r1036"
     ]
    },
    "srt_MortgageLoansOnRealEstateScheduleTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "MortgageLoansOnRealEstateScheduleTable",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesManagementAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesMortgageBankingServicesAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesServicingAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLoanSalesSummaryOfCashFlowsBetweenCompanyAndTransfereesInTransfersAccountedForSalesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLoanSalesSummaryOfCollectionStatusInformationForLoansAccountedForSalesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesLoanServicingAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesMSRRecaptureAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Mortgage Loans On Real Estate Schedule [Table]",
        "label": "SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate Schedule [Table]",
        "documentation": "Disclosure of information about 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": [
      "r154",
      "r155",
      "r156",
      "r157",
      "r158",
      "r159",
      "r160",
      "r161",
      "r162",
      "r165",
      "r166",
      "r1026",
      "r1027",
      "r1028",
      "r1029",
      "r1030",
      "r1031",
      "r1032",
      "r1033",
      "r1034",
      "r1035",
      "r1038",
      "r1039"
     ]
    },
    "pmt_MortgageLoansOnRealEstateUnpaidBalance": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageLoansOnRealEstateUnpaidBalance",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueFairValuesAndRelatedPrincipalAmountsDueUponMaturityOfLoansAccountedForUnderFairValueOptionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Principal amount due upon maturity",
        "label": "Mortgage Loans On Real Estate Unpaid Balance",
        "documentation": "Unpaid principal balance of mortgage loans carried at fair value as of balance sheet date."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageLoansSoldToAffiliatesUnpaidPrincipalBalance": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageLoansSoldToAffiliatesUnpaidPrincipalBalance",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesSummaryOfAggregationAndSecuritizationActivitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "UPB of loans sold to PLS",
        "label": "Mortgage Loans Sold To Affiliates Unpaid Principal Balance",
        "documentation": "Unpaid principal balance of mortgage loans sold to affiliates during the period.",
        "verboseLabel": "Unpaid principal balance of loans sold to PLS:"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageServiceRightsAtFairValueMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageServiceRightsAtFairValueMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Mortgage Service Rights At Fair Value [Member]",
        "documentation": "Mortgage service rights at fair value.",
        "terseLabel": "Mortgage Service Rights at Fair Value [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageServiceRightsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageServiceRightsMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesNetGainsLossesRecognizedOnDerivativeFinancialInstrumentsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyAssumptionsUsedInValuationOfMsrsAsOfDatesPresentedAndEffectOnEstimatedFairValueFromAdverseChangesInThoseInputsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Mortgage service rights [Member]",
        "label": "Mortgage Service Rights [Member]",
        "documentation": "Mortgage Service Rights."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageServicingRightsDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageServicingRightsDisclosureTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageServicingRights"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Mortgage Servicing Rights",
        "label": "Mortgage Servicing Rights Disclosure [Text Block]",
        "documentation": "Disclosure of the activity in the balance of servicing assets at both fair value and subsequently measured at amortized value."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageServicingRightsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageServicingRightsMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfChangesInFairValueIncludedInCurrentPeriodResultsOfOperationsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfLoanServicingFeesEarnedAndMortgageServicingRightsRecapturedIncomeEarnedDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Mortgage servicing rights [Member]",
        "label": "Mortgage Servicing Rights [Member]",
        "documentation": "Mortgage servicing rights."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageServicingRightsPledgedToCreditors": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageServicingRightsPledgedToCreditors",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Mortgage servicing rights pledged to creditors",
        "label": "Mortgage Servicing Rights Pledged To Creditors",
        "documentation": "Mortgage servicing rights pledged to creditors."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageServicingRightsRecaptureFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageServicingRightsRecaptureFees",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfLoanServicingFeesEarnedAndMortgageServicingRightsRecapturedIncomeEarnedDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Mortgage Servicing Rights Recapture Fees",
        "documentation": "Mortgage servicing rights recapture fees.",
        "terseLabel": "Mortgage servicing rights recapture fees"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageServicingRightsRecaptureFromAffiliate": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageServicingRightsRecaptureFromAffiliate",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "From PennyMac Financial Services, Inc.",
        "label": "Mortgage Servicing Rights Recapture From Affiliate",
        "documentation": "Represents MSR recapture earned from an affiliate under a recapture agreement during the period. Recapture amounts represent fees earned relating to mortgage loans subject to existing excess servicing spread that are refinanced by the affiliate."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MortgageServicingRightsSecuredNotesPayable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MortgageServicingRightsSecuredNotesPayable",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Mortgage Servicing Rights Secured Notes Payable",
        "documentation": "Mortgage servicing rights, secured notes payable.",
        "terseLabel": "MSRs",
        "verboseLabel": "Mortgage servicing rights at fair value"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_MortgagesHeldForSaleFairValueDisclosure": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MortgagesHeldForSaleFairValueDisclosure",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail": {
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0,
       "order": 2.0
      },
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForSaleAtFairValueSummaryOfDistributionOfCompanysLoansHeldForSaleAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Loans acquired for sale at fair value",
        "verboseLabel": "Loans held for sale",
        "label": "Loans held for sale at fair value",
        "terseLabel": "Loans held for sale at fair value ($2,328,824 and $2,676,700 pledged to creditors, respectively)",
        "documentation": "Fair value portion of mortgage loans held-for-sale."
       }
      }
     },
     "auth_ref": [
      "r1472",
      "r1473",
      "r1487",
      "r1488",
      "r1489",
      "r1492"
     ]
    },
    "us-gaap_MortgagesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MortgagesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfAssetsSoldUnderAgreementsToRepurchaseByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Mortgage loans acquired for sale, mortgage loans, REO and MSRs sold under agreements to repurchase [Member]",
        "label": "Mortgages [Member]",
        "documentation": "A loan to finance the purchase of real estate where the lender has a lien on the property as collateral for the loan."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_MsrRecaptureFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "MsrRecaptureFees",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageServicingRightsSummaryOfNetLoanServicingFeesRelatingToMsrsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesMSRRecaptureAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "MSR recapture fees",
        "label": "MSR Recapture Fees",
        "documentation": "MSR recapture fees.",
        "verboseLabel": "From PFSI-MSR recapture fees"
       }
      }
     },
     "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": [
      "r1240"
     ]
    },
    "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": [
      "r1214"
     ]
    },
    "pmt_NationalLifeGroupMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "NationalLifeGroupMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAssetsFinancialInstrumentsAndCollateralHeldByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "National Life Group [Member]",
        "documentation": "National Life Group [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NetCashProvidedByUsedInFinancingActivities",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash Provided by (Used in) Financing Activity, Including Discontinued Operation",
        "totalLabel": "Net cash provided by 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": [
      "r219"
     ]
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NetCashProvidedByUsedInFinancingActivitiesAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cash flows from financing activities",
        "label": "Cash Provided by (Used in) Financing Activity, Including Discontinued Operation [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NetCashProvidedByUsedInInvestingActivities",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash Provided by (Used in) Investing Activity, Including Discontinued Operation",
        "totalLabel": "Net cash 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": [
      "r219"
     ]
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NetCashProvidedByUsedInInvestingActivitiesAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cash flows from investing activities",
        "label": "Cash Provided by (Used in) Investing Activity, Including Discontinued Operation [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NetCashProvidedByUsedInOperatingActivities",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash Provided by (Used in) Operating Activity, Including Discontinued Operation",
        "totalLabel": "Net cash used in 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": [
      "r78",
      "r79",
      "r81"
     ]
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NetCashProvidedByUsedInOperatingActivitiesAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cash flows from operating activities",
        "label": "Cash Provided by (Used in) Operating Activity, Including Discontinued Operation [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_NetDerivativeRelatedToCreditRiskTransferTransactionsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "NetDerivativeRelatedToCreditRiskTransferTransactionsMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesNetGainsLossesRecognizedOnDerivativeFinancialInstrumentsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAssetsFinancialInstrumentsAndCollateralHeldByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "CRT Derivatives [Member]",
        "label": "Net Derivative Related To Credit Risk Transfer Transactions [Member]",
        "documentation": "Net Derivative Related To Credit Risk Transfer Transactions [Member]",
        "verboseLabel": "Credit Risk Transfer / CRT Derivatives [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_NetGainOnMortgageLoansAcquiredForSaleDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "NetGainOnMortgageLoansAcquiredForSaleDisclosureTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSale"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Gain On Mortgage Loans Acquired For Sale Disclosure [Text Block]",
        "documentation": "Disclosure of key components of gain (loss) on mortgage loans acquired for sale.",
        "terseLabel": "Net Gains on Loans Held for Sale"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_NetGainsLossesOnInvestmentsAndFinancings": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "NetGainsLossesOnInvestmentsAndFinancings",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net gains (losses) on investments and financings",
        "label": "Net Gains Losses On Investments And Financings",
        "documentation": "Net gains (losses) on investments and financings.",
        "totalLabel": "Net gains (losses) on investments and financings",
        "verboseLabel": "Net (losses) gains on investments and financings"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_NetGainsLossesOnInvestmentsAndFinancingsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "NetGainsLossesOnInvestmentsAndFinancingsAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Gains Losses On Investments And Financings [Abstract]",
        "documentation": "Net gains losses on investments and financings.",
        "terseLabel": "Net (losses) gains on investments and financings"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_NetGainsLossesOnInvestmentsAndFinancingsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "NetGainsLossesOnInvestmentsAndFinancingsMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesNetGainsLossesRecognizedOnDerivativeFinancialInstrumentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Net (Losses) Gains on Investments and Financings [Member]",
        "label": "Net Gains Losses On Investments And Financings [Member]",
        "documentation": "Net gains (losses) on investments and financings."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_NetIncomeExceedsFifteenPercentageMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "NetIncomeExceedsFifteenPercentageMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesManagementAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net income exceeds 15% [Member]",
        "label": "Net Income Exceeds Fifteen Percentage [Member]",
        "documentation": "Represents a threshold percentage for calculating the performance incentive portion of the Company's management fee."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_NetIncomeExceedsTenPercentageMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "NetIncomeExceedsTenPercentageMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesManagementAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net income exceeds 10% [Member]",
        "label": "Net Income Exceeds Ten Percentage [Member]",
        "documentation": "Represents a threshold percentage for calculating the performance incentive portion of the Company's management fee."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_NetIncomeExceedsTwentyPercentageMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "NetIncomeExceedsTwentyPercentageMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesManagementAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net income exceeds 20% [Member]",
        "label": "Net Income Exceeds Twenty Percentage [Member]",
        "documentation": "Represents a threshold percentage for calculating the performance incentive portion of the Company's management fee."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetIncomeLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NetIncomeLoss",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited": {
       "parentTag": "pmt_NetIncomeLossAttributableToCommonStockholders",
       "weight": 1.0,
       "order": 0.0
      },
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureEarningsLossPerCommonShareSummaryOfBasicAndDilutedEarningsPerShareDetail": {
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureEarningsLossPerCommonShareSummaryOfBasicAndDilutedEarningsPerShareDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInShareholdersEquityUnaudited",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited",
      "http://xbrl.sec.gov/ecd/role/PvpDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Income (Loss)",
        "terseLabel": "Net Income (Loss)",
        "totalLabel": "Net income (loss)",
        "verboseLabel": "Net income",
        "documentation": "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent."
       }
      }
     },
     "auth_ref": [
      "r69",
      "r81",
      "r115",
      "r184",
      "r192",
      "r204",
      "r205",
      "r208",
      "r224",
      "r227",
      "r228",
      "r231",
      "r245",
      "r250",
      "r251",
      "r253",
      "r254",
      "r255",
      "r259",
      "r260",
      "r272",
      "r372",
      "r411",
      "r412",
      "r413",
      "r414",
      "r415",
      "r416",
      "r417",
      "r418",
      "r419",
      "r442",
      "r446",
      "r449",
      "r454",
      "r523",
      "r554",
      "r565",
      "r670",
      "r712",
      "r827",
      "r941",
      "r964",
      "r965",
      "r1054",
      "r1055",
      "r1056",
      "r1162",
      "r1411"
     ]
    },
    "pmt_NetIncomeLossAttributableToCommonStockholders": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "NetIncomeLossAttributableToCommonStockholders",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Income Loss Attributable To Common Stockholders",
        "documentation": "Net income after adjustments for dividends on preferred stock",
        "totalLabel": "Net income (loss) attributable to common shareholders"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NetIncomeLossAvailableToCommonStockholdersBasic",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureEarningsLossPerCommonShareSummaryOfBasicAndDilutedEarningsPerShareDetail": {
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureEarningsLossPerCommonShareSummaryOfBasicAndDilutedEarningsPerShareDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Income (Loss) Available to Common Stockholders, Basic",
        "totalLabel": "Net income attributable to common shareholders",
        "documentation": "Amount, after deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities; of income (loss) available to common shareholders."
       }
      }
     },
     "auth_ref": [
      "r184",
      "r210",
      "r250",
      "r251",
      "r253",
      "r254",
      "r263",
      "r264",
      "r274",
      "r279",
      "r446",
      "r449",
      "r454",
      "r565"
     ]
    },
    "us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NetIncomeLossAvailableToCommonStockholdersDiluted",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureEarningsLossPerCommonShareSummaryOfBasicAndDilutedEarningsPerShareDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureEarningsLossPerCommonShareSummaryOfBasicAndDilutedEarningsPerShareDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Diluted net income (loss) attributable to common shareholders",
        "label": "Net Income (Loss) Available to Common Stockholders, Diluted",
        "totalLabel": "Diluted net (loss) income attributable to common shareholders",
        "documentation": "Amount, after deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities, and addition from assumption of issuance of common shares for dilutive potential common shares; of income (loss) available to common shareholders."
       }
      }
     },
     "auth_ref": [
      "r210",
      "r265",
      "r268",
      "r269",
      "r270",
      "r271",
      "r274",
      "r279"
     ]
    },
    "us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureBasisOfPresentationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "New Accounting Pronouncements Or Change In Accounting Principle [Line Items]",
        "label": "New Accounting Pronouncements or Change in Accounting Principle [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": [
      "r174",
      "r175",
      "r176",
      "r177",
      "r178",
      "r179",
      "r180",
      "r181",
      "r182",
      "r183",
      "r184",
      "r213",
      "r214",
      "r215",
      "r244",
      "r245",
      "r246",
      "r247",
      "r248",
      "r249",
      "r253",
      "r261",
      "r284",
      "r335",
      "r336",
      "r373",
      "r374",
      "r375",
      "r376",
      "r395",
      "r396",
      "r400",
      "r439",
      "r440",
      "r441",
      "r442",
      "r521",
      "r522",
      "r523",
      "r524",
      "r537",
      "r538",
      "r539",
      "r540",
      "r541",
      "r547",
      "r548",
      "r549",
      "r550",
      "r551",
      "r552",
      "r553",
      "r554",
      "r555",
      "r556",
      "r557",
      "r558",
      "r561",
      "r562",
      "r563",
      "r564",
      "r565",
      "r644",
      "r645",
      "r646",
      "r647",
      "r648",
      "r649",
      "r650",
      "r651",
      "r652",
      "r653",
      "r660",
      "r661",
      "r662",
      "r663",
      "r664",
      "r665",
      "r666",
      "r667",
      "r668",
      "r669",
      "r670",
      "r696",
      "r697",
      "r728",
      "r729",
      "r731",
      "r732",
      "r733",
      "r734",
      "r735",
      "r736",
      "r857",
      "r858",
      "r859",
      "r860",
      "r861",
      "r862",
      "r863",
      "r864",
      "r865",
      "r866",
      "r867",
      "r868",
      "r873"
     ]
    },
    "us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NewAccountingPronouncementsOrChangeInAccountingPrincipleTable",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureBasisOfPresentationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "New Accounting Pronouncements Or Change In Accounting Principle [Table]",
        "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": [
      "r174",
      "r175",
      "r176",
      "r177",
      "r178",
      "r179",
      "r180",
      "r181",
      "r182",
      "r183",
      "r184",
      "r213",
      "r214",
      "r215",
      "r244",
      "r245",
      "r246",
      "r247",
      "r248",
      "r249",
      "r253",
      "r261",
      "r284",
      "r335",
      "r336",
      "r373",
      "r374",
      "r375",
      "r376",
      "r395",
      "r396",
      "r400",
      "r439",
      "r440",
      "r441",
      "r442",
      "r521",
      "r522",
      "r523",
      "r524",
      "r537",
      "r538",
      "r539",
      "r540",
      "r541",
      "r547",
      "r548",
      "r549",
      "r550",
      "r551",
      "r552",
      "r553",
      "r554",
      "r555",
      "r556",
      "r557",
      "r558",
      "r561",
      "r562",
      "r563",
      "r564",
      "r565",
      "r644",
      "r645",
      "r646",
      "r647",
      "r648",
      "r649",
      "r650",
      "r651",
      "r652",
      "r653",
      "r660",
      "r661",
      "r662",
      "r663",
      "r664",
      "r665",
      "r666",
      "r667",
      "r668",
      "r669",
      "r670",
      "r696",
      "r697",
      "r728",
      "r729",
      "r731",
      "r732",
      "r733",
      "r734",
      "r735",
      "r736",
      "r857",
      "r858",
      "r859",
      "r860",
      "r861",
      "r862",
      "r863",
      "r864",
      "r865",
      "r866",
      "r867",
      "r868",
      "r873"
     ]
    },
    "us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NewAccountingPronouncementsPolicyPolicyTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureOrganizationAndBasisOfPresentationAndRecentlyIssuedAccountingPronouncementsPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "New Accounting Pronouncements, Policy [Policy Text Block]",
        "terseLabel": "Recently Issued Accounting Pronouncements",
        "documentation": "Disclosure of accounting policy pertaining to new accounting pronouncements that may impact the entity's financial reporting. Includes, but is not limited to, quantification of the expected or actual impact."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_NomuraHoldingsAmericaIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "NomuraHoldingsAmericaIncMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfAssetsSoldUnderAgreementsToRepurchaseByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAssetsFinancialInstrumentsAndCollateralHeldByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Nomura Holdings America, Inc [Member]",
        "label": "Nomura Holdings America Inc [Member]",
        "documentation": "Nomura holdings america Inc."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_NonAffiliatesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "NonAffiliatesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToUnsecuredSeniorNotesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSaleSummaryOfNetGainsOnMortgageLoansHeldForSaleDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetLossesGainsOnInvestmentsAndFinancingsSummaryOfNetLossesGainsOnInvestmentsAndFinancingsDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAssetsFinancialInstrumentsAndCollateralHeldByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnauditedParenthetical",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Nonaffiliates [Member]",
        "label": "Non Affiliates [Member]",
        "documentation": "Non affiliates."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_NonAgencySeniorSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "NonAgencySeniorSecuritiesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureMortgagebackedSecuritiesSummaryOfInvestmentsInMortgageBackedSecuritiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Senior Non-Agency Securities [Member]",
        "label": "Non Agency Senior Securities [Member]",
        "documentation": "Non-Agency senior securities.",
        "verboseLabel": "Senior Non-Agency [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_NonCashGainFromReductionInLiabilityDueToChangeInEstimate": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "NonCashGainFromReductionInLiabilityDueToChangeInEstimate",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLiabilityForLossesUnderRepresentationsAndWarrantiesSummaryOfCompanySLiabilityForLossesUnderRepresentationsAndWarrantiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Reduction in liability due to change in estimate",
        "label": "Non Cash Gain From Reduction In Liability Due To Change In Estimate",
        "documentation": "Non cash gain from reduction in liability due to change in estimate."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_NonCashInvestingInUnsettledSecuritiesTrades": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "NonCashInvestingInUnsettledSecuritiesTrades",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Unsettled securities trades",
        "label": "Non cash investing in Unsettled securities trades",
        "documentation": "Non cash investing in unsettled securities trades."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_NonCashPortionOfGainOnMortgageLoansAcquiredForSaleAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "NonCashPortionOfGainOnMortgageLoansAcquiredForSaleAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSaleSummaryOfNetGainsOnMortgageLoansHeldForSaleDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Non-cash gains:",
        "label": "Non Cash Portion Of Gain On Mortgage Loans Acquired For Sale [Abstract]",
        "documentation": "Non cash portion of gain on mortgage loans acquired for sale."
       }
      }
     },
     "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": [
      "r1213"
     ]
    },
    "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": [
      "r1177",
      "r1187",
      "r1197",
      "r1221",
      "r1229"
     ]
    },
    "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": [
      "r1204"
     ]
    },
    "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": [
      "r1203"
     ]
    },
    "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": [
      "r1221"
     ]
    },
    "pmt_NonQualifiedMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "NonQualifiedMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForSaleAtFairValueSummaryOfDistributionOfCompanysLoansHeldForSaleAtFairValueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non Qualified [Member]",
        "documentation": "Non-qualified.",
        "terseLabel": "Non-qualified [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_NonRule10B51ArrModifiedFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "NonRule10B51ArrModifiedFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non Rule 10 b 51 Arr Modified Flag",
        "documentation": "Non rule 10 b 51 arr modified flag.",
        "verboseLabel": "Non-Rule 10b5-1 Arrangement Modified"
       }
      }
     },
     "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": [
      "r1240"
     ]
    },
    "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": [
      "r1240"
     ]
    },
    "us-gaap_NonperformingFinancingReceivableMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NonperformingFinancingReceivableMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueFairValuesAndRelatedPrincipalAmountsDueUponMaturityOfLoansAccountedForUnderFairValueOptionDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureRegulatoryCapitalAndLiquidityRequirementsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Nonperforming mortgage loans [Member]",
        "label": "Nonperforming Financial Instruments [Member]",
        "documentation": "Category status of financial instruments in which payments are past due in accordance with the terms of the contract. Financial instruments include, but are not limited to, financing receivables, loans, debt, and investments."
       }
      }
     },
     "auth_ref": [
      "r129",
      "r130",
      "r131",
      "r1398"
     ]
    },
    "us-gaap_NotesAndLoansReceivableGrossNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NotesAndLoansReceivableGrossNoncurrent",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfAmountsReceivableFromAndPayableToPFSIDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Due from PFSI-Miscellaneous receivables",
        "label": "Financing Receivable, before Allowance for Credit Loss, Noncurrent",
        "documentation": "Amortized cost, before allowance for credit loss, of financing receivable classified as noncurrent. Excludes net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r1025",
      "r1379",
      "r1396"
     ]
    },
    "us-gaap_NotesPayable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NotesPayable",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 4.0
      },
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Balance",
        "terseLabel": "Notes payable secured by credit risk transfer and mortgage servicing assets",
        "label": "Notes Payable",
        "verboseLabel": "Assets Sold Under Agreements to Repurchase and Notes payable secured by credit risk transfer and mortgag servicing assets",
        "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": [
      "r12",
      "r102",
      "r1524",
      "r1525"
     ]
    },
    "pmt_NotesPayableGross": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "NotesPayableGross",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsDetail": {
       "parentTag": "us-gaap_NotesPayable",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Amount outstanding",
        "terseLabel": "Carrying value of notes",
        "label": "Notes Payable Gross",
        "documentation": "Notes payable gross."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_NotesPayableMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "NotesPayableMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Notes Payable [Member]",
        "terseLabel": "Notes Payable [Member]",
        "label": "Notes Payable [Member]",
        "documentation": "Notes Payable."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_NotesPayableSecuredByCreditRiskTransferAndMortageServicingAsset": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "NotesPayableSecuredByCreditRiskTransferAndMortageServicingAsset",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtScheduleOfContractualMaturitiesOnLongTermDebtObligationsDetail": {
       "parentTag": "us-gaap_LongTermDebt",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtScheduleOfContractualMaturitiesOnLongTermDebtObligationsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Notes payable secured by credit risk transfer and mortgage servicing assets",
        "label": "Notes Payable Secured By Credit Risk Transfer And Mortage Servicing Asset",
        "documentation": "Notes payable secured by credit risk transfer and mortgage servicing assets."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_NotesPayableSecuredByCreditRiskTransferAndMortgageServicingAssetsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "NotesPayableSecuredByCreditRiskTransferAndMortgageServicingAssetsMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueCarryingAndFairValuesOfNotesPayableSecuredByCreditRiskTransferAndMortgageServicingRightsAndExchangeableSeniorNotesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Notes Payable Secured by Credit Risk Transfer and Mortgage Servicing Assets [Member]",
        "label": "Notes Payable Secured By Credit Risk Transfer And Mortgage Servicing Assets [Member]",
        "documentation": "Notes payable secured by credit risk transfer and mortgage servicing assets."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_NumberOfCommonSharesHeldByAffiliate": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "NumberOfCommonSharesHeldByAffiliate",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesNotePayableToPLSAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Number of common shares held by affiliate",
        "label": "Number Of Common Shares Held By Affiliate",
        "documentation": "Number of common shares held by affiliate."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NumberOfOperatingSegments": {
     "xbrltype": "integerItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NumberOfOperatingSegments",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureOrganizationAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureSegmentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Number of business segments",
        "label": "Number of Operating Segments",
        "verboseLabel": "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": [
      "r1068",
      "r1373"
     ]
    },
    "us-gaap_NumberOfReportableSegments": {
     "xbrltype": "integerItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "NumberOfReportableSegments",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureOrganizationAdditionalInformationDetail"
     ],
     "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": [
      "r1061",
      "r1073",
      "r1373"
     ]
    },
    "us-gaap_OffsettingAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OffsettingAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Offsetting [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OffsettingAssetsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OffsettingAssetsLineItems",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAssetsFinancialInstrumentsAndCollateralHeldByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Offsetting Assets [Line Items]",
        "label": "Offsetting 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": [
      "r1048",
      "r1049",
      "r1051",
      "r1052",
      "r1287",
      "r1288",
      "r1289",
      "r1290",
      "r1291",
      "r1292",
      "r1293",
      "r1294",
      "r1295",
      "r1461",
      "r1463",
      "r1464",
      "r1465"
     ]
    },
    "us-gaap_OffsettingAssetsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OffsettingAssetsTable",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAssetsFinancialInstrumentsAndCollateralHeldByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Offsetting Assets [Table]",
        "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": [
      "r1048",
      "r1049",
      "r1051",
      "r1052",
      "r1287",
      "r1288",
      "r1289",
      "r1290",
      "r1291",
      "r1292",
      "r1293",
      "r1294",
      "r1295",
      "r1461",
      "r1463",
      "r1464",
      "r1465"
     ]
    },
    "us-gaap_OffsettingLiabilitiesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OffsettingLiabilitiesLineItems",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Offsetting Liabilities [Line Items]",
        "label": "Offsetting Liabilities [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": [
      "r1048",
      "r1049",
      "r1051",
      "r1052",
      "r1287",
      "r1288",
      "r1289",
      "r1290",
      "r1291",
      "r1292",
      "r1293",
      "r1294",
      "r1295",
      "r1462",
      "r1463",
      "r1464",
      "r1465"
     ]
    },
    "us-gaap_OffsettingLiabilitiesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OffsettingLiabilitiesTable",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Offsetting Liabilities [Table]",
        "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": [
      "r1048",
      "r1049",
      "r1051",
      "r1052",
      "r1287",
      "r1288",
      "r1289",
      "r1290",
      "r1291",
      "r1292",
      "r1293",
      "r1294",
      "r1295",
      "r1461",
      "r1463",
      "r1464",
      "r1465"
     ]
    },
    "pmt_OnePointFivePercentOfStockholdersEquityMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "OnePointFivePercentOfStockholdersEquityMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesManagementAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "1.5% per annum of stockholders equity [Member]",
        "label": "One Point Five Percent Of Stockholders Equity [Member]",
        "documentation": "Represents the annualized rate at which the base portion of the management fee is calculated for shareholders' equity amounts below $2 billion."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_OnePointThreeSevenFivePercentOfStockholdersEquityMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "OnePointThreeSevenFivePercentOfStockholdersEquityMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesManagementAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "1.375% per annum of stockholders equity [Member]",
        "label": "One Point Three Seven Five Percent Of Stockholders Equity [Member]",
        "documentation": "Represents the annualized rate at which the base portion of the management fee is calculated for shareholders' equity amounts between $2 billion and $5 billion."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_OnePointTwoFivePercentOfStockholdersEquityMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "OnePointTwoFivePercentOfStockholdersEquityMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesManagementAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "1.25% per annum of stockholders equity [Member]",
        "label": "One Point Two Five Percent Of Stockholders Equity [Member]",
        "documentation": "Represents the annualized rate at which the base portion of the management fee is calculated for shareholders' equity amounts in excess of $5 billion."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OperatingCashFlowsDirectMethodAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OperatingCashFlowsDirectMethodAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Cash Flows, Direct Method [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OperatingExpenses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OperatingExpenses",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited": {
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total expenses",
        "label": "Operating 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": [
      "r1056"
     ]
    },
    "us-gaap_OperatingExpensesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OperatingExpensesAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Expenses:",
        "terseLabel": "Expenses",
        "label": "Operating Expenses [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Organization, Consolidation and Presentation of Financial Statements [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureOrganization"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Organization",
        "label": "Organization, Consolidation and Presentation of Financial Statements Disclosure [Text Block]",
        "documentation": "The entire disclosure for organization, consolidation and basis of presentation of financial statements disclosure."
       }
      }
     },
     "auth_ref": [
      "r93",
      "r185",
      "r187",
      "r189",
      "r871",
      "r872"
     ]
    },
    "us-gaap_OtherAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherAssets",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 11.0
      },
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureOtherAssetsSummaryOfOtherAssetsDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureOtherAssetsSummaryOfOtherAssetsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Other Assets",
        "label": "Other Assets",
        "terseLabel": "Other",
        "documentation": "Amount of assets classified as other."
       }
      }
     },
     "auth_ref": [
      "r95",
      "r193",
      "r813",
      "r1068",
      "r1147",
      "r1148",
      "r1164"
     ]
    },
    "us-gaap_OtherAssetsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherAssetsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Assets [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OtherAssetsDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherAssetsDisclosureTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureOtherAssets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other Assets",
        "label": "Other Assets Disclosure [Text Block]",
        "documentation": "The entire disclosure for other assets. This disclosure includes other current assets and other noncurrent assets."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_OtherAssetsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "OtherAssetsLineItems",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureOtherAssetsSummaryOfOtherAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other Assets [Line Items]",
        "label": "Other Assets [Line Items]",
        "documentation": "Other assets."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OtherAssetsMiscellaneous": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherAssetsMiscellaneous",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureOtherAssetsSummaryOfOtherAssetsDetail": {
       "parentTag": "us-gaap_OtherAssets",
       "weight": 1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureOtherAssetsSummaryOfOtherAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Other Assets, Miscellaneous, Total",
        "terseLabel": "Other",
        "label": "Other Assets, Miscellaneous",
        "documentation": "Amount of other miscellaneous assets."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_OtherAssetsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "OtherAssetsTable",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureOtherAssetsSummaryOfOtherAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other Assets [Table]",
        "label": "Other Assets [Table]",
        "documentation": "Other assets."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OtherCommitmentsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherCommitmentsTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Company's Outstanding Contractual Commitments",
        "label": "Other Commitments [Table Text Block]",
        "documentation": "Tabular disclosure of information about obligations resulting from other commitments."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OtherCostAndExpenseOperating": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherCostAndExpenseOperating",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other",
        "label": "Other Cost and Expense, Operating",
        "documentation": "The total amount of other operating cost and expense items that are associated with the entity's normal revenue producing operation."
       }
      }
     },
     "auth_ref": [
      "r70",
      "r833",
      "r1067"
     ]
    },
    "pmt_OtherCounterpartiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "OtherCounterpartiesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAssetsFinancialInstrumentsAndCollateralHeldByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other [Member]",
        "label": "Other Counterparties [Member]",
        "documentation": "Other Counterparties [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OtherIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherIncome",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited": {
       "parentTag": "us-gaap_RevenuesNetOfInterestExpense",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other",
        "label": "Other Income",
        "documentation": "Amount of revenue and income classified as other."
       }
      }
     },
     "auth_ref": [
      "r832",
      "r944",
      "r1003",
      "r1004",
      "r1005",
      "r1147",
      "r1148"
     ]
    },
    "us-gaap_OtherLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherLiabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 9.0
      },
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfAmountsReceivableFromAndPayableToPFSIDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesManagementAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfAmountsReceivableFromAndPayableToPFSIDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Due to PennyMac Financial Services, Inc.",
        "label": "Other Liabilities",
        "verboseLabel": "PMT agreed to reimburse PCM for a payment",
        "totalLabel": "Total expense due to affiliate",
        "documentation": "Amount of liabilities classified as other."
       }
      }
     },
     "auth_ref": [
      "r101",
      "r816",
      "r914",
      "r915",
      "r1103",
      "r1147",
      "r1148",
      "r1164",
      "r1525",
      "r1562"
     ]
    },
    "us-gaap_OtherOperatingIncomeExpenseNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherOperatingIncomeExpenseNet",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited": {
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": -1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Other",
        "label": "Other Operating Income (Expense), Net",
        "documentation": "The net amount of other operating income and expenses, the components of which are not separately disclosed on the income statement, from items that are associated with the entity's normal revenue producing operations."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_OtherOperatingIncomeLossNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "OtherOperatingIncomeLossNet",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other",
        "label": "Other Operating Income Loss Net",
        "documentation": "Other operating income (loss) net."
       }
      }
     },
     "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": [
      "r1213"
     ]
    },
    "pmt_OtherPledgedToCreditors": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "OtherPledgedToCreditors",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other, pledged to creditors",
        "label": "Other Pledged To Creditors",
        "documentation": "Other pledged to creditors."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OtherReceivables": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "OtherReceivables",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureOtherAssetsSummaryOfOtherAssetsDetail": {
       "parentTag": "us-gaap_OtherAssets",
       "weight": 1.0,
       "order": 7.0
      },
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 9.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureOtherAssetsSummaryOfOtherAssetsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other receivables",
        "label": "Other Receivables",
        "verboseLabel": "Due from PennyMac Financial Services, Inc.",
        "documentation": "Amount due from parties in nontrade transactions, classified as other."
       }
      }
     },
     "auth_ref": [
      "r199",
      "r929",
      "r1068",
      "r1147",
      "r1148",
      "r1527"
     ]
    },
    "pmt_OtherRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "OtherRiskMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other Factors [Member]",
        "label": "Other Risk [Member]",
        "documentation": "Other risk."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_OtherTrusteesOrOfficersMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "OtherTrusteesOrOfficersMember",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Trustees Or Officers [Member]",
        "documentation": "Other trustees or officers.",
        "terseLabel": "Other Trustees or Officers [Member]"
       }
      }
     },
     "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": [
      "r1175",
      "r1185",
      "r1195",
      "r1227"
     ]
    },
    "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": [
      "r1178",
      "r1188",
      "r1198",
      "r1230"
     ]
    },
    "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": [
      "r1178",
      "r1188",
      "r1198",
      "r1230"
     ]
    },
    "pmt_PNMACCapitalManagementLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "PNMACCapitalManagementLLCMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesManagementAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfExpensesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfManagementFeeExpenseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "PNMAC Capital Management LLC [Member]",
        "label": "P N M A C Capital Management L L C [Member]",
        "documentation": "PNMAC Capital Management LLC."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ParticipatingMortgageLoansWeightedAverageInterestRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ParticipatingMortgageLoansWeightedAverageInterestRate",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageLoanParticipationPurchaseAndSaleAgreementSummaryOfMortgageLoanParticipationPurchaseAndSaleAgreementDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted average interest rate",
        "label": "Participating Mortgage Loans Weighted Average Interest Rate",
        "documentation": "Participating mortgage loans weighted average interest rate."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ParticipatingSecuritiesDistributedAndUndistributedEarningsLossBasic": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ParticipatingSecuritiesDistributedAndUndistributedEarningsLossBasic",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureEarningsLossPerCommonShareSummaryOfBasicAndDilutedEarningsPerShareDetail": {
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic",
       "weight": -1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureEarningsLossPerCommonShareSummaryOfBasicAndDilutedEarningsPerShareDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Effect of participating securities\u2012share-based compensation awards",
        "label": "Participating Securities, Distributed and Undistributed Earnings (Loss), Basic",
        "documentation": "Amount of earnings (loss) distributed and earnings (loss) allocated to participating securities for the basic earnings (loss) per share or per unit calculation under the two-class method."
       }
      }
     },
     "auth_ref": [
      "r274",
      "r1252"
     ]
    },
    "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": [
      "r1202"
     ]
    },
    "us-gaap_PaymentsForAdvanceToAffiliate": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PaymentsForAdvanceToAffiliate",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfExpensesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payments for Advance to Affiliate",
        "terseLabel": "Payments and settlements during the quarter",
        "verboseLabel": "Payments and settlements during the period",
        "documentation": "The cash outflow from advancing money to an affiliate (an entity that is related but not strictly controlled by the entity)."
       }
      }
     },
     "auth_ref": [
      "r15"
     ]
    },
    "us-gaap_PaymentsForProceedsFromDerivativeInstrumentInvestingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PaymentsForProceedsFromDerivativeInstrumentInvestingActivities",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Payments for (Proceeds from) Derivative Instrument, Investing Activities, Total",
        "negatedLabel": "Net settlement of derivative financial instruments",
        "label": "Payments for (Proceeds from) Derivative Instrument, Investing Activities",
        "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.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Payments for (Proceeds from) Short-Term Investments, Total",
        "label": "Payments for (Proceeds from) Short-Term Investments",
        "negatedLabel": "Net decrease (increase) in short-term investments",
        "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": [
      "r1344",
      "r1345",
      "r1348"
     ]
    },
    "us-gaap_PaymentsForRepurchaseOfCommonStock": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PaymentsForRepurchaseOfCommonStock",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0,
       "order": 16.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payments for Repurchase of Common Stock",
        "negatedLabel": "Repurchase of common shares of beneficial interest",
        "documentation": "The cash outflow to reacquire common stock during the period."
       }
      }
     },
     "auth_ref": [
      "r76"
     ]
    },
    "pmt_PaymentsForRepurchaseOfMortgageLoansAtFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "PaymentsForRepurchaseOfMortgageLoansAtFairValue",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0,
       "order": 12.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Repurchase of loans at fair value",
        "label": "Payments For Repurchase Of Mortgage Loans At Fair Value",
        "documentation": "Payments for repurchase of mortgage loans at fair value."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PaymentsOfDebtIssuanceCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PaymentsOfDebtIssuanceCosts",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0,
       "order": 12.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Payment of debt issuance costs",
        "label": "Payments 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": [
      "r18"
     ]
    },
    "us-gaap_PaymentsOfDividendsCommonStock": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PaymentsOfDividendsCommonStock",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0,
       "order": 14.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Payment of dividends to common shareholders",
        "label": "Payments of Ordinary Dividends, Common Stock",
        "documentation": "Amount of cash outflow in the form of ordinary dividends to common shareholders of the parent entity."
       }
      }
     },
     "auth_ref": [
      "r76"
     ]
    },
    "us-gaap_PaymentsOfDividendsPreferredStockAndPreferenceStock": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PaymentsOfDividendsPreferredStockAndPreferenceStock",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0,
       "order": 13.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Payment of dividends to preferred shareholders",
        "label": "Payments of Ordinary Dividends, Preferred Stock and Preference Stock",
        "documentation": "Amount of cash outflow in the form of ordinary dividends to preferred shareholders of the parent entity."
       }
      }
     },
     "auth_ref": [
      "r76"
     ]
    },
    "us-gaap_PaymentsOfStockIssuanceCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PaymentsOfStockIssuanceCosts",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureShareholdersEquitySummaryOfCommonShareRepurchaseActivityParentheticalDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquityAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Transaction fees",
        "label": "Payments of Stock Issuance Costs",
        "documentation": "The cash outflow for cost incurred directly with the issuance of an equity security."
       }
      }
     },
     "auth_ref": [
      "r17"
     ]
    },
    "us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PaymentsRelatedToTaxWithholdingForShareBasedCompensation",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0,
       "order": 15.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payment, Tax Withholding, Share-Based Payment Arrangement",
        "negatedLabel": "Payment of vested share-based compensation tax withholdings",
        "documentation": "Amount of cash outflow to satisfy grantee's tax withholding obligation for award under share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r216"
     ]
    },
    "us-gaap_PaymentsToAcquireMortgageBackedSecuritiesMBSCategorizedAsAvailableForSale": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PaymentsToAcquireMortgageBackedSecuritiesMBSCategorizedAsAvailableForSale",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payments to Acquire Mortgage-Backed Securities (MBS), Available-for-Sale",
        "negatedLabel": "Purchase of mortgage-backed securities",
        "documentation": "Amount of cash outflow for purchase of mortgage-backed security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale)."
       }
      }
     },
     "auth_ref": [
      "r1343",
      "r1345"
     ]
    },
    "pmt_PaymentsToCreditRiskTransferLosses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "PaymentsToCreditRiskTransferLosses",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payments To Credit Risk Transfer Losses",
        "documentation": "Represents the cash payments from the contractually restricted cash account collateralizing credit event losses to the net derivative counterparty pursuant to credit risk transfer transactions.",
        "terseLabel": "Net payments made to settle losses on credit risk transfer arrangements"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_PaymentsToPurchaseMortgageLoansHeldForSaleAffiliates": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "PaymentsToPurchaseMortgageLoansHeldForSaleAffiliates",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 13.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesSummaryOfAggregationAndSecuritizationActivitiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payments To Purchase Mortgage Loans Held For Sale Affiliates",
        "documentation": "Represents payments to purchase mortgage loans held for sale from an affiliate.",
        "terseLabel": "Purchases of loans held for sale from PLS",
        "negatedLabel": "Purchase of loans held for sale from PennyMac Financial Services, Inc."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_PaymentsToPurchaseMortgageLoansHeldForSaleNonaffiliates": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "PaymentsToPurchaseMortgageLoansHeldForSaleNonaffiliates",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 12.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payments To Purchase Mortgage Loans Held For Sale Nonaffiliates",
        "documentation": "Payments to purchase mortgage loans held for sale non-affiliates.",
        "negatedLabel": "Purchase of loans held for sale from nonaffiliates"
       }
      }
     },
     "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": [
      "r1212"
     ]
    },
    "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": [
      "r1212"
     ]
    },
    "pmt_PennyMacFinancialServicesAffiliatedEntityMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "PennyMacFinancialServicesAffiliatedEntityMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSaleSummaryOfNetGainsOnMortgageLoansHeldForSaleDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetLossesGainsOnInvestmentsAndFinancingsSummaryOfNetLossesGainsOnInvestmentsAndFinancingsDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesManagementAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesNotePayableToPLSAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfAmountsReceivableFromAndPayableToPFSIDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "PennyMac Financial Services, Inc. [Member]",
        "label": "Penny Mac Financial Services Affiliated Entity [Member]",
        "documentation": "PennyMac Financial Services Inc. Affiliated Entity."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_PennyMacLoanServicesLlcMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "PennyMacLoanServicesLlcMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForSaleAtFairValueSummaryOfDistributionOfCompanysLoansHeldForSaleAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesServicingAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesSummaryOfAggregationAndSecuritizationActivitiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesLoanServicingAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfLoanServicingFeesEarnedAndMortgageServicingRightsRecapturedIncomeEarnedDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfTransferCashToFundLoanServicingAdvancesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "PennyMac Loan Services, LLC [Member]",
        "label": "Penny Mac Loan Services Llc [Member]",
        "documentation": "Penny Mac Loan Services LLC."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_PennymacFinancialServicesIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "PennymacFinancialServicesIncMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAssetsFinancialInstrumentsAndCollateralHeldByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "PennyMac Financial Services, Inc. [Member]",
        "label": "Pennymac Financial Services Inc [Member]",
        "documentation": "PennyMac Financial Services Inc."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_PennymacFinancialServicesIncOneMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "PennymacFinancialServicesIncOneMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAssetsFinancialInstrumentsAndCollateralHeldByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pennymac Financial Services Inc One [Member]",
        "documentation": "Pennymac Financial Services Inc One [Member]",
        "terseLabel": "Pennymac Financial Services Inc [Member]"
       }
      }
     },
     "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": [
      "r1204"
     ]
    },
    "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": [
      "r1221"
     ]
    },
    "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": [
      "r1214"
     ]
    },
    "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": [
      "r1203"
     ]
    },
    "pmt_PercentageOfChangeInNetIncomeLoss": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "PercentageOfChangeInNetIncomeLoss",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesManagementAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Percentage of change in net income due to quarterly adjustments",
        "label": "Percentage Of Change In Net Income Loss",
        "documentation": "Represents a threshold return on shareholders' equity as defined before performance incentive fees are chargeable to the Company."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_PercentageOfConsolidatedNetIncome": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "PercentageOfConsolidatedNetIncome",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesManagementAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Percentage of net income for calculation of performance incentive fees",
        "label": "Percentage Of Consolidated Net Income",
        "documentation": "Represents the net income expressed as a percentage of shareholders' equity upon which performance incentive fees are based."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_PercentageOfDeductionFromTaxableIncomeForOrdinaryREITDividends": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "PercentageOfDeductionFromTaxableIncomeForOrdinaryREITDividends",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Percentage of deduction from taxable income",
        "label": "Percentage Of Deduction From Taxable Income For Ordinary R E I T Dividends",
        "documentation": "Percentage of deduction from taxable income for ordinary REIT dividends."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_PercentageOfPerformanceIncentiveFeePaidInCommonShares": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "PercentageOfPerformanceIncentiveFeePaidInCommonShares",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesManagementAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Percentage of performance incentive fee paid in Company's common shares",
        "label": "Percentage Of Performance Incentive Fee Paid In Common Shares",
        "documentation": "Represents the maximum percentage of performance incentive fee payable in shares of the Company's common stock."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_PercentageOfReturnOnEquity": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "PercentageOfReturnOnEquity",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesManagementAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Percentage of return on equity",
        "label": "Percentage Of Return On Equity",
        "documentation": "Represents the net income expressed as a percentage of shareholders' equity upon which performance incentive fees are based."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_PercentageOfRightToPurchaseNongovernmentInsuredOrGuaranteedLoans": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "PercentageOfRightToPurchaseNongovernmentInsuredOrGuaranteedLoans",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesMortgageBankingServicesAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Percentage Of Right To Purchase Nongovernment Insured Or Guaranteed Loans",
        "documentation": "Percentage of right to purchase non-government insured or guaranteed loans.",
        "terseLabel": "Percentage of right to purchase non-government insured or guaranteed loans"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_PerformanceIncentiveMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "PerformanceIncentiveMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfManagementFeeExpenseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Performance incentive [Member]",
        "label": "Performance Incentive [Member]",
        "documentation": "Performance Incentive [Member]",
        "verboseLabel": "Performance incentive fee [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PerformanceSharesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PerformanceSharesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfRestrictedShareUnitsAndPerformanceShareUnitsExpectedToVestDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfShareBasedCompensationActivityDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfShareBasedCompensationActivityParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Performance Share Units [Member]",
        "terseLabel": "Performance Shares Units [Member]",
        "label": "Performance Shares [Member]",
        "documentation": "Share-based payment arrangement awarded for meeting performance target."
       }
      }
     },
     "auth_ref": [
      "r1421",
      "r1422",
      "r1423",
      "r1424",
      "r1425",
      "r1426",
      "r1427",
      "r1428",
      "r1429",
      "r1430",
      "r1431",
      "r1432",
      "r1433",
      "r1434",
      "r1435",
      "r1436",
      "r1437",
      "r1438",
      "r1439",
      "r1440",
      "r1441",
      "r1442",
      "r1443",
      "r1444",
      "r1445",
      "r1446"
     ]
    },
    "pmt_PeriodEndAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "PeriodEndAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageLoanParticipationPurchaseAndSaleAgreementSummaryOfMortgageLoanParticipationPurchaseAndSaleAgreementDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "At period end:",
        "label": "Period End [Abstract]",
        "documentation": "Period end."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_PledgedAssetsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "PledgedAssetsMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageServicingRightsSummaryOfMsrsCarriedAtFairValueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Pledged Assets [Member]",
        "label": "Pledged Assets [Member]",
        "documentation": "Pledged Assets [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_PledgedAssetsSeparatelyReportedLoanPledgedAsCollateralAtFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "PledgedAssetsSeparatelyReportedLoanPledgedAsCollateralAtFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForInvestmentAtFairValueSummaryOfDistributionOfCompanysLoansHeldForInvestmentAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pledged Assets Separately Reported Loan Pledged As Collateral At Fair Value",
        "documentation": "Pledged assets separately reported loan pledged as collateral at fair value.",
        "verboseLabel": "Loans held for investment at fair value, pledged to creditors",
        "terseLabel": "Loans held for investment at fair value, pledged to creditors"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_PledgedAssetsSeparatelyReportedLoansAcquiredForSalePledgedAsCollateralAtFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "PledgedAssetsSeparatelyReportedLoansAcquiredForSalePledgedAsCollateralAtFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Mortgage-backed securities at fair value pledged to creditors",
        "documentation": "Mortgage loans at fair value acquired For sale pledged As Collateral to secure related financing amounts.",
        "terseLabel": "Loans held for sale at fair value, pledged to creditors"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_PledgedFinancialInstrumentsNotSeparatelyReportedAndAssetsSeparatelyReportedOnStatementAtFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "PledgedFinancialInstrumentsNotSeparatelyReportedAndAssetsSeparatelyReportedOnStatementAtFairValue",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForSaleAtFairValueSummaryOfDistributionOfCompanysLoansHeldForSaleAtFairValueDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForSaleAtFairValueSummaryOfDistributionOfCompanysLoansHeldForSaleAtFairValueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Loans pledged to secure total",
        "label": "Pledged Financial Instruments Not Separately Reported And Assets Separately Reported On Statement At Fair Value",
        "documentation": "Pledged financial instruments not separately reported and assets separately reported on statement at fair value."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_Pledgedfinancialinstrumentsnotseparatelyreportedpledgedsecurities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "Pledgedfinancialinstrumentsnotseparatelyreportedpledgedsecurities",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForSaleAtFairValueSummaryOfDistributionOfCompanysLoansHeldForSaleAtFairValueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "PledgedFinancialInstrumentsNotSeparatelyReportedPledgedSecurities",
        "documentation": "Pledged financial instruments not separately reported Pledged securities.",
        "terseLabel": "Loans pledged to secure mortgage loan participation purchase and sale agreements"
       }
      }
     },
     "auth_ref": []
    },
    "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": [
      "r1205"
     ]
    },
    "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": [
      "r1249"
     ]
    },
    "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": [
      "r1204"
     ]
    },
    "us-gaap_PortionAtFairValueFairValueDisclosureMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PortionAtFairValueFairValueDisclosureMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueCarryingAndFairValuesOfNotesPayableSecuredByCreditRiskTransferAndMortgageServicingRightsAndExchangeableSeniorNotesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "axisDefault": "Portion at Fair Value Measurement [Member] [Default]",
        "label": "Portion at Fair Value Measurement [Member]",
        "documentation": "Measured at fair value for financial reporting purposes."
       }
      }
     },
     "auth_ref": [
      "r698",
      "r699",
      "r700",
      "r701",
      "r709",
      "r712",
      "r713",
      "r1046",
      "r1490"
     ]
    },
    "us-gaap_PreferredStockDiscountOnShares": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PreferredStockDiscountOnShares",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquitySummaryOfPreferredSharesOfBeneficialInterestDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Issuance discount",
        "label": "Preferred Stock, Discount on Shares",
        "documentation": "Discount on preferred shares, or any unamortized balance thereof, shown separately as a deduction from the applicable account(s) as circumstances require."
       }
      }
     },
     "auth_ref": [
      "r91"
     ]
    },
    "us-gaap_PreferredStockDividendRatePercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PreferredStockDividendRatePercentage",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquitySummaryOfPreferredSharesOfBeneficialInterestParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cumulative dividend, beneficial interest rate",
        "label": "Preferred Stock, Dividend Rate, Percentage",
        "documentation": "The percentage rate used to calculate dividend payments on preferred stock."
       }
      }
     },
     "auth_ref": [
      "r457",
      "r977",
      "r981",
      "r984",
      "r1000"
     ]
    },
    "us-gaap_PreferredStockDividendsIncomeStatementImpact": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PreferredStockDividendsIncomeStatementImpact",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited": {
       "parentTag": "pmt_NetIncomeLossAttributableToCommonStockholders",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Dividends on preferred shares",
        "label": "Preferred Stock Dividends, Income Statement Impact",
        "terseLabel": "Dividends on preferred shares of beneficial interest",
        "documentation": "The amount of preferred stock dividends that is an adjustment to net income apportioned to common stockholders."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PreferredStockDividendsPerShareCashPaid": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PreferredStockDividendsPerShareCashPaid",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquitySummaryOfPreferredSharesOfBeneficialInterestDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Dividends per share",
        "label": "Preferred Stock, Dividends, Per Share, Cash Paid",
        "documentation": "Aggregate dividends paid during the period for each share of preferred stock outstanding."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PreferredStockLiquidationPreferenceValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PreferredStockLiquidationPreferenceValue",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquitySummaryOfPreferredSharesOfBeneficialInterestDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Liquidation preference",
        "terseLabel": "Preferred stock, liquidation preference, value",
        "label": "Preferred Stock, Liquidation Preference, Value",
        "documentation": "Value of the difference between preference in liquidation and the par or stated values of the preferred shares."
       }
      }
     },
     "auth_ref": [
      "r224",
      "r226",
      "r460",
      "r471"
     ]
    },
    "us-gaap_PreferredStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PreferredStockMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInShareholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Preferred Stock",
        "label": "Preferred Stock [Member]",
        "documentation": "Preferred shares may provide a preferential dividend to the dividend on common stock and may take precedence over common stock in the event of a liquidation. Preferred shares typically represent an ownership interest in the company."
       }
      }
     },
     "auth_ref": [
      "r1152",
      "r1153",
      "r1156",
      "r1157",
      "r1158",
      "r1159",
      "r1560",
      "r1568"
     ]
    },
    "us-gaap_PreferredStockParOrStatedValuePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PreferredStockParOrStatedValuePerShare",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquitySummaryOfPreferredSharesOfBeneficialInterestParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Preferred stock, par value",
        "label": "Preferred Stock, Par or Stated Value Per Share",
        "documentation": "Face amount or stated value per share of preferred stock nonredeemable or redeemable solely at the option of the issuer."
       }
      }
     },
     "auth_ref": [
      "r60",
      "r456"
     ]
    },
    "us-gaap_PreferredStockRedemptionPricePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PreferredStockRedemptionPricePerShare",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquityAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Preferred stock redemption price per share",
        "label": "Preferred Stock, Redemption Price Per Share",
        "documentation": "The price per share at which the preferred stock of an entity that has priority over common stock in the distribution of dividends and in the event of liquidation of the entity is redeemed or may be called at. The redemption features of this preferred stock are solely within the control of the issuer."
       }
      }
     },
     "auth_ref": [
      "r33",
      "r34",
      "r37"
     ]
    },
    "us-gaap_PreferredStockSharesAuthorized": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PreferredStockSharesAuthorized",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Preferred stock, shares authorized",
        "label": "Preferred Stock, Shares Authorized",
        "documentation": "The maximum number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) permitted to be issued by an entity's charter and bylaws."
       }
      }
     },
     "auth_ref": [
      "r60",
      "r920"
     ]
    },
    "us-gaap_PreferredStockSharesIssued": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PreferredStockSharesIssued",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquitySummaryOfPreferredSharesOfBeneficialInterestDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Number of shares",
        "terseLabel": "Preferred stock, shares issued",
        "label": "Preferred Stock, Shares Issued",
        "documentation": "Number of shares issued for nonredeemable preferred shares and preferred shares redeemable solely at option of issuer. Includes, but is not limited to, preferred shares issued, repurchased, and held as treasury shares. Excludes preferred shares classified as debt."
       }
      }
     },
     "auth_ref": [
      "r60",
      "r456"
     ]
    },
    "us-gaap_PreferredStockSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PreferredStockSharesOutstanding",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodEndLabel": "Preferred Stock, Shares Outstanding, Ending Balance",
        "periodStartLabel": "Preferred Stock, Shares Outstanding, Beginning Balance",
        "terseLabel": "Preferred stock, shares outstanding",
        "label": "Preferred Stock, Shares Outstanding",
        "documentation": "Aggregate share number for all nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer) held by stockholders. Does not include preferred shares that have been repurchased."
       }
      }
     },
     "auth_ref": [
      "r60",
      "r920",
      "r940",
      "r1568",
      "r1569"
     ]
    },
    "us-gaap_PreferredStockValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PreferredStockValue",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquitySummaryOfPreferredSharesOfBeneficialInterestDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Carrying value",
        "label": "Preferred Stock, Value, Issued",
        "terseLabel": "Preferred shares of beneficial interest, $0.01 par value per share - authorized 100,000,000 shares, issued and outstanding 22,400,000, liquidation preference $560,000,000",
        "documentation": "Aggregate par or stated value of issued nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable preferred shares, par value and other disclosure concepts are in another section within stockholders' equity."
       }
      }
     },
     "auth_ref": [
      "r60",
      "r445",
      "r451",
      "r820",
      "r1139"
     ]
    },
    "pmt_PrimeMortgageLoanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "PrimeMortgageLoanMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesServicingAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Prime Mortgage Loans [Member]",
        "label": "Prime Mortgage Loan [Member]",
        "documentation": "Prime mortgage loan."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PrincipalAmountOutstandingOnLoansSecuritized": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PrincipalAmountOutstandingOnLoansSecuritized",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtScheduleOfContractualMaturitiesOnLongTermDebtObligationsDetail": {
       "parentTag": "us-gaap_LongTermDebt",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtScheduleOfContractualMaturitiesOnLongTermDebtObligationsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToAssetBackedFinancingOfVIEAtFairValueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Asset-backed financings at fair value",
        "verboseLabel": "Unpaid principal balance",
        "label": "Loan, Securitized or Asset-Backed Financing Arrangement, Principal Outstanding",
        "documentation": "This is the principal amount outstanding for securitized loans only (across all types of loans)."
       }
      }
     },
     "auth_ref": [
      "r11"
     ]
    },
    "pmt_PrincipalOnlyStrippedSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "PrincipalOnlyStrippedSecuritiesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureMortgagebackedSecuritiesSummaryOfInvestmentsInMortgageBackedSecuritiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Principal-only Stripped Securities [Member]",
        "documentation": "Principal-only stripped securities.",
        "terseLabel": "Principal-only Stripped [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ProceedsFromConvertibleDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ProceedsFromConvertibleDebt",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0,
       "order": 9.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds from Convertible Debt",
        "terseLabel": "Issuance of unsecured senior notes",
        "documentation": "The cash inflow from the issuance of a long-term debt instrument which can be exchanged for a specified amount of another security, typically the entity's common stock, at the option of the issuer or the holder."
       }
      }
     },
     "auth_ref": [
      "r16"
     ]
    },
    "pmt_ProceedsFromIssuanceOfMortgageLoanParticipationPurchaseAndSaleAgreements": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ProceedsFromIssuanceOfMortgageLoanParticipationPurchaseAndSaleAgreements",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Issuance of mortgage loan participation purchase and sale agreements",
        "label": "Proceeds From Issuance Of Mortgage Loan Participation Purchase And Sale Agreements",
        "documentation": "Proceeds from issuance of mortgage loan participation purchase and sale agreements."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ProceedsFromIssuanceOfSecuredDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ProceedsFromIssuanceOfSecuredDebt",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds from Issuance of Secured Debt",
        "terseLabel": "Issuance of asset-backed financings of variable interest entities",
        "documentation": "The cash inflow from amounts received from issuance of long-term debt that is wholly or partially secured by collateral. Excludes proceeds from tax exempt secured debt."
       }
      }
     },
     "auth_ref": [
      "r16"
     ]
    },
    "us-gaap_ProceedsFromNotesPayable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ProceedsFromNotesPayable",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Proceeds from Notes Payable, Total",
        "terseLabel": "Issuance of notes payable secured by credit risk transfer and mortgage servicing assets",
        "label": "Proceeds from Notes Payable",
        "documentation": "The cash inflow from a borrowing supported by a written promise to pay an obligation."
       }
      }
     },
     "auth_ref": [
      "r16"
     ]
    },
    "us-gaap_ProceedsFromPrincipalRepaymentsOnLoansAndLeasesHeldForInvestment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ProceedsFromPrincipalRepaymentsOnLoansAndLeasesHeldForInvestment",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds from Principal Repayment, Loan and Lease, Held-for-Investment",
        "verboseLabel": "Repayment of loans held for investment",
        "documentation": "The cash inflow from repayments of the balance excluding interest (principal) on loans receivable and leases held for investment purposes."
       }
      }
     },
     "auth_ref": [
      "r14"
     ]
    },
    "pmt_ProceedsFromRepurchaseOfMortgageLoansSubjectToRepresentationAndWarranties": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ProceedsFromRepurchaseOfMortgageLoansSubjectToRepresentationAndWarranties",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 16.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds From Repurchase Of Mortgage Loans Subject To Representation And Warranties",
        "documentation": "Cash outflow and inflow to repurchase mortgage loans previously sold and which are being repurchased due to a breach of the Company's breach of a representation or warranty under which the loan was sold.",
        "terseLabel": "Repurchase of loans subject to representations and warranties"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ProceedsFromSaleAndRepaymentsOfMortgageBackedSecurities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ProceedsFromSaleAndRepaymentsOfMortgageBackedSecurities",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds From Sale And Repayments Of Mortgage Backed Securities",
        "documentation": "Proceeds from sale and repayments of mortgage backed securities.",
        "verboseLabel": "Sale and repayment of mortgage-backed securities"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ProceedsFromSaleOfAssetsUnderAgreementsToRepurchase": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ProceedsFromSaleOfAssetsUnderAgreementsToRepurchase",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Sale of assets under agreements to repurchase",
        "label": "Proceeds From Sale Of Assets Under Agreements To Repurchase",
        "documentation": "Proceeds from sale of assets under agreements to repurchase."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ProceedsFromSaleOfMortgageLoansHeldForSale": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ProceedsFromSaleOfMortgageLoansHeldForSale",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 14.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds from Sale, Loan, Mortgage, Held-for-Sale",
        "terseLabel": "Sale to nonaffiliates and repayment of loans held for sale",
        "documentation": "The cash inflow from sales of loans that are secured with real estate mortgages and are held with the intention to resell in the near future."
       }
      }
     },
     "auth_ref": [
      "r19",
      "r80"
     ]
    },
    "pmt_ProceedsFromSaleOfMortgageLoansHeldForSaleToAffiliates": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ProceedsFromSaleOfMortgageLoansHeldForSaleToAffiliates",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 15.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds From Sale Of Mortgage Loans Held For Sale To Affiliates",
        "documentation": "Unpaid principal balance of mortgage loans acquired for sale sold to an affiliate.",
        "terseLabel": "Sale of loans held for sale to PennyMac Financial Services, Inc."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ProceedsFromSaleOfRealEstateAcquiredInSettlementOfLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ProceedsFromSaleOfRealEstateAcquiredInSettlementOfLoans",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0,
       "order": 11.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Sale of real estate acquired in settlement of loans",
        "label": "Proceeds From Sale Of Real Estate Acquired In Settlement Of Loans",
        "documentation": "Amount represents the cash inflows from the sale of real estate acquired in settlement of mortgage loans."
       }
      }
     },
     "auth_ref": []
    },
    "srt_ProductOrServiceAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "ProductOrServiceAxis",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquityAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Product and Service",
        "label": "Product and Service [Axis]",
        "documentation": "Information by product and service, or group of similar products and similar services."
       }
      }
     },
     "auth_ref": [
      "r147",
      "r148",
      "r149",
      "r150",
      "r151",
      "r152",
      "r170",
      "r331",
      "r795",
      "r846",
      "r847",
      "r848",
      "r849",
      "r850",
      "r851",
      "r852",
      "r1047",
      "r1053",
      "r1055",
      "r1056",
      "r1105",
      "r1106",
      "r1141",
      "r1142",
      "r1144",
      "r1146",
      "r1150",
      "r1263",
      "r1278",
      "r1302",
      "r1303",
      "r1304",
      "r1305",
      "r1306",
      "r1307",
      "r1308",
      "r1309",
      "r1310",
      "r1311",
      "r1312",
      "r1313",
      "r1314",
      "r1315",
      "r1316",
      "r1317",
      "r1318",
      "r1319",
      "r1320",
      "r1321",
      "r1322",
      "r1323",
      "r1324",
      "r1325",
      "r1326",
      "r1327",
      "r1328",
      "r1329",
      "r1330",
      "r1331",
      "r1332",
      "r1333",
      "r1334",
      "r1335",
      "r1336",
      "r1337",
      "r1338",
      "r1339",
      "r1340",
      "r1341",
      "r1342",
      "r1407",
      "r1408",
      "r1528",
      "r1530",
      "r1531",
      "r1532",
      "r1533",
      "r1534",
      "r1535",
      "r1536",
      "r1537",
      "r1538",
      "r1539",
      "r1540",
      "r1541",
      "r1542",
      "r1543",
      "r1544",
      "r1545",
      "r1546",
      "r1547",
      "r1548",
      "r1549",
      "r1550",
      "r1551",
      "r1552",
      "r1553",
      "r1554",
      "r1555",
      "r1558",
      "r1559"
     ]
    },
    "srt_ProductsAndServicesDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "ProductsAndServicesDomain",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquityAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Product and Service",
        "label": "Product and Service [Domain]",
        "documentation": "Product or service, or a group of similar products or similar services."
       }
      }
     },
     "auth_ref": [
      "r147",
      "r148",
      "r149",
      "r150",
      "r151",
      "r152",
      "r170",
      "r331",
      "r795",
      "r846",
      "r847",
      "r848",
      "r849",
      "r850",
      "r851",
      "r852",
      "r1047",
      "r1053",
      "r1055",
      "r1056",
      "r1105",
      "r1106",
      "r1141",
      "r1142",
      "r1144",
      "r1146",
      "r1150",
      "r1263",
      "r1278",
      "r1302",
      "r1303",
      "r1304",
      "r1305",
      "r1306",
      "r1307",
      "r1308",
      "r1309",
      "r1310",
      "r1311",
      "r1312",
      "r1313",
      "r1314",
      "r1315",
      "r1316",
      "r1317",
      "r1318",
      "r1319",
      "r1320",
      "r1321",
      "r1322",
      "r1323",
      "r1324",
      "r1325",
      "r1326",
      "r1327",
      "r1328",
      "r1329",
      "r1330",
      "r1331",
      "r1332",
      "r1333",
      "r1334",
      "r1335",
      "r1336",
      "r1337",
      "r1338",
      "r1339",
      "r1340",
      "r1341",
      "r1342",
      "r1407",
      "r1408",
      "r1528",
      "r1530",
      "r1531",
      "r1532",
      "r1533",
      "r1534",
      "r1535",
      "r1536",
      "r1537",
      "r1538",
      "r1539",
      "r1540",
      "r1541",
      "r1542",
      "r1543",
      "r1544",
      "r1545",
      "r1546",
      "r1547",
      "r1548",
      "r1549",
      "r1550",
      "r1551",
      "r1552",
      "r1553",
      "r1554",
      "r1555",
      "r1558",
      "r1559"
     ]
    },
    "us-gaap_ProfessionalFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ProfessionalFees",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited": {
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Professional services",
        "label": "Professional Fees",
        "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": [
      "r1055",
      "r1067",
      "r1162",
      "r1566",
      "r1567"
     ]
    },
    "us-gaap_ProfitLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ProfitLoss",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net income",
        "totalLabel": "Net Income (Loss), Including Portion Attributable to Noncontrolling Interest, Total",
        "label": "Net Income (Loss), Including Portion Attributable to Noncontrolling Interest",
        "documentation": "The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest."
       }
      }
     },
     "auth_ref": [
      "r184",
      "r192",
      "r204",
      "r205",
      "r218",
      "r224",
      "r227",
      "r228",
      "r231",
      "r245",
      "r255",
      "r259",
      "r260",
      "r372",
      "r411",
      "r412",
      "r413",
      "r414",
      "r415",
      "r416",
      "r417",
      "r418",
      "r419",
      "r442",
      "r523",
      "r554",
      "r565",
      "r567",
      "r570",
      "r571",
      "r670",
      "r712",
      "r801",
      "r803",
      "r826",
      "r884",
      "r941",
      "r964",
      "r965",
      "r1119",
      "r1120",
      "r1163",
      "r1296",
      "r1411"
     ]
    },
    "pmt_ProvisionForLossesUnderRepresentationAndWarranties": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ProvisionForLossesUnderRepresentationAndWarranties",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSaleSummaryOfNetGainsOnMortgageLoansHeldForSaleDetail": {
       "parentTag": "us-gaap_GainLossOnSaleOfMortgageLoans",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSaleSummaryOfNetGainsOnMortgageLoansHeldForSaleDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Provision for losses relating to representations and warranties",
        "label": "Provision For Losses Under Representation And Warranties",
        "documentation": "Provision for losses under representation and warranties."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ProvisionForLossesUnderRepresentationAndWarrantiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ProvisionForLossesUnderRepresentationAndWarrantiesAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSaleSummaryOfNetGainsOnMortgageLoansHeldForSaleDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLiabilityForLossesUnderRepresentationsAndWarrantiesSummaryOfCompanySLiabilityForLossesUnderRepresentationsAndWarrantiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Provision for losses relating to representations and warranties provided in loan sales:",
        "terseLabel": "Provision for losses:",
        "label": "Provision For Losses Under Representation And Warranties [Abstract]",
        "documentation": "Provision for losses under representation and warranties."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ProvisionsForRepresentationsAndWarrantiesLosses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ProvisionsForRepresentationsAndWarrantiesLosses",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSaleSummaryOfNetGainsOnMortgageLoansHeldForSaleDetail": {
       "parentTag": "pmt_ProvisionForLossesUnderRepresentationAndWarranties",
       "weight": -1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSaleSummaryOfNetGainsOnMortgageLoansHeldForSaleDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLiabilityForLossesUnderRepresentationsAndWarrantiesSummaryOfCompanySLiabilityForLossesUnderRepresentationsAndWarrantiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Pursuant to loan sales",
        "label": "Provisions For Representations And Warranties Losses",
        "documentation": "Provisions for representations and warranties losses recognized during the period.",
        "negatedLabel": "Pursuant to loan sales"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PurchaseCommitmentExcludingLongtermCommitmentAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PurchaseCommitmentExcludingLongtermCommitmentAxis",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Purchase Commitment, Excluding Long-term Commitment",
        "label": "Purchase Commitment, Excluding Long-Term Commitment [Axis]",
        "documentation": "Information by arrangement, in which the entity has agreed to expend funds to procure goods or services from one or more suppliers."
       }
      }
     },
     "auth_ref": [
      "r58",
      "r103"
     ]
    },
    "us-gaap_PurchaseCommitmentExcludingLongtermCommitmentDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PurchaseCommitmentExcludingLongtermCommitmentDomain",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Purchase Commitment, Excluding Long-term Commitment",
        "label": "Purchase Commitment, Excluding Long-Term Commitment [Domain]",
        "documentation": "This item is intended to be populated, by the entity, with Members identifying each purchase commitment about which information required or determined to be disclosed is being provided. If only one such commitment exists, this item may be used to capture such information; if multiple commitments exist, this item is the dimensional default, which will aggregate such information, as appropriate."
       }
      }
     },
     "auth_ref": [
      "r58",
      "r103"
     ]
    },
    "us-gaap_PurchaseCommitmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "PurchaseCommitmentMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Purchase Commitment [Member]",
        "label": "Purchase Commitment [Member]",
        "documentation": "Purchase arrangement in which the entity has agreed to expend funds to procure goods or services from a supplier. Excludes long-term commitments."
       }
      }
     },
     "auth_ref": [
      "r58",
      "r103"
     ]
    },
    "pmt_PutOptionsOnInterestRateFuturesPurchaseContractsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "PutOptionsOnInterestRateFuturesPurchaseContractsMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Put Options On Interest Rate Futures Purchase Contracts [Member]",
        "documentation": "Put options on interest rate futures purchase contracts.",
        "terseLabel": "Put Options On Interest Rate Futures Purchase Contracts [Member]",
        "verboseLabel": "Put Options On Interest Rate Futures Purchase Contracts"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_PutOptionsOnInterestRateFuturesSaleContractsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "PutOptionsOnInterestRateFuturesSaleContractsMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Put Options On Interest Rate Futures Sale Contracts [Member]",
        "documentation": "Put options on interest rate futures sale contracts.",
        "terseLabel": "Put Options On Interest Rate Futures Sell Contracts [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_PutOptionsOnInterestRateFuturesSellContractsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "PutOptionsOnInterestRateFuturesSellContractsMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Put options on interest rate futures sell contracts.",
        "label": "Put Options On Interest Rate Futures Sell Contracts [Member]",
        "terseLabel": "Put Options On Interest Rate Futures Sell Contracts [Member]"
       }
      }
     },
     "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": [
      "r1202"
     ]
    },
    "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": [
      "r1202"
     ]
    },
    "pmt_RBCCapitalMarketsLPMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "RBCCapitalMarketsLPMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfAssetsSoldUnderAgreementsToRepurchaseByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "RBC Capital Markets L.P. [Member]",
        "label": "R B C Capital Markets L P [Member]",
        "documentation": "RBC Capital Markets L.P."
       }
      }
     },
     "auth_ref": []
    },
    "srt_RangeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "RangeAxis",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueKeyInputsUsedInDeterminingFairValueOfIoDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfKeyUnobservableInputsUsedInValuationCreditRiskTransferStripLiabilitiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesManagementAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesMortgageBankingServicesAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesServicingAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueKeyAssumptionsUsedInDeterminingFairValueOfMsrsAtTimeOfInitialRecognitionDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyAssumptionsUsedInValuationOfMsrsAsOfDatesPresentedAndEffectOnEstimatedFairValueFromAdverseChangesInThoseInputsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInReviewAndApprovalOfBrokerProvidedFairValuesForCRTDerivativesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInValuationOfInterestRateLockCommitmentsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageBackedSecuritiesSummaryOfInvestmentInMortgageBackedSecuritiesParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureRegulatoryCapitalAndLiquidityRequirementsAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquityAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesNotePayableToPLSAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Statistical Measurement",
        "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": [
      "r142",
      "r143",
      "r144",
      "r145",
      "r146",
      "r155",
      "r157",
      "r158",
      "r172",
      "r173",
      "r291",
      "r407",
      "r408",
      "r409",
      "r410",
      "r473",
      "r485",
      "r514",
      "r515",
      "r516",
      "r520",
      "r525",
      "r676",
      "r754",
      "r771",
      "r794",
      "r853",
      "r855",
      "r869",
      "r909",
      "r910",
      "r976",
      "r980",
      "r985",
      "r986",
      "r999",
      "r1026",
      "r1028",
      "r1030",
      "r1031",
      "r1043",
      "r1044",
      "r1075",
      "r1104",
      "r1112",
      "r1115",
      "r1117",
      "r1118",
      "r1130",
      "r1131",
      "r1135",
      "r1136",
      "r1142",
      "r1154",
      "r1405",
      "r1415",
      "r1475",
      "r1509",
      "r1510",
      "r1511",
      "r1512",
      "r1513"
     ]
    },
    "srt_RangeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "RangeMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueKeyInputsUsedInDeterminingFairValueOfIoDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfKeyUnobservableInputsUsedInValuationCreditRiskTransferStripLiabilitiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesManagementAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesMortgageBankingServicesAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesServicingAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueKeyAssumptionsUsedInDeterminingFairValueOfMsrsAtTimeOfInitialRecognitionDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyAssumptionsUsedInValuationOfMsrsAsOfDatesPresentedAndEffectOnEstimatedFairValueFromAdverseChangesInThoseInputsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInReviewAndApprovalOfBrokerProvidedFairValuesForCRTDerivativesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInValuationOfInterestRateLockCommitmentsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageBackedSecuritiesSummaryOfInvestmentInMortgageBackedSecuritiesParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureRegulatoryCapitalAndLiquidityRequirementsAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquityAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesNotePayableToPLSAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Statistical Measurement",
        "label": "Statistical Measurement [Domain]",
        "documentation": "Statistical measurement. Includes, but is not limited to, minimum, maximum, weighted average, arithmetic average, and median."
       }
      }
     },
     "auth_ref": [
      "r142",
      "r143",
      "r144",
      "r145",
      "r146",
      "r155",
      "r157",
      "r158",
      "r172",
      "r173",
      "r291",
      "r407",
      "r408",
      "r409",
      "r410",
      "r473",
      "r485",
      "r514",
      "r515",
      "r516",
      "r520",
      "r525",
      "r676",
      "r754",
      "r771",
      "r794",
      "r853",
      "r855",
      "r869",
      "r909",
      "r910",
      "r976",
      "r980",
      "r985",
      "r986",
      "r999",
      "r1026",
      "r1028",
      "r1030",
      "r1031",
      "r1043",
      "r1044",
      "r1075",
      "r1104",
      "r1112",
      "r1115",
      "r1117",
      "r1118",
      "r1130",
      "r1131",
      "r1135",
      "r1136",
      "r1142",
      "r1154",
      "r1405",
      "r1415",
      "r1475",
      "r1509",
      "r1510",
      "r1511",
      "r1512",
      "r1513"
     ]
    },
    "us-gaap_RealEstateAcquiredInSatisfactionOfDebtMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RealEstateAcquiredInSatisfactionOfDebtMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Real Estate Acquired in Satisfaction of Debt [Member]",
        "label": "Real Estate Acquired in Satisfaction of Debt [Member]",
        "documentation": "Real estate taken in settlement of troubled loans through surrender or foreclosure."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_RealEstateAcquiredInSettlementOfLoansMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "RealEstateAcquiredInSettlementOfLoansMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureOtherAssetsSummaryOfOtherAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Real Estate Acquired in Settlement of Loans Pledge to Secure [Member]",
        "terseLabel": "Real estate acquired in settlement of loans [Member]",
        "label": "Real Estate Acquired In Settlement Of Loans [Member]",
        "documentation": "Real Estate Acquired In Settlement Of Loans [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RealEstateAcquiredThroughForeclosure": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RealEstateAcquiredThroughForeclosure",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfTransferCashToFundLoanServicingAdvancesDetail": {
       "parentTag": "pmt_ServicingAdvancesAndRealEstateAcquiredThroughForeclosure",
       "weight": 1.0,
       "order": 1.0
      },
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureOtherAssetsSummaryOfOtherAssetsDetail": {
       "parentTag": "us-gaap_OtherAssets",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureOtherAssetsSummaryOfOtherAssetsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfTransferCashToFundLoanServicingAdvancesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Real estate acquired in settlement of loans",
        "terseLabel": "Real estate acquired in settlement of loans",
        "label": "Real Estate Acquired Through Foreclosure",
        "netLabel": "Other assets-Real estate acquired in settlement of loans",
        "documentation": "Carrying amount as of the balance sheet date of land and buildings obtained through foreclosure proceedings or defeasance in full or partial satisfaction of a debt arrangement."
       }
      }
     },
     "auth_ref": [
      "r338",
      "r1380",
      "r1381"
     ]
    },
    "pmt_RealEstateAcquiredThroughForeclosureGainsLossesRecognized": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "RealEstateAcquiredThroughForeclosureGainsLossesRecognized",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInFairValueRecognizedInAssetsThatRemeasuredAtFairValueOnNonrecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Real Estate Acquired Through Foreclosure Gains Losses Recognized",
        "documentation": "Changes in fair value recognized in income during the period relating to real estate acquired in settlement of loans re-measured at fair value less estimate costs to sell.",
        "terseLabel": "Real estate acquired in settlement of loans"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_RealEstateAcquiredThroughForeclosureRemeasuredDuringPeriod": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "RealEstateAcquiredThroughForeclosureRemeasuredDuringPeriod",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfCarryingValueOfAssetsRemeasuredBasedOnFairValueOnNonrecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Real estate acquired in settlement of loans",
        "label": "Real Estate Acquired Through Foreclosure Remeasured During Period",
        "documentation": "Period-end carrying value of real estate acquired in settlement of loans re-measured during the period."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_RealizedGainsLossesRecognizedOnCreditDefaultSwaps": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "RealizedGainsLossesRecognizedOnCreditDefaultSwaps",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail": {
       "parentTag": "pmt_GainsLossesRecognizedOnCreditRiskTransferAgreements",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Realized",
        "label": "Realized Gains Losses Recognized On Credit Default Swaps",
        "documentation": "Represents the net gains or losses realized pursuant to credit risk transfer agreements."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_RealizedGainsLossesRecognizedOnCreditRiskTransferStrips": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "RealizedGainsLossesRecognizedOnCreditRiskTransferStrips",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail": {
       "parentTag": "pmt_GainLossRecognizedOnCreditRiskTransferStrips",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Realized",
        "label": "Realized Gains Losses Recognized On Credit Risk Transfer Strips",
        "documentation": "Realized gains losses recognized on credit risk transfer strips."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_RecaptureAgreementRenewedAndAmendedAdjustedRecaptureFeeDescription": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "RecaptureAgreementRenewedAndAmendedAdjustedRecaptureFeeDescription",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesMSRRecaptureAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Recapture Agreement Renewed And Amended Adjusted Recapture Fee Description",
        "documentation": "Recapture agreement renewed and amended adjusted recapture fee description.",
        "terseLabel": "Recapture agreement renewed and amended adjusted recapture fee description"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_RecaptureRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "RecaptureRate",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesMSRRecaptureAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Recapture rate",
        "label": "Recapture Rate",
        "documentation": "Recapture rate ."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ReceiptOfMortgageServicingRightsAsProceedsFromSalesOfLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ReceiptOfMortgageServicingRightsAsProceedsFromSalesOfLoans",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSaleSummaryOfNetGainsOnMortgageLoansHeldForSaleDetail": {
       "parentTag": "us-gaap_GainLossOnSaleOfMortgageLoans",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSaleSummaryOfNetGainsOnMortgageLoansHeldForSaleDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Receipt of mortgage servicing rights as proceeds from sales of loans",
        "terseLabel": "Receipt of MSRs in mortgage loan sale transactions",
        "label": "Receipt Of Mortgage Servicing Rights As Proceeds From Sales Of Loans",
        "documentation": "Receipt of MSRs as proceeds from sales of loans.",
        "negatedTerseLabel": "Receipt of MSRs in mortgage loan sale transactions"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ReclassificationFromAdditionalPaidInCapitalToCarryingValueOfExchangeableNotes": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ReclassificationFromAdditionalPaidInCapitalToCarryingValueOfExchangeableNotes",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureBasisOfPresentationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Reclassification from additional paid-in capital to carrying value of exchangeable notes",
        "label": "Reclassification From Additional Paid In Capital To Carrying Value Of Exchangeable Notes",
        "documentation": "Reclassification from additional paid-in capital to carrying value of exchangeable notes."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_RecognitionOfAssetBackedFinancingsResultingFromInitialConsolidationOfVariableInterestEntity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "RecognitionOfAssetBackedFinancingsResultingFromInitialConsolidationOfVariableInterestEntity",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Recognition of asset-backed financings resulting from initial consolidation of VIEs",
        "label": "Recognition Of Asset Backed Financings Resulting From Initial Consolidation Of Variable Interest Entity",
        "documentation": "Recognition of asset backed financings resulting from initial consolidation of variable interest entity."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_RecognitionOfLoansHeldForInvestmentResultingFromInitialConsolidationOfVariableInterestEntities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "RecognitionOfLoansHeldForInvestmentResultingFromInitialConsolidationOfVariableInterestEntities",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Recognition Of Loans Held For Investment Resulting From Initial Consolidation Of Variable Interest Entities",
        "documentation": "Recognition of loans held for investment resulting from initial consolidation of variable interest entities.",
        "verboseLabel": "Recognition of loans held for investment resulting from initial consolidation of variable interest entities"
       }
      }
     },
     "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": [
      "r1170",
      "r1180",
      "r1190",
      "r1222"
     ]
    },
    "pmt_ReductionInLiabilityDueToChangeInEstimate": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ReductionInLiabilityDueToChangeInEstimate",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSaleSummaryOfNetGainsOnMortgageLoansHeldForSaleDetail": {
       "parentTag": "pmt_ProvisionForLossesUnderRepresentationAndWarranties",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSaleSummaryOfNetGainsOnMortgageLoansHeldForSaleDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Reduction of liability due to change in estimate",
        "label": "Reduction In Liability Due To Change In Estimate",
        "documentation": "Reduction in liability due to change in estimate."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_RegulatoryAssetsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "RegulatoryAssetsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Regulatory Assets [Abstract]",
        "documentation": "Regulatory Assets [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_RegulatoryCapitalRatioAmount": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "RegulatoryCapitalRatioAmount",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureRegulatoryCapitalAndLiquidityRequirementsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Basis point",
        "label": "Regulatory Capital Ratio Amount",
        "documentation": "Regulatory capital ratio amount."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RegulatoryCapitalRequirementsForMortgageCompaniesDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RegulatoryCapitalRequirementsForMortgageCompaniesDisclosureTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureRegulatoryCapitalAndLiquidityRequirements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Regulatory Capital and Liquidity Requirements",
        "label": "Regulatory Capital Requirements for Mortgage Companies Disclosure [Text Block]",
        "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": [
      "r1017",
      "r1018",
      "r1020",
      "r1021",
      "r1022",
      "r1023",
      "r1024",
      "r1257",
      "r1258",
      "r1259",
      "r1260",
      "r1261",
      "r1262"
     ]
    },
    "pmt_ReimbursementOfCommonOverheadIncurredByAffiliates": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ReimbursementOfCommonOverheadIncurredByAffiliates",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfExpensesDetail": {
       "parentTag": "us-gaap_AffiliateCosts",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfExpensesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Common overhead incurred by PCM and its affiliates",
        "label": "Reimbursement Of Common Overhead Incurred By Affiliates",
        "documentation": "Reimbursement of common overhead incurred by affiliates.",
        "verboseLabel": "Common overhead"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ReimbursementOfCompensationToAffiliates": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ReimbursementOfCompensationToAffiliates",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfExpensesDetail": {
       "parentTag": "us-gaap_AffiliateCosts",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfExpensesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Compensation",
        "label": "Reimbursement Of Compensation To Affiliates",
        "documentation": "Reimbursement of compensation to affiliates."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ReimbursementOfExpensesToAffiliateNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ReimbursementOfExpensesToAffiliateNet",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfExpensesDetail": {
       "parentTag": "us-gaap_AffiliateCosts",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfExpensesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Expenses incurred on the Company\u2019s behalf, net",
        "label": "Reimbursement Of Expenses To Affiliate Net",
        "documentation": "Reimbursement of expenses to affiliate net."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ReitQualificationThresholdPercentageOfTaxableIncomeForDistribution": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ReitQualificationThresholdPercentageOfTaxableIncomeForDistribution",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureOrganizationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Percentage of taxable income for distributions",
        "label": "Reit Qualification Threshold Percentage Of Taxable Income For Distribution",
        "documentation": "Represents the portion of the Company's taxable income that is required to distribute at in the form of qualifying distributions to shareholders to retain its REIT status."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_RelatedPartyBaseManagementFeeAsPercentageOfStockHoldersEquity": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "RelatedPartyBaseManagementFeeAsPercentageOfStockHoldersEquity",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesManagementAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Base management fee annual rate",
        "label": "Related Party Base Management Fee As Percentage Of Stock Holders Equity",
        "documentation": "Represents the base management fee rate based on shareholders' equity as defined that existed before February 1, 2013."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RelatedPartyDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RelatedPartyDomain",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForSaleAtFairValueSummaryOfDistributionOfCompanysLoansHeldForSaleAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSaleSummaryOfNetGainsOnMortgageLoansHeldForSaleDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetLossesGainsOnInvestmentsAndFinancingsSummaryOfNetLossesGainsOnInvestmentsAndFinancingsDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesManagementAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesMortgageBankingServicesAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesServicingAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesSummaryOfAggregationAndSecuritizationActivitiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesLoanServicingAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesMSRRecaptureAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesNotePayableToPLSAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfAmountsReceivableFromAndPayableToPFSIDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfExpensesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfLoanServicingFeesEarnedAndMortgageServicingRightsRecapturedIncomeEarnedDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfManagementFeeExpenseDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfTransferCashToFundLoanServicingAdvancesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Related Party",
        "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": [
      "r224",
      "r230",
      "r231",
      "r337",
      "r480",
      "r484",
      "r740",
      "r741",
      "r817",
      "r824",
      "r913",
      "r914",
      "r915",
      "r916",
      "r917",
      "r939",
      "r973",
      "r1564"
     ]
    },
    "us-gaap_RelatedPartyTransactionAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RelatedPartyTransactionAxis",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesSummaryOfAggregationAndSecuritizationActivitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transaction [Axis]",
        "documentation": "Information by type of related party transaction."
       }
      }
     },
     "auth_ref": [
      "r224",
      "r230",
      "r231",
      "r740",
      "r741",
      "r1505"
     ]
    },
    "us-gaap_RelatedPartyTransactionDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RelatedPartyTransactionDomain",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesSummaryOfAggregationAndSecuritizationActivitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transaction [Domain]",
        "documentation": "Transaction between related party."
       }
      }
     },
     "auth_ref": [
      "r224",
      "r230",
      "r231",
      "r1505"
     ]
    },
    "us-gaap_RelatedPartyTransactionLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RelatedPartyTransactionLineItems",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesSummaryOfAggregationAndSecuritizationActivitiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesNotePayableToPLSAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfAmountsReceivableFromAndPayableToPFSIDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfExpensesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfFinancingActivitiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfInvestingActivityDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfLoanServicingFeesEarnedAndMortgageServicingRightsRecapturedIncomeEarnedDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfManagementFeeExpenseDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfTransferCashToFundLoanServicingAdvancesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Related Party Transaction [Line Items]",
        "label": "Related Party Transaction [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": [
      "r224",
      "r230",
      "r231",
      "r337",
      "r740",
      "r741",
      "r742",
      "r947",
      "r948",
      "r951"
     ]
    },
    "us-gaap_RelatedPartyTransactionsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RelatedPartyTransactionsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transactions [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RelatedPartyTransactionsByRelatedPartyAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RelatedPartyTransactionsByRelatedPartyAxis",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForSaleAtFairValueSummaryOfDistributionOfCompanysLoansHeldForSaleAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSaleSummaryOfNetGainsOnMortgageLoansHeldForSaleDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetLossesGainsOnInvestmentsAndFinancingsSummaryOfNetLossesGainsOnInvestmentsAndFinancingsDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesManagementAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesMortgageBankingServicesAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesServicingAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesSummaryOfAggregationAndSecuritizationActivitiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesLoanServicingAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesMSRRecaptureAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesNotePayableToPLSAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfAmountsReceivableFromAndPayableToPFSIDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfExpensesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfLoanServicingFeesEarnedAndMortgageServicingRightsRecapturedIncomeEarnedDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfManagementFeeExpenseDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfTransferCashToFundLoanServicingAdvancesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Related Party",
        "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": [
      "r224",
      "r230",
      "r231",
      "r337",
      "r480",
      "r484",
      "r740",
      "r741",
      "r817",
      "r824",
      "r913",
      "r914",
      "r915",
      "r916",
      "r917",
      "r939",
      "r973",
      "r1505",
      "r1564"
     ]
    },
    "us-gaap_RelatedPartyTransactionsDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RelatedPartyTransactionsDisclosureTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedParties"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Transactions with Related parties",
        "label": "Related Party Transactions Disclosure [Text Block]",
        "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": [
      "r737",
      "r738",
      "r739",
      "r741",
      "r743",
      "r881",
      "r882",
      "r883",
      "r949",
      "r950",
      "r951",
      "r970",
      "r972"
     ]
    },
    "pmt_RepaymentOfMortgageLoanParticipationPurchaseAndSaleAgreements": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "RepaymentOfMortgageLoanParticipationPurchaseAndSaleAgreements",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Repayment of mortgage loan participation purchase and sale agreements",
        "label": "Repayment Of Mortgage Loan Participation Purchase And Sale Agreements",
        "documentation": "Repayment of mortgage loan participation purchase and sale agreements."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_RepaymentsOfAssetsSoldUnderAgreementsToRepurchase": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "RepaymentsOfAssetsSoldUnderAgreementsToRepurchase",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Repurchase of assets sold under agreements to repurchase",
        "label": "Repayments Of Assets Sold Under Agreements To Repurchase",
        "documentation": "Repayments of Assets Sold Under Agreements to Repurchase"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RepaymentsOfNotesPayable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RepaymentsOfNotesPayable",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Repayment of notes payable secured by credit risk transfer and mortgage servicing assets",
        "label": "Repayments of Notes Payable",
        "documentation": "The cash outflow for a borrowing supported by a written promise to pay an obligation."
       }
      }
     },
     "auth_ref": [
      "r77"
     ]
    },
    "us-gaap_RepaymentsOfSecuredDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RepaymentsOfSecuredDebt",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Repayments of Secured Debt",
        "negatedLabel": "Repayment of asset-backed financings of variable interest entities",
        "documentation": "The cash outflow to repay long-term debt that is wholly or partially secured by collateral. Excludes repayments of tax exempt secured debt."
       }
      }
     },
     "auth_ref": [
      "r77"
     ]
    },
    "us-gaap_RepaymentsOfUnsecuredDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RepaymentsOfUnsecuredDebt",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Repayments of Unsecured Debt",
        "negatedLabel": "Repayment of unsecured senior notes",
        "documentation": "The cash outflow to repay long-term debt that is not secured by collateral. Excludes repayments of tax exempt unsecured debt."
       }
      }
     },
     "auth_ref": [
      "r77"
     ]
    },
    "pmt_ReportableSegmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ReportableSegmentMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reportable segment.",
        "terseLabel": "Reportable Segment [Member]",
        "label": "Reportable Segment [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_RepresentationsAndWarrantiesLiability": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "RepresentationsAndWarrantiesLiability",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 15.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLiabilityForLossesUnderRepresentationsAndWarrantiesSummaryOfCompanySLiabilityForLossesUnderRepresentationsAndWarrantiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodEndLabel": "Balance, end of quarter",
        "terseLabel": "Liability for losses under representations and warranties",
        "periodStartLabel": "Balance, beginning of quarter",
        "label": "Representations And Warranties Liability",
        "documentation": "Represents the company's estimate of the losses it expects to incur in the future as a result of claims against it in connection with the representations and warranties it provide to the purchasers and insurers of the mortgage loans it sells."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_RepresentationsAndWarrantiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "RepresentationsAndWarrantiesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForSaleAtFairValueSummaryOfDistributionOfCompanysLoansHeldForSaleAtFairValueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Repurchased Pursuant to Representations and Warranties [Member]",
        "label": "Representations And Warranties [Member]",
        "documentation": "Representations And Warranties Member"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_RepresentationsAndWarrantiesRecoveriesLossesNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "RepresentationsAndWarrantiesRecoveriesLossesNet",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLiabilityForLossesUnderRepresentationsAndWarrantiesSummaryOfCompanySLiabilityForLossesUnderRepresentationsAndWarrantiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Losses incurred",
        "documentation": "Representations and warranties recoveries (losses),net.",
        "label": "Representations And Warranties Recoveries Losses Net",
        "terseLabel": "Losses incurred, net"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RepurchaseAgreementCounterpartyAmountAtRisk": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RepurchaseAgreementCounterpartyAmountAtRisk",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfAssetsSoldUnderAgreementsToRepurchaseByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Repurchase Agreement Counterparty, Amount at Risk",
        "terseLabel": "Amounts 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": [
      "r224",
      "r238",
      "r772"
     ]
    },
    "srt_RepurchaseAgreementCounterpartyNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "RepurchaseAgreementCounterpartyNameDomain",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureMortgagebackedSecuritiesSummaryOfInvestmentsInMortgageBackedSecuritiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureRegulatoryCapitalAndLiquidityRequirementsSummaryOfCapitalAndLiquidityAmountsAndRequirementsByAgenciesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfAssetsSoldUnderAgreementsToRepurchaseByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAssetsFinancialInstrumentsAndCollateralHeldByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageBackedSecuritiesSummaryOfInvestmentInMortgageBackedSecuritiesParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Counterparty Name",
        "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": [
      "r168",
      "r169",
      "r224",
      "r238",
      "r239",
      "r423",
      "r458",
      "r742",
      "r772",
      "r811",
      "r1049",
      "r1051",
      "r1052",
      "r1287",
      "r1288",
      "r1289",
      "r1290",
      "r1291",
      "r1292",
      "r1293",
      "r1294",
      "r1295",
      "r1461",
      "r1463",
      "r1464",
      "r1465"
     ]
    },
    "pmt_RepurchaseAgreementFacilities": {
     "xbrltype": "durationItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "RepurchaseAgreementFacilities",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Repurchase agreement facilities",
        "label": "Repurchase agreement facilities"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_RepurchaseAgreementsMaturitiesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "RepurchaseAgreementsMaturitiesTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureShorttermDebtTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Maturities of Outstanding Advances Under Repurchase Agreements by Maturity Date",
        "label": "Repurchase Agreements Maturities Table [Text Block]",
        "documentation": "Repurchase agreements maturities."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RepurchaseAgreementsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RepurchaseAgreementsMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Repurchase Agreement Derivatives [Member]",
        "label": "Repurchase Agreements [Member]",
        "documentation": "Investments represented by an agreement between the entity and another party for the sale and repurchase of identical or substantially the same securities at a date certain for a specified price. Such agreements are generally short-term in nature."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_RepurchaseAgreementsWeightedAverageMaturityPeriod": {
     "xbrltype": "durationItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "RepurchaseAgreementsWeightedAverageMaturityPeriod",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfMaturitiesOfOutstandingAdvancesUnderRepurchaseAgreementsByMaturityDateDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted average maturity (in months)",
        "label": "Repurchase Agreements Weighted Average Maturity Period",
        "documentation": "Repurchase Agreements Weighted Average Maturity Period"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_RepurchaseOfRealEstatePreviouslySoldAsLoansAcquiredForSale": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "RepurchaseOfRealEstatePreviouslySoldAsLoansAcquiredForSale",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0,
       "order": 20.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Repurchase of real estate previously sold as loans acquired for sale",
        "label": "Repurchase of real estate previously sold as loans acquired for sale",
        "documentation": "Repurchase of real estate previously sold as loans acquired for sale."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ResidentialTransitionLoansMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ResidentialTransitionLoansMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureMortgagebackedSecuritiesSummaryOfInvestmentsInMortgageBackedSecuritiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Residential transition loans [Member]",
        "documentation": "ResidentialTransitionLoans.",
        "terseLabel": "Residential Transition Loans [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "srt_RestatementAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "RestatementAxis",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Revision of Prior Period",
        "label": "Revision of Prior Period [Axis]",
        "documentation": "Information by adjustment to previously issued financial statements. Includes, but is not limited to, adjustment for retrospective application of amendment to accounting standards, other change in accounting principle, correction of error, and other revision."
       }
      }
     },
     "auth_ref": [
      "r171",
      "r177",
      "r183",
      "r184",
      "r186",
      "r212",
      "r241",
      "r242",
      "r243",
      "r245",
      "r246",
      "r250",
      "r251",
      "r252",
      "r253",
      "r256",
      "r257",
      "r258",
      "r259",
      "r260",
      "r261",
      "r284",
      "r374",
      "r375",
      "r441",
      "r442",
      "r523",
      "r551",
      "r552",
      "r554",
      "r555",
      "r564",
      "r565",
      "r664",
      "r668",
      "r669",
      "r670",
      "r729",
      "r735",
      "r736",
      "r859",
      "r860",
      "r861",
      "r862",
      "r863",
      "r864",
      "r865",
      "r866",
      "r867",
      "r868",
      "r873",
      "r1378"
     ]
    },
    "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": [
      "r1171",
      "r1181",
      "r1191",
      "r1223"
     ]
    },
    "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": [
      "r1172",
      "r1182",
      "r1192",
      "r1224"
     ]
    },
    "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": [
      "r1179",
      "r1189",
      "r1199",
      "r1231"
     ]
    },
    "srt_RestatementDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "RestatementDomain",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Revision of Prior Period",
        "label": "Revision of Prior Period [Domain]",
        "documentation": "Adjustment to previously issued financial statements. Includes, but is not limited to, adjustment for retrospective application of amendment to accounting standards, other change in accounting principle, correction of error, and other revision."
       }
      }
     },
     "auth_ref": [
      "r171",
      "r177",
      "r183",
      "r184",
      "r186",
      "r212",
      "r241",
      "r242",
      "r243",
      "r245",
      "r246",
      "r250",
      "r251",
      "r252",
      "r253",
      "r256",
      "r257",
      "r258",
      "r259",
      "r260",
      "r261",
      "r284",
      "r374",
      "r375",
      "r441",
      "r442",
      "r523",
      "r551",
      "r552",
      "r554",
      "r555",
      "r564",
      "r565",
      "r664",
      "r668",
      "r669",
      "r670",
      "r729",
      "r735",
      "r736",
      "r859",
      "r860",
      "r861",
      "r862",
      "r863",
      "r864",
      "r865",
      "r866",
      "r867",
      "r868",
      "r873",
      "r1378"
     ]
    },
    "us-gaap_RestrictedCash": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RestrictedCash",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureBasisOfPresentationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Restricted Cash, Total",
        "terseLabel": "Restricted cash",
        "label": "Restricted Cash",
        "documentation": "Amount of cash restricted as to withdrawal or usage. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits."
       }
      }
     },
     "auth_ref": [
      "r1280",
      "r1349",
      "r1521",
      "r1526"
     ]
    },
    "us-gaap_RestrictedStockUnitsRSUMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RestrictedStockUnitsRSUMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfRestrictedShareUnitsAndPerformanceShareUnitsExpectedToVestDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfShareBasedCompensationActivityDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Restricted Share Units [Member]",
        "terseLabel": "Restricted Shares Units [Member]",
        "label": "Restricted Stock Units (RSUs) [Member]",
        "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": [
      "r1421",
      "r1422",
      "r1423",
      "r1424",
      "r1425",
      "r1426",
      "r1427",
      "r1428",
      "r1429",
      "r1430",
      "r1431",
      "r1432",
      "r1433",
      "r1434",
      "r1435",
      "r1436",
      "r1437",
      "r1438",
      "r1439",
      "r1440",
      "r1441",
      "r1442",
      "r1443",
      "r1444",
      "r1445",
      "r1446"
     ]
    },
    "us-gaap_RetainedEarningsAccumulatedDeficit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RetainedEarningsAccumulatedDeficit",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Retained Earnings (Accumulated Deficit), Total",
        "terseLabel": "Accumulated deficit",
        "label": "Retained Earnings (Accumulated Deficit)",
        "documentation": "Amount of accumulated undistributed earnings (deficit)."
       }
      }
     },
     "auth_ref": [
      "r63",
      "r90",
      "r822",
      "r863",
      "r868",
      "r879",
      "r921",
      "r1139"
     ]
    },
    "us-gaap_RetainedEarningsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RetainedEarningsMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInShareholdersEquityUnaudited",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInShareholdersEquityUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accumulated Deficit [Member]",
        "label": "Retained Earnings [Member]",
        "documentation": "Accumulated undistributed earnings (deficit)."
       }
      }
     },
     "auth_ref": [
      "r176",
      "r183",
      "r184",
      "r241",
      "r242",
      "r243",
      "r246",
      "r255",
      "r258",
      "r260",
      "r373",
      "r376",
      "r396",
      "r441",
      "r523",
      "r537",
      "r538",
      "r550",
      "r551",
      "r552",
      "r555",
      "r564",
      "r565",
      "r646",
      "r649",
      "r650",
      "r653",
      "r668",
      "r728",
      "r730",
      "r859",
      "r861",
      "r885",
      "r1568"
     ]
    },
    "us-gaap_RetainedInterestFairValueDisclosure": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RetainedInterestFairValueDisclosure",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForInvestmentAtFairValueSummaryOfDistributionOfCompanysLoansHeldForInvestmentAtFairValueParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Retained Interest, Fair Value Disclosure",
        "terseLabel": "Retained interests at fair value pledged to secure Assets sold under agreements to repurchase",
        "documentation": "Fair value portion of interest continued to be held by a transferor after transferring financial assets to a third party."
       }
      }
     },
     "auth_ref": [
      "r699",
      "r700",
      "r701",
      "r709",
      "r1472",
      "r1473",
      "r1483"
     ]
    },
    "us-gaap_RevenuesNetOfInterestExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RevenuesNetOfInterestExpense",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited": {
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0,
       "order": 0.0
      },
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureVariableInterestEntitiesSummaryOfInvestmentInSeniorAndSubordinateMbsBackedByAssetsHeldInConsolidatedViesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net investment income",
        "totalLabel": "Net investment income",
        "label": "Revenues, Net of Interest Expense",
        "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": [
      "r125",
      "r126",
      "r285",
      "r298",
      "r299",
      "r321",
      "r327",
      "r331",
      "r333",
      "r334"
     ]
    },
    "us-gaap_RisksAndUncertaintiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RisksAndUncertaintiesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Risks and Uncertainties [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RisksInherentInServicingAssetsAndServicingLiabilitiesTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "RisksInherentInServicingAssetsAndServicingLiabilitiesTypeDomain",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Risks Inherent in Servicing Assets and Servicing Liabilities, Type",
        "label": "Risks Inherent in Servicing Assets and Servicing Liabilities, Type [Domain]",
        "documentation": "The nature of risks inherent in servicing assets and servicing liabilities."
       }
      }
     },
     "auth_ref": [
      "r776"
     ]
    },
    "pmt_RjBrienAssociatesLlcMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "RjBrienAssociatesLlcMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAssetsFinancialInstrumentsAndCollateralHeldByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "RJ O'Brien &amp; Associates, LLC [Member]",
        "label": "Rj Brien Associates Llc [Member]",
        "documentation": "RJ O'Brien &amp; Associates, LLC [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_RoyalBankOfCanadaCapitalMarketsLPMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "RoyalBankOfCanadaCapitalMarketsLPMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "RBC Capital Markets, L.P. [Member]",
        "label": "Royal Bank Of Canada Capital Markets L P [Member]",
        "documentation": "Royal Bank of Canada Capital Markets, L.P."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_Rule10B51ArrModifiedFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "Rule10B51ArrModifiedFlag",
     "presentation": [
      "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Rule 10 b 51 Arr Modified Flag",
        "documentation": "Rule 10 b 51 arr modified flag.",
        "terseLabel": "Rule 10b5-1 Arrangement Modified"
       }
      }
     },
     "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": [
      "r1240"
     ]
    },
    "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": [
      "r1240"
     ]
    },
    "pmt_SafekeepingExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "SafekeepingExpense",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited": {
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Safekeeping",
        "label": "Safekeeping Expense",
        "documentation": "Expense incurred for the safekeeping of loan documents."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SaleOfStockTransactionDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SaleOfStockTransactionDate",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquitySummaryOfPreferredSharesOfBeneficialInterestParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Sale of Stock, Transaction Date",
        "label": "Sale of Stock, Transaction Date",
        "documentation": "Date the subsidiary or equity investee issued or sold stock, in YYYY-MM-DD format."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_SantanderUsCapitalMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "SantanderUsCapitalMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfAssetsSoldUnderAgreementsToRepurchaseByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Santander US Capital.",
        "label": "Santander US Capital [Member]",
        "terseLabel": "Santander US Capital [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "srt_ScenarioForecastMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "ScenarioForecastMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forecast [Member]",
        "terseLabel": "Forecast [Member]",
        "documentation": "Information reported for future period. Excludes information expected to be reported in future period for effect on historical fact."
       }
      }
     },
     "auth_ref": [
      "r486",
      "r1274"
     ]
    },
    "srt_ScenarioPreviouslyReportedMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "ScenarioPreviouslyReportedMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Previously Reported [Member]",
        "label": "Previously Reported [Member]",
        "documentation": "Represents amount as previously reported before adjustment for retrospective application of amendment to accounting standards, other change in accounting principle, correction of error, and other revision."
       }
      }
     },
     "auth_ref": [
      "r177",
      "r183",
      "r184",
      "r241",
      "r243",
      "r245",
      "r246",
      "r250",
      "r251",
      "r260",
      "r284",
      "r441",
      "r442",
      "r523",
      "r551",
      "r554",
      "r555",
      "r564",
      "r565",
      "r664",
      "r668",
      "r669",
      "r729",
      "r859",
      "r860",
      "r861",
      "r862",
      "r863",
      "r864",
      "r865",
      "r866",
      "r867",
      "r868",
      "r873",
      "r1264",
      "r1265",
      "r1266",
      "r1363",
      "r1364",
      "r1378",
      "r1393",
      "r1394",
      "r1470",
      "r1500",
      "r1501"
     ]
    },
    "srt_ScenarioUnspecifiedDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "ScenarioUnspecifiedDomain",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquityAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Scenario",
        "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": [
      "r171",
      "r188",
      "r190",
      "r261",
      "r486",
      "r1254"
     ]
    },
    "pmt_ScheduleOfAggregationAndSecuritizationActivitiesAffiliateTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ScheduleOfAggregationAndSecuritizationActivitiesAffiliateTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Aggregation and Securitization Activities",
        "label": "Schedule Of Aggregation And Securitization Activities Affiliate [Table Text Block]",
        "documentation": "Schedule of aggregation and securitization activities affiliate."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureEarningsLossPerCommonShareSummaryOfPotentiallyDilutiveSharesExcludedFromComputationOfDilutedEarningsPerShareDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule Of Antidilutive Securities Excluded From Computation Of Earnings Per Share [Table]",
        "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": [
      "r280"
     ]
    },
    "us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureEarningsLossPerCommonShareTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Potentially Dilutive Shares Excluded from Computation of Diluted Earnings Per Share",
        "label": "Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share [Table Text Block]",
        "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": [
      "r25"
     ]
    },
    "pmt_ScheduleOfAssetsMeasuredAtFairValueOnNonRecurringBasisTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ScheduleOfAssetsMeasuredAtFairValueOnNonRecurringBasisTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Changes in Fair Value Recognized in Assets that Remeasured at Fair Value on a Nonrecurring Basis",
        "label": "Schedule Of Assets Measured At Fair Value On Non Recurring Basis Table [Text Block]",
        "documentation": "Schedule Of Assets Measured At Fair Value On Non Recurring Basis [Table Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfAssetsSoldUnderAgreementsToRepurchaseTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfAssetsSoldUnderAgreementsToRepurchaseTable",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfAssetsSoldUnderAgreementsToRepurchaseByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfMaturitiesOfOutstandingAdvancesUnderRepurchaseAgreementsByMaturityDateDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule Of Assets Sold Under Agreements To Repurchase [Table]",
        "label": "Asset Sold under Agreement to Repurchase [Table]",
        "documentation": "Disclosure of information about security and other asset sold under repurchase agreement that exceeds 10 percent of stockholders' equity by counterparty or group of counterparties by maturity of overnight, up to 30, 30 to 90, and over 90 days, and demand. Includes, but is not limited to, type of security and asset sold under repurchase agreement, carrying amount and market value of asset sold under repurchase agreement, repurchase liability, and interest rate."
       }
      }
     },
     "auth_ref": [
      "r224",
      "r237",
      "r771"
     ]
    },
    "us-gaap_ScheduleOfCapitalizationEquityLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfCapitalizationEquityLineItems",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureShareholdersEquitySummaryOfCommonShareRepurchaseActivityParentheticalDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquityAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule Of Capitalization Equity [Line Items]",
        "label": "Schedule of Capitalization, Equity [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": []
    },
    "us-gaap_ScheduleOfCapitalizationEquityTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfCapitalizationEquityTable",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureShareholdersEquitySummaryOfCommonShareRepurchaseActivityParentheticalDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquityAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule Of Capitalization Equity [Table]",
        "label": "Capitalization, Equity [Table]",
        "documentation": "Disclosure of information about capitalization comprising equity instrument."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfCarryingValuesAndEstimatedFairValuesOfDebtInstrumentsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfCarryingValuesAndEstimatedFairValuesOfDebtInstrumentsTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Carrying and Fair Values of Notes Payable Secured by Credit Risk Transfer and Mortgage Servicing Rights and Exchangeable Senior Notes",
        "label": "Schedule of Carrying Values and Estimated Fair Values of Debt Instruments [Table Text Block]",
        "documentation": "Tabular disclosure of information pertaining to carrying amount and estimated fair value of short-term and long-term debt instruments or arrangements, including but not limited to, identification of terms, features, and collateral requirements."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ScheduleOfChangesInFairValueChangesIncludedInCurrentPeriodIncomeTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ScheduleOfChangesInFairValueChangesIncludedInCurrentPeriodIncomeTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of financial statement items accounted for under the fair value option changes in fair value included in current period income.",
        "label": "Schedule Of Changes In Fair Value Changes Included In Current Period Income Table [Text Block]",
        "terseLabel": "Summary of Changes in Fair Value Included in Current Period Income",
        "verboseLabel": "Summary of Changes in Fair Value Included in Current Period Results of Operations"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ScheduleOfChangesInFairValueTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ScheduleOfChangesInFairValueTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Changes in Fair Value",
        "label": "Schedule Of Changes In Fair Value [Table Text Block]",
        "documentation": "Schedule of changes in fair value."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Collaborative Arrangement and Arrangement Other than Collaborative [Table]",
        "documentation": "Disclosure of information about collaborative arrangement and arrangement other than collaborative applicable to revenue-generating activity or operations."
       }
      }
     },
     "auth_ref": [
      "r566"
     ]
    },
    "us-gaap_ScheduleOfComplianceWithRegulatoryCapitalRequirementsForMortgageCompaniesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfComplianceWithRegulatoryCapitalRequirementsForMortgageCompaniesTable",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureRegulatoryCapitalAndLiquidityRequirementsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule Of Compliance With Regulatory Capital Requirements For Mortgage Companies [Table]",
        "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": [
      "r1019",
      "r1022",
      "r1023",
      "r1024"
     ]
    },
    "us-gaap_ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureRegulatoryCapitalAndLiquidityRequirementsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Compliance with Regulatory Capital Requirements under Banking Regulations [Table Text Block]",
        "terseLabel": "Summary of Applicable Capital and Liquidity Amounts and Requirements by Agencies",
        "verboseLabel": "Summary of Capital and Liquidity Amounts and Requirements by Agencies",
        "documentation": "Tabular disclosure of the capital amounts and ratios as of the balance sheet date, indicating whether the entity or entities are in compliance with regulatory capital requirements, by entity."
       }
      }
     },
     "auth_ref": [
      "r807",
      "r808"
     ]
    },
    "pmt_ScheduleOfContractuallySpecifiedServicingFeesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ScheduleOfContractuallySpecifiedServicingFeesTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageServicingRightsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Net Loan Servicing Fees Relating to MSRs",
        "label": "Schedule Of Contractually Specified Servicing Fees Table [Text Block]",
        "documentation": "Schedule Of Contractually Specified Servicing Fees [Table Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ScheduleOfCorrespondentProductionActivityAffiliateTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ScheduleOfCorrespondentProductionActivityAffiliateTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule Of Correspondent Production Activity Affiliate Table [Text Block]",
        "documentation": "Schedule Of Correspondent Production Activity Affiliate [Table Text Block]",
        "terseLabel": "Summary of Correspondent Production Activity and Other Loan Purchases"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ScheduleOfCreditRiskTransferAgreementsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ScheduleOfCreditRiskTransferAgreementsTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Credit Risk Transfer Agreements",
        "label": "Schedule Of Credit Risk Transfer Agreements Table [Text Block]",
        "documentation": "Schedule of Credit Risk Transfer Agreements [Table Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ScheduleOfDerivativeAndFinancialAssetsBySignificantCounterpartyNotOffsetTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ScheduleOfDerivativeAndFinancialAssetsBySignificantCounterpartyNotOffsetTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Derivative Assets, Financial Instruments and Collateral Held by Counterparty",
        "label": "Schedule Of Derivative And Financial Assets By Significant Counterparty Not Offset Table [Text Block]",
        "documentation": "Represents summary by counterparty of derivative asset positions."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ScheduleOfDerivativeAndFinancialLiabilitiesBySignificantCounterpartyNotOffsetTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ScheduleOfDerivativeAndFinancialLiabilitiesBySignificantCounterpartyNotOffsetTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Derivative Liabilities, Financial Liabilities and Collateral Pledged by Counterparty",
        "label": "Schedule Of Derivative And Financial Liabilities By Significant Counterparty Not Offset Table [Text Block]",
        "documentation": "Schedule Of Derivative And Financial Liabilities By Significant Counterparty Not Offset [Table Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net Gains (Losses) Recognized on Derivative Financial Instruments",
        "label": "Derivative Instruments, Gain (Loss) [Table Text Block]",
        "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": [
      "r587",
      "r590",
      "r595",
      "r603",
      "r614"
     ]
    },
    "us-gaap_ScheduleOfDerivativeInstrumentsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfDerivativeInstrumentsTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Derivative Instruments [Table Text Block]",
        "terseLabel": "Derivative Assets and Derivative and Credit Risk Transfer Strip Liabilities at Fair Value and Related Margin Deposits",
        "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.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureEarningsLossPerCommonShareTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Basic and Diluted Earnings per Share",
        "label": "Schedule of Earnings Per Share, Basic and Diluted [Table Text Block]",
        "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": [
      "r1367"
     ]
    },
    "pmt_ScheduleOfExpensesRelatedToTransactionWithAffiliateTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ScheduleOfExpensesRelatedToTransactionWithAffiliateTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Expenses",
        "label": "Schedule Of Expenses Related To Transaction With Affiliate Table [Text Block]",
        "documentation": "Schedule of expenses related to transaction with affiliate."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ScheduleOfFairValueInputsDateOfSaleMortgageServicingRightTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ScheduleOfFairValueInputsDateOfSaleMortgageServicingRightTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Key Assumptions Used in Determining Fair Value of MSRs at Time of Initial Recognition",
        "label": "Schedule Of Fair Value Inputs Date Of Sale Mortgage Servicing Right Table [Text Block]",
        "documentation": "Schedule of key inputs used to estimate the fair value of mortgage servicing rights at initial recognition."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForInvestmentAtFairValueSummaryOfDistributionOfCompanysLoansHeldForInvestmentAtFairValueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule Of Financing Receivable Recorded Investment Credit Quality Indicator [Table]",
        "label": "Financing Receivable, Credit Quality Indicator [Table]",
        "documentation": "Disclosure of information about credit quality indicator for financing receivable."
       }
      }
     },
     "auth_ref": [
      "r130",
      "r1076",
      "r1077",
      "r1078",
      "r1079",
      "r1080",
      "r1081",
      "r1082",
      "r1083",
      "r1084",
      "r1085",
      "r1086",
      "r1087",
      "r1088",
      "r1089",
      "r1090",
      "r1091",
      "r1092",
      "r1093",
      "r1094",
      "r1095",
      "r1397",
      "r1399"
     ]
    },
    "us-gaap_ScheduleOfGainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostIncomeStatementReportedAmountsSummaryLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfGainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostIncomeStatementReportedAmountsSummaryLineItems",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSaleSummaryOfNetGainsOnMortgageLoansHeldForSaleDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetLossesGainsOnInvestmentsAndFinancingsSummaryOfNetLossesGainsOnInvestmentsAndFinancingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule Of Gain Loss On Investments Including Marketable Securities And Investments Held At Cost Income Statement Reported Amounts Summary [Line Items]",
        "label": "Gain (Loss) on Securities [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": [
      "r1300",
      "r1301",
      "r1387"
     ]
    },
    "us-gaap_ScheduleOfGainLossOnInvestmentsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfGainLossOnInvestmentsTable",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSaleSummaryOfNetGainsOnMortgageLoansHeldForSaleDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetLossesGainsOnInvestmentsAndFinancingsSummaryOfNetLossesGainsOnInvestmentsAndFinancingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule Of Gain Loss On Investments [Table]",
        "label": "Schedule of Gain (Loss) on Securities [Table]",
        "documentation": "Disclosure of information about realized and unrealized gain (loss) on investment in security."
       }
      }
     },
     "auth_ref": [
      "r1300",
      "r1301",
      "r1387"
     ]
    },
    "pmt_ScheduleOfInvestmentInMortgageBackedSecuritiesActivityTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ScheduleOfInvestmentInMortgageBackedSecuritiesActivityTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageBackedSecuritiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Investment in Mortgage Backed Securities Activity",
        "label": "Schedule Of Investment In Mortgage Backed Securities Activity Table [Text Block]",
        "documentation": "Schedule of investment in mortgage backed securities activity."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ScheduleOfInvestmentInMortgageBackedSecuritiesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ScheduleOfInvestmentInMortgageBackedSecuritiesTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageBackedSecuritiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule Of Investment In Mortgage Backed Securities Table [Text Block]",
        "documentation": "Schedule of investment in mortgage backed securities.",
        "terseLabel": "Schedule of Investments in Mortgage Backed Securities"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfInvestmentIncomeReportedAmountsByCategoryLineItems",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule Of Investment Income Reported Amounts By Category [Line Items]",
        "label": "Net Investment Income [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": [
      "r829"
     ]
    },
    "us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfInvestmentIncomeReportedAmountsByCategoryTable",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule Of Investment Income Reported Amounts By Category [Table]",
        "label": "Investment Income [Table]",
        "documentation": "Disclosure of information about investment income, including, but not limited to, interest and dividend income and amortization of discount (premium) derived from debt and equity securities. Excludes realized and unrealized gain (loss) on investments."
       }
      }
     },
     "auth_ref": [
      "r71",
      "r72",
      "r74",
      "r829"
     ]
    },
    "pmt_ScheduleOfKeyInputsUsedInDeterminingFairValueOfIoTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ScheduleOfKeyInputsUsedInDeterminingFairValueOfIoTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of key inputs used in determining fair value of IO.",
        "label": "Schedule of Key Inputs Used in Determining Fair Value of Io Table [text Block]",
        "terseLabel": "Key Inputs Used in Determining Fair Value of IO Securities"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ScheduleOfKeyInputsUsedInValuationOfInterestRateLockCommitmentsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ScheduleOfKeyInputsUsedInValuationOfInterestRateLockCommitmentsTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Quantitative Summary of Key Unobservable Inputs Used in Valuation of Interest Rate Lock Commitments",
        "label": "Schedule Of Key Inputs Used In Valuation Of Interest Rate Lock Commitments Table [Text Block]",
        "documentation": "Schedule Of Key Inputs Used In Valuation Of Interest Rate Lock Commitments Table [Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ScheduleOfKeyUnobservableInputsUsedInValuationOfCreditRiskTransfersTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ScheduleOfKeyUnobservableInputsUsedInValuationOfCreditRiskTransfersTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Quantitative Summary of Key Unobservable Inputs Used in Valuation of CRT Derivatives",
        "label": "Schedule Of Key Unobservable Inputs Used In Valuation Of Credit Risk Transfers Table [Text Block]",
        "documentation": "Schedule of key unobservable inputs used In valuation of credit risk transfers."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ScheduleOfKeyUnobservableInputsUsedInValuationOfInterestOnlyStrippedCreditRiskTransferSecuritiesAtFairValueTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ScheduleOfKeyUnobservableInputsUsedInValuationOfInterestOnlyStrippedCreditRiskTransferSecuritiesAtFairValueTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Key Unobservable Inputs Used in Valuation of Credit Risk Transfer Strip Liabilities",
        "label": "Schedule Of Key Unobservable Inputs Used In Valuation Of Interest Only Stripped Credit Risk Transfer Securities At Fair Value Table [Text Block]",
        "documentation": "Schedule of key unobservable inputs used in valuation of interest only stripped credit risk transfer securities at fair value."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfMaturitiesOfLongTermDebtTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Term Note Issued to Qualified Institutional Buyers",
        "label": "Schedule of Maturities of Long-Term Debt [Table Text Block]",
        "documentation": "Tabular disclosure of maturity and sinking fund requirement for long-term debt."
       }
      }
     },
     "auth_ref": [
      "r4"
     ]
    },
    "pmt_ScheduleOfMortgageAggregationActivityAffiliateTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ScheduleOfMortgageAggregationActivityAffiliateTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of mortgage aggregation activity affiliate [Table Text Block]",
        "documentation": "Schedule of mortgage aggregation activity affiliate.",
        "verboseLabel": "Summary of Mortgage Aggregation Activity and Other Loan Purchases"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ScheduleOfMortgageBackedSecuritiesPledgedToSecureAssetsSoldTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ScheduleOfMortgageBackedSecuritiesPledgedToSecureAssetsSoldTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageBackedSecuritiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Mortgage Backed Securities Pledged to Secure Assets Sold",
        "label": "Schedule Of Mortgage Backed Securities Pledged To Secure Assets Sold Table [Text Block]",
        "documentation": "Schedule of mortgage backed securities pledged to secure assets sold."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ScheduleOfMortgageLoanAcquiredForSaleTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ScheduleOfMortgageLoanAcquiredForSaleTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForSaleAtFairValueTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of mortgage loan acquired for sale.",
        "terseLabel": "Summary of Distribution of Company's Loans Acquired for Sale at Fair Value",
        "label": "Schedule Of Mortgage Loan Acquired For Sale Table [Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ScheduleOfMortgageLoanHeldForSaleTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ScheduleOfMortgageLoanHeldForSaleTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForSaleAtFairValueTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule Of Mortgage Loan Held For Sale Table [Text Block]",
        "documentation": "Schedule of mortgage loan held for sale.",
        "terseLabel": "Summary of Distribution of Company's Loans Held for Sale at Fair Value"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ScheduleOfMortgageLoanParticipationAgreementsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ScheduleOfMortgageLoanParticipationAgreementsTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureShorttermDebtTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Mortgage Loan Participation Purchase and Sale Agreement",
        "label": "Schedule Of Mortgage Loan Participation Agreements Table [Text Block]",
        "documentation": "Represents disclosure of participation agreements with commercial banks whereby the Company sells its interest in pooled mortgage loans subject to forward sale agreements to the bank before receipt of the mortgage backed security from the pool's guaranteeing agency."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ScheduleOfNetGainLossOnMortgageLoansAcquiredForSaleTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ScheduleOfNetGainLossOnMortgageLoansAcquiredForSaleTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSaleTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Net Gains on Loans Acquired for Sale",
        "label": "Schedule Of Net Gain Loss On Mortgage Loans Acquired For Sale Table [Text Block]",
        "documentation": "Represents key components of the gain on mortgage loans acquired for sale recognized during the period."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ScheduleOfNetGainLossOnMortgageLoansHeldForSaleTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ScheduleOfNetGainLossOnMortgageLoansHeldForSaleTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetGainsOnLoansHeldForSaleTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule Of Net Gain Loss On Mortgage Loans Held For Sale Table [Text Block]",
        "documentation": "Schedule of net gain loss on mortgage loans held for sale.",
        "terseLabel": "Schedule of Net Gains on Investments and Financings"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfOtherAssetsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfOtherAssetsTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureOtherAssetsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Other Assets",
        "label": "Schedule of Other Assets [Table Text Block]",
        "documentation": "Tabular disclosure of the carrying amounts of other assets. This disclosure includes other current assets and other noncurrent assets."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ScheduleOfRelatedPartyTransactionsBaseManagementAndPerformanceIncentiveFeesEarnedTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ScheduleOfRelatedPartyTransactionsBaseManagementAndPerformanceIncentiveFeesEarnedTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Management Fee Expense",
        "label": "Schedule Of Related Party Transactions Base Management And Performance Incentive Fees Earned Table [Text Block]",
        "documentation": "Represents amounts and disclosures relating to transactions between the company and its affiliates relating to management fees payable to the affiliate during the period and at period end."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfRelatedPartyTransactionsByRelatedPartyTable",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesSummaryOfAggregationAndSecuritizationActivitiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesNotePayableToPLSAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfAmountsReceivableFromAndPayableToPFSIDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfExpensesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfFinancingActivitiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfInvestingActivityDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfLoanServicingFeesEarnedAndMortgageServicingRightsRecapturedIncomeEarnedDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfManagementFeeExpenseDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfTransferCashToFundLoanServicingAdvancesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule Of Related Party Transactions By Related Party [Table]",
        "label": "Related Party Transaction [Table]",
        "documentation": "Disclosure of information about related party transaction."
       }
      }
     },
     "auth_ref": [
      "r224",
      "r230",
      "r231",
      "r740",
      "r741",
      "r742",
      "r947",
      "r948",
      "r951"
     ]
    },
    "us-gaap_ScheduleOfRelatedPartyTransactionsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfRelatedPartyTransactionsTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Amounts Receivable From and Payable to PFSI",
        "label": "Schedule of Related Party Transactions [Table Text Block]",
        "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": [
      "r1503",
      "r1504"
     ]
    },
    "us-gaap_ScheduleOfRepurchaseAgreements": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfRepurchaseAgreements",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureShorttermDebtTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Financial Information Relating to Assets Sold under Agreements to Repurchase",
        "label": "Schedule of Repurchase Agreements [Table Text Block]",
        "documentation": "The entire disclosure for repurchase agreements."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ScheduleOfSecuredNotePayableOfCreditRiskTransferAndMortgageServicingRightsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ScheduleOfSecuredNotePayableOfCreditRiskTransferAndMortgageServicingRightsTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Financial Information Relating to Note Payable Secured by Credit Risk Transfer and Mortgage Servicing Assets",
        "label": "Schedule Of Secured Note Payable Of Credit Risk Transfer And Mortgage Servicing Rights Table [Text Block]",
        "documentation": "Schedule of secured note payable of credit risk transfer and mortgage servicing rights."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfSegmentReportingInformationBySegmentTable",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule Of Segment Reporting Information By Segment [Table]",
        "label": "Schedule of Segment Reporting Information, by Segment [Table]",
        "documentation": "Disclosure of information about profit (loss) and total assets by reportable segment."
       }
      }
     },
     "auth_ref": [
      "r27",
      "r28",
      "r29"
     ]
    },
    "us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfSegmentReportingInformationBySegmentTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureSegmentsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Segment Reporting Information, by Segment [Table Text Block]",
        "terseLabel": "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": [
      "r27",
      "r28",
      "r29"
     ]
    },
    "us-gaap_ScheduleOfServicingAssetsAtFairValueTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfServicingAssetsAtFairValueTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageServicingRightsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of MSRs Carried at Fair Value",
        "label": "Schedule of Servicing Assets at Fair Value [Table Text Block]",
        "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": [
      "r1516"
     ]
    },
    "us-gaap_ScheduleOfShareBasedCompensationActivityTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfShareBasedCompensationActivityTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Share-Based Compensation Activity",
        "label": "Share-Based Payment Arrangement, Activity [Table Text Block]",
        "documentation": "Tabular disclosure of activity for award under share-based payment arrangement. Includes, but is not limited to, outstanding award at beginning and end of year, granted, exercised, forfeited, and weighted-average grant date fair value."
       }
      }
     },
     "auth_ref": [
      "r7",
      "r8",
      "r92"
     ]
    },
    "pmt_ScheduleOfShareBasedCompensationArrangementByShareBasedPaymentAwardRestrictedShareUnitsAndPerformanceShareUnitsExpectedToVestOutstandingTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ScheduleOfShareBasedCompensationArrangementByShareBasedPaymentAwardRestrictedShareUnitsAndPerformanceShareUnitsExpectedToVestOutstandingTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Restricted Share Units and Performance Share Units Expected to Vest",
        "label": "Schedule Of Share Based Compensation Arrangement By Share Based Payment Award Restricted Share Units And Performance Share Units Expected To Vest Outstanding Table [Text Block]",
        "documentation": "Schedule of share based compensation arrangement by share based payment award restricted share units and performance share units expected to vest outstanding."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfRestrictedShareUnitsAndPerformanceShareUnitsExpectedToVestDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfShareBasedCompensationActivityDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfShareBasedCompensationActivityParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule Of Share Based Compensation Arrangements By Share Based Payment Award [Table]",
        "label": "Schedule of Share-Based Compensation Arrangements by Share-Based Payment Award [Table]",
        "documentation": "Disclosure of information about share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r488",
      "r489",
      "r491",
      "r492",
      "r493",
      "r494",
      "r495",
      "r496",
      "r497",
      "r498",
      "r499",
      "r500",
      "r501",
      "r502",
      "r503",
      "r504",
      "r505",
      "r506",
      "r507",
      "r508",
      "r509",
      "r510",
      "r511",
      "r512",
      "r513",
      "r514",
      "r515",
      "r516",
      "r517",
      "r520"
     ]
    },
    "pmt_ScheduleOfSharesRepurchaseTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ScheduleOfSharesRepurchaseTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquityTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Common Share Repurchase Activity",
        "label": "Schedule Of Shares Repurchase Table [Text Block]",
        "documentation": "Schedule of shares repurchase."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfShortTermDebtTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfShortTermDebtTable",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToExchangeableSeniorNotesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToExchangeableSeniorNotesParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToSeniorNotesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToUnsecuredSeniorNotesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToUnsecuredSeniorNotesParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToAssetBackedFinancingOfVIEAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule Of Short Term Debt [Table]",
        "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": [
      "r49"
     ]
    },
    "us-gaap_ScheduleOfStockByClassTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfStockByClassTable",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquitySummaryOfPreferredSharesOfBeneficialInterestDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquitySummaryOfPreferredSharesOfBeneficialInterestParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule Of Stock By Class [Table]",
        "label": "Stock, Class of Stock [Table]",
        "documentation": "Disclosure of information about stock by class. Includes, but is not limited to, common, convertible, and preferred stocks."
       }
      }
     },
     "auth_ref": [
      "r31",
      "r32",
      "r34",
      "r35",
      "r36",
      "r38",
      "r87",
      "r89",
      "r90",
      "r196",
      "r197",
      "r198",
      "r287",
      "r456",
      "r457",
      "r458",
      "r460",
      "r463",
      "r468",
      "r470",
      "r642",
      "r875",
      "r876",
      "r877",
      "r878",
      "r1104",
      "r1253",
      "r1352",
      "r1354"
     ]
    },
    "us-gaap_ScheduleOfStockByClassTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfStockByClassTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquityTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule of Preferred Shares of Beneficial Interest",
        "label": "Schedule of Stock by Class [Table Text Block]",
        "documentation": "Tabular disclosure of an entity's stock, including par or stated value per share, number and dollar amount of share subscriptions, shares authorized, shares issued, shares outstanding, number and dollar amount of shares held in an employee trust, dividend per share, total dividends, share conversion features, par value plus additional paid in capital, the value of treasury stock and other information necessary to a fair presentation, and EPS information. Stock by class includes common, convertible, and preferred stocks which are not redeemable or redeemable solely at the option of the issuer. Includes preferred stock with redemption features that are solely within the control of the issuer and mandatorily redeemable stock if redemption is required to occur only upon liquidation or termination of the reporting entity. If more than one issue is outstanding, state the title of each issue and the corresponding dollar amount; dollar amount of any shares subscribed but unissued and the deduction of subscriptions receivable there from; number of shares authorized, issued, and outstanding."
       }
      }
     },
     "auth_ref": [
      "r13",
      "r31",
      "r32",
      "r34",
      "r35",
      "r36",
      "r38",
      "r60",
      "r61",
      "r87",
      "r89",
      "r90"
     ]
    },
    "us-gaap_ScheduleOfVariableInterestEntitiesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ScheduleOfVariableInterestEntitiesTable",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureVariableInterestEntitiesSummaryOfInvestmentInSeniorAndSubordinateMbsBackedByAssetsHeldInConsolidatedViesDetail"
     ],
     "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": [
      "r39",
      "r40",
      "r41",
      "r42",
      "r43",
      "r568",
      "r569",
      "r573",
      "r574",
      "r766",
      "r767",
      "r768"
     ]
    },
    "us-gaap_SecuredDebtMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SecuredDebtMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfTermNoteIssuedToQualifiedInstitutionalBuyersDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Secured Debt",
        "label": "Secured Debt [Member]",
        "documentation": "Collateralized debt obligation backed by, for example, but not limited to, pledge, mortgage or other lien on the entity's assets."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SecuredOvernightFinancingRateSofrOvernightIndexSwapRateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SecuredOvernightFinancingRateSofrOvernightIndexSwapRateMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesNetGainsLossesRecognizedOnDerivativeFinancialInstrumentsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fixed-rate and prepayment sensitive assets and SOFR - indexed repurchase agreements [Member]",
        "label": "Secured Overnight Financing Rate (SOFR) Overnight Index Swap Rate [Member]",
        "documentation": "Fixed rate on U.S. dollar, constant-notional interest rate swap that has its variable-rate leg referenced to Secured Overnight Financing Rate (SOFR) with no additional spread over SOFR on variable-rate leg."
       }
      }
     },
     "auth_ref": [
      "r1126"
     ]
    },
    "pmt_SecuredTermNotesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "SecuredTermNotesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfTermNoteIssuedToQualifiedInstitutionalBuyersDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Secured term notes.",
        "terseLabel": "Secured Term Notes",
        "label": "Secured Term Notes [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_SecuritiesRetainedInAssetBackedFinancingsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "SecuritiesRetainedInAssetBackedFinancingsMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Securities Retained In Asset Backed Financings [Member]",
        "documentation": "Securities Retained In Asset Backed Financings [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_SecuritiesSoldUnderAgreementsAvailableBorrowingCapacity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "SecuritiesSoldUnderAgreementsAvailableBorrowingCapacity",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Available borrowing capacity",
        "label": "Securities Sold Under Agreements Available Borrowing Capacity",
        "documentation": "Securities Sold Under Agreements Available Borrowing Capacity"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_SecuritiesSoldUnderAgreementsAvailableBorrowingCapacityUncommitted": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "SecuritiesSoldUnderAgreementsAvailableBorrowingCapacityUncommitted",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseDetail": {
       "parentTag": "pmt_SecuritiesSoldUnderAgreementsAvailableBorrowingCapacity",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Available borrowing capacity, Uncommitted",
        "label": "Securities Sold Under Agreements Available Borrowing Capacity Uncommitted",
        "documentation": "Securities Sold Under Agreements Available Borrowing Capacity Uncommitted"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SecuritiesSoldUnderAgreementsToRepurchase": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SecuritiesSoldUnderAgreementsToRepurchase",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfMaturitiesOfOutstandingAdvancesUnderRepurchaseAgreementsByMaturityDateDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Securities Sold under Agreements to Repurchase, Total",
        "terseLabel": "Maturity of repurchase agreements",
        "label": "Securities Sold under Agreements to Repurchase",
        "documentation": "Amount, after the effects of master netting arrangements, of funds outstanding borrowed in the form of a security repurchase agreement between the entity and another party for the sale and repurchase of identical or substantially the same securities at a date certain for a specified price. Includes liabilities not subject to a master netting arrangement and not elected to be offset."
       }
      }
     },
     "auth_ref": [
      "r97",
      "r201",
      "r203",
      "r224",
      "r232",
      "r235",
      "r976",
      "r980",
      "r986",
      "r999",
      "r1048",
      "r1050"
     ]
    },
    "pmt_SecuritiesSoldUnderAgreementsToRepurchaseMaturityDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "SecuritiesSoldUnderAgreementsToRepurchaseMaturityDate",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfAssetsSoldUnderAgreementsToRepurchaseByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted-average maturity, Advances",
        "label": "Securities Sold Under Agreements To Repurchase Maturity Date",
        "documentation": "Securities Sold under Agreements to Repurchase Maturity Date"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SecuritiesSoldUnderAgreementsToRepurchaseMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Security Sold Under Agreements to Repurchase [Member]",
        "label": "Securities Sold under Agreements to Repurchase [Member]",
        "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": [
      "r1514"
     ]
    },
    "pmt_SecuritiesSoldUnderAgreementsToRepurchaseScheduleOfRepurchaseAgreementCounterPartiesWithWhomRepurchaseAgreementsExceedTenPercentOfStockholdersEquityTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "SecuritiesSoldUnderAgreementsToRepurchaseScheduleOfRepurchaseAgreementCounterPartiesWithWhomRepurchaseAgreementsExceedTenPercentOfStockholdersEquityTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureShorttermDebtTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Assets Sold under Agreements to Repurchase by Counterparty",
        "label": "Securities Sold Under Agreements To Repurchase Schedule Of Repurchase Agreement Counter Parties With Whom Repurchase Agreements Exceed Ten Percent Of Stockholders Equity Table [Text Block]",
        "documentation": "Represents amount at risk by repurchase counter party for securities sold under agreements to repurchase."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_SecuritiesSoldUnderAgreementsToRepurchaseWeightedAverageInterestRateAtPeriodEnd": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "SecuritiesSoldUnderAgreementsToRepurchaseWeightedAverageInterestRateAtPeriodEnd",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted average interest rate",
        "label": "Securities Sold Under Agreements To Repurchase Weighted Average Interest Rate At Period End",
        "documentation": "Securities sold under agreements to repurchase weighted average interest rate at period end."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_SecuritiesSoldUnderAgreementsToRepurchaseWeightedAverageInterestRateDuringPeriod": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "SecuritiesSoldUnderAgreementsToRepurchaseWeightedAverageInterestRateDuringPeriod",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted average interest rate",
        "label": "Securities Sold Under Agreements To Repurchase Weighted Average Interest Rate During Period",
        "documentation": "Securities sold under agreements to repurchase weighted average interest rate during period."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_SecurititesInterestOnlyStrippedMeasurementInput": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "SecurititesInterestOnlyStrippedMeasurementInput",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfKeyUnobservableInputsUsedInValuationCreditRiskTransferStripLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Key inputs used in valuation",
        "label": "Securitites Interest Only Stripped Measurement Input",
        "documentation": "Securitites interest only stripped measurement input."
       }
      }
     },
     "auth_ref": []
    },
    "dei_Security12bTitle": {
     "xbrltype": "securityTitleItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "Security12bTitle",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Title of 12(b) Security",
        "label": "Title of 12(b) Security",
        "documentation": "Title of a 12(b) registered security."
       }
      }
     },
     "auth_ref": [
      "r1165"
     ]
    },
    "dei_SecurityExchangeName": {
     "xbrltype": "edgarExchangeCodeItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "SecurityExchangeName",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Security Exchange Name",
        "label": "Security Exchange Name",
        "documentation": "Name of the Exchange on which a security is registered."
       }
      }
     },
     "auth_ref": [
      "r1167"
     ]
    },
    "us-gaap_SegmentDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SegmentDomain",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Segments",
        "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": [
      "r125",
      "r126",
      "r127",
      "r128",
      "r285",
      "r293",
      "r297",
      "r298",
      "r299",
      "r300",
      "r301",
      "r302",
      "r303",
      "r304",
      "r305",
      "r306",
      "r308",
      "r309",
      "r311",
      "r312",
      "r313",
      "r321",
      "r322",
      "r323",
      "r324",
      "r325",
      "r327",
      "r328",
      "r329",
      "r334",
      "r385",
      "r386",
      "r387",
      "r388",
      "r389",
      "r390",
      "r391",
      "r392",
      "r393",
      "r394",
      "r402",
      "r403",
      "r559",
      "r560",
      "r835",
      "r836",
      "r837",
      "r838",
      "r839",
      "r840",
      "r841",
      "r842",
      "r843",
      "r844",
      "r845",
      "r1063",
      "r1067",
      "r1068",
      "r1097",
      "r1145",
      "r1528",
      "r1530",
      "r1531",
      "r1532",
      "r1533",
      "r1534",
      "r1535",
      "r1536",
      "r1537",
      "r1538",
      "r1539",
      "r1540",
      "r1541",
      "r1542",
      "r1543",
      "r1544",
      "r1545",
      "r1546",
      "r1547",
      "r1548",
      "r1549",
      "r1550",
      "r1551",
      "r1552",
      "r1553",
      "r1554",
      "r1555",
      "r1558",
      "r1559"
     ]
    },
    "us-gaap_SegmentReportingAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SegmentReportingAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reporting [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SegmentReportingCodmIndividualTitleAndPositionOrGroupOrCommitteeNameExtensibleEnumeration": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SegmentReportingCodmIndividualTitleAndPositionOrGroupOrCommitteeNameExtensibleEnumeration",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureSegmentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reporting, CODM, Individual Title and Position or Group Name [Extensible Enumeration]",
        "documentation": "Indicates title and position of individual or name of group identified as chief operating decision maker (CODM) for segment reporting."
       }
      }
     },
     "auth_ref": [
      "r296",
      "r1066",
      "r1074"
     ]
    },
    "us-gaap_SegmentReportingCodmProfitLossMeasureHowUsedDescription": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SegmentReportingCodmProfitLossMeasureHowUsedDescription",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureSegmentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reporting, CODM, Profit (Loss) Measure, How Used, Description",
        "documentation": "Description of how chief operating decision maker (CODM) uses reported segment profit (loss) measure to assess performance and allocate resource."
       }
      }
     },
     "auth_ref": [
      "r320",
      "r1063",
      "r1071"
     ]
    },
    "us-gaap_SegmentReportingDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SegmentReportingDisclosureTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureSegments"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Segments",
        "label": "Segment Reporting Disclosure [Text Block]",
        "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": [
      "r128",
      "r285",
      "r292",
      "r293",
      "r294",
      "r295",
      "r297",
      "r310",
      "r312",
      "r313",
      "r325",
      "r326",
      "r327",
      "r328",
      "r329",
      "r331",
      "r332",
      "r334",
      "r1061",
      "r1064",
      "r1065",
      "r1067",
      "r1069",
      "r1072",
      "r1073"
     ]
    },
    "us-gaap_SegmentReportingInformationLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SegmentReportingInformationLineItems",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Segment Reporting Information [Line Items]",
        "label": "Segment Reporting Information [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": []
    },
    "us-gaap_SegmentReportingPolicyPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SegmentReportingPolicyPolicyTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureOrganizationAndBasisOfPresentationAndRecentlyIssuedAccountingPronouncementsPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Segment Reporting",
        "label": "Segment Reporting, Policy [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for segment reporting."
       }
      }
     },
     "auth_ref": [
      "r314",
      "r315",
      "r316",
      "r317",
      "r318",
      "r319",
      "r320",
      "r330",
      "r333",
      "r1062",
      "r1063",
      "r1070"
     ]
    },
    "us-gaap_SeniorLongTermNotes": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SeniorLongTermNotes",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Aggregate principal amount",
        "terseLabel": "Issuance of debt through private offering",
        "label": "Senior Notes, Noncurrent",
        "documentation": "Carrying value as of the balance sheet date of 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), excluding current portion. Senior note holders are paid off in full before any payments are made to junior note holders."
       }
      }
     },
     "auth_ref": [
      "r12",
      "r1139"
     ]
    },
    "pmt_SeniorNotesDueTwoThousandThirtyMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "SeniorNotesDueTwoThousandThirtyMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Notes Due Two Thousand Thirty [Member]",
        "documentation": "Senior notes due two thousand thirty.",
        "terseLabel": "9.00% Senior Notes Due 2030 [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_SeniorNotesDueTwoThousandTwentyEightMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "SeniorNotesDueTwoThousandTwentyEightMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Senior Notes Due Two Thousand Twenty Eight [Member]",
        "documentation": "Senior notes due two thousand twenty eight.",
        "terseLabel": "8.50% Senior Notes Due 2028 [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SeniorNotesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SeniorNotesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToSeniorNotesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToUnsecuredSeniorNotesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Senior Notes [Member]",
        "label": "Senior Notes [Member]",
        "documentation": "Bond that takes priority over other debt securities sold by the issuer. In the event the issuer goes bankrupt, senior debt holders receive priority for (must receive) repayment prior to (relative to) junior and unsecured (general) creditors."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_SeniorNotesOneDueTwoThousandThirtyMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "SeniorNotesOneDueTwoThousandThirtyMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "9.00% Senior Notes Due 2030 [Member]",
        "label": "Senior Notes One Due Two Thousand Thirty [Member]",
        "documentation": "Senior notes one due two thousand thirty."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_SeptemberTwoThousandTwentyThreeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "SeptemberTwoThousandTwentyThreeMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToSeniorNotesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "September Two Thousand Twenty Three [Member]",
        "documentation": "September Two Thousand Twenty Three.",
        "terseLabel": "September 2023 [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_Series2023Vf1AndClassAVf1VariableFundingNoteMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "Series2023Vf1AndClassAVf1VariableFundingNoteMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Series 2023-VF1 and Class A-VF1 Variable Funding Note",
        "documentation": "Series 2023 VF1 and Class A VF1 Variable Funding Note.",
        "label": "Series 2023 VF1 and Class A VF1 Variable Funding Note [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_SeriesABAndCPreferredStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "SeriesABAndCPreferredStockMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquityAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "8.125% Series A, 8.00% Series B, 6.75% Series C Preferred Stock [Member]",
        "label": "Series A B And C Preferred Stock [Member]",
        "documentation": "Series A B and C preferred stock."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_SeriesABPreferredStockAndCCumulativeRedeemablePreferredStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "SeriesABPreferredStockAndCCumulativeRedeemablePreferredStockMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquityAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Series a b preferred stock and c cumulative redeemable preferred stock.",
        "label": "Series A B Preferred Stock And C Cumulative Redeemable Preferred Stock [Member]",
        "terseLabel": "8.125% Series A, 8.00% Series B, 6.75% Series C Cumulative Redeemable Preferred Stock [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SeriesAPreferredStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SeriesAPreferredStockMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquityAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquitySummaryOfPreferredSharesOfBeneficialInterestDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquitySummaryOfPreferredSharesOfBeneficialInterestParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "8.125% Series A Preferred Stock [Member]",
        "label": "Series A Preferred Stock [Member]",
        "documentation": "Series A preferred stock."
       }
      }
     },
     "auth_ref": [
      "r1282",
      "r1283",
      "r1416",
      "r1417"
     ]
    },
    "us-gaap_SeriesBPreferredStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SeriesBPreferredStockMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquityAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquitySummaryOfPreferredSharesOfBeneficialInterestDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquitySummaryOfPreferredSharesOfBeneficialInterestParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "8.00% Series B Preferred Stock [Member]",
        "label": "Series B Preferred Stock [Member]",
        "documentation": "Series B preferred stock."
       }
      }
     },
     "auth_ref": [
      "r1282",
      "r1283",
      "r1416",
      "r1417"
     ]
    },
    "us-gaap_SeriesCPreferredStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SeriesCPreferredStockMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquityAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquitySummaryOfPreferredSharesOfBeneficialInterestDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquitySummaryOfPreferredSharesOfBeneficialInterestParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "6.75% Series C Preferred Stock [Member]",
        "label": "Series C Preferred Stock [Member]",
        "documentation": "Series C preferred stock."
       }
      }
     },
     "auth_ref": [
      "r1282",
      "r1283",
      "r1416",
      "r1417"
     ]
    },
    "pmt_ServiceAgreementMaturityRenewalTerm": {
     "xbrltype": "durationItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ServiceAgreementMaturityRenewalTerm",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesMortgageBankingServicesAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesServicingAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesMSRRecaptureAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Service agreement maturity renewal term",
        "label": "Service Agreement Maturity Renewal Term",
        "documentation": "Service Agreement Maturity Renewal Term"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ServicesAgreementExpirationDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ServicesAgreementExpirationDate",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesMortgageBankingServicesAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesServicingAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Servicing agreement expiration date",
        "label": "Services Agreement Expiration Date",
        "documentation": "Services Agreement Expiration Date"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ServicesAgreementRenewedAndAmendedAdjustedExpirationDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ServicesAgreementRenewedAndAmendedAdjustedExpirationDate",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesServicingAgreementAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesMSRRecaptureAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Services Agreement Renewed And Amended Adjusted Expiration Date",
        "documentation": "Services agreement renewed and amended adjusted expiration date.",
        "terseLabel": "Services agreement renewed and amended adjusted expiration date"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ServicingAdvances": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ServicingAdvances",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfTransferCashToFundLoanServicingAdvancesDetail": {
       "parentTag": "pmt_ServicingAdvancesAndRealEstateAcquiredThroughForeclosure",
       "weight": 1.0,
       "order": 0.0
      },
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfTransferCashToFundLoanServicingAdvancesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Servicing Advances",
        "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.",
        "verboseLabel": "Servicing advances",
        "terseLabel": "Servicing advances ($67,604 and $78,430 pledged to creditors, respectively)"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ServicingAdvancesAndRealEstateAcquiredThroughForeclosure": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ServicingAdvancesAndRealEstateAcquiredThroughForeclosure",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfTransferCashToFundLoanServicingAdvancesDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfTransferCashToFundLoanServicingAdvancesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Servicing advances and real estate acquired",
        "label": "Servicing Advances And Real Estate Acquired Through Foreclosure",
        "documentation": "Servicing advances and real estate acquired through foreclosure."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ServicingAdvancesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ServicingAdvancesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Servicing advances [Member]",
        "label": "Servicing Advances [Member]",
        "documentation": "Servicing advances."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ServicingAdvancesPledgedToCreditors": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ServicingAdvancesPledgedToCreditors",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Servicing Advances pledged to creditors",
        "label": "Servicing Advances Pledged To Creditors",
        "documentation": "Servicing advances pledged to creditors."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ServicingAdvancesSecuredNotesPayable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ServicingAdvancesSecuredNotesPayable",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Servicing advances secured notes payable",
        "label": "Servicing Advances Secured Notes Payable",
        "terseLabel": "Servicing advances"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ServicingAgreementMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ServicingAgreementMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesServicingAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Servicing Agreement [Member]",
        "documentation": "Servicing agreement.",
        "terseLabel": "Servicing Agreement [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ServicingAssetAtFairValueAdditionsFromLoanSales": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ServicingAssetAtFairValueAdditionsFromLoanSales",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueKeyAssumptionsUsedInDeterminingFairValueOfMsrsAtTimeOfInitialRecognitionDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageServicingRightsSummaryOfMsrsCarriedAtFairValueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Fair value, MSR recognized",
        "terseLabel": "Amounts received pursuant to sales of loans",
        "label": "Servicing Asset At Fair Value Additions From Loan Sales",
        "documentation": "The value of new servicing assets, subsequently measured at fair value, acquired or created during the current period from transfers of financial assets."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ServicingAssetAtFairValueAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ServicingAssetAtFairValueAmount",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail": {
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0,
       "order": 5.0
      },
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyAssumptionsUsedInValuationOfMsrsAsOfDatesPresentedAndEffectOnEstimatedFairValueFromAdverseChangesInThoseInputsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageServicingRightsSummaryOfMsrsCarriedAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Balance at end of period",
        "periodStartLabel": "Balance at beginning of quarter",
        "periodEndLabel": "Balance at end of quarter",
        "verboseLabel": "Mortgage servicing rights",
        "terseLabel": "Mortgage servicing rights at fair value ($3,560,828 and $3,582,211 pledged to creditors, respectively)",
        "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": [
      "r672",
      "r673",
      "r699",
      "r700",
      "r701",
      "r773",
      "r774",
      "r775",
      "r778"
     ]
    },
    "pmt_ServicingAssetAtFairValueChangesInFairValueAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ServicingAssetAtFairValueChangesInFairValueAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Servicing Asset At Fair Value Changes In Fair Value [Abstract]",
        "documentation": "Servicing Asset At Fair Value Changes In Fair Value [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ServicingAssetAtFairValueChangesInFairValueResultingFromChangesInValuationInputsOrChangesInAssumptions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ServicingAssetAtFairValueChangesInFairValueResultingFromChangesInValuationInputsOrChangesInAssumptions",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageServicingRightsSummaryOfMsrsCarriedAtFairValueDetail": {
       "parentTag": "us-gaap_ServicingAssetAtFairValuePeriodIncreaseDecrease",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageServicingRightsSummaryOfMsrsCarriedAtFairValueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Servicing Asset at Fair Value, Changes in Fair Value Resulting from Changes in Valuation Inputs or Changes in Assumptions, Total",
        "terseLabel": "Due to changes in inputs used in valuation model",
        "label": "Servicing Asset at Fair Value, Changes in Fair Value Resulting from Changes in Valuation Inputs or Changes in Assumptions",
        "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": [
      "r1517"
     ]
    },
    "us-gaap_ServicingAssetAtFairValueDisposals": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ServicingAssetAtFairValueDisposals",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageServicingRightsSummaryOfMsrsCarriedAtFairValueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Sales",
        "label": "Servicing Asset at Fair Value, Disposals",
        "documentation": "Decrease in servicing assets subsequently measured at fair value resulting from conveyance of servicing rights to unrelated parties."
       }
      }
     },
     "auth_ref": [
      "r780"
     ]
    },
    "us-gaap_ServicingAssetAtFairValueOtherChangesInFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ServicingAssetAtFairValueOtherChangesInFairValue",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageServicingRightsSummaryOfMsrsCarriedAtFairValueDetail": {
       "parentTag": "us-gaap_ServicingAssetAtFairValuePeriodIncreaseDecrease",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageServicingRightsSummaryOfMsrsCarriedAtFairValueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other changes in fair value",
        "label": "Servicing Asset at Fair Value, 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": [
      "r782"
     ]
    },
    "us-gaap_ServicingAssetAtFairValuePeriodIncreaseDecrease": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ServicingAssetAtFairValuePeriodIncreaseDecrease",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited": {
       "parentTag": "pmt_ServicingIncomeLossNetOfValuationAdjustments",
       "weight": 1.0,
       "order": 1.0
      },
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageServicingRightsSummaryOfMsrsCarriedAtFairValueDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageServicingRightsSummaryOfMsrsCarriedAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Change in fair value, Total",
        "terseLabel": "Change in fair value of mortgage servicing rights",
        "label": "Servicing Asset at Fair Value, Period Increase (Decrease)",
        "documentation": "The increase (decrease) in the fair value of servicing assets that are subsequently measured at fair value."
       }
      }
     },
     "auth_ref": [
      "r1516"
     ]
    },
    "pmt_ServicingFeesReceivable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ServicingFeesReceivable",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureOtherAssetsSummaryOfOtherAssetsDetail": {
       "parentTag": "us-gaap_OtherAssets",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureOtherAssetsSummaryOfOtherAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Servicing fees receivable",
        "label": "Servicing Fees Receivable",
        "documentation": "Servicing fees receivable."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ServicingIncomeLossNetOfValuationAdjustments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ServicingIncomeLossNetOfValuationAdjustments",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited": {
       "parentTag": "us-gaap_RevenuesNetOfInterestExpense",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Net loan servicing fees",
        "label": "Servicing Income Loss Net Of Valuation Adjustments",
        "documentation": "Servicing income (loss) net of valuation adjustments and fair value impairment for MSRs.",
        "totalLabel": "Net loan servicing fees"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensation": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensation",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfShareBasedCompensationActivityDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Share-Based Payment Arrangement, Noncash Expense, Total",
        "verboseLabel": "Compensation expense relating to share-based grants",
        "terseLabel": "Share-based compensation expense",
        "label": "Share-Based Payment Arrangement, Noncash Expense",
        "documentation": "Amount of noncash expense for share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r2"
     ]
    },
    "pmt_ShareBasedCompensationArrangementByShareBasedPaymentAwardAverageRemainingVestingPeriods": {
     "xbrltype": "durationItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardAverageRemainingVestingPeriods",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfRestrictedShareUnitsAndPerformanceShareUnitsExpectedToVestDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Average remaining vesting period (in months)",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Average Remaining Vesting Periods",
        "documentation": "Share based compensation arrangement by share based payment award average remaining vesting periods."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Vesting period",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Award Vesting Period",
        "documentation": "Period over which grantee's right to exercise award under share-based payment arrangement is no longer contingent on satisfaction of service or performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Includes, but is not limited to, combination of market, performance or service condition."
       }
      }
     },
     "auth_ref": [
      "r1113"
     ]
    },
    "pmt_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentOtherThanOptionVestedAndExpectedToVestNumber": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentOtherThanOptionVestedAndExpectedToVestNumber",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfRestrictedShareUnitsAndPerformanceShareUnitsExpectedToVestDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Equity Instrument Other Than Option Vested And Expected To Vest Number",
        "documentation": "Share Based Compensation Arrangement By Share Based Payment Award Equity Instrument Other Than Option Vested And Expected To Vest Number",
        "terseLabel": "Number of units (in thousands)"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfShareBasedCompensationActivityDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Total share units forfeiture",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Forfeited in Period",
        "documentation": "The number of equity-based payment instruments, excluding stock (or unit) options, that were forfeited during the reporting period."
       }
      }
     },
     "auth_ref": [
      "r507"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfShareBasedCompensationActivityDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Total share units granted",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Grants in Period",
        "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": [
      "r505"
     ]
    },
    "pmt_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodGrantDateFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodGrantDateFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfShareBasedCompensationActivityDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Total grant date value of share units",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Grants In Period Grant Date Fair Value",
        "documentation": "The weighted average fair value at grant date for nonvested restricted share units issued during the period."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedAndExpectedToVestWeightedAverageGrantDateFairValue": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedAndExpectedToVestWeightedAverageGrantDateFairValue",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfRestrictedShareUnitsAndPerformanceShareUnitsExpectedToVestDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Grant date average fair value per unit",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Vested And Expected To Vest Weighted Average Grant Date Fair Value",
        "documentation": "Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Vested And Expected To Vest Weighted Average Grant Date Fair Value"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedExceedingPerformanceGoalsTargetInPeriod": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedExceedingPerformanceGoalsTargetInPeriod",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfShareBasedCompensationActivityParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Share vested due to exceeding performance goal",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Vested Exceeding Performance Goals Target In Period",
        "documentation": "Share based compensation arrangement by share based payment award equity instruments other than options vested exceeding the performance goals target in period."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfShareBasedCompensationActivityDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Total share units vested",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Vested in Period",
        "documentation": "The number of equity-based payment instruments, excluding stock (or unit) options, that vested during the reporting period."
       }
      }
     },
     "auth_ref": [
      "r506"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfRestrictedShareUnitsAndPerformanceShareUnitsExpectedToVestDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfShareBasedCompensationActivityDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfShareBasedCompensationActivityParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Share Based Compensation Arrangement By Share Based Payment Award [Line Items]",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award [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": [
      "r488",
      "r489",
      "r491",
      "r492",
      "r493",
      "r494",
      "r495",
      "r496",
      "r497",
      "r498",
      "r499",
      "r500",
      "r501",
      "r502",
      "r503",
      "r504",
      "r505",
      "r506",
      "r507",
      "r508",
      "r509",
      "r510",
      "r511",
      "r512",
      "r513",
      "r514",
      "r515",
      "r516",
      "r517",
      "r520"
     ]
    },
    "pmt_ShareBasedCompensationArrangementByShareBasedPaymentAwardOtherThanOptionsVestedAndExpectedToVestAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOtherThanOptionsVestedAndExpectedToVestAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfRestrictedShareUnitsAndPerformanceShareUnitsExpectedToVestDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Shares expected to vest:",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Other Than Options Vested And Expected To Vest [Abstract]",
        "documentation": "Share based compensation arrangement by share based payment award other than options vested and expected to vest."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ShareBasedCompensationArrangementByShareBasedPaymentAwardVestedWithZeroAttainment": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardVestedWithZeroAttainment",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfShareBasedCompensationActivityParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Share vested vested with zero attainment",
        "label": "Share Based Compensation Arrangement by Share Based Payment Award Vested With Zero Attainment",
        "documentation": "Share based compensation arrangement by share based payment award vested with zero attainment."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureEarningsLossPerCommonShareSummaryOfPotentiallyDilutiveSharesExcludedFromComputationOfDilutedEarningsPerShareDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfRestrictedShareUnitsAndPerformanceShareUnitsExpectedToVestDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfShareBasedCompensationActivityDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfShareBasedCompensationActivityParentheticalDetail",
      "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": [
      "r491",
      "r492",
      "r493",
      "r494",
      "r495",
      "r496",
      "r497",
      "r498",
      "r499",
      "r500",
      "r501",
      "r502",
      "r503",
      "r504",
      "r505",
      "r506",
      "r507",
      "r508",
      "r509",
      "r510",
      "r511",
      "r513",
      "r514",
      "r515",
      "r516",
      "r517"
     ]
    },
    "srt_ShareRepurchaseProgramAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "ShareRepurchaseProgramAxis",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureShareholdersEquitySummaryOfCommonShareRepurchaseActivityParentheticalDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquityAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share Repurchase Program [Axis]",
        "documentation": "Information by share repurchase program."
       }
      }
     },
     "auth_ref": [
      "r1418"
     ]
    },
    "srt_ShareRepurchaseProgramDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "ShareRepurchaseProgramDomain",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureShareholdersEquitySummaryOfCommonShareRepurchaseActivityParentheticalDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquityAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share Repurchase Program [Domain]",
        "documentation": "Name of share repurchase program."
       }
      }
     },
     "auth_ref": [
      "r1418"
     ]
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfShareBasedCompensationActivityParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Vesting percentage",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Award Vesting Rights, Percentage",
        "documentation": "Percentage of vesting of award under share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r1421"
     ]
    },
    "us-gaap_SharesIssued": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SharesIssued",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInShareholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodEndLabel": "Balance, Shares",
        "label": "Shares, Issued",
        "periodStartLabel": "Balance, 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": [
      "r6"
     ]
    },
    "us-gaap_ShortTermBorrowingsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShortTermBorrowingsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Brokers and Dealers [Abstract]",
        "label": "Short-Term Debt [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShortTermDebtLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShortTermDebtLineItems",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToUnsecuredSeniorNotesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToUnsecuredSeniorNotesParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToAssetBackedFinancingOfVIEAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Short Term Debt [Line Items]",
        "label": "Short-Term Debt [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": []
    },
    "us-gaap_ShortTermDebtTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShortTermDebtTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureShorttermDebt"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Short-Term Debt",
        "label": "Short-Term Debt [Text Block]",
        "documentation": "The entire disclosure for short-term debt."
       }
      }
     },
     "auth_ref": [
      "r84"
     ]
    },
    "us-gaap_ShortTermDebtTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShortTermDebtTypeAxis",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageLoanParticipationPurchaseAndSaleAgreementSummaryOfMortgageLoanParticipationPurchaseAndSaleAgreementDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageLoanParticipationPurchaseAndSaleAgreementSummaryOfMortgageLoanParticipationPurchaseAndSaleAgreementParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Short-term Debt, Type",
        "label": "Short-Term Debt, Type [Axis]",
        "documentation": "Information by type of short-term debt arrangement."
       }
      }
     },
     "auth_ref": [
      "r49",
      "r1402",
      "r1403",
      "r1404"
     ]
    },
    "us-gaap_ShortTermDebtTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShortTermDebtTypeDomain",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageLoanParticipationPurchaseAndSaleAgreementSummaryOfMortgageLoanParticipationPurchaseAndSaleAgreementDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageLoanParticipationPurchaseAndSaleAgreementSummaryOfMortgageLoanParticipationPurchaseAndSaleAgreementParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Short-term Debt, Type",
        "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": [
      "r47",
      "r1402",
      "r1403",
      "r1404"
     ]
    },
    "us-gaap_ShortTermDebtWeightedAverageInterestRateOverTime": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "ShortTermDebtWeightedAverageInterestRateOverTime",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageLoanParticipationPurchaseAndSaleAgreementSummaryOfMortgageLoanParticipationPurchaseAndSaleAgreementDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted average interest rate",
        "label": "Short-Term Debt, Weighted Average Interest Rate, over Time",
        "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.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail": {
       "parentTag": "us-gaap_AssetsFairValueDisclosure",
       "weight": 1.0,
       "order": 0.0
      },
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Short-Term Investments",
        "totalLabel": "Short-Term Investments, Total",
        "verboseLabel": "Short-term investments",
        "terseLabel": "Short-term investments 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": [
      "r105",
      "r106",
      "r1285"
     ]
    },
    "pmt_SixMarchTwentyTwentyFourMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "SixMarchTwentyTwentyFourMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfTermNoteIssuedToQualifiedInstitutionalBuyersDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "March 6, 2024 [Member]",
        "documentation": "Six march twenty twenty four.",
        "label": "Six March Twenty Twenty Four [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_SourcingFeeOnUnpaidPrincipalBalance": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "SourcingFeeOnUnpaidPrincipalBalance",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesMortgageBankingServicesAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest income and sourcing fee",
        "label": "Sourcing Fee On Unpaid Principal Balance",
        "documentation": "Fee expressed in basis points of the unpaid principal balance earned by the Company relating to transfers of government-insured or guaranteed mortgage loans that it purchases from correspondent lenders to an affiliate."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StatementBusinessSegmentsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StatementBusinessSegmentsAxis",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSegmentsFinancialHighlightsBySegmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Segments",
        "label": "Segments [Axis]",
        "documentation": "Information by business segments."
       }
      }
     },
     "auth_ref": [
      "r125",
      "r126",
      "r127",
      "r128",
      "r191",
      "r285",
      "r293",
      "r297",
      "r298",
      "r299",
      "r300",
      "r301",
      "r302",
      "r303",
      "r304",
      "r305",
      "r306",
      "r308",
      "r309",
      "r311",
      "r312",
      "r313",
      "r321",
      "r322",
      "r323",
      "r324",
      "r325",
      "r327",
      "r328",
      "r329",
      "r334",
      "r385",
      "r386",
      "r387",
      "r388",
      "r389",
      "r390",
      "r391",
      "r392",
      "r393",
      "r394",
      "r398",
      "r402",
      "r403",
      "r559",
      "r560",
      "r835",
      "r836",
      "r837",
      "r838",
      "r839",
      "r840",
      "r841",
      "r842",
      "r843",
      "r844",
      "r845",
      "r1063",
      "r1067",
      "r1068",
      "r1097",
      "r1145",
      "r1528",
      "r1530",
      "r1531",
      "r1532",
      "r1533",
      "r1534",
      "r1535",
      "r1536",
      "r1537",
      "r1538",
      "r1539",
      "r1540",
      "r1541",
      "r1542",
      "r1543",
      "r1544",
      "r1545",
      "r1546",
      "r1547",
      "r1548",
      "r1549",
      "r1550",
      "r1551",
      "r1552",
      "r1553",
      "r1554",
      "r1555",
      "r1558",
      "r1559"
     ]
    },
    "us-gaap_StatementClassOfStockAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StatementClassOfStockAxis",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquityAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquitySummaryOfPreferredSharesOfBeneficialInterestDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquitySummaryOfPreferredSharesOfBeneficialInterestParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Class of Stock",
        "label": "Class of Stock [Axis]",
        "documentation": "Information by the different classes of stock of the entity."
       }
      }
     },
     "auth_ref": [
      "r138",
      "r196",
      "r197",
      "r198",
      "r224",
      "r228",
      "r266",
      "r267",
      "r275",
      "r279",
      "r287",
      "r288",
      "r372",
      "r411",
      "r413",
      "r414",
      "r415",
      "r418",
      "r419",
      "r444",
      "r445",
      "r447",
      "r448",
      "r450",
      "r453",
      "r456",
      "r457",
      "r460",
      "r463",
      "r470",
      "r712",
      "r875",
      "r876",
      "r877",
      "r878",
      "r885",
      "r887",
      "r888",
      "r889",
      "r890",
      "r891",
      "r892",
      "r893",
      "r894",
      "r895",
      "r896",
      "r898",
      "r920",
      "r942",
      "r966",
      "r1011",
      "r1012",
      "r1013",
      "r1014",
      "r1015",
      "r1253",
      "r1354",
      "r1356",
      "r1366"
     ]
    },
    "us-gaap_StatementEquityComponentsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StatementEquityComponentsAxis",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureShareholdersEquitySummaryOfCommonShareRepurchaseActivityParentheticalDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquityAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInShareholdersEquityUnaudited",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInShareholdersEquityUnauditedParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Equity Components",
        "label": "Equity Components [Axis]",
        "documentation": "Information by component of equity."
       }
      }
     },
     "auth_ref": [
      "r6",
      "r61",
      "r64",
      "r65",
      "r176",
      "r183",
      "r184",
      "r206",
      "r207",
      "r208",
      "r241",
      "r242",
      "r243",
      "r246",
      "r255",
      "r258",
      "r260",
      "r286",
      "r373",
      "r376",
      "r396",
      "r441",
      "r472",
      "r523",
      "r537",
      "r538",
      "r550",
      "r551",
      "r552",
      "r555",
      "r564",
      "r565",
      "r646",
      "r648",
      "r649",
      "r650",
      "r651",
      "r653",
      "r654",
      "r655",
      "r656",
      "r657",
      "r668",
      "r717",
      "r718",
      "r719",
      "r720",
      "r721",
      "r722",
      "r728",
      "r730",
      "r736",
      "r828",
      "r859",
      "r860",
      "r861",
      "r885",
      "r966"
     ]
    },
    "us-gaap_StatementLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StatementLineItems",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureShorttermDebtTables",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtTables",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesTables",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnauditedParenthetical",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInShareholdersEquityUnaudited",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInShareholdersEquityUnauditedParenthetical",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Statement [Line Items]",
        "label": "Statement [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": [
      "r241",
      "r242",
      "r243",
      "r286",
      "r444",
      "r445",
      "r447",
      "r450",
      "r730",
      "r795",
      "r874",
      "r886",
      "r898",
      "r911",
      "r913",
      "r914",
      "r915",
      "r916",
      "r917",
      "r920",
      "r923",
      "r924",
      "r925",
      "r926",
      "r927",
      "r930",
      "r931",
      "r932",
      "r933",
      "r935",
      "r936",
      "r937",
      "r938",
      "r939",
      "r945",
      "r946",
      "r952",
      "r953",
      "r954",
      "r955",
      "r956",
      "r957",
      "r958",
      "r959",
      "r960",
      "r961",
      "r962",
      "r963",
      "r966",
      "r1055",
      "r1056",
      "r1155",
      "r1564"
     ]
    },
    "us-gaap_StatementOfCashFlowsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StatementOfCashFlowsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Cash Flows [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StatementOfFinancialPositionAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StatementOfFinancialPositionAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Financial Position [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StatementOfPartnersCapitalAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StatementOfPartnersCapitalAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Partners' Capital [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StatementOfStockholdersEquityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StatementOfStockholdersEquityAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Stockholders' Equity [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "srt_StatementScenarioAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "StatementScenarioAxis",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquityAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Scenario",
        "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": [
      "r171",
      "r188",
      "r190",
      "r261",
      "r486",
      "r1254",
      "r1256"
     ]
    },
    "us-gaap_StatementTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StatementTable",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureShorttermDebtTables",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesTables",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnauditedParenthetical",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInShareholdersEquityUnaudited",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInShareholdersEquityUnauditedParenthetical",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Statement [Table]",
        "label": "Statement [Table]",
        "documentation": "Presentation of information about comprehensive income, income, other comprehensive income, financial position, cash flows, and shareholders' equity."
       }
      }
     },
     "auth_ref": [
      "r241",
      "r242",
      "r243",
      "r286",
      "r337",
      "r444",
      "r445",
      "r447",
      "r450",
      "r730",
      "r795",
      "r874",
      "r886",
      "r898",
      "r911",
      "r913",
      "r914",
      "r915",
      "r916",
      "r917",
      "r920",
      "r923",
      "r924",
      "r925",
      "r926",
      "r927",
      "r930",
      "r931",
      "r932",
      "r933",
      "r935",
      "r936",
      "r937",
      "r938",
      "r939",
      "r945",
      "r946",
      "r952",
      "r953",
      "r954",
      "r955",
      "r956",
      "r957",
      "r958",
      "r959",
      "r960",
      "r961",
      "r962",
      "r963",
      "r966",
      "r1055",
      "r1056",
      "r1155",
      "r1564"
     ]
    },
    "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": [
      "r1174",
      "r1184",
      "r1194",
      "r1226"
     ]
    },
    "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": [
      "r1421",
      "r1422",
      "r1423",
      "r1424",
      "r1425",
      "r1426",
      "r1427",
      "r1428",
      "r1429",
      "r1430",
      "r1431",
      "r1432",
      "r1433",
      "r1434",
      "r1435",
      "r1436",
      "r1437",
      "r1438",
      "r1439",
      "r1440",
      "r1441",
      "r1442",
      "r1443",
      "r1444",
      "r1445",
      "r1446"
     ]
    },
    "us-gaap_StockCompensationPlanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockCompensationPlanMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureEarningsLossPerCommonShareSummaryOfPotentiallyDilutiveSharesExcludedFromComputationOfDilutedEarningsPerShareDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Share-based Compensation Plan [Member]",
        "label": "Share-Based Payment Arrangement [Member]",
        "documentation": "Share-based payment arrangement in which award of equity shares are granted. Arrangement includes, but is not limited to, grantor incurring liability for product and service based on price of its shares."
       }
      }
     },
     "auth_ref": [
      "r1368"
     ]
    },
    "us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInShareholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Recognition of cash conversion option included in issuance of exchangeable senior notes, Shares",
        "label": "Stock Issued During Period, Shares, Conversion of Convertible Securities",
        "documentation": "Number of shares issued during the period as a result of the conversion of convertible securities."
       }
      }
     },
     "auth_ref": [
      "r6",
      "r34",
      "r61",
      "r64",
      "r90",
      "r430"
     ]
    },
    "us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInShareholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Stock Issued During Period, Shares, Restricted Stock Award, Net of Forfeitures, Total",
        "terseLabel": "Share-based compensation, Shares",
        "label": "Stock Issued During Period, Shares, Restricted Stock Award, Net of Forfeitures",
        "documentation": "Number of shares issued during the period related to Restricted Stock Awards, net of any shares forfeited."
       }
      }
     },
     "auth_ref": [
      "r6",
      "r60",
      "r61",
      "r90"
     ]
    },
    "us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockIssuedDuringPeriodValueConversionOfConvertibleSecurities",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInShareholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Recognition of cash conversion option included in issuance of exchangeable senior notes, Amount",
        "label": "Stock Issued During Period, Value, Conversion of Convertible Securities",
        "documentation": "The gross value of stock issued during the period upon the conversion of convertible securities."
       }
      }
     },
     "auth_ref": [
      "r6",
      "r61",
      "r64",
      "r65",
      "r90"
     ]
    },
    "us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInShareholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Stock Issued During Period, Value, Restricted Stock Award, Net of Forfeitures, Total",
        "terseLabel": "Share-based compensation, Amount",
        "label": "Stock Issued During Period, Value, Restricted Stock Award, Net of Forfeitures",
        "documentation": "Value of stock related to Restricted Stock Awards issued during the period, net of the stock value of such awards forfeited."
       }
      }
     },
     "auth_ref": [
      "r6",
      "r90"
     ]
    },
    "srt_StockRepurchaseProgramAuthorizedAmount1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "StockRepurchaseProgramAuthorizedAmount1",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquityAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Common stock shares repurchase authorized amount before transaction fees",
        "label": "Share Repurchase Program, Authorized, 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": [
      "r1418"
     ]
    },
    "pmt_StockRepurchaseProgramCostOfCumulativeSharesRepurchased": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "StockRepurchaseProgramCostOfCumulativeSharesRepurchased",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquityAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquitySummaryOfCommonShareRepurchaseActivityDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cumulative cost of shares repurchased",
        "label": "Stock Repurchase Program Cost Of Cumulative Shares Repurchased",
        "documentation": "Stock repurchase program cost of cumulative shares repurchased."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_StockRepurchaseProgramCumulativeNumberOfSharesRepurchased": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "StockRepurchaseProgramCumulativeNumberOfSharesRepurchased",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquitySummaryOfCommonShareRepurchaseActivityDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cumulative shares repurchased",
        "label": "Stock Repurchase Program Cumulative Number Of Shares Repurchased",
        "documentation": "Stock repurchase program cumulative number of shares repurchased."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquityAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Available amount for share repurchases",
        "label": "Share Repurchase Program, Remaining Authorized, Amount",
        "documentation": "Amount remaining authorized for purchase of share under share repurchase plan. Includes, but is not limited to, repurchase of stock and unit of ownership."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StockRepurchasedAndRetiredDuringPeriodShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockRepurchasedAndRetiredDuringPeriodShares",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquityAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquitySummaryOfCommonShareRepurchaseActivityDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Common shares repurchased",
        "negatedLabel": "Repurchase of common shares, Shares",
        "label": "Stock Repurchased and Retired During Period, Shares",
        "documentation": "Number of shares that have been repurchased and retired during the period."
       }
      }
     },
     "auth_ref": [
      "r6",
      "r60",
      "r61",
      "r90"
     ]
    },
    "us-gaap_StockRepurchasedAndRetiredDuringPeriodValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockRepurchasedAndRetiredDuringPeriodValue",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquitySummaryOfCommonShareRepurchaseActivityDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cost of common shares repurchased",
        "negatedLabel": "Repurchase of common shares, Amount",
        "label": "Stock Repurchased and Retired During Period, Value",
        "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": [
      "r6",
      "r60",
      "r61",
      "r90"
     ]
    },
    "us-gaap_StockholdersEquity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockholdersEquity",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInShareholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total shareholders\u2019 equity",
        "periodStartLabel": "Balance, Amount",
        "periodEndLabel": "Balance, Amount",
        "label": "Equity, Attributable to Parent",
        "documentation": "Amount of equity (deficit) attributable to parent. Excludes temporary equity and equity attributable to noncontrolling interest."
       }
      }
     },
     "auth_ref": [
      "r61",
      "r64",
      "r65",
      "r82",
      "r922",
      "r940",
      "r967",
      "r968",
      "r1139",
      "r1164",
      "r1352",
      "r1356",
      "r1357",
      "r1391",
      "r1493",
      "r1568"
     ]
    },
    "us-gaap_StockholdersEquityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockholdersEquityAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "SHAREHOLDERS\u2019 EQUITY",
        "label": "Equity, Attributable to Parent [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StockholdersEquityNoteDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "StockholdersEquityNoteDisclosureTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Shareholders' Equity",
        "label": "Equity [Text Block]",
        "documentation": "The entire disclosure for equity."
       }
      }
     },
     "auth_ref": [
      "r86",
      "r455",
      "r457",
      "r459",
      "r460",
      "r461",
      "r462",
      "r463",
      "r464",
      "r465",
      "r466",
      "r467",
      "r469",
      "r472",
      "r642",
      "r659",
      "r969",
      "r971",
      "r1016"
     ]
    },
    "pmt_SubServicingLoanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "SubServicingLoanMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesServicingAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Subserviced loan [Member]",
        "label": "Sub Servicing Loan [Member]",
        "documentation": "Sub Servicing Loan [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_SubordinateMortgageBackedSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "SubordinateMortgageBackedSecuritiesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureVariableInterestEntitiesSummaryOfInvestmentInSeniorAndSubordinateMbsBackedByAssetsHeldInConsolidatedViesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Subordinate Mortgage Backed Securities [Member]",
        "label": "Subordinate Mortgage Backed Securities [Member]",
        "documentation": "Subordinate mortgage backed securities."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_SubordinateResidentialTransitionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "SubordinateResidentialTransitionMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureMortgagebackedSecuritiesSummaryOfInvestmentsInMortgageBackedSecuritiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageBackedSecuritiesSummaryOfInvestmentInMortgageBackedSecuritiesParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subordinate Residential Transition [Member]",
        "documentation": "Subordinate residential transition."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SubsequentEventLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SubsequentEventLineItems",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Subsequent Event [Line Items]",
        "label": "Subsequent Event [Line Items]",
        "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": [
      "r723",
      "r746"
     ]
    },
    "us-gaap_SubsequentEventMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SubsequentEventMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Subsequent Event",
        "label": "Subsequent Event [Member]",
        "documentation": "Identifies event that occurred after the balance sheet date but before financial statements are issued or available to be issued."
       }
      }
     },
     "auth_ref": [
      "r723",
      "r746"
     ]
    },
    "us-gaap_SubsequentEventTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SubsequentEventTable",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "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": [
      "r723",
      "r746"
     ]
    },
    "us-gaap_SubsequentEventTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SubsequentEventTypeAxis",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "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": [
      "r723",
      "r746"
     ]
    },
    "us-gaap_SubsequentEventTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SubsequentEventTypeDomain",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "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": [
      "r723",
      "r746"
     ]
    },
    "us-gaap_SubsequentEventsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SubsequentEventsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Events [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SubsequentEventsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SubsequentEventsTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureSubsequentEvents"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Subsequent Events",
        "label": "Subsequent Events [Text Block]",
        "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": [
      "r745",
      "r747"
     ]
    },
    "pmt_SummaryOfCashFlowsBetweenCompanyAndTransfereesUponSaleOfLoansInTransactionsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "SummaryOfCashFlowsBetweenCompanyAndTransfereesUponSaleOfLoansInTransactionsTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLoanSalesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Cash Flows between Company and Transferees in Transfers Accounted for Sales",
        "label": "Summary Of Cash Flows Between Company And Transferees Upon Sale Of Loans In Transactions Table [Text Block]",
        "documentation": "Summary of cash flows between company and transferees in transfers accounted for sales."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_SummaryOfFinancingTransactionsWithAffiliateTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "SummaryOfFinancingTransactionsWithAffiliateTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Financing Activities",
        "label": "Summary Of Financing Transactions With Affiliate Table [Text Block]",
        "documentation": "Summary Of Financing Transactions With Affiliate [Table Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_SummaryOfInvestmentInSubordinateMortgageBackedSecuritiesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "SummaryOfInvestmentInSubordinateMortgageBackedSecuritiesTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Summary Of Investment In Subordinate Mortgage Backed Securities Table [Text Block]",
        "documentation": "Summary of investment in subordinate mortgage backed securities.",
        "terseLabel": "Summary of Investment in Senior and Subordinate MBS Backed by Assets Held in Consolidated VIEs"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_SummaryOfInvestmentTransactionsWithAffiliateTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "SummaryOfInvestmentTransactionsWithAffiliateTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Investing Activity",
        "label": "Summary Of Investment Transactions With Affiliate Table [Text Block]",
        "documentation": "Summary Of Investment Transactions With Affiliate [Table Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_SummaryOfLoansAndAdvancesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "SummaryOfLoansAndAdvancesTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Transfer Cash to Fund Loan Servicing Advances",
        "label": "Summary Of Loans And Advances Table [Text Block]",
        "documentation": "Summary of loans and advances."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_SummaryOfMortgageServicingRightsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "SummaryOfMortgageServicingRightsLineItems",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageServicingRightsSummaryOfMsrsCarriedAtFairValueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary Of Mortgage Servicing Rights [Line Items]",
        "label": "Summary Of Mortgage Servicing Rights [Line Items]",
        "documentation": "Summary of mortgage servicing rights."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_SummaryOfMortgageServicingRightsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "SummaryOfMortgageServicingRightsTable",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageServicingRightsSummaryOfMsrsCarriedAtFairValueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary Of Mortgage Servicing Rights [Table]",
        "label": "Summary Of Mortgage Servicing Rights [Table]",
        "documentation": "Summary of mortgage servicing rights."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_SummaryOfRecourseLiabilityTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "SummaryOfRecourseLiabilityTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLiabilityForLossesUnderRepresentationsAndWarrantiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Company's Liability for Losses under Representations and Warranties",
        "label": "Summary Of Recourse Liability Table [Text Block]",
        "documentation": "Represents summaries of activity in the recourse liability during the period."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_SummaryOfUnpaidBalanceInformationForMortgageLoansUponSaleOfLoansInTransactionsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "SummaryOfUnpaidBalanceInformationForMortgageLoansUponSaleOfLoansInTransactionsTableTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLoanSalesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Collection Status Information for Loans Accounted for Sales",
        "label": "Summary Of Unpaid Balance Information For Mortgage Loans Upon Sale Of Loans In Transactions Table [Text Block]",
        "documentation": "Summary of\u200b unpaid\u200b balance information\u200b for\u200b mortgage\u200b loans\u200b upon\u200b sale\u200b of loans in transactions\u200b."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SupplementalCashFlowInformationAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SupplementalCashFlowInformationAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Supplemental Cash Flow Information [Abstract]",
        "terseLabel": "Payments, net:"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_SupplementalNonCashFinancingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "SupplementalNonCashFinancingActivitiesAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Non-cash financing activities:",
        "label": "Supplemental Non Cash Financing Activities [Abstract]",
        "documentation": "Supplemental Non Cash Financing Activities [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_SupplementalNoncashInvestingActivityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "SupplementalNoncashInvestingActivityAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Supplemental Noncash Investing Activity [Abstract]",
        "documentation": "Supplemental Noncash Investing Activity [Abstract]",
        "terseLabel": "Non cash investing activities:"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_SwapFuturesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "SwapFuturesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Swap Futures [Member]",
        "label": "Swap Futures [Member]",
        "documentation": "Swap Futures [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_SwaptionPurchaseContractsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "SwaptionPurchaseContractsMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Swaption Purchase Contracts",
        "label": "Swaption Purchase Contracts [Member]",
        "documentation": "Swaption purchase contracts."
       }
      }
     },
     "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": [
      "r1220"
     ]
    },
    "us-gaap_TangibleCapital": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TangibleCapital",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureRegulatoryCapitalAndLiquidityRequirementsSummaryOfCapitalAndLiquidityAmountsAndRequirementsByAgenciesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net worth, Actual",
        "label": "Banking Regulation, Tangible Capital, Actual",
        "documentation": "Amount of tangible capital as defined by regulatory framework."
       }
      }
     },
     "auth_ref": [
      "r807"
     ]
    },
    "us-gaap_TangibleCapitalRequiredForCapitalAdequacy": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TangibleCapitalRequiredForCapitalAdequacy",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureRegulatoryCapitalAndLiquidityRequirementsSummaryOfCapitalAndLiquidityAmountsAndRequirementsByAgenciesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net worth, Required",
        "label": "Banking Regulation, Tangible Capital, Minimum",
        "documentation": "Amount of minimum tangible capital required for capital adequacy as defined by regulatory framework."
       }
      }
     },
     "auth_ref": [
      "r807",
      "r808"
     ]
    },
    "us-gaap_TangibleCapitalRequiredForCapitalAdequacyToTangibleAssets": {
     "xbrltype": "pureItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TangibleCapitalRequiredForCapitalAdequacyToTangibleAssets",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureRegulatoryCapitalAndLiquidityRequirementsSummaryOfCapitalAndLiquidityAmountsAndRequirementsByAgenciesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Tangible net worth / total assets ratio, Required",
        "label": "Banking Regulation, Tangible Capital Ratio, Capital Adequacy, Minimum",
        "documentation": "Ratio of minimum tangible capital to tangible assets required for capital adequacy as defined by regulatory framework."
       }
      }
     },
     "auth_ref": [
      "r807",
      "r808"
     ]
    },
    "us-gaap_TangibleCapitalToTangibleAssets": {
     "xbrltype": "pureItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TangibleCapitalToTangibleAssets",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureRegulatoryCapitalAndLiquidityRequirementsSummaryOfCapitalAndLiquidityAmountsAndRequirementsByAgenciesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Tangible net worth / total assets ratio, Actual",
        "label": "Banking Regulation, Tangible Capital Ratio, Actual",
        "documentation": "Ratio of tangible capital to tangible assets as defined by regulatory framework."
       }
      }
     },
     "auth_ref": [
      "r807"
     ]
    },
    "pmt_TaxServiceFeesPaid": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "TaxServiceFeesPaid",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesSummaryOfAggregationAndSecuritizationActivitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Tax service fees paid to PLS",
        "label": "Tax Service Fees Paid",
        "documentation": "Represents tax service fees paid to an affiliate relating to mortgage loans fulfilled for the company by the affiliate."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_TaxableREITSubsidiaryMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "TaxableREITSubsidiaryMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Taxable REIT Subsidiary [Member]",
        "label": "Taxable R E I T Subsidiary [Member]",
        "documentation": "Taxable REIT Subsidiary [Member]",
        "verboseLabel": "TRS [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_TerminationFeesDescription": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "TerminationFeesDescription",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesManagementAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Termination fees, description",
        "label": "Termination Fees Description",
        "documentation": "Description of the fee payable by the company in the event of termination of the management agreement."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TextBlockAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TextBlockAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Text Block [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_ThirtyMarchTwoThousandTwentyOneMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "ThirtyMarchTwoThousandTwentyOneMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfTermNoteIssuedToQualifiedInstitutionalBuyersDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "March 30, 2021 [Member]",
        "label": "Thirty March Two Thousand Twenty One [Member]",
        "documentation": "Thirty march two thousand twenty one."
       }
      }
     },
     "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": [
      "r1212"
     ]
    },
    "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": [
      "r1219"
     ]
    },
    "us-gaap_TradingActivityByTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TradingActivityByTypeAxis",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesManagementAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Trading Activity",
        "label": "Trading Activity [Axis]",
        "documentation": "Information by type of trading activity."
       }
      }
     },
     "auth_ref": [
      "r615",
      "r616",
      "r617",
      "r618",
      "r619",
      "r620",
      "r1124",
      "r1456"
     ]
    },
    "us-gaap_TradingActivityByTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TradingActivityByTypeDomain",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesManagementAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Trading Activity, by Type",
        "label": "Trading Activity, by Type [Domain]",
        "documentation": "Gains and losses on trading activities (including both derivative and nonderivative instruments) recognized in the statement of financial performance, separately by major types of items (such as fixed income/interest rates, foreign exchange, equity, commodity, and credit)."
       }
      }
     },
     "auth_ref": [
      "r615",
      "r616",
      "r617",
      "r618",
      "r619",
      "r620",
      "r1124",
      "r1456"
     ]
    },
    "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": [
      "r1239"
     ]
    },
    "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": [
      "r1241"
     ]
    },
    "dei_TradingSymbol": {
     "xbrltype": "tradingSymbolItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "TradingSymbol",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Trading Symbol",
        "label": "Trading Symbol",
        "documentation": "Trading symbol of an instrument as listed on an exchange."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TransferOfFinancialAssetsAccountedForAsSalesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TransferOfFinancialAssetsAccountedForAsSalesLineItems",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Transfer Of Financial Assets Accounted For As Sales [Line Items]",
        "label": "Transfer of Financial Assets Accounted for as Sales [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": []
    },
    "us-gaap_TransferOfFinancialAssetsAccountedForAsSalesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TransferOfFinancialAssetsAccountedForAsSalesTable",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Transfer Of Financial Assets Accounted For As Sales [Table]",
        "label": "Transfer of Financial Assets Accounted for as Sales [Table]",
        "documentation": "Disclosure of information about derecognized financial assets from transactions which comprise an initial transfer and an agreement entered into in contemplation of the initial transfer resulting in retention of substantially all of the exposure to the economic return throughout the term of the transaction."
       }
      }
     },
     "auth_ref": [
      "r9"
     ]
    },
    "pmt_TransferOfInterestRateLockCommitmentsToLoansHeldForSale": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "TransferOfInterestRateLockCommitmentsToLoansHeldForSale",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Transfer Of Interest Rate Lock Commitments To Loans Held For Sale",
        "documentation": "Transfer of interest rate lock commitments to loans held for sale.",
        "terseLabel": "Interest rate lock commitments to loans held for sale"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_TransferOfMortgageServicingRightsRelatingToDelinquentLoansToAgency": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "TransferOfMortgageServicingRightsRelatingToDelinquentLoansToAgency",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Mortgage servicing rights relating to delinquent loans to Agency",
        "negatedLabel": "Transfer of mortgage servicing rights relating to delinquent loans to Agency",
        "label": "Transfer Of Mortgage Servicing Rights Relating To Delinquent Loans To Agency",
        "documentation": "Transfer of mortgage servicing rights relating to delinquent loans to agency."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TransferOfOtherRealEstate": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TransferOfOtherRealEstate",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Real Estate Owned, Transfer from Real Estate Owned",
        "terseLabel": "Loans from REO",
        "documentation": "Value transferred out of real estate owned (REO) in noncash transactions."
       }
      }
     },
     "auth_ref": [
      "r22",
      "r23",
      "r24"
     ]
    },
    "pmt_TransferToAgencyOfMortgageServicingRightsRelatingToDelinquentLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "TransferToAgencyOfMortgageServicingRightsRelatingToDelinquentLoans",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageServicingRightsSummaryOfMsrsCarriedAtFairValueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Transfer To Agency Of Mortgage Servicing Rights Relating To Delinquent Loans",
        "documentation": "Transfer to agency of mortgage servicing rights relating to delinquent loans.",
        "terseLabel": "Transfers to Agency of mortgage servicing rights relating to delinquent loans"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TransferToOtherRealEstate": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TransferToOtherRealEstate",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Loans to REO",
        "verboseLabel": "Loans to REO",
        "label": "Real Estate Owned, Transfer to Real Estate Owned",
        "terseLabel": "Transfer of loans and servicing advances to real estate acquired in settlement of loans",
        "documentation": "Value transferred from mortgage loans to real estate owned (REO) in noncash transactions."
       }
      }
     },
     "auth_ref": [
      "r22",
      "r23",
      "r24"
     ]
    },
    "us-gaap_TransfersAndServicingAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TransfersAndServicingAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Transfers and Servicing [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesDerivativeAssetsAndDerivativeAndCreditRiskTransferStripLiabilitiesAtFai",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfChangesInFairValueIncludedInCurrentPeriodResultsOfOperationsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForInvestmentAtFairValueSummaryOfDistributionOfCompanysLoansHeldForInvestmentAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForSaleAtFairValueSummaryOfDistributionOfCompanysLoansHeldForSaleAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureMortgagebackedSecuritiesSummaryOfInvestmentsInMortgageBackedSecuritiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesNetGainsLossesRecognizedOnDerivativeFinancialInstrumentsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAssetsFinancialInstrumentsAndCollateralHeldByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueFairValuesAndRelatedPrincipalAmountsDueUponMaturityOfLoansAccountedForUnderFairValueOptionDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyAssumptionsUsedInValuationOfMsrsAsOfDatesPresentedAndEffectOnEstimatedFairValueFromAdverseChangesInThoseInputsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInValuationOfInterestRateLockCommitmentsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasisDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToAssetBackedFinancingOfVIEAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToAssetBackedFinancingOfVIEAtFairValueParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageServicingRightsSummaryOfMsrsCarriedAtFairValueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Financial Instruments",
        "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": [
      "r342",
      "r343",
      "r344",
      "r345",
      "r346",
      "r347",
      "r348",
      "r349",
      "r350",
      "r351",
      "r352",
      "r353",
      "r354",
      "r355",
      "r356",
      "r357",
      "r358",
      "r359",
      "r360",
      "r361",
      "r362",
      "r363",
      "r364",
      "r365",
      "r366",
      "r367",
      "r368",
      "r369",
      "r370",
      "r371",
      "r436",
      "r468",
      "r642",
      "r658",
      "r693",
      "r710",
      "r715",
      "r748",
      "r749",
      "r750",
      "r751",
      "r752",
      "r753",
      "r754",
      "r755",
      "r756",
      "r760",
      "r761",
      "r762",
      "r763",
      "r764",
      "r769",
      "r778",
      "r779",
      "r780",
      "r781",
      "r783",
      "r784",
      "r785",
      "r786",
      "r787",
      "r788",
      "r789",
      "r790",
      "r791",
      "r792",
      "r793",
      "r810",
      "r829",
      "r1127",
      "r1128",
      "r1130",
      "r1131",
      "r1132",
      "r1133",
      "r1134",
      "r1135",
      "r1136",
      "r1140",
      "r1267",
      "r1268",
      "r1269",
      "r1270",
      "r1271",
      "r1272",
      "r1273",
      "r1387",
      "r1388",
      "r1389",
      "r1390",
      "r1471",
      "r1474",
      "r1475",
      "r1476",
      "r1483",
      "r1486",
      "r1487",
      "r1488"
     ]
    },
    "pmt_TransfersAstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "TransfersAstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Transfers of:",
        "label": "Transfers Astract",
        "documentation": "Transfers."
       }
      }
     },
     "auth_ref": []
    },
    "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": [
      "r1242"
     ]
    },
    "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": [
      "r1243"
     ]
    },
    "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": [
      "r1243"
     ]
    },
    "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": [
      "r1241"
     ]
    },
    "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": [
      "r1241"
     ]
    },
    "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": [
      "r1244"
     ]
    },
    "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": [
      "r1242"
     ]
    },
    "pmt_TwentyEightAugustTwentyTwentyFourMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "TwentyEightAugustTwentyTwentyFourMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfTermNoteIssuedToQualifiedInstitutionalBuyersDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Twenty Eight August Twenty Twenty Four [Member]",
        "documentation": "Twenty eight August twenty twenty four.",
        "terseLabel": "August 28, 2024 [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_TwentyFiveAprilTwoThousandEighteenMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "TwentyFiveAprilTwoThousandEighteenMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "April 25, 2018 [Member]",
        "label": "Twenty Five April Two Thousand Eighteen [Member]",
        "documentation": "Twenty five april two thousand eighteen."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_TwentyFiveMayTwoThousandTwentyThreeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "TwentyFiveMayTwoThousandTwentyThreeMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfTermNoteIssuedToQualifiedInstitutionalBuyersDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "May 25, 2023 [Member]",
        "documentation": "Twenty five may two thousand twenty three.",
        "label": "Twenty Five May Two Thousand Twenty Three [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_TwentyFourMayTwoThousandTwentyFourMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "TwentyFourMayTwoThousandTwentyFourMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToExchangeableSeniorNotesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Twenty Four May Two Thousand Twenty Four [Member]",
        "documentation": "Twenty four may two thousand twenty four.",
        "terseLabel": "May 24, 2024 [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_TwentySecondDecemberTwentyTwentyFiveMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "TwentySecondDecemberTwentyTwentyFiveMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToExchangeableSeniorNotesParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Twenty Second December Twenty Twenty Five [Member]",
        "documentation": "December 22, 2025.",
        "terseLabel": "December 22, 2025 [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_TwentySevenJuneTwoThousandTwentyFourMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "TwentySevenJuneTwoThousandTwentyFourMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfTermNoteIssuedToQualifiedInstitutionalBuyersDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Twenty Seven June Two Thousand Twenty Four [Member]",
        "documentation": "Twenty Seven june two thousand twenty four.",
        "terseLabel": "June 27, 2024 [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_TwentyTwentyMBSAgreementMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "TwentyTwentyMBSAgreementMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesMortgageBankingServicesAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2020 MBS Agreement [Member]",
        "label": "Twenty Twenty M B S Agreement [Member]",
        "documentation": "2020 MBS agreement."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_TwentyTwentyMBSAgreementRenewedAndAmendedMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "TwentyTwentyMBSAgreementRenewedAndAmendedMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesMortgageBankingServicesAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Twenty Twenty M B S Agreement Renewed and Amended [Member]",
        "documentation": "Twenty twenty M B S agreement renewed and amended.",
        "terseLabel": "2020 MBS Agreement Renewed and Amended [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_TwentyTwentyMSRRecaptureAgreementMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "TwentyTwentyMSRRecaptureAgreementMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesMSRRecaptureAgreementAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2020 MSR Recapture Agreement [Member]",
        "label": "Twenty Twenty M S R Recapture Agreement [Member]",
        "documentation": "2020 MSR recapture agreement."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_TwoThousandAndEighteenFTOneNotesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "TwoThousandAndEighteenFTOneNotesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2018 FT-1 Notes",
        "documentation": "Two thousand and eighteen FT one notes.",
        "label": "Two Thousand And Eighteen F T One Notes [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_TwoThousandTwentyEightSeniorNotesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "TwoThousandTwentyEightSeniorNotesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToSeniorNotesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Two Thousand Twenty Eight Senior Notes [Member]",
        "documentation": "2028 Senior Notes.",
        "terseLabel": "2028 Eight Senior Notes [Member]",
        "verboseLabel": "2028 Senior Notes [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_TwoThousandTwentyNineExchangeableNotesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "TwoThousandTwentyNineExchangeableNotesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2029 Exchangeable Notes [Member]",
        "label": "Two Thousand Twenty Nine Exchangeable Notes [Member]",
        "documentation": "2029 Exchangeable Notes."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_TwoThousandTwentySixExchangeableNotesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "TwoThousandTwentySixExchangeableNotesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2026 Exchangeable Notes [Member]",
        "label": "Two Thousand Twenty Six Exchangeable Notes [Member]",
        "documentation": "2026 Exchangeable Notes."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_TwoThousandTwentyThreeSeniorNotesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "TwoThousandTwentyThreeSeniorNotesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "2023 Senior Notes.",
        "label": "Two Thousand Twenty Three Senior Notes [Member]",
        "terseLabel": "2023 Senior Notes [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TypeOfAdoptionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TypeOfAdoptionMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureBasisOfPresentationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accounting Standards Update",
        "label": "Accounting Standards Update [Domain]",
        "documentation": "Amendment to accounting standards."
       }
      }
     },
     "auth_ref": [
      "r174",
      "r175",
      "r176",
      "r177",
      "r178",
      "r179",
      "r180",
      "r181",
      "r182",
      "r183",
      "r184",
      "r213",
      "r214",
      "r215",
      "r245",
      "r246",
      "r247",
      "r248",
      "r249",
      "r261",
      "r335",
      "r336",
      "r373",
      "r374",
      "r375",
      "r376",
      "r395",
      "r396",
      "r400",
      "r439",
      "r440",
      "r441",
      "r442",
      "r521",
      "r522",
      "r523",
      "r524",
      "r537",
      "r538",
      "r539",
      "r540",
      "r541",
      "r547",
      "r548",
      "r549",
      "r550",
      "r551",
      "r552",
      "r553",
      "r554",
      "r555",
      "r556",
      "r557",
      "r558",
      "r561",
      "r562",
      "r563",
      "r564",
      "r565",
      "r644",
      "r645",
      "r646",
      "r647",
      "r648",
      "r649",
      "r650",
      "r651",
      "r652",
      "r653",
      "r660",
      "r661",
      "r662",
      "r663",
      "r664",
      "r665",
      "r666",
      "r667",
      "r668",
      "r669",
      "r670",
      "r696",
      "r697",
      "r728",
      "r729",
      "r731",
      "r732",
      "r733",
      "r734",
      "r735",
      "r736",
      "r857",
      "r858",
      "r859",
      "r860",
      "r861",
      "r862",
      "r863",
      "r864",
      "r865",
      "r866",
      "r867",
      "r868"
     ]
    },
    "us-gaap_TypeOfArrangementAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "TypeOfArrangementAxis",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToExchangeableSeniorNotesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToExchangeableSeniorNotesParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfTermNoteIssuedToQualifiedInstitutionalBuyersDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtTables",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquityAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Collaborative Arrangement and Arrangement Other than Collaborative",
        "label": "Collaborative Arrangement and Arrangement Other than Collaborative [Axis]",
        "documentation": "Information by collaborative arrangement and arrangement other than collaborative applicable to revenue-generating activity or operations."
       }
      }
     },
     "auth_ref": [
      "r566"
     ]
    },
    "pmt_UnamortizedDebtIssuanceCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "UnamortizedDebtIssuanceCosts",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToUnsecuredSeniorNotesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Unamortized debt issuance costs",
        "label": "Unamortized Debt Issuance Costs",
        "documentation": "Unamortized debt issuance costs."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_UnamortizedDebtIssuanceExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "UnamortizedDebtIssuanceExpense",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageLoanParticipationPurchaseAndSaleAgreementSummaryOfMortgageLoanParticipationPurchaseAndSaleAgreementDetail": {
       "parentTag": "pmt_MortgageLoanParticipationPurchaseAndSaleAgreement",
       "weight": -1.0,
       "order": 1.0
      },
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsDetail": {
       "parentTag": "us-gaap_NotesPayable",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToNotePayableSecuredByCreditRiskTransferAndMortgageServicingAssetsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageLoanParticipationPurchaseAndSaleAgreementSummaryOfMortgageLoanParticipationPurchaseAndSaleAgreementDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Unamortized debt issuance costs",
        "label": "Unamortized Debt Issuance Expense",
        "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": []
    },
    "pmt_UncommittedFacilitiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "UncommittedFacilitiesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Uncommitted Facilities [Member]",
        "documentation": "Uncommitted Facilities [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureEarningsLossPerCommonShareSummaryOfBasicAndDilutedEarningsPerShareDetail": {
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted",
       "weight": -1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureEarningsLossPerCommonShareSummaryOfBasicAndDilutedEarningsPerShareDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Income attributable to participating securities",
        "label": "Undistributed Earnings (Loss) Allocated to Participating Securities, Basic",
        "totalLabel": "Undistributed Earnings (Loss) Allocated to Participating Securities, Basic, Total",
        "documentation": "Amount of undistributed earnings (loss) allocated to participating securities for the basic earnings (loss) per share or per unit calculation under the two-class method."
       }
      }
     },
     "auth_ref": [
      "r273",
      "r276",
      "r277",
      "r443"
     ]
    },
    "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": [
      "r1238"
     ]
    },
    "pmt_UnpaidBalanceMortgageLoansSoldWithContinuingInvolvementDelinquentNinetyDaysOrMoreAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "UnpaidBalanceMortgageLoansSoldWithContinuingInvolvementDelinquentNinetyDaysOrMoreAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLoanSalesSummaryOfCollectionStatusInformationForLoansAccountedForSalesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "90 or more days delinquent:",
        "label": "Unpaid Balance Mortgage Loans Sold With Continuing Involvement Delinquent Ninety Days Or More [Abstract]",
        "documentation": "Unpaid Balance Mortgage Loans Sold With Continuing Involvement Delinquent Ninety Days Or More [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_UnpaidBalanceOfLoansInReferencePoolsSubjectToCreditRiskTransferSecurities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "UnpaidBalanceOfLoansInReferencePoolsSubjectToCreditRiskTransferSecurities",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfKeyUnobservableInputsUsedInValuationCreditRiskTransferStripLiabilitiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInReviewAndApprovalOfBrokerProvidedFairValuesForCRTDerivativesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "UPB of loans in reference pools",
        "label": "Unpaid Balance Of Loans In Reference Pools Subject To Credit Risk Transfer Securities",
        "documentation": "Unpaid balance of loans in reference pools subject to credit risk transfer securities.",
        "verboseLabel": "Unpaid principal balance of loans in the reference pools"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_UnpaidBalanceOfMortgageLoansSubjectToCreditGuaranteeOnCreditRiskTransferAgreementsCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "UnpaidBalanceOfMortgageLoansSubjectToCreditGuaranteeOnCreditRiskTransferAgreementsCurrent",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Current",
        "label": "Unpaid Balance Of Mortgage Loans Subject To Credit Guarantee On Credit Risk Transfer Agreements Current",
        "documentation": "Unpaid balance of mortgage loans subject to credit guarantee on credit risk transfer agreements current."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_UnpaidBalanceOfMortgageLoansSubjectToCreditGuaranteeOnCreditRiskTransferAgreementsDelinquentBankruptcy": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "UnpaidBalanceOfMortgageLoansSubjectToCreditGuaranteeOnCreditRiskTransferAgreementsDelinquentBankruptcy",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Bankruptcy",
        "label": "Unpaid Balance Of Mortgage Loans Subject To Credit Guarantee On Credit Risk Transfer Agreements Delinquent Bankruptcy",
        "documentation": "Unpaid balance of mortgage loans subject to credit guarantee on credit risk transfer agreements delinquent bankruptcy."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_UnpaidBalanceOfMortgageLoansSubjectToCreditGuaranteeOnCreditRiskTransferAgreementsDelinquentForeclosure": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "UnpaidBalanceOfMortgageLoansSubjectToCreditGuaranteeOnCreditRiskTransferAgreementsDelinquentForeclosure",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Foreclosure",
        "label": "Unpaid Balance Of Mortgage Loans Subject To Credit Guarantee On Credit Risk Transfer Agreements Delinquent Foreclosure",
        "documentation": "Unpaid balance of mortgage loans subject to credit guarantee on credit risk transfer agreements delinquent foreclosure."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_UnpaidBalanceOfMortgageLoansUnderlyingCreditGuaranteesOnCreditRiskTransferAgreements": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "UnpaidBalanceOfMortgageLoansUnderlyingCreditGuaranteesOnCreditRiskTransferAgreements",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Unpaid Balance Of Mortgage Loans Underlying Credit Guarantees On Credit Risk Transfer Agreements",
        "documentation": "Unpaid balance of mortgage loans underlying credit guarantees on credit risk transfer agreements.",
        "terseLabel": "Unpaid principal balance of loans underlying credit risk transfer arrangements"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_UnpaidPrincipalBalanceBeforeUnamortizedDebtIssuanceCostsAdjustmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "UnpaidPrincipalBalanceBeforeUnamortizedDebtIssuanceCostsAdjustmentMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Unpaid Principal Balance Before Unamortized Debt Issuance Costs Adjustment [Member]",
        "label": "Unpaid Principal Balance Before Unamortized Debt Issuance Costs Adjustment [Member]",
        "documentation": "Unpaid principal balance before unamortized debt issuance costs adjustment."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_UnpaidPrincipalBalanceMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "UnpaidPrincipalBalanceMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureRegulatoryCapitalAndLiquidityRequirementsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Unpaid Principal Balance [Member]",
        "label": "Unpaid Principal Balance [Member]",
        "documentation": "Unpaid Principal Balance [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_UnpaidPrincipalBalanceOfDelinquentMortgageLoansAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "UnpaidPrincipalBalanceOfDelinquentMortgageLoansAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLoanSalesSummaryOfCollectionStatusInformationForLoansAccountedForSalesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Unpaid Principal Balance Of Delinquent Mortgage Loans [Abstract]",
        "documentation": "Unpaid principal balance of delinquent mortgage loans.",
        "terseLabel": "Collection status (Unpaid principal balance)"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_UnpaidPrincipalBalanceOfLoansFulfilledByPLS": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "UnpaidPrincipalBalanceOfLoansFulfilledByPLS",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureTransactionsWithRelatedPartiesSummaryOfAggregationAndSecuritizationActivitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Unpaid Principal Balance of Loans Fulfilled By PLS",
        "terseLabel": "Unpaid principal balance of loans fulfilled by PLS",
        "documentation": "Unpaid principal balance of loans fulfilled by PLS."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_UnpaidPrincipalBalanceOfLoansRecaptured": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "UnpaidPrincipalBalanceOfLoansRecaptured",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureTransactionsWithRelatedPartiesSummaryOfLoanServicingFeesEarnedAndMortgageServicingRightsRecapturedIncomeEarnedDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Unpaid principal balance of loans recaptured",
        "label": "Unpaid Principal Balance Of Loans Recaptured",
        "documentation": "Unpaid principal balance of loans recaptured."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_UnpaidPrincipalBalanceOfMortgageLoansInBankruptcy": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "UnpaidPrincipalBalanceOfMortgageLoansInBankruptcy",
     "crdr": "debit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLoanSalesSummaryOfCollectionStatusInformationForLoansAccountedForSalesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Bankruptcy",
        "label": "Unpaid Principal Balance Of Mortgage Loans In Bankruptcy",
        "documentation": "Represents unpaid principal balance of mortgage loans in bankruptcy."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_UnsecuredDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "UnsecuredDebt",
     "crdr": "credit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited": {
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Unsecured Debt",
        "totalLabel": "Unsecured Debt, Total",
        "terseLabel": "Unsecured senior notes",
        "documentation": "Including the current and noncurrent portions, carrying value as of the balance sheet date of uncollateralized debt obligations (with maturities initially due after one year or beyond the operating cycle if longer)."
       }
      }
     },
     "auth_ref": [
      "r12",
      "r102",
      "r1524"
     ]
    },
    "pmt_UnsecuredDebtIncludeExchangeableSeniorNotes": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "UnsecuredDebtIncludeExchangeableSeniorNotes",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToUnsecuredSeniorNotesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtScheduleOfContractualMaturitiesOnLongTermDebtObligationsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unsecured Debt balance include Exchangeable Senior Notes and 2023 Senior Notes.",
        "label": "Unsecured Debt Include Exchangeable Senior Notes",
        "terseLabel": "Unpaid principal balance",
        "verboseLabel": "Unsecured senior notes"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_UnsecuredEightPointFiveZeroPercentageSeniorNotesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "UnsecuredEightPointFiveZeroPercentageSeniorNotesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Unsecured Eight Point Five Zero Percentage Senior Notes [Member]",
        "documentation": "Unsecured 8.50% senior notes.",
        "terseLabel": "Unsecured 8.50% Senior Notes [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_UnsecuredNinePointZeroZeroPercentageSeniorNotesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "UnsecuredNinePointZeroZeroPercentageSeniorNotesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Unsecured Nine Point Zero Zero Percentage Senior Notes [Member]",
        "documentation": "Unsecured 9.00% senior notes.",
        "terseLabel": "Unsecured 9.00% Senior Notes [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_UnsecuredSeniorNotesInterestExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "UnsecuredSeniorNotesInterestExpense",
     "crdr": "debit",
     "calculation": {
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail": {
       "parentTag": "us-gaap_InterestExpenseOperating",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Unsecured senior notes interest expense",
        "documentation": "Unsecured senior notes interest expense.",
        "terseLabel": "Unsecured senior notes"
       }
      }
     },
     "auth_ref": []
    },
    "pmt_UnsecuredSeniorNotesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "UnsecuredSeniorNotesMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLongtermDebtSummaryOfFinancialInformationRelatingToExchangeableSeniorNotesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueCarryingAndFairValuesOfNotesPayableSecuredByCreditRiskTransferAndMortgageServicingRightsAndExchangeableSeniorNotesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureNetInterestExpenseSummaryOfNetInterestExpenseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unsecured senior notes.",
        "label": "Unsecured Senior Notes [Member]",
        "terseLabel": "Unsecured Senior Notes",
        "verboseLabel": "Unsecured Senior Notes [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_UnusualRiskOrUncertaintyByNatureAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "UnusualRiskOrUncertaintyByNatureAxis",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLoanSalesSummaryOfCollectionStatusInformationForLoansAccountedForSalesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Unusual Risk or Uncertainty, Nature",
        "label": "Unusual Risk or Uncertainty, Nature [Axis]",
        "documentation": "Information by nature of risk and uncertainty, for example, but not limited to, threat of expropriation of its assets by a foreign government, rapid technological obsolescence in the industry, risk of natural disaster from earthquake or weather events, and availability of or continuation of a labor force at a reasonable cost."
       }
      }
     },
     "auth_ref": [
      "r1371"
     ]
    },
    "us-gaap_UnusualRiskOrUncertaintyNatureDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "UnusualRiskOrUncertaintyNatureDomain",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLoanSalesSummaryOfCollectionStatusInformationForLoansAccountedForSalesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Unusual Risk or Uncertainty, Nature",
        "label": "Unusual Risk or Uncertainty, Nature [Domain]",
        "documentation": "Describes the nature of the unusual risk or uncertainty, such as the threat of expropriation of its assets by a foreign government, rapid technological obsolescence in the industry, risk of natural disaster from earthquake or weather events, and availability of or continuation of a labor force at a reasonable cost."
       }
      }
     },
     "auth_ref": [
      "r1371"
     ]
    },
    "pmt_UpbOfLoansRecaptured": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "UpbOfLoansRecaptured",
     "crdr": "credit",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureMortgageServicingRightsSummaryOfNetLoanServicingFeesRelatingToMsrsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "UPB of loans recaptured",
        "label": "UPB Of Loans Recaptured",
        "documentation": "UPB of loans recaptured."
       }
      }
     },
     "auth_ref": []
    },
    "pmt_VIEsLoanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "VIEsLoanMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureLoansHeldForInvestmentAtFairValueSummaryOfDistributionOfCompanysLoansHeldForInvestmentAtFairValueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "V I Es Loan [Member]",
        "documentation": "VIEs loan member.",
        "terseLabel": "Loans in Variable Interest Entities [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_VariableAnnuityMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "VariableAnnuityMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureShareholdersEquityAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Floating Rate [Member]",
        "label": "Variable Annuity [Member]",
        "documentation": "Contract providing periodic payment that varies according to investment experience of separate account in which amount paid to provide for annuity is allocated."
       }
      }
     },
     "auth_ref": [
      "r1143",
      "r1150",
      "r1557"
     ]
    },
    "us-gaap_VariableInterestEntityDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "VariableInterestEntityDisclosureTextBlock",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntities"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Variable Interest Entities",
        "label": "Variable Interest Entity Disclosure [Text Block]",
        "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": [
      "r93"
     ]
    },
    "us-gaap_VariableInterestEntityLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "VariableInterestEntityLineItems",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureVariableInterestEntitiesSummaryOfInvestmentInSeniorAndSubordinateMbsBackedByAssetsHeldInConsolidatedViesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Variable Interest Entity [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": [
      "r568",
      "r569",
      "r573",
      "r574",
      "r766",
      "r767",
      "r768"
     ]
    },
    "us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "VariableInterestEntityNotPrimaryBeneficiaryMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLoanSalesSummaryOfCashFlowsBetweenCompanyAndTransfereesInTransfersAccountedForSalesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLoanSalesSummaryOfCollectionStatusInformationForLoansAccountedForSalesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Variable Interest Entity, Not Primary Beneficiary [Member]",
        "label": "Variable Interest Entity, Not Primary Beneficiary [Member]",
        "documentation": "Variable Interest Entities (VIE) in which the entity does not have a controlling financial interest (as defined) and of which it is therefore not the primary beneficiary. VIEs of which the entity is not the primary beneficiary because it does not have the power to direct the activities of the VIE that most significantly impact the VIE's economic performance and for which it does not have the obligation to absorb losses of the VIE that could potentially be significant to the VIE or the right to receive benefits from the VIE that could potentially be significant to the VIE are not included in the consolidated financial statements of the entity."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_VariableInterestEntityPrimaryBeneficiaryMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "VariableInterestEntityPrimaryBeneficiaryMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureNetLossesGainsOnInvestmentsAndFinancingsSummaryOfNetLossesGainsOnInvestmentsAndFinancingsDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureVariableInterestEntitiesSummaryOfInvestmentInSeniorAndSubordinateMbsBackedByAssetsHeldInConsolidatedViesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToAssetBackedFinancingOfVIEAtFairValueDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtSummaryOfFinancialInformationRelatingToAssetBackedFinancingOfVIEAtFairValueParentheticalDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesSummaryOfCreditRiskTransferAgreementsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureVariableInterestEntitiesTables",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_StatementConsolidatedBalanceSheetsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Variable Interest Entities [Member]",
        "label": "Variable Interest Entity, Primary Beneficiary [Member]",
        "documentation": "Variable Interest Entities (VIE) in which the entity has a controlling financial interest (as defined) and of which it is therefore the primary beneficiary. A controlling financial interest is determined based on both: (a) the entity's power to direct activities of the VIE that most significantly impact the VIE's economic performance and (b) the entity's obligation to absorb losses of the VIE that could potentially be significant to the VIE or the right to receive benefits from the VIE that could potentially be significant to the VIE. VIEs of which the entity is the primary beneficiary are included in the consolidated financial statements of the entity."
       }
      }
     },
     "auth_ref": [
      "r39",
      "r568",
      "r569",
      "r573",
      "r574"
     ]
    },
    "us-gaap_VariableRateAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "VariableRateAxis",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesNetGainsLossesRecognizedOnDerivativeFinancialInstrumentsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Variable Rate [Axis]",
        "terseLabel": "Variable Rate",
        "documentation": "Information by type of variable rate."
       }
      }
     },
     "auth_ref": [
      "r1286",
      "r1409",
      "r1466"
     ]
    },
    "us-gaap_VariableRateDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "VariableRateDomain",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesNetGainsLossesRecognizedOnDerivativeFinancialInstrumentsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Variable Rate",
        "label": "Variable Rate [Domain]",
        "documentation": "Interest rate that fluctuates over time as a result of an underlying benchmark interest rate or index."
       }
      }
     },
     "auth_ref": [
      "r1286",
      "r1409",
      "r1466"
     ]
    },
    "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": [
      "r1208"
     ]
    },
    "srt_WeightedAverageMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "WeightedAverageMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueKeyInputsUsedInDeterminingFairValueOfIoDetails",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureFairValueSummaryOfKeyUnobservableInputsUsedInValuationCreditRiskTransferStripLiabilitiesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueKeyAssumptionsUsedInDeterminingFairValueOfMsrsAtTimeOfInitialRecognitionDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyAssumptionsUsedInValuationOfMsrsAsOfDatesPresentedAndEffectOnEstimatedFairValueFromAdverseChangesInThoseInputsDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInReviewAndApprovalOfBrokerProvidedFairValuesForCRTDerivativesDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInValuationOfInterestRateLockCommitmentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted Average [Member]",
        "label": "Weighted Average [Member]",
        "documentation": "Average of a range of values, calculated with consideration of proportional relevance."
       }
      }
     },
     "auth_ref": [
      "r514",
      "r515",
      "r676",
      "r771",
      "r1043",
      "r1044",
      "r1130",
      "r1508",
      "r1510",
      "r1513"
     ]
    },
    "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "WeightedAverageNumberOfDilutedSharesOutstanding",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureEarningsLossPerCommonShareSummaryOfBasicAndDilutedEarningsPerShareDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Diluted weighted average shares outstanding",
        "verboseLabel": "Diluted weighted average shares outstanding",
        "terseLabel": "Diluted",
        "label": "Weighted Average Number of Shares Outstanding, Diluted",
        "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": [
      "r265",
      "r279"
     ]
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "WeightedAverageNumberOfSharesOutstandingAbstract",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted average common shares outstanding",
        "label": "Weighted Average Number of Shares Outstanding, Diluted [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "WeightedAverageNumberOfSharesOutstandingBasic",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/DisclosureEarningsLossPerCommonShareSummaryOfBasicAndDilutedEarningsPerShareDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/StatementConsolidatedStatementsOfOperationsUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Weighted average basic shares outstanding",
        "totalLabel": "Weighted Average Number of Shares Outstanding, Basic, Total",
        "terseLabel": "Basic",
        "label": "Weighted Average Number of Shares Outstanding, Basic",
        "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": [
      "r263",
      "r279"
     ]
    },
    "pmt_WellsFargoSecuritiesLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.pennymacmortgageinvestmenttrust.com/20260331",
     "localname": "WellsFargoSecuritiesLLCMember",
     "presentation": [
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfAssetsSoldUnderAgreementsToRepurchaseByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeAssetsFinancialInstrumentsAndCollateralHeldByCounterpartyDetail",
      "http://www.pennymacmortgageinvestmenttrust.com/20260331/taxonomy/role/Role_DisclosureDerivativeAndCreditRiskTransferStripAssetsAndLiabilitiesSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterpartyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Wells Fargo Securities L L C",
        "label": "Wells Fargo Securities L L C [Member]",
        "documentation": "Wells Fargo Securities, LLC."
       }
      }
     },
     "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": [
      "r1206"
     ]
    }
   }
  }
 },
 "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": "2",
   "SubTopic": "405",
   "Topic": "942",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477787/942-405-45-2"
  },
  "r2": {
   "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"
  },
  "r3": {
   "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"
  },
  "r4": {
   "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"
  },
  "r5": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "SubTopic": "10",
   "Topic": "850",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r6": {
   "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"
  },
  "r7": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "SubTopic": "10",
   "Topic": "718",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r8": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(e)",
   "SubTopic": "10",
   "Topic": "718",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r9": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4D",
   "SubTopic": "20",
   "Topic": "860",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4D"
  },
  "r10": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4D",
   "Subparagraph": "(c)(2)",
   "SubTopic": "20",
   "Topic": "860",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481326/860-20-50-4D"
  },
  "r11": {
   "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"
  },
  "r12": {
   "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"
  },
  "r13": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(27))",
   "SubTopic": "10",
   "Topic": "210",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r14": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "12",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-12"
  },
  "r15": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "13",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-13"
  },
  "r16": {
   "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"
  },
  "r17": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "15",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-15"
  },
  "r18": {
   "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"
  },
  "r19": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "21",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-21"
  },
  "r20": {
   "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"
  },
  "r21": {
   "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"
  },
  "r22": {
   "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"
  },
  "r23": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482913/230-10-50-4"
  },
  "r24": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482913/230-10-50-5"
  },
  "r25": {
   "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"
  },
  "r26": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "260",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482662/260-10-50-2"
  },
  "r27": {
   "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"
  },
  "r28": {
   "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"
  },
  "r29": {
   "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"
  },
  "r30": {
   "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"
  },
  "r31": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481142/505-10-45-2"
  },
  "r32": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-10"
  },
  "r33": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-11"
  },
  "r34": {
   "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"
  },
  "r35": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-4"
  },
  "r36": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-5"
  },
  "r37": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-5"
  },
  "r38": {
   "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"
  },
  "r39": {
   "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"
  },
  "r40": {
   "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"
  },
  "r41": {
   "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"
  },
  "r42": {
   "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"
  },
  "r43": {
   "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"
  },
  "r44": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "860",
   "SubTopic": "50",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481229/860-50-50-2"
  },
  "r45": {
   "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"
  },
  "r46": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "470",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477734/942-470-50-3"
  },
  "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(19)(a))",
   "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(19)(b))",
   "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(19))",
   "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(20))",
   "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(21))",
   "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(22)(a)(1))",
   "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(22)(a)(5))",
   "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(22)(a))",
   "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(22)(b))",
   "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(23))",
   "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(24))",
   "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(25))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r59": {
   "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"
  },
  "r60": {
   "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"
  },
  "r61": {
   "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"
  },
  "r62": {
   "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"
  },
  "r63": {
   "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"
  },
  "r64": {
   "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"
  },
  "r65": {
   "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"
  },
  "r66": {
   "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"
  },
  "r67": {
   "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"
  },
  "r68": {
   "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(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r69": {
   "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"
  },
  "r70": {
   "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(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r71": {
   "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(7)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r72": {
   "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(7)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r73": {
   "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(7)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r74": {
   "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"
  },
  "r75": {
   "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(9)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r76": {
   "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"
  },
  "r77": {
   "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"
  },
  "r78": {
   "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"
  },
  "r79": {
   "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"
  },
  "r80": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "25",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-25"
  },
  "r81": {
   "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"
  },
  "r82": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SAB Topic 4.E)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480418/310-10-S99-2"
  },
  "r83": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "440",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/440/tableOfContent"
  },
  "r84": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "470",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/470/tableOfContent"
  },
  "r85": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "25",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481284/470-20-25-10"
  },
  "r86": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "505",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/505/tableOfContent"
  },
  "r87": {
   "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"
  },
  "r88": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-6"
  },
  "r89": {
   "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"
  },
  "r90": {
   "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"
  },
  "r91": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.4-07)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480008/505-10-S99-2"
  },
  "r92": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480429/718-10-50-2"
  },
  "r93": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "810",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/810/tableOfContent"
  },
  "r94": {
   "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(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r95": {
   "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"
  },
  "r96": {
   "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"
  },
  "r97": {
   "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)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r98": {
   "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"
  },
  "r99": {
   "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"
  },
  "r100": {
   "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"
  },
  "r101": {
   "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"
  },
  "r102": {
   "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"
  },
  "r103": {
   "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"
  },
  "r104": {
   "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"
  },
  "r105": {
   "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"
  },
  "r106": {
   "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"
  },
  "r107": {
   "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"
  },
  "r108": {
   "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"
  },
  "r109": {
   "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"
  },
  "r110": {
   "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"
  },
  "r111": {
   "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"
  },
  "r112": {
   "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"
  },
  "r113": {
   "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"
  },
  "r114": {
   "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"
  },
  "r115": {
   "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"
  },
  "r116": {
   "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"
  },
  "r117": {
   "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"
  },
  "r118": {
   "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"
  },
  "r119": {
   "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"
  },
  "r120": {
   "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"
  },
  "r121": {
   "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"
  },
  "r122": {
   "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"
  },
  "r123": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/942-320/tableOfContent"
  },
  "r124": {
   "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"
  },
  "r125": {
   "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"
  },
  "r126": {
   "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"
  },
  "r127": {
   "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"
  },
  "r128": {
   "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"
  },
  "r129": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "29",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481962/310-10-50-29"
  },
  "r130": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "29",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481962/310-10-50-29"
  },
  "r131": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "29",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481962/310-10-50-29"
  },
  "r132": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "SubTopic": "310",
   "Topic": "944",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477409/944-310-45-1"
  },
  "r133": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "SubTopic": "310",
   "Topic": "944",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477409/944-310-45-2"
  },
  "r134": {
   "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"
  },
  "r135": {
   "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"
  },
  "r136": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "SubTopic": "310",
   "Topic": "944",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477363/944-310-50-1"
  },
  "r137": {
   "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"
  },
  "r138": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "a",
   "Publisher": "SEC"
  },
  "r139": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "b",
   "Subparagraph": "(1)",
   "Publisher": "SEC"
  },
  "r140": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1403",
   "Paragraph": "b",
   "Publisher": "SEC"
  },
  "r141": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "04",
   "Paragraph": "a",
   "Publisher": "SEC"
  },
  "r142": {
   "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"
  },
  "r143": {
   "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"
  },
  "r144": {
   "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"
  },
  "r145": {
   "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"
  },
  "r146": {
   "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"
  },
  "r147": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "17",
   "Paragraph": "Column A",
   "Publisher": "SEC"
  },
  "r148": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "17",
   "Paragraph": "Column B",
   "Publisher": "SEC"
  },
  "r149": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "17",
   "Paragraph": "Column C",
   "Publisher": "SEC"
  },
  "r150": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "17",
   "Paragraph": "Column D",
   "Publisher": "SEC"
  },
  "r151": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "17",
   "Paragraph": "Column E",
   "Publisher": "SEC"
  },
  "r152": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "17",
   "Paragraph": "Column F",
   "Publisher": "SEC"
  },
  "r153": {
   "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"
  },
  "r154": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "29",
   "Paragraph": "Column A",
   "Footnote": "2",
   "Publisher": "SEC"
  },
  "r155": {
   "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"
  },
  "r156": {
   "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"
  },
  "r157": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "29",
   "Paragraph": "Column B",
   "Publisher": "SEC"
  },
  "r158": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "29",
   "Paragraph": "Column C",
   "Publisher": "SEC"
  },
  "r159": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "29",
   "Paragraph": "Column D",
   "Publisher": "SEC"
  },
  "r160": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "29",
   "Paragraph": "Column E",
   "Publisher": "SEC"
  },
  "r161": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "29",
   "Paragraph": "Column F",
   "Publisher": "SEC"
  },
  "r162": {
   "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"
  },
  "r163": {
   "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"
  },
  "r164": {
   "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"
  },
  "r165": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "29",
   "Paragraph": "Column G",
   "Publisher": "SEC"
  },
  "r166": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "29",
   "Paragraph": "Column H",
   "Publisher": "SEC"
  },
  "r167": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "29",
   "Publisher": "SEC"
  },
  "r168": {
   "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"
  },
  "r169": {
   "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"
  },
  "r170": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Staff Accounting Bulletin (SAB)",
   "Number": "Topic 11",
   "Section": "L",
   "Publisher": "SEC"
  },
  "r171": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Staff Accounting Bulletin (SAB)",
   "Number": "Topic 11",
   "Section": "M",
   "Paragraph": "Question 2",
   "Publisher": "SEC"
  },
  "r172": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Staff Accounting Bulletin (SAB)",
   "Number": "Topic 5",
   "Section": "Y",
   "Paragraph": "Question 2",
   "Publisher": "SEC"
  },
  "r173": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Staff Accounting Bulletin (SAB)",
   "Number": "Topic 5",
   "Section": "Y",
   "Paragraph": "Question 4",
   "Publisher": "SEC"
  },
  "r174": {
   "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"
  },
  "r175": {
   "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"
  },
  "r176": {
   "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"
  },
  "r177": {
   "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"
  },
  "r178": {
   "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"
  },
  "r179": {
   "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"
  },
  "r180": {
   "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"
  },
  "r181": {
   "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"
  },
  "r182": {
   "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"
  },
  "r183": {
   "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"
  },
  "r184": {
   "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"
  },
  "r185": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "205",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/205/tableOfContent"
  },
  "r186": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "205",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483504/205-10-50-1"
  },
  "r187": {
   "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"
  },
  "r188": {
   "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"
  },
  "r189": {
   "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"
  },
  "r190": {
   "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"
  },
  "r191": {
   "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"
  },
  "r192": {
   "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"
  },
  "r193": {
   "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"
  },
  "r194": {
   "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"
  },
  "r195": {
   "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(22)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r196": {
   "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(27)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r197": {
   "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(28))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r198": {
   "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(29))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r199": {
   "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"
  },
  "r200": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "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"
  },
  "r201": {
   "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"
  },
  "r202": {
   "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"
  },
  "r203": {
   "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"
  },
  "r204": {
   "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"
  },
  "r205": {
   "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"
  },
  "r206": {
   "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"
  },
  "r207": {
   "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"
  },
  "r208": {
   "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"
  },
  "r209": {
   "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"
  },
  "r210": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5",
   "Subparagraph": "(SAB Topic 6.B)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-5"
  },
  "r211": {
   "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"
  },
  "r212": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "23",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-23"
  },
  "r213": {
   "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"
  },
  "r214": {
   "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"
  },
  "r215": {
   "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"
  },
  "r216": {
   "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"
  },
  "r217": {
   "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"
  },
  "r218": {
   "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"
  },
  "r219": {
   "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"
  },
  "r220": {
   "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"
  },
  "r221": {
   "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"
  },
  "r222": {
   "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"
  },
  "r223": {
   "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"
  },
  "r224": {
   "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"
  },
  "r225": {
   "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"
  },
  "r226": {
   "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(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r227": {
   "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"
  },
  "r228": {
   "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"
  },
  "r229": {
   "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"
  },
  "r230": {
   "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"
  },
  "r231": {
   "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"
  },
  "r232": {
   "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"
  },
  "r233": {
   "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"
  },
  "r234": {
   "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"
  },
  "r235": {
   "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)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r236": {
   "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"
  },
  "r237": {
   "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"
  },
  "r238": {
   "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"
  },
  "r239": {
   "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"
  },
  "r240": {
   "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"
  },
  "r241": {
   "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"
  },
  "r242": {
   "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"
  },
  "r243": {
   "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"
  },
  "r244": {
   "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"
  },
  "r245": {
   "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"
  },
  "r246": {
   "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"
  },
  "r247": {
   "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"
  },
  "r248": {
   "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"
  },
  "r249": {
   "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"
  },
  "r250": {
   "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"
  },
  "r251": {
   "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"
  },
  "r252": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-12"
  },
  "r253": {
   "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"
  },
  "r254": {
   "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"
  },
  "r255": {
   "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"
  },
  "r256": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-7"
  },
  "r257": {
   "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"
  },
  "r258": {
   "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"
  },
  "r259": {
   "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"
  },
  "r260": {
   "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"
  },
  "r261": {
   "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"
  },
  "r262": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/260/tableOfContent"
  },
  "r263": {
   "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"
  },
  "r264": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-11"
  },
  "r265": {
   "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"
  },
  "r266": {
   "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"
  },
  "r267": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-3"
  },
  "r268": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "40",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-40"
  },
  "r269": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "40",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-40"
  },
  "r270": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "40",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-40"
  },
  "r271": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "40",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-40"
  },
  "r272": {
   "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"
  },
  "r273": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "60B",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-60B"
  },
  "r274": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "60B",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-60B"
  },
  "r275": {
   "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"
  },
  "r276": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "65",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-65"
  },
  "r277": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "66",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-66"
  },
  "r278": {
   "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"
  },
  "r279": {
   "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"
  },
  "r280": {
   "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"
  },
  "r281": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482662/260-10-50-1"
  },
  "r282": {
   "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"
  },
  "r283": {
   "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"
  },
  "r284": {
   "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"
  },
  "r285": {
   "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"
  },
  "r286": {
   "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"
  },
  "r287": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "272",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482987/272-10-50-1"
  },
  "r288": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "272",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482987/272-10-50-3"
  },
  "r289": {
   "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"
  },
  "r290": {
   "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"
  },
  "r291": {
   "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"
  },
  "r292": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/280/tableOfContent"
  },
  "r293": {
   "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"
  },
  "r294": {
   "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"
  },
  "r295": {
   "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"
  },
  "r296": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-21"
  },
  "r297": {
   "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"
  },
  "r298": {
   "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"
  },
  "r299": {
   "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"
  },
  "r300": {
   "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"
  },
  "r301": {
   "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"
  },
  "r302": {
   "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"
  },
  "r303": {
   "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"
  },
  "r304": {
   "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"
  },
  "r305": {
   "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"
  },
  "r306": {
   "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"
  },
  "r307": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "24",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-24"
  },
  "r308": {
   "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"
  },
  "r309": {
   "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"
  },
  "r310": {
   "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"
  },
  "r311": {
   "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"
  },
  "r312": {
   "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"
  },
  "r313": {
   "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"
  },
  "r314": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "29",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-29"
  },
  "r315": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "29",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-29"
  },
  "r316": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "29",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-29"
  },
  "r317": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "29",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-29"
  },
  "r318": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "29",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-29"
  },
  "r319": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "29",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-29"
  },
  "r320": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "29",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-29"
  },
  "r321": {
   "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"
  },
  "r322": {
   "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"
  },
  "r323": {
   "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"
  },
  "r324": {
   "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"
  },
  "r325": {
   "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"
  },
  "r326": {
   "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"
  },
  "r327": {
   "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"
  },
  "r328": {
   "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"
  },
  "r329": {
   "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"
  },
  "r330": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "36",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482810/280-10-50-36"
  },
  "r331": {
   "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"
  },
  "r332": {
   "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"
  },
  "r333": {
   "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"
  },
  "r334": {
   "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"
  },
  "r335": {
   "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"
  },
  "r336": {
   "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"
  },
  "r337": {
   "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"
  },
  "r338": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481962/310-10-50-11"
  },
  "r339": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/320/tableOfContent"
  },
  "r340": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481830/320-10-45-1"
  },
  "r341": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "10",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481800/320-10-50-10"
  },
  "r342": {
   "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"
  },
  "r343": {
   "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"
  },
  "r344": {
   "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"
  },
  "r345": {
   "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"
  },
  "r346": {
   "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"
  },
  "r347": {
   "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"
  },
  "r348": {
   "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"
  },
  "r349": {
   "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"
  },
  "r350": {
   "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"
  },
  "r351": {
   "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"
  },
  "r352": {
   "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"
  },
  "r353": {
   "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"
  },
  "r354": {
   "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"
  },
  "r355": {
   "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"
  },
  "r356": {
   "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"
  },
  "r357": {
   "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"
  },
  "r358": {
   "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"
  },
  "r359": {
   "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"
  },
  "r360": {
   "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"
  },
  "r361": {
   "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"
  },
  "r362": {
   "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"
  },
  "r363": {
   "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"
  },
  "r364": {
   "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"
  },
  "r365": {
   "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"
  },
  "r366": {
   "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"
  },
  "r367": {
   "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"
  },
  "r368": {
   "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"
  },
  "r369": {
   "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"
  },
  "r370": {
   "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"
  },
  "r371": {
   "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"
  },
  "r372": {
   "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"
  },
  "r373": {
   "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"
  },
  "r374": {
   "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"
  },
  "r375": {
   "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"
  },
  "r376": {
   "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"
  },
  "r377": {
   "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"
  },
  "r378": {
   "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"
  },
  "r379": {
   "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"
  },
  "r380": {
   "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"
  },
  "r381": {
   "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"
  },
  "r382": {
   "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"
  },
  "r383": {
   "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"
  },
  "r384": {
   "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"
  },
  "r385": {
   "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"
  },
  "r386": {
   "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"
  },
  "r387": {
   "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"
  },
  "r388": {
   "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"
  },
  "r389": {
   "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"
  },
  "r390": {
   "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"
  },
  "r391": {
   "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"
  },
  "r392": {
   "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"
  },
  "r393": {
   "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"
  },
  "r394": {
   "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"
  },
  "r395": {
   "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"
  },
  "r396": {
   "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"
  },
  "r397": {
   "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"
  },
  "r398": {
   "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"
  },
  "r399": {
   "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"
  },
  "r400": {
   "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"
  },
  "r401": {
   "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"
  },
  "r402": {
   "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"
  },
  "r403": {
   "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"
  },
  "r404": {
   "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"
  },
  "r405": {
   "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"
  },
  "r406": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483076/450-20-50-1"
  },
  "r407": {
   "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"
  },
  "r408": {
   "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"
  },
  "r409": {
   "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"
  },
  "r410": {
   "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"
  },
  "r411": {
   "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"
  },
  "r412": {
   "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"
  },
  "r413": {
   "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"
  },
  "r414": {
   "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"
  },
  "r415": {
   "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"
  },
  "r416": {
   "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"
  },
  "r417": {
   "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"
  },
  "r418": {
   "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"
  },
  "r419": {
   "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"
  },
  "r420": {
   "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"
  },
  "r421": {
   "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"
  },
  "r422": {
   "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"
  },
  "r423": {
   "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"
  },
  "r424": {
   "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"
  },
  "r425": {
   "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"
  },
  "r426": {
   "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"
  },
  "r427": {
   "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"
  },
  "r428": {
   "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"
  },
  "r429": {
   "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"
  },
  "r430": {
   "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"
  },
  "r431": {
   "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"
  },
  "r432": {
   "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"
  },
  "r433": {
   "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"
  },
  "r434": {
   "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"
  },
  "r435": {
   "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"
  },
  "r436": {
   "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"
  },
  "r437": {
   "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"
  },
  "r438": {
   "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"
  },
  "r439": {
   "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"
  },
  "r440": {
   "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"
  },
  "r441": {
   "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"
  },
  "r442": {
   "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"
  },
  "r443": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481679/480-10-45-4"
  },
  "r444": {
   "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"
  },
  "r445": {
   "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"
  },
  "r446": {
   "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"
  },
  "r447": {
   "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"
  },
  "r448": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479857/480-10-S50-2"
  },
  "r449": {
   "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"
  },
  "r450": {
   "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"
  },
  "r451": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(01)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480244/480-10-S99-1"
  },
  "r452": {
   "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"
  },
  "r453": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(04)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480244/480-10-S99-1"
  },
  "r454": {
   "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"
  },
  "r455": {
   "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"
  },
  "r456": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-13"
  },
  "r457": {
   "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"
  },
  "r458": {
   "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"
  },
  "r459": {
   "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"
  },
  "r460": {
   "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"
  },
  "r461": {
   "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"
  },
  "r462": {
   "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"
  },
  "r463": {
   "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"
  },
  "r464": {
   "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"
  },
  "r465": {
   "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"
  },
  "r466": {
   "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"
  },
  "r467": {
   "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"
  },
  "r468": {
   "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"
  },
  "r469": {
   "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"
  },
  "r470": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-2"
  },
  "r471": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-4"
  },
  "r472": {
   "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"
  },
  "r473": {
   "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"
  },
  "r474": {
   "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"
  },
  "r475": {
   "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"
  },
  "r476": {
   "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"
  },
  "r477": {
   "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"
  },
  "r478": {
   "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"
  },
  "r479": {
   "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"
  },
  "r480": {
   "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"
  },
  "r481": {
   "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"
  },
  "r482": {
   "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"
  },
  "r483": {
   "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"
  },
  "r484": {
   "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"
  },
  "r485": {
   "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"
  },
  "r486": {
   "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"
  },
  "r487": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/718/tableOfContent"
  },
  "r488": {
   "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"
  },
  "r489": {
   "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"
  },
  "r490": {
   "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"
  },
  "r491": {
   "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"
  },
  "r492": {
   "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"
  },
  "r493": {
   "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"
  },
  "r494": {
   "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"
  },
  "r495": {
   "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"
  },
  "r496": {
   "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"
  },
  "r497": {
   "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"
  },
  "r498": {
   "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"
  },
  "r499": {
   "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"
  },
  "r500": {
   "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"
  },
  "r501": {
   "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"
  },
  "r502": {
   "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"
  },
  "r503": {
   "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"
  },
  "r504": {
   "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"
  },
  "r505": {
   "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"
  },
  "r506": {
   "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"
  },
  "r507": {
   "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"
  },
  "r508": {
   "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"
  },
  "r509": {
   "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"
  },
  "r510": {
   "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"
  },
  "r511": {
   "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"
  },
  "r512": {
   "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"
  },
  "r513": {
   "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"
  },
  "r514": {
   "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"
  },
  "r515": {
   "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"
  },
  "r516": {
   "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"
  },
  "r517": {
   "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"
  },
  "r518": {
   "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"
  },
  "r519": {
   "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"
  },
  "r520": {
   "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"
  },
  "r521": {
   "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"
  },
  "r522": {
   "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"
  },
  "r523": {
   "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"
  },
  "r524": {
   "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"
  },
  "r525": {
   "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"
  },
  "r526": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/740/tableOfContent"
  },
  "r527": {
   "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"
  },
  "r528": {
   "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"
  },
  "r529": {
   "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"
  },
  "r530": {
   "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"
  },
  "r531": {
   "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"
  },
  "r532": {
   "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"
  },
  "r533": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482685/740-10-50-2"
  },
  "r534": {
   "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"
  },
  "r535": {
   "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"
  },
  "r536": {
   "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"
  },
  "r537": {
   "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"
  },
  "r538": {
   "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"
  },
  "r539": {
   "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"
  },
  "r540": {
   "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"
  },
  "r541": {
   "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"
  },
  "r542": {
   "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"
  },
  "r543": {
   "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"
  },
  "r544": {
   "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"
  },
  "r545": {
   "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"
  },
  "r546": {
   "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"
  },
  "r547": {
   "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"
  },
  "r548": {
   "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"
  },
  "r549": {
   "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"
  },
  "r550": {
   "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"
  },
  "r551": {
   "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"
  },
  "r552": {
   "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"
  },
  "r553": {
   "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"
  },
  "r554": {
   "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"
  },
  "r555": {
   "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"
  },
  "r556": {
   "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"
  },
  "r557": {
   "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"
  },
  "r558": {
   "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"
  },
  "r559": {
   "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"
  },
  "r560": {
   "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"
  },
  "r561": {
   "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"
  },
  "r562": {
   "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"
  },
  "r563": {
   "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"
  },
  "r564": {
   "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"
  },
  "r565": {
   "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"
  },
  "r566": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "808",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479402/808-10-50-1"
  },
  "r567": {
   "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"
  },
  "r568": {
   "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"
  },
  "r569": {
   "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"
  },
  "r570": {
   "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"
  },
  "r571": {
   "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"
  },
  "r572": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2AG",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481203/810-10-50-2AG"
  },
  "r573": {
   "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"
  },
  "r574": {
   "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"
  },
  "r575": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/815/tableOfContent"
  },
  "r576": {
   "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"
  },
  "r577": {
   "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"
  },
  "r578": {
   "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"
  },
  "r579": {
   "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"
  },
  "r580": {
   "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"
  },
  "r581": {
   "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"
  },
  "r582": {
   "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"
  },
  "r583": {
   "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"
  },
  "r584": {
   "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"
  },
  "r585": {
   "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"
  },
  "r586": {
   "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"
  },
  "r587": {
   "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"
  },
  "r588": {
   "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"
  },
  "r589": {
   "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"
  },
  "r590": {
   "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"
  },
  "r591": {
   "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"
  },
  "r592": {
   "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"
  },
  "r593": {
   "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"
  },
  "r594": {
   "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"
  },
  "r595": {
   "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"
  },
  "r596": {
   "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"
  },
  "r597": {
   "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"
  },
  "r598": {
   "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"
  },
  "r599": {
   "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"
  },
  "r600": {
   "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"
  },
  "r601": {
   "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"
  },
  "r602": {
   "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"
  },
  "r603": {
   "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"
  },
  "r604": {
   "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"
  },
  "r605": {
   "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"
  },
  "r606": {
   "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"
  },
  "r607": {
   "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"
  },
  "r608": {
   "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"
  },
  "r609": {
   "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"
  },
  "r610": {
   "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"
  },
  "r611": {
   "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"
  },
  "r612": {
   "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"
  },
  "r613": {
   "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"
  },
  "r614": {
   "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"
  },
  "r615": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4F",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4F"
  },
  "r616": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4F",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4F"
  },
  "r617": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4F",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4F"
  },
  "r618": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4F",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4F"
  },
  "r619": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4F",
   "Subparagraph": "(a)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4F"
  },
  "r620": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4F",
   "Subparagraph": "(a)(5)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4F"
  },
  "r621": {
   "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"
  },
  "r622": {
   "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"
  },
  "r623": {
   "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"
  },
  "r624": {
   "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"
  },
  "r625": {
   "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"
  },
  "r626": {
   "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"
  },
  "r627": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "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"
  },
  "r628": {
   "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"
  },
  "r629": {
   "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"
  },
  "r630": {
   "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"
  },
  "r631": {
   "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"
  },
  "r632": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "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"
  },
  "r633": {
   "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"
  },
  "r634": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r635": {
   "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"
  },
  "r636": {
   "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"
  },
  "r637": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r638": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "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"
  },
  "r639": {
   "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"
  },
  "r640": {
   "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"
  },
  "r641": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "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"
  },
  "r642": {
   "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"
  },
  "r643": {
   "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"
  },
  "r644": {
   "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"
  },
  "r645": {
   "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"
  },
  "r646": {
   "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"
  },
  "r647": {
   "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"
  },
  "r648": {
   "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"
  },
  "r649": {
   "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"
  },
  "r650": {
   "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"
  },
  "r651": {
   "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"
  },
  "r652": {
   "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"
  },
  "r653": {
   "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"
  },
  "r654": {
   "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"
  },
  "r655": {
   "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"
  },
  "r656": {
   "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"
  },
  "r657": {
   "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"
  },
  "r658": {
   "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"
  },
  "r659": {
   "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"
  },
  "r660": {
   "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"
  },
  "r661": {
   "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"
  },
  "r662": {
   "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"
  },
  "r663": {
   "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"
  },
  "r664": {
   "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"
  },
  "r665": {
   "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"
  },
  "r666": {
   "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"
  },
  "r667": {
   "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"
  },
  "r668": {
   "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"
  },
  "r669": {
   "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"
  },
  "r670": {
   "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"
  },
  "r671": {
   "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"
  },
  "r672": {
   "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"
  },
  "r673": {
   "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"
  },
  "r674": {
   "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"
  },
  "r675": {
   "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"
  },
  "r676": {
   "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"
  },
  "r677": {
   "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"
  },
  "r678": {
   "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"
  },
  "r679": {
   "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"
  },
  "r680": {
   "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"
  },
  "r681": {
   "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"
  },
  "r682": {
   "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"
  },
  "r683": {
   "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"
  },
  "r684": {
   "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"
  },
  "r685": {
   "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"
  },
  "r686": {
   "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"
  },
  "r687": {
   "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"
  },
  "r688": {
   "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"
  },
  "r689": {
   "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"
  },
  "r690": {
   "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"
  },
  "r691": {
   "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"
  },
  "r692": {
   "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"
  },
  "r693": {
   "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"
  },
  "r694": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6B",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6B"
  },
  "r695": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6B",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6B"
  },
  "r696": {
   "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"
  },
  "r697": {
   "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"
  },
  "r698": {
   "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"
  },
  "r699": {
   "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"
  },
  "r700": {
   "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"
  },
  "r701": {
   "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"
  },
  "r702": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "20",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-20"
  },
  "r703": {
   "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"
  },
  "r704": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-21"
  },
  "r705": {
   "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"
  },
  "r706": {
   "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"
  },
  "r707": {
   "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"
  },
  "r708": {
   "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"
  },
  "r709": {
   "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"
  },
  "r710": {
   "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"
  },
  "r711": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "28",
   "Subparagraph": "(e)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-28"
  },
  "r712": {
   "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"
  },
  "r713": {
   "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"
  },
  "r714": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-30"
  },
  "r715": {
   "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"
  },
  "r716": {
   "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"
  },
  "r717": {
   "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"
  },
  "r718": {
   "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"
  },
  "r719": {
   "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"
  },
  "r720": {
   "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"
  },
  "r721": {
   "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"
  },
  "r722": {
   "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"
  },
  "r723": {
   "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"
  },
  "r724": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "835",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483013/835-20-50-1"
  },
  "r725": {
   "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"
  },
  "r726": {
   "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"
  },
  "r727": {
   "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"
  },
  "r728": {
   "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"
  },
  "r729": {
   "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"
  },
  "r730": {
   "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"
  },
  "r731": {
   "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"
  },
  "r732": {
   "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"
  },
  "r733": {
   "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"
  },
  "r734": {
   "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"
  },
  "r735": {
   "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"
  },
  "r736": {
   "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"
  },
  "r737": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/850/tableOfContent"
  },
  "r738": {
   "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"
  },
  "r739": {
   "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"
  },
  "r740": {
   "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"
  },
  "r741": {
   "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"
  },
  "r742": {
   "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"
  },
  "r743": {
   "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"
  },
  "r744": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "852",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "14",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481435/852-10-45-14"
  },
  "r745": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "855",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/855/tableOfContent"
  },
  "r746": {
   "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"
  },
  "r747": {
   "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"
  },
  "r748": {
   "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"
  },
  "r749": {
   "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"
  },
  "r750": {
   "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"
  },
  "r751": {
   "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"
  },
  "r752": {
   "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"
  },
  "r753": {
   "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"
  },
  "r754": {
   "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"
  },
  "r755": {
   "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"
  },
  "r756": {
   "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"
  },
  "r757": {
   "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"
  },
  "r758": {
   "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"
  },
  "r759": {
   "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"
  },
  "r760": {
   "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"
  },
  "r761": {
   "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"
  },
  "r762": {
   "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"
  },
  "r763": {
   "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"
  },
  "r764": {
   "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"
  },
  "r765": {
   "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"
  },
  "r766": {
   "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"
  },
  "r767": {
   "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"
  },
  "r768": {
   "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"
  },
  "r769": {
   "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"
  },
  "r770": {
   "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"
  },
  "r771": {
   "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"
  },
  "r772": {
   "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"
  },
  "r773": {
   "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"
  },
  "r774": {
   "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"
  },
  "r775": {
   "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"
  },
  "r776": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "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"
  },
  "r777": {
   "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"
  },
  "r778": {
   "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"
  },
  "r779": {
   "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"
  },
  "r780": {
   "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"
  },
  "r781": {
   "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"
  },
  "r782": {
   "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"
  },
  "r783": {
   "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"
  },
  "r784": {
   "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"
  },
  "r785": {
   "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"
  },
  "r786": {
   "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"
  },
  "r787": {
   "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"
  },
  "r788": {
   "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"
  },
  "r789": {
   "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"
  },
  "r790": {
   "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"
  },
  "r791": {
   "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"
  },
  "r792": {
   "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"
  },
  "r793": {
   "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"
  },
  "r794": {
   "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"
  },
  "r795": {
   "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"
  },
  "r796": {
   "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"
  },
  "r797": {
   "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"
  },
  "r798": {
   "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"
  },
  "r799": {
   "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"
  },
  "r800": {
   "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"
  },
  "r801": {
   "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"
  },
  "r802": {
   "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"
  },
  "r803": {
   "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"
  },
  "r804": {
   "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"
  },
  "r805": {
   "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"
  },
  "r806": {
   "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"
  },
  "r807": {
   "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"
  },
  "r808": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477270/942-505-50-1B"
  },
  "r809": {
   "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"
  },
  "r810": {
   "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"
  },
  "r811": {
   "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"
  },
  "r812": {
   "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)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r813": {
   "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"
  },
  "r814": {
   "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"
  },
  "r815": {
   "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"
  },
  "r816": {
   "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"
  },
  "r817": {
   "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"
  },
  "r818": {
   "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"
  },
  "r819": {
   "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"
  },
  "r820": {
   "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)(21))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r821": {
   "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"
  },
  "r822": {
   "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"
  },
  "r823": {
   "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"
  },
  "r824": {
   "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"
  },
  "r825": {
   "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"
  },
  "r826": {
   "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"
  },
  "r827": {
   "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"
  },
  "r828": {
   "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"
  },
  "r829": {
   "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"
  },
  "r830": {
   "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"
  },
  "r831": {
   "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(3)(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r832": {
   "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(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r833": {
   "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(7)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477250/944-220-S99-1"
  },
  "r834": {
   "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"
  },
  "r835": {
   "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"
  },
  "r836": {
   "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"
  },
  "r837": {
   "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"
  },
  "r838": {
   "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"
  },
  "r839": {
   "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"
  },
  "r840": {
   "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"
  },
  "r841": {
   "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"
  },
  "r842": {
   "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"
  },
  "r843": {
   "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"
  },
  "r844": {
   "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"
  },
  "r845": {
   "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"
  },
  "r846": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-17(Column A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-2"
  },
  "r847": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-17(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-2"
  },
  "r848": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-17(Column C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-2"
  },
  "r849": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-17(Column D))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-2"
  },
  "r850": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-17(Column E))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-2"
  },
  "r851": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-17(Column F))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477965/944-235-S99-2"
  },
  "r852": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4E",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480081/944-40-50-4E"
  },
  "r853": {
   "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"
  },
  "r854": {
   "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"
  },
  "r855": {
   "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"
  },
  "r856": {
   "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"
  },
  "r857": {
   "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"
  },
  "r858": {
   "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"
  },
  "r859": {
   "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"
  },
  "r860": {
   "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"
  },
  "r861": {
   "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"
  },
  "r862": {
   "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"
  },
  "r863": {
   "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"
  },
  "r864": {
   "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"
  },
  "r865": {
   "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"
  },
  "r866": {
   "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"
  },
  "r867": {
   "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"
  },
  "r868": {
   "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"
  },
  "r869": {
   "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"
  },
  "r870": {
   "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"
  },
  "r871": {
   "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"
  },
  "r872": {
   "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"
  },
  "r873": {
   "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"
  },
  "r874": {
   "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"
  },
  "r875": {
   "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(i)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479886/946-10-S99-3"
  },
  "r876": {
   "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(i)(2)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479886/946-10-S99-3"
  },
  "r877": {
   "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(i)(2)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479886/946-10-S99-3"
  },
  "r878": {
   "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(i)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479886/946-10-S99-3"
  },
  "r879": {
   "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"
  },
  "r880": {
   "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"
  },
  "r881": {
   "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"
  },
  "r882": {
   "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"
  },
  "r883": {
   "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"
  },
  "r884": {
   "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"
  },
  "r885": {
   "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"
  },
  "r886": {
   "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"
  },
  "r887": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-2"
  },
  "r888": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "27",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-27"
  },
  "r889": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-7"
  },
  "r890": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-7"
  },
  "r891": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-7"
  },
  "r892": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-7"
  },
  "r893": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-7"
  },
  "r894": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-7"
  },
  "r895": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-7"
  },
  "r896": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478494/946-205-50-7"
  },
  "r897": {
   "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"
  },
  "r898": {
   "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"
  },
  "r899": {
   "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"
  },
  "r900": {
   "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"
  },
  "r901": {
   "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"
  },
  "r902": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478795/946-210-50-1"
  },
  "r903": {
   "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"
  },
  "r904": {
   "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"
  },
  "r905": {
   "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"
  },
  "r906": {
   "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"
  },
  "r907": {
   "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"
  },
  "r908": {
   "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"
  },
  "r909": {
   "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"
  },
  "r910": {
   "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"
  },
  "r911": {
   "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"
  },
  "r912": {
   "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)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-1"
  },
  "r913": {
   "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"
  },
  "r914": {
   "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"
  },
  "r915": {
   "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"
  },
  "r916": {
   "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"
  },
  "r917": {
   "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"
  },
  "r918": {
   "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"
  },
  "r919": {
   "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"
  },
  "r920": {
   "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"
  },
  "r921": {
   "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"
  },
  "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(19))",
   "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(2)(a))",
   "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(2)(b))",
   "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(3)(a))",
   "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(3)(b))",
   "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(3)(c))",
   "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(4))",
   "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(5)(a)(5))",
   "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(6)(b))",
   "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(6)(c))",
   "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(6)(d))",
   "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(6)(e))",
   "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(8))",
   "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(9)(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(9)(c))",
   "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(9)(d))",
   "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(9)(e))",
   "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": "2",
   "Subparagraph": "(SX 210.6-05(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479170/946-210-S99-2"
  },
  "r940": {
   "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"
  },
  "r941": {
   "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"
  },
  "r942": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478297/946-220-50-3"
  },
  "r943": {
   "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"
  },
  "r944": {
   "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)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-1"
  },
  "r945": {
   "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"
  },
  "r946": {
   "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"
  },
  "r947": {
   "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"
  },
  "r948": {
   "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"
  },
  "r949": {
   "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"
  },
  "r950": {
   "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"
  },
  "r951": {
   "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"
  },
  "r952": {
   "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"
  },
  "r953": {
   "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"
  },
  "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(7)(a)(3))",
   "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(7)(a)(5))",
   "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(7)(a)(6))",
   "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(7)(a)(7))",
   "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(7)(c)(1))",
   "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(7)(c)(2))",
   "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(7)(c)(3))",
   "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(7)(c)(5))",
   "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(7)(c)(6))",
   "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)(c)(7))",
   "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(9))",
   "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": "3",
   "Subparagraph": "(SX 210.6-09(1)(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479134/946-220-S99-3"
  },
  "r966": {
   "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"
  },
  "r967": {
   "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"
  },
  "r968": {
   "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"
  },
  "r969": {
   "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"
  },
  "r970": {
   "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"
  },
  "r971": {
   "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"
  },
  "r972": {
   "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"
  },
  "r973": {
   "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"
  },
  "r974": {
   "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"
  },
  "r975": {
   "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)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r976": {
   "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"
  },
  "r977": {
   "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 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-1"
  },
  "r978": {
   "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"
  },
  "r979": {
   "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"
  },
  "r980": {
   "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"
  },
  "r981": {
   "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 3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-2"
  },
  "r982": {
   "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"
  },
  "r983": {
   "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 1)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r984": {
   "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 3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-3"
  },
  "r985": {
   "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"
  },
  "r986": {
   "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"
  },
  "r987": {
   "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"
  },
  "r988": {
   "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"
  },
  "r989": {
   "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"
  },
  "r990": {
   "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"
  },
  "r991": {
   "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"
  },
  "r992": {
   "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"
  },
  "r993": {
   "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"
  },
  "r994": {
   "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"
  },
  "r995": {
   "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"
  },
  "r996": {
   "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"
  },
  "r997": {
   "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"
  },
  "r998": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5D",
   "Subparagraph": "(SX 210.12-13D(Column A)(Footnote 2)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-5D"
  },
  "r999": {
   "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"
  },
  "r1000": {
   "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 3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r1001": {
   "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"
  },
  "r1002": {
   "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"
  },
  "r1003": {
   "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)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r1004": {
   "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"
  },
  "r1005": {
   "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 6)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-6"
  },
  "r1006": {
   "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"
  },
  "r1007": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "7",
   "Subparagraph": "(SX 210.12-15(Column A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-7"
  },
  "r1008": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "7",
   "Subparagraph": "(SX 210.12-15(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-7"
  },
  "r1009": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "7",
   "Subparagraph": "(SX 210.12-15(Column C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-7"
  },
  "r1010": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "7",
   "Subparagraph": "(SX 210.12-15(Column D))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477271/946-320-S99-7"
  },
  "r1011": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478448/946-505-50-1"
  },
  "r1012": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478448/946-505-50-2"
  },
  "r1013": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478448/946-505-50-2"
  },
  "r1014": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478448/946-505-50-2"
  },
  "r1015": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478448/946-505-50-2"
  },
  "r1016": {
   "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"
  },
  "r1017": {
   "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"
  },
  "r1018": {
   "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"
  },
  "r1019": {
   "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"
  },
  "r1020": {
   "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"
  },
  "r1021": {
   "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"
  },
  "r1022": {
   "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"
  },
  "r1023": {
   "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"
  },
  "r1024": {
   "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"
  },
  "r1025": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "948",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477011/948-310-45-1"
  },
  "r1026": {
   "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"
  },
  "r1027": {
   "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 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479628/948-310-S99-1"
  },
  "r1028": {
   "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"
  },
  "r1029": {
   "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"
  },
  "r1030": {
   "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"
  },
  "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 C))",
   "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 D))",
   "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 E))",
   "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 F))",
   "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 G))",
   "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(Column H))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479628/948-310-S99-1"
  },
  "r1040": {
   "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"
  },
  "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 E)(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478979/970-360-S99-1"
  },
  "r1043": {
   "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"
  },
  "r1044": {
   "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"
  },
  "r1045": {
   "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"
  },
  "r1046": {
   "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"
  },
  "r1047": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "13H",
   "Subparagraph": "(a)",
   "SubTopic": "40",
   "Topic": "944",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480046/944-40-55-13H"
  },
  "r1048": {
   "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"
  },
  "r1049": {
   "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"
  },
  "r1050": {
   "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"
  },
  "r1051": {
   "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"
  },
  "r1052": {
   "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"
  },
  "r1053": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476153/220-40-55-11"
  },
  "r1054": {
   "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"
  },
  "r1055": {
   "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"
  },
  "r1056": {
   "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"
  },
  "r1057": {
   "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"
  },
  "r1058": {
   "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"
  },
  "r1059": {
   "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"
  },
  "r1060": {
   "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"
  },
  "r1061": {
   "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"
  },
  "r1062": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "47",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-47"
  },
  "r1063": {
   "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"
  },
  "r1064": {
   "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"
  },
  "r1065": {
   "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"
  },
  "r1066": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "47",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-47"
  },
  "r1067": {
   "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"
  },
  "r1068": {
   "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"
  },
  "r1069": {
   "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"
  },
  "r1070": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "54",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-54"
  },
  "r1071": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "54",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-54"
  },
  "r1072": {
   "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"
  },
  "r1073": {
   "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"
  },
  "r1074": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "54",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482785/280-10-55-54"
  },
  "r1075": {
   "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"
  },
  "r1076": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-12"
  },
  "r1077": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-12"
  },
  "r1078": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-12"
  },
  "r1079": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-12"
  },
  "r1080": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-12"
  },
  "r1081": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-12"
  },
  "r1082": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Subparagraph": "(b)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-12"
  },
  "r1083": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-12"
  },
  "r1084": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-12"
  },
  "r1085": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Subparagraph": "(d)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-12"
  },
  "r1086": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Subparagraph": "(d)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-12"
  },
  "r1087": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Subparagraph": "(d)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-12"
  },
  "r1088": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Subparagraph": "(d)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-12"
  },
  "r1089": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Subparagraph": "(e)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-12"
  },
  "r1090": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Subparagraph": "(e)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-12"
  },
  "r1091": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "15",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-15"
  },
  "r1092": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "15",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-15"
  },
  "r1093": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "15",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-15"
  },
  "r1094": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "15",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-15"
  },
  "r1095": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "79",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-79"
  },
  "r1096": {
   "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"
  },
  "r1097": {
   "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"
  },
  "r1098": {
   "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"
  },
  "r1099": {
   "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"
  },
  "r1100": {
   "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"
  },
  "r1101": {
   "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"
  },
  "r1102": {
   "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"
  },
  "r1103": {
   "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"
  },
  "r1104": {
   "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"
  },
  "r1105": {
   "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"
  },
  "r1106": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "91",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479777/606-10-55-91"
  },
  "r1107": {
   "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"
  },
  "r1108": {
   "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"
  },
  "r1109": {
   "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"
  },
  "r1110": {
   "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"
  },
  "r1111": {
   "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"
  },
  "r1112": {
   "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"
  },
  "r1113": {
   "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"
  },
  "r1114": {
   "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"
  },
  "r1115": {
   "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"
  },
  "r1116": {
   "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"
  },
  "r1117": {
   "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"
  },
  "r1118": {
   "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"
  },
  "r1119": {
   "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"
  },
  "r1120": {
   "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"
  },
  "r1121": {
   "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"
  },
  "r1122": {
   "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"
  },
  "r1123": {
   "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"
  },
  "r1124": {
   "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"
  },
  "r1125": {
   "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"
  },
  "r1126": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "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"
  },
  "r1127": {
   "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"
  },
  "r1128": {
   "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"
  },
  "r1129": {
   "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"
  },
  "r1130": {
   "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"
  },
  "r1131": {
   "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"
  },
  "r1132": {
   "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"
  },
  "r1133": {
   "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"
  },
  "r1134": {
   "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"
  },
  "r1135": {
   "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"
  },
  "r1136": {
   "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"
  },
  "r1137": {
   "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"
  },
  "r1138": {
   "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"
  },
  "r1139": {
   "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"
  },
  "r1140": {
   "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"
  },
  "r1141": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479401/944-30-55-2"
  },
  "r1142": {
   "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"
  },
  "r1143": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "29G",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480046/944-40-55-29G"
  },
  "r1144": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "9C",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480046/944-40-55-9C"
  },
  "r1145": {
   "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"
  },
  "r1146": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "9E",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480046/944-40-55-9E"
  },
  "r1147": {
   "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"
  },
  "r1148": {
   "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"
  },
  "r1149": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "14",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480078/944-80-55-14"
  },
  "r1150": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "18",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480078/944-80-55-18"
  },
  "r1151": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "9",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480078/944-80-55-9"
  },
  "r1152": {
   "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"
  },
  "r1153": {
   "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"
  },
  "r1154": {
   "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"
  },
  "r1155": {
   "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"
  },
  "r1156": {
   "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"
  },
  "r1157": {
   "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"
  },
  "r1158": {
   "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"
  },
  "r1159": {
   "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"
  },
  "r1160": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "405",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478790/946-405-45-2"
  },
  "r1161": {
   "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"
  },
  "r1162": {
   "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"
  },
  "r1163": {
   "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"
  },
  "r1164": {
   "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"
  },
  "r1165": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "b"
  },
  "r1166": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r1167": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "d1-1"
  },
  "r1168": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 10-Q",
   "Number": "240",
   "Section": "308",
   "Subsection": "a"
  },
  "r1169": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "16",
   "Subsection": "J",
   "Paragraph": "a"
  },
  "r1170": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1"
  },
  "r1171": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "i"
  },
  "r1172": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "A"
  },
  "r1173": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "B"
  },
  "r1174": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "C"
  },
  "r1175": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "D"
  },
  "r1176": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "i",
   "Sentence": "E"
  },
  "r1177": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "ii"
  },
  "r1178": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "iii"
  },
  "r1179": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Section": "6",
   "Subsection": "F",
   "Paragraph": "2"
  },
  "r1180": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a"
  },
  "r1181": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "1"
  },
  "r1182": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "i"
  },
  "r1183": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "ii"
  },
  "r1184": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "iii"
  },
  "r1185": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "iv"
  },
  "r1186": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "v"
  },
  "r1187": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "2"
  },
  "r1188": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "3"
  },
  "r1189": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "b"
  },
  "r1190": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a"
  },
  "r1191": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "1"
  },
  "r1192": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "i"
  },
  "r1193": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "ii"
  },
  "r1194": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "iii"
  },
  "r1195": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "iv"
  },
  "r1196": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "1",
   "Sentence": "v"
  },
  "r1197": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "2"
  },
  "r1198": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "3"
  },
  "r1199": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "b"
  },
  "r1200": {
   "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"
  },
  "r1201": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v"
  },
  "r1202": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "1"
  },
  "r1203": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "ii"
  },
  "r1204": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii"
  },
  "r1205": {
   "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"
  },
  "r1206": {
   "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"
  },
  "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",
   "Sentence": "C",
   "Clause": "1",
   "Subclause": "ii"
  },
  "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": "C",
   "Clause": "1",
   "Subclause": "iii"
  },
  "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": "iv"
  },
  "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": "v"
  },
  "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": "vi"
  },
  "r1212": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "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": "vi"
  },
  "r1214": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "3"
  },
  "r1215": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "4"
  },
  "r1216": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "5",
   "Subparagraph": "i"
  },
  "r1217": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "5",
   "Subparagraph": "ii"
  },
  "r1218": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "5",
   "Subparagraph": "iii"
  },
  "r1219": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "5",
   "Subparagraph": "iv"
  },
  "r1220": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "6"
  },
  "r1221": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "6",
   "Subparagraph": "i"
  },
  "r1222": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1"
  },
  "r1223": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "i"
  },
  "r1224": {
   "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"
  },
  "r1225": {
   "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"
  },
  "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",
   "Sentence": "C"
  },
  "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": "D"
  },
  "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": "E"
  },
  "r1229": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "ii"
  },
  "r1230": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "iii"
  },
  "r1231": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "2"
  },
  "r1232": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "x",
   "Paragraph": "1"
  },
  "r1233": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "x",
   "Paragraph": "2"
  },
  "r1234": {
   "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"
  },
  "r1235": {
   "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"
  },
  "r1236": {
   "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"
  },
  "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": "E"
  },
  "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": "F"
  },
  "r1239": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "a"
  },
  "r1240": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "a",
   "Paragraph": "1"
  },
  "r1241": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "a",
   "Paragraph": "2",
   "Subparagraph": "A"
  },
  "r1242": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "a",
   "Paragraph": "2",
   "Subparagraph": "B"
  },
  "r1243": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "a",
   "Paragraph": "2",
   "Subparagraph": "C"
  },
  "r1244": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "a",
   "Paragraph": "2",
   "Subparagraph": "D"
  },
  "r1245": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "408",
   "Subsection": "b",
   "Paragraph": "1"
  },
  "r1246": {
   "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"
  },
  "r1247": {
   "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"
  },
  "r1248": {
   "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"
  },
  "r1249": {
   "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"
  },
  "r1250": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-T",
   "Number": "232",
   "Section": "405"
  },
  "r1251": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "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"
  },
  "r1252": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "60",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-60"
  },
  "r1253": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "272",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483014/272-10-45-3"
  },
  "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": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "23",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-23"
  },
  "r1256": {
   "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"
  },
  "r1257": {
   "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"
  },
  "r1258": {
   "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"
  },
  "r1259": {
   "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"
  },
  "r1260": {
   "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"
  },
  "r1261": {
   "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"
  },
  "r1262": {
   "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"
  },
  "r1263": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(a)",
   "SubTopic": "40",
   "Topic": "220",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r1264": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "SubTopic": "10",
   "Topic": "250",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-7"
  },
  "r1265": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(b)",
   "SubTopic": "10",
   "Topic": "250",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-7"
  },
  "r1266": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "SubTopic": "10",
   "Topic": "250",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-8"
  },
  "r1267": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "a",
   "Publisher": "SEC"
  },
  "r1268": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "b",
   "Subparagraph": "(1)",
   "Publisher": "SEC"
  },
  "r1269": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "b",
   "Subparagraph": "(2)",
   "Publisher": "SEC"
  },
  "r1270": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "b",
   "Subparagraph": "(3)",
   "Publisher": "SEC"
  },
  "r1271": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "c",
   "Subparagraph": "(2)(i)",
   "Publisher": "SEC"
  },
  "r1272": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "c",
   "Subparagraph": "(2)(ii)",
   "Publisher": "SEC"
  },
  "r1273": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "c",
   "Subparagraph": "(2)(iii)",
   "Publisher": "SEC"
  },
  "r1274": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "11",
   "Subsection": "03",
   "Publisher": "SEC"
  },
  "r1275": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "13",
   "Subsection": "01",
   "Paragraph": "a",
   "Subparagraph": "(4)(i)",
   "Publisher": "SEC"
  },
  "r1276": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "13",
   "Subsection": "01",
   "Paragraph": "a",
   "Subparagraph": "(4)(iv)",
   "Publisher": "SEC"
  },
  "r1277": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "13",
   "Subsection": "02",
   "Paragraph": "a",
   "Subparagraph": "(4)(iv)",
   "Publisher": "SEC"
  },
  "r1278": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Staff Accounting Bulletin (SAB)",
   "Number": "Topic 5",
   "Section": "Y",
   "Paragraph": "Question 2",
   "Publisher": "SEC"
  },
  "r1279": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1280": {
   "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"
  },
  "r1281": {
   "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"
  },
  "r1282": {
   "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(27)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r1283": {
   "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(28))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r1284": {
   "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"
  },
  "r1285": {
   "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"
  },
  "r1286": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX210.5-02(22)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480566/210-10-S99-1"
  },
  "r1287": {
   "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"
  },
  "r1288": {
   "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"
  },
  "r1289": {
   "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"
  },
  "r1290": {
   "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"
  },
  "r1291": {
   "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"
  },
  "r1292": {
   "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"
  },
  "r1293": {
   "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"
  },
  "r1294": {
   "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"
  },
  "r1295": {
   "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"
  },
  "r1296": {
   "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"
  },
  "r1297": {
   "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"
  },
  "r1298": {
   "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"
  },
  "r1299": {
   "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"
  },
  "r1300": {
   "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(7)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r1301": {
   "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(9)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483621/220-10-S99-2"
  },
  "r1302": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-21"
  },
  "r1303": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-21"
  },
  "r1304": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-21"
  },
  "r1305": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-21"
  },
  "r1306": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-21"
  },
  "r1307": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-21"
  },
  "r1308": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-21"
  },
  "r1309": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-21"
  },
  "r1310": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1311": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(j)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-21"
  },
  "r1312": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(k)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-21"
  },
  "r1313": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(l)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-21"
  },
  "r1314": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(m)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-21"
  },
  "r1315": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r1316": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r1317": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r1318": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r1319": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r1320": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r1321": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r1322": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r1323": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(j)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r1324": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(k)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r1325": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(l)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r1326": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(m)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r1327": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(n)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r1328": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(o)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r1329": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(p)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r1330": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(q)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r1331": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(r)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r1332": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(s)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r1333": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(t)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r1334": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(u)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-22"
  },
  "r1335": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "30",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-30"
  },
  "r1336": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "31",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-31"
  },
  "r1337": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-32"
  },
  "r1338": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "33",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-33"
  },
  "r1339": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-6"
  },
  "r1340": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-6"
  },
  "r1341": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147476148/220-40-50-6"
  },
  "r1342": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1343": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482740/230-10-45-11"
  },
  "r1344": {
   "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"
  },
  "r1345": {
   "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"
  },
  "r1346": {
   "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"
  },
  "r1347": {
   "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"
  },
  "r1348": {
   "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"
  },
  "r1349": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1350": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483426/235-10-50-1"
  },
  "r1351": {
   "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"
  },
  "r1352": {
   "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"
  },
  "r1353": {
   "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"
  },
  "r1354": {
   "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(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480678/235-10-S99-1"
  },
  "r1355": {
   "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"
  },
  "r1356": {
   "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"
  },
  "r1357": {
   "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"
  },
  "r1358": {
   "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"
  },
  "r1359": {
   "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"
  },
  "r1360": {
   "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"
  },
  "r1361": {
   "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"
  },
  "r1362": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1363": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-12"
  },
  "r1364": {
   "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"
  },
  "r1365": {
   "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"
  },
  "r1366": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "55",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482689/260-10-45-55"
  },
  "r1367": {
   "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"
  },
  "r1368": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1369": {
   "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"
  },
  "r1370": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "275",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/275/tableOfContent"
  },
  "r1371": {
   "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"
  },
  "r1372": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1373": {
   "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"
  },
  "r1374": {
   "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"
  },
  "r1375": {
   "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"
  },
  "r1376": {
   "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"
  },
  "r1377": {
   "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"
  },
  "r1378": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1379": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481990/310-10-45-2"
  },
  "r1380": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481990/310-10-45-3"
  },
  "r1381": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "310",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "40",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481628/310-20-40-7"
  },
  "r1382": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1383": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1384": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1385": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1386": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1387": {
   "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"
  },
  "r1388": {
   "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"
  },
  "r1389": {
   "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"
  },
  "r1390": {
   "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"
  },
  "r1391": {
   "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"
  },
  "r1392": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1393": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1394": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1395": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1396": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479344/326-20-45-1"
  },
  "r1397": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1398": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479319/326-20-50-5"
  },
  "r1399": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "15",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479294/326-20-55-15"
  },
  "r1400": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1401": {
   "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"
  },
  "r1402": {
   "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"
  },
  "r1403": {
   "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"
  },
  "r1404": {
   "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"
  },
  "r1405": {
   "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"
  },
  "r1406": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "450",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/450/tableOfContent"
  },
  "r1407": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1408": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1409": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480190/470-10-S50-1"
  },
  "r1410": {
   "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)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1A"
  },
  "r1411": {
   "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"
  },
  "r1412": {
   "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"
  },
  "r1413": {
   "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)(iv))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480097/470-10-S99-1A"
  },
  "r1414": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1415": {
   "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"
  },
  "r1416": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1417": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481112/505-10-50-2"
  },
  "r1418": {
   "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"
  },
  "r1419": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1420": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1421": {
   "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"
  },
  "r1422": {
   "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"
  },
  "r1423": {
   "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"
  },
  "r1424": {
   "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"
  },
  "r1425": {
   "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"
  },
  "r1426": {
   "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"
  },
  "r1427": {
   "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"
  },
  "r1428": {
   "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"
  },
  "r1429": {
   "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"
  },
  "r1430": {
   "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"
  },
  "r1431": {
   "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"
  },
  "r1432": {
   "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"
  },
  "r1433": {
   "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"
  },
  "r1434": {
   "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"
  },
  "r1435": {
   "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"
  },
  "r1436": {
   "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"
  },
  "r1437": {
   "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"
  },
  "r1438": {
   "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"
  },
  "r1439": {
   "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"
  },
  "r1440": {
   "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"
  },
  "r1441": {
   "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"
  },
  "r1442": {
   "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"
  },
  "r1443": {
   "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"
  },
  "r1444": {
   "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"
  },
  "r1445": {
   "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"
  },
  "r1446": {
   "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"
  },
  "r1447": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1448": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1449": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1450": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1451": {
   "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"
  },
  "r1452": {
   "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"
  },
  "r1453": {
   "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"
  },
  "r1454": {
   "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"
  },
  "r1455": {
   "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"
  },
  "r1456": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1457": {
   "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"
  },
  "r1458": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r1459": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r1460": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1461": {
   "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"
  },
  "r1462": {
   "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"
  },
  "r1463": {
   "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"
  },
  "r1464": {
   "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"
  },
  "r1465": {
   "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"
  },
  "r1466": {
   "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"
  },
  "r1467": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1468": {
   "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"
  },
  "r1469": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1470": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1471": {
   "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"
  },
  "r1472": {
   "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"
  },
  "r1473": {
   "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"
  },
  "r1474": {
   "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"
  },
  "r1475": {
   "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"
  },
  "r1476": {
   "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"
  },
  "r1477": {
   "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"
  },
  "r1478": {
   "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"
  },
  "r1479": {
   "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"
  },
  "r1480": {
   "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"
  },
  "r1481": {
   "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"
  },
  "r1482": {
   "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"
  },
  "r1483": {
   "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"
  },
  "r1484": {
   "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"
  },
  "r1485": {
   "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"
  },
  "r1486": {
   "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"
  },
  "r1487": {
   "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"
  },
  "r1488": {
   "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"
  },
  "r1489": {
   "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"
  },
  "r1490": {
   "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"
  },
  "r1491": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "28",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-28"
  },
  "r1492": {
   "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"
  },
  "r1493": {
   "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"
  },
  "r1494": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "30",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-30"
  },
  "r1495": {
   "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"
  },
  "r1496": {
   "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"
  },
  "r1497": {
   "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"
  },
  "r1498": {
   "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"
  },
  "r1499": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1500": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1501": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1502": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1503": {
   "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"
  },
  "r1504": {
   "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"
  },
  "r1505": {
   "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"
  },
  "r1506": {
   "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"
  },
  "r1507": {
   "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"
  },
  "r1508": {
   "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"
  },
  "r1509": {
   "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"
  },
  "r1510": {
   "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"
  },
  "r1511": {
   "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"
  },
  "r1512": {
   "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"
  },
  "r1513": {
   "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"
  },
  "r1514": {
   "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"
  },
  "r1515": {
   "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"
  },
  "r1516": {
   "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"
  },
  "r1517": {
   "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"
  },
  "r1518": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "940",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147481833/940-20-45-3"
  },
  "r1519": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "940",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/940-320/tableOfContent"
  },
  "r1520": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "940",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479035/940-320-45-2"
  },
  "r1521": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(1)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478546/942-210-S99-1"
  },
  "r1522": {
   "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"
  },
  "r1523": {
   "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)(15)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r1524": {
   "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"
  },
  "r1525": {
   "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"
  },
  "r1526": {
   "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)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478777/944-210-S99-1"
  },
  "r1527": {
   "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"
  },
  "r1528": {
   "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"
  },
  "r1529": {
   "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"
  },
  "r1530": {
   "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"
  },
  "r1531": {
   "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"
  },
  "r1532": {
   "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"
  },
  "r1533": {
   "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"
  },
  "r1534": {
   "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"
  },
  "r1535": {
   "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"
  },
  "r1536": {
   "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"
  },
  "r1537": {
   "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"
  },
  "r1538": {
   "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"
  },
  "r1539": {
   "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"
  },
  "r1540": {
   "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"
  },
  "r1541": {
   "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"
  },
  "r1542": {
   "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"
  },
  "r1543": {
   "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"
  },
  "r1544": {
   "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"
  },
  "r1545": {
   "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"
  },
  "r1546": {
   "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"
  },
  "r1547": {
   "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"
  },
  "r1548": {
   "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"
  },
  "r1549": {
   "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"
  },
  "r1550": {
   "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"
  },
  "r1551": {
   "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"
  },
  "r1552": {
   "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"
  },
  "r1553": {
   "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"
  },
  "r1554": {
   "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"
  },
  "r1555": {
   "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"
  },
  "r1556": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480109/944-80-50-1"
  },
  "r1557": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480109/944-80-50-2"
  },
  "r1558": {
   "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"
  },
  "r1559": {
   "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"
  },
  "r1560": {
   "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"
  },
  "r1561": {
   "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"
  },
  "r1562": {
   "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"
  },
  "r1563": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479105/946-220-45-3"
  },
  "r1564": {
   "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"
  },
  "r1565": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Subparagraph": "(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479105/946-220-45-3"
  },
  "r1566": {
   "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"
  },
  "r1567": {
   "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"
  },
  "r1568": {
   "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"
  },
  "r1569": {
   "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"
  },
  "r1570": {
   "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"
  },
  "r1571": {
   "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"
  }
 }
}
