| Name | DebtInstrumentConvertibleRemainingDiscountAmortizationPeriod1 |
|---|---|
| Namespace | http://fasb.org/us-gaap/2022 |
| Prefix | us-gaap |
| Data type | xbrli:durationItemType |
| Period type | duration |
| Substitution Group | xbrli:item |
| Balance | None |
| Nillable | True |
| Abstract | False |
| Text | Lang | Role | Container role |
|---|---|---|---|
| Debt Instrument, Convertible, Remaining Discount Amortization Period | en-US | http://www.xbrl.org/2003/role/label | http://www.xbrl.org/2003/role/link |
| Remaining amortization period for discount on the liability component of convertible debt which may be settled in cash upon conversion, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. | en-US | http://www.xbrl.org/2003/role/documentation | http://www.xbrl.org/2003/role/link |
| Name | Value | Role |
|---|---|---|
| elementCreationTaxonomyVersion | 2012 | http://fasb.org/us-gaap/role/tin/taxonomyImplementationNote |
| Note | Element is intended to be used for each reported period for which amendment from Accounting Standards Update identified in tin-part:Source_ASU_Number is not applied. | http://fasb.org/us-gaap/role/tin/transition |
| Source | ASU | http://fasb.org/us-gaap/role/tin/transition |
| SourceName | Liability-Equity | http://fasb.org/us-gaap/role/tin/transition |
| Source_ASU_Number | 2020-06 | http://fasb.org/us-gaap/role/tin/transition |
| Publisher | FASB | http://fasb.org/us-gaap/role/ref/legacyRef |
| Name | Accounting Standards Codification | http://fasb.org/us-gaap/role/ref/legacyRef |
| Topic | 470 | http://fasb.org/us-gaap/role/ref/legacyRef |
| SubTopic | 20 | http://fasb.org/us-gaap/role/ref/legacyRef |
| Section | 50 | http://fasb.org/us-gaap/role/ref/legacyRef |
| Paragraph | 5 | http://fasb.org/us-gaap/role/ref/legacyRef |
| Subparagraph | (a) | http://fasb.org/us-gaap/role/ref/legacyRef |
| URI | https://asc.fasb.org/extlink&oid=123466204&loc=SL6031898-161870 | http://fasb.org/us-gaap/role/ref/legacyRef |
| Name | Relation Type | Role | |
|---|---|---|---|
us-gaap:DebtInstrumentLineItems | parent-child | http://fasb.org/us-gaap/role/disclosure/Debt | |
us-gaap:DebtInstrumentLineItems | domain-member | http://fasb.org/us-gaap/role/disclosure/DebtDebtInstrumentTable |