| Name | RegulatoryCapitalRequirementsForMortgageCompaniesBySecondaryMarketInvestorAxis |
|---|---|
| Namespace | http://fasb.org/us-gaap/2022 |
| Prefix | us-gaap |
| Data type | xbrli:stringItemType |
| Period type | duration |
| Substitution Group | xbrldt:dimensionItem |
| Balance | None |
| Nillable | True |
| Abstract | True |
| Text | Lang | Role | Container role |
|---|---|---|---|
| Banking Regulation, Mortgage Banking, Secondary Market Investor [Axis] | en-US | http://www.xbrl.org/2003/role/label | http://www.xbrl.org/2003/role/link |
| Information by secondary market investor imposing net worth requirement for mortgage banking entity. | en-US | http://www.xbrl.org/2003/role/documentation | http://www.xbrl.org/2003/role/link |
| Name | Value | Role |
|---|---|---|
| elementCreationTaxonomyVersion | 2008 | http://fasb.org/us-gaap/role/tin/taxonomyImplementationNote |
| SourceName | Mortgage Banking:Taxonomy Technical Improvement | http://fasb.org/srt/role/changeNote/changeNote |
| TaxonomyVersion | 2021 | http://fasb.org/srt/role/changeNote/changeNote |
| ModifiedReferences | true | http://fasb.org/srt/role/changeNote/changeNote |
| ModifiedLabels | true | http://fasb.org/srt/role/changeNote/changeNote |
| ModifiedDocumentation | true | http://fasb.org/srt/role/changeNote/changeNote |
| PreviousDocumentation | The entity's required and actual net worth amounts as of the balance sheet date, by secondary market investor. | http://fasb.org/srt/role/changeNote/changeNote |
| Publisher | FASB | http://www.xbrl.org/2003/role/disclosureRef |
| Name | Accounting Standards Codification | http://www.xbrl.org/2003/role/disclosureRef |
| Topic | 948 | http://www.xbrl.org/2003/role/disclosureRef |
| SubTopic | 10 | http://www.xbrl.org/2003/role/disclosureRef |
| Section | 50 | http://www.xbrl.org/2003/role/disclosureRef |
| Paragraph | 5 | http://www.xbrl.org/2003/role/disclosureRef |
| Subparagraph | (a) | http://www.xbrl.org/2003/role/disclosureRef |
| URI | https://asc.fasb.org/extlink&oid=6490092&loc=d3e47304-110998 | http://www.xbrl.org/2003/role/disclosureRef |
| Publisher | FASB | http://www.xbrl.org/2003/role/disclosureRef |
| Name | Accounting Standards Codification | http://www.xbrl.org/2003/role/disclosureRef |
| Topic | 948 | http://www.xbrl.org/2003/role/disclosureRef |
| SubTopic | 10 | http://www.xbrl.org/2003/role/disclosureRef |
| Section | 50 | http://www.xbrl.org/2003/role/disclosureRef |
| Paragraph | 5 | http://www.xbrl.org/2003/role/disclosureRef |
| Subparagraph | (c) | http://www.xbrl.org/2003/role/disclosureRef |
| URI | https://asc.fasb.org/extlink&oid=6490092&loc=d3e47304-110998 | http://www.xbrl.org/2003/role/disclosureRef |
| Publisher | FASB | http://www.xbrl.org/2003/role/disclosureRef |
| Name | Accounting Standards Codification | http://www.xbrl.org/2003/role/disclosureRef |
| Topic | 948 | http://www.xbrl.org/2003/role/disclosureRef |
| SubTopic | 10 | http://www.xbrl.org/2003/role/disclosureRef |
| Section | 50 | http://www.xbrl.org/2003/role/disclosureRef |
| Paragraph | 3 | http://www.xbrl.org/2003/role/disclosureRef |
| Subparagraph | (c)(1) | http://www.xbrl.org/2003/role/disclosureRef |
| URI | https://asc.fasb.org/extlink&oid=6490092&loc=d3e47080-110998 | http://www.xbrl.org/2003/role/disclosureRef |
| Publisher | FASB | http://www.xbrl.org/2003/role/disclosureRef |
| Name | Accounting Standards Codification | http://www.xbrl.org/2003/role/disclosureRef |
| Topic | 948 | http://www.xbrl.org/2003/role/disclosureRef |
| SubTopic | 10 | http://www.xbrl.org/2003/role/disclosureRef |
| Section | 50 | http://www.xbrl.org/2003/role/disclosureRef |
| Paragraph | 5 | http://www.xbrl.org/2003/role/disclosureRef |
| Subparagraph | (b) | http://www.xbrl.org/2003/role/disclosureRef |
| URI | https://asc.fasb.org/extlink&oid=6490092&loc=d3e47304-110998 | http://www.xbrl.org/2003/role/disclosureRef |
| Name | Relation Type | Role | |
|---|---|---|---|
us-gaap:SecondaryMarketInvestorDomain | parent-child | http://fasb.org/us-gaap/role/disclosure/FinancialServicesMortgageBanking | |
us-gaap:SecondaryMarketInvestorDomain | dimension-default | http://fasb.org/us-gaap/role/disclosure/FinancialServicesMortgageBankingScheduleOfComplianceWithRegulatoryCapitalRequirementsForMortgageCompaniesTable | |
us-gaap:SecondaryMarketInvestorDomain | dimension-domain | http://fasb.org/us-gaap/role/disclosure/FinancialServicesMortgageBankingScheduleOfComplianceWithRegulatoryCapitalRequirementsForMortgageCompaniesTable |
| Name | Relation Type | Role | |
|---|---|---|---|
us-gaap:ScheduleOfComplianceWithRegulatoryCapitalRequirementsForMortgageCompaniesTable | parent-child | http://fasb.org/us-gaap/role/disclosure/FinancialServicesMortgageBanking | |
us-gaap:ScheduleOfComplianceWithRegulatoryCapitalRequirementsForMortgageCompaniesTable | hypercube-dimension | http://fasb.org/us-gaap/role/disclosure/FinancialServicesMortgageBankingScheduleOfComplianceWithRegulatoryCapitalRequirementsForMortgageCompaniesTable |