XML 47 R34.htm IDEA: XBRL DOCUMENT
v3.21.2

Basis of presentation and summary of significant accounting policies - Additional Information (Details) | Sep. 30, 2021 USD ($)
--- | ---
Financing Agreement [Member] | Forecasted Debt Covenant Compliance [Member] |
Basis Of Presentation And Summary Of Significant Accounting Policies [Line Items] |
Minimum cash balance requirement under credit agreement | $ 60,000,000.0
VitaCare Prescription Services [Member] | COVID-19 [Member] |
Basis Of Presentation And Summary Of Significant Accounting Policies [Line Items] |
Cost savings initiative to reduce annual costs | 20,000,000.0
Minimum [Member] | COVID-19 [Member] |
Basis Of Presentation And Summary Of Significant Accounting Policies [Line Items] |
Cost savings initiative to reduce annual costs | $ 40,000,000.0

X
- Definition Basis of presentation and summary of significant accounting policies. + References No definition available. + Details
Name: | txmd_BasisOfPresentationAndSummaryOfSignificantAccountingPoliciesLineItems
Namespace Prefix: | txmd_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The minimum cash balance the Borrower must maintain under the credit and secuirty agreement. + References No definition available. + Details
Name: | txmd_MinimumCashBalanceRequirementUnderCreditAgreement
Namespace Prefix: | txmd_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Reduction in annual costs + References No definition available. + Details
Name: | txmd_ReductionInAnnualCosts
Namespace Prefix: | txmd_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=txmd_FinancingAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | txmd_DebtInstrumentCovenantComplianceAxis=txmd_ForecastedDebtCovenantComplianceMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis=txmd_VitaCarePrescriptionServicesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_UnusualOrInfrequentItemAxis=txmd_COVID19Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |