| Name | PreferredStockConvertibleDownRoundFeatureIncreaseDecreaseInEquityAmount |
|---|---|
| Namespace | http://fasb.org/us-gaap/2022 |
| Prefix | us-gaap |
| Data type | xbrli:monetaryItemType |
| Period type | duration |
| Substitution Group | xbrli:item |
| Balance | debit |
| Nillable | True |
| Abstract | False |
| Text | Lang | Role | Container role |
|---|---|---|---|
| Preferred Stock, Convertible, Down Round Feature, (Increase) Decrease in Equity, Amount (Deprecated 2022) | en-US | http://www.xbrl.org/2003/role/label | http://www.xbrl.org/2003/role/link |
| Amount of (increase) decrease in equity for down round feature triggered for convertible preferred stock. | en-US | http://www.xbrl.org/2003/role/documentation | http://www.xbrl.org/2003/role/link |
| Name | Value | Role |
|---|---|---|
| TaxonomyVersion | 2022 | http://fasb.org/srt/role/deprecationNote/deprecationNote |
| DeprecatedLabel | Element was deprecated and replaced by two or more elements representing greater disclosure detail. | http://fasb.org/srt/role/deprecationNote/deprecationNote |
| DeprecationReplacement | PreferredStockConvertibleDownRoundFeatureDecreaseInNetIncomeLossToCommonShareholderAmount PreferredStockConvertibleDownRoundFeatureIncreaseDecreaseInEquityAmount1 | http://fasb.org/srt/role/deprecationNote/deprecationNote |
| SourceName | Taxonomy Technical Improvement | http://fasb.org/srt/role/changeNote/changeNote |
| TaxonomyVersion | 2022 | http://fasb.org/srt/role/changeNote/changeNote |
| ElementDeprecated | true | http://fasb.org/srt/role/changeNote/changeNote |
| SourceName | Liability-Equity | http://fasb.org/srt/role/changeNote/changeNote |
| TaxonomyVersion | 2021 | http://fasb.org/srt/role/changeNote/changeNote |
| NewElement | true | http://fasb.org/srt/role/changeNote/changeNote |
| Source_ASU_Number | 2020-06 | http://fasb.org/srt/role/changeNote/changeNote |
| elementCreationTaxonomyVersion | 2021 | http://fasb.org/us-gaap/role/tin/taxonomyImplementationNote |
| Name | Relation Type | Role | |
|---|---|---|---|
us-gaap:DeprecatedItems | parent-child | http://fasb.org/us-gaap/role/deprecated/deprecated | |
us-gaap:PreferredStockConvertibleDownRoundFeatureDecreaseInNetIncomeLossToCommonShareholderAmount | dep-partConcept-deprecatedAggregateConcept | http://fasb.org/us-gaap/role/deprecated/deprecated | |
us-gaap:PreferredStockConvertibleDownRoundFeatureIncreaseDecreaseInEquityAmount1 | dep-partConcept-deprecatedAggregateConcept | http://fasb.org/us-gaap/role/deprecated/deprecated |