| Name | DebtInstrumentFairValue |
|---|---|
| Namespace | http://fasb.org/us-gaap/2022 |
| Prefix | us-gaap |
| Data type | xbrli:monetaryItemType |
| Period type | instant |
| Substitution Group | xbrli:item |
| Balance | credit |
| Nillable | True |
| Abstract | False |
| Text | Lang | Role | Container role |
|---|---|---|---|
| Debt Instrument, Fair Value Disclosure | en-US | http://www.xbrl.org/2003/role/label | http://www.xbrl.org/2003/role/link |
| Debt Instrument, Fair Value Disclosure, Total | en-US | http://www.xbrl.org/2003/role/totalLabel | http://www.xbrl.org/2003/role/link |
| Fair value portion of debt instrument payable, including, but not limited to, notes payable and loans payable. | 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 | Liability-Equity | 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 |
| Source_ASU_Number | 2020-06 | http://fasb.org/srt/role/changeNote/changeNote |
| Publisher | FASB | http://www.xbrl.org/2003/role/exampleRef |
| Name | Accounting Standards Codification | http://www.xbrl.org/2003/role/exampleRef |
| Topic | 470 | http://www.xbrl.org/2003/role/exampleRef |
| SubTopic | 20 | http://www.xbrl.org/2003/role/exampleRef |
| Section | 55 | http://www.xbrl.org/2003/role/exampleRef |
| Paragraph | 69C | http://www.xbrl.org/2003/role/exampleRef |
| URI | https://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612 | http://www.xbrl.org/2003/role/exampleRef |
| Publisher | FASB | http://www.xbrl.org/2003/role/exampleRef |
| Name | Accounting Standards Codification | http://www.xbrl.org/2003/role/exampleRef |
| Topic | 470 | http://www.xbrl.org/2003/role/exampleRef |
| SubTopic | 20 | http://www.xbrl.org/2003/role/exampleRef |
| Section | 55 | http://www.xbrl.org/2003/role/exampleRef |
| Paragraph | 69B | http://www.xbrl.org/2003/role/exampleRef |
| URI | https://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612 | http://www.xbrl.org/2003/role/exampleRef |
| Publisher | FASB | http://www.xbrl.org/2003/role/disclosureRef |
| Name | Accounting Standards Codification | http://www.xbrl.org/2003/role/disclosureRef |
| Topic | 825 | 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 | 10 | http://www.xbrl.org/2003/role/disclosureRef |
| URI | https://asc.fasb.org/extlink&oid=123594938&loc=d3e13433-108611 | 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 | 470 | http://www.xbrl.org/2003/role/disclosureRef |
| SubTopic | 20 | http://www.xbrl.org/2003/role/disclosureRef |
| Section | 50 | http://www.xbrl.org/2003/role/disclosureRef |
| Paragraph | 1D | http://www.xbrl.org/2003/role/disclosureRef |
| Subparagraph | (c) | http://www.xbrl.org/2003/role/disclosureRef |
| URI | https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611 | http://www.xbrl.org/2003/role/disclosureRef |
| Name | Relation Type | Role | |
|---|---|---|---|
us-gaap:FairValueLiabilitiesMeasuredOnRecurringBasisDebtInstrumentValuationTechniquesChangeInTechniqueQuantificationOfEffect | parent-child | http://fasb.org/us-gaap/role/disclosure/Debt | |
us-gaap:LongTermDebtFairValue | parent-child | http://fasb.org/us-gaap/role/disclosure/Debt | |
us-gaap:FairValueLiabilitiesMeasuredOnRecurringBasisDebtInstrumentValuationTechniquesChangeInTechniqueQuantificationOfEffect | domain-member | http://fasb.org/us-gaap/role/disclosure/DebtDebtInstrumentTable | |
us-gaap:LongTermDebtFairValue | domain-member | http://fasb.org/us-gaap/role/disclosure/DebtDebtInstrumentTable | |
us-gaap:NotesPayableFairValueDisclosure | summation-item | http://fasb.org/us-gaap/role/disclosure/FinancialInstrumentsFairValueDisclosures | |
us-gaap:LoansPayableFairValueDisclosure | summation-item | http://fasb.org/us-gaap/role/disclosure/FinancialInstrumentsFairValueDisclosures | |
us-gaap:LinesOfCreditFairValueDisclosure | summation-item | http://fasb.org/us-gaap/role/disclosure/FinancialInstrumentsFairValueDisclosures | |
us-gaap:ConvertibleDebtFairValueDisclosures | summation-item | http://fasb.org/us-gaap/role/disclosure/FinancialInstrumentsFairValueDisclosures |