XML 97 R84.htm IDEA: XBRL DOCUMENT
v3.22.1

Subsequent events - Additional Information (Details) |  | 1 Months Ended | 12 Months Ended
--- | --- | --- | ---
Mar. 06, 2022 USD ($) Tranche | Mar. 31, 2022 USD ($) | Dec. 31, 2023 USD ($) | Dec. 31, 2022 USD ($)
Subsequent Event [Member] | Financing Agreement Amendment No 9 [Member] |  |  |  |
Subsequent Event [Line Items] |  |  |  |
Minimum cash balance requirement under credit agreements |  | $ 60,000,000.0 |  |
Prepayment penalty |  | 60,000,000.0 |  |
Payment of in kind amendment fee |  | 30,000,000.0 |  |
Subsequent Event [Member] | Financing Agreement Amendment No 9 [Member] | Debt Covenants [Member] |  |  |  |
Subsequent Event [Line Items] |  |  |  |
Waivable in kind amendment fee |  | $ 16,000,000.0 |  |
VitaCare Divestiture [Member] | Subsequent Event [Member] |  |  |  |
Subsequent Event [Line Items] |  |  |  |
Proceeds from divestiture of business | $ 150,000,000.0 |  |  |
Contingent cash consideration from sale of business | $ 7,000,000.0 |  |  |
Number of earned cash consideration tranches | Tranche | 2 |  |  |
Maximum transition services provided period | 12 months |  |  |
VitaCare Divestiture [Member] | Revenue Target for 2022 [Member] | Forecast [Member] |  |  |  |
Subsequent Event [Line Items] |  |  |  |
Contingent cash consideration from sale of business |  |  |  | $ 3,500,000
VitaCare Divestiture [Member] | Revenue Target for 2023 [Member] | Forecast [Member] |  |  |  |
Subsequent Event [Line Items] |  |  |  |
Contingent cash consideration from sale of business |  |  | $ 3,500,000 |

X
- Definition Contingent cash consideration from sale of business. + References No definition available. + Details
Name: | txmd_ContingentCashConsiderationFromSaleOfBusiness
Namespace Prefix: | txmd_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition In kind amendment fee. + References No definition available. + Details
Name: | txmd_InKindAmendmentFee
Namespace Prefix: | txmd_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum transition services provided period. + References No definition available. + Details
Name: | txmd_MaximumTransitionServicesProvidedPeriod
Namespace Prefix: | txmd_
Data Type: | xbrli:durationItemType
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 Number of earned cash consideration tranches. + References No definition available. + Details
Name: | txmd_NumberOfEarnedCashConsiderationTranches
Namespace Prefix: | txmd_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Prepayment penalty. + References No definition available. + Details
Name: | txmd_PrepaymentPenalty
Namespace Prefix: | txmd_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Waivable in kind amendment fee. + References No definition available. + Details
Name: | txmd_WaivableInKindAmendmentFee
Namespace Prefix: | txmd_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash inflow associated with the amount received from the sale of a portion of the company's business, for example a segment, division, branch or other business, during the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 12 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3179-108585 + Details
Name: | us-gaap_ProceedsFromDivestitureOfBusinesses
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Detail information of subsequent event by type. User is expected to use existing line items from elsewhere in the taxonomy as the primary line items for this disclosure, which is further associated with dimension and member elements pertaining to a subsequent event. + References No definition available. + Details
Name: | us-gaap_SubsequentEventLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TypeOfArrangementAxis=txmd_FinancingAgreementAmendmentNoNineMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

X
- Details
Name: | us-gaap_ContingentConsiderationByTypeAxis=txmd_RevenueTargetForTwoThousandAndTwentyTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementScenarioAxis=srt_ScenarioForecastMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ContingentConsiderationByTypeAxis=txmd_RevenueTargetForTwoThousandAndTwentyThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |