XML 67 R49.htm IDEA: XBRL DOCUMENT
v3.23.1

Debt - Additional Information (Details) - USD ($) |  |  |  |  |  |  | 1 Months Ended | 3 Months Ended | 9 Months Ended | 12 Months Ended |  |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Nov. 30, 2022 | Jul. 29, 2022 | Jul. 28, 2022 | Jul. 27, 2022 | Jul. 24, 2022 | Jul. 13, 2022 | May 31, 2022 | Apr. 30, 2022 | Mar. 31, 2022 | Nov. 30, 2020 | Mar. 31, 2021 | Sep. 30, 2022 | Dec. 31, 2022 | Dec. 31, 2021 | Oct. 28, 2022 | Sep. 30, 2020 | Aug. 31, 2020 | Apr. 30, 2019
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt financing fee paid |  |  |  |  |  |  |  |  |  |  |  |  | $ 1,622,000 | $ 5,118,000 |  |  |  |
Prepayment of debt |  |  |  |  |  |  |  |  |  |  |  |  | $ 219,432,000 | $ 50,000,000 |  |  |  |
Payment in kind interest |  |  |  |  |  |  |  |  |  |  |  | $ 2,500,000 |  |  |  |  |  |
Repayment Period in March 2022 [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt prepayment fees |  |  |  |  |  |  |  |  |  |  | $ 5,000,000.0 |  |  |  |  |  |  |
Repayments through March 31, 2022 [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Prepayment fee percentage |  |  |  |  |  |  |  |  |  |  | 30.00% |  |  |  |  |  |  |
Repayment Period in June 2022 [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt prepayment fees |  |  |  |  |  |  |  |  |  |  | $ 5,000,000.0 |  |  |  |  |  |  |
Repayment Period in September 2022 [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt prepayment fees |  |  |  |  |  |  |  |  |  |  | 5,000,000.0 |  |  |  |  |  |  |
Repayment Period in December 2022 [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Additional principal repayment |  |  |  |  |  |  |  |  |  |  | $ 10,000,000.0 |  |  |  |  |  |  |
Repayment on April 1, 2022 through March 31, 2023 [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Prepayment fee percentage |  |  |  |  |  |  |  |  |  |  | 5.00% |  |  |  |  |  |  |
Repayments from April 1, 2023 through March 31, 2024 [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Prepayment fee percentage |  |  |  |  |  |  |  |  |  |  | 3.00% |  |  |  |  |  |  |
Repayment Period in March 2023 [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Additional principal repayment |  |  |  |  |  |  |  |  |  |  | $ 10,000,000.0 |  |  |  |  |  |  |
Repayment Period in June 2023 [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Additional principal repayment |  |  |  |  |  |  |  |  |  |  | 41,250,000 |  |  |  |  |  |  |
Repayment Period in September 2023 [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Additional principal repayment |  |  |  |  |  |  |  |  |  |  | 41,250,000 |  |  |  |  |  |  |
Repayment Period in December 2023 [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Additional principal repayment |  |  |  |  |  |  |  |  |  |  | 41,250,000 |  |  |  |  |  |  |
Repayment Period in March 2024 [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Additional principal repayment |  |  |  |  |  |  |  |  |  |  | 41,250,000 |  |  |  |  |  |  |
Imvexxy Bijuva and Annovera [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Prepayment of debt |  |  |  |  |  |  |  |  |  |  | $ 50,000,000.0 |  |  |  |  |  |  |
Prepayment fee percentage |  |  |  |  |  |  |  |  |  |  | 5.00% |  |  |  |  |  |  |
Lender Warrants [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Number of warrants issued |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 95,042 |
Warrants exercise price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 79 |
Fair value of warrants |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 7,400,000 |
Warrants issued to purchase of common stock |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 95,042 |
Lender Warrants [Member] | Financing Agreement Amendment No 6 [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Warrants exercise price |  |  |  |  |  |  |  |  |  | $ 59.5 |  |  |  |  |  |  | $ 79 |
Shares Issued, Price Per Share |  |  |  |  |  |  |  |  |  | $ 59.5 |  |  |  |  |  |  |  |
Estimated fair value of the adjustment to the exercise price |  |  |  |  |  |  |  |  |  | $ 200,000 |  |  |  |  |  |  |  |
Debt financing fee paid |  |  |  |  |  |  |  |  |  | $ 0 |  |  |  |  |  |  |  |
Financing Agreement [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Initial facility fee paid at inception (percent) |  |  |  |  |  |  |  |  |  |  |  |  | 2.50% |  |  |  |  |
Debt Instrument, Description of Variable Rate Basis |  |  |  |  |  |  |  |  |  |  |  |  | 3-month LIBOR |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate |  |  |  |  |  |  |  |  |  |  |  |  | 7.75% |  |  |  |  |
LIBOR floor rate |  |  |  |  |  |  |  |  |  |  |  |  | 2.70% |  |  |  |  |
Debt Instrument, Interest Rate During Period |  |  |  |  |  |  |  |  |  |  |  |  | 10.45% |  |  |  |  |
Financing Agreement [Member] | Tranche One |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Term loan facility undrawn tranche no longer available |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 200,000,000.0
Financing Agreement [Member] | Tranche Two |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Term loan facility undrawn tranche no longer available |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 50,000,000.0
Financing Agreement [Member] | Tranche Three |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Term loan facility undrawn tranche no longer available |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 50,000,000.0 |  | 50,000,000.0
Financing Agreement [Member] | Term Loan Credit Facility |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of credit facility, maximum borrowing capacity |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 300,000,000.0
Financing Agreement [Member] | Prime Rate [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Description of Variable Rate Basis |  |  |  |  |  |  |  |  |  |  |  |  | prime rate |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate |  |  |  |  |  |  |  |  |  |  |  |  | 6.75% |  |  |  |  |
Prime rate floor |  |  |  |  |  |  |  |  |  |  |  |  | 5.20% |  |  |  |  |
Financing Agreement Amendment No 8 [Member] | Repayments through March 31, 2022 [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Prepayment fee percentage |  |  |  |  |  |  |  |  |  |  | 5.00% |  |  |  |  |  |  |
Additional principal repayment |  |  |  |  |  |  |  |  |  |  | $ 5,000,000.0 |  |  |  |  |  |  |
Financing Agreement Amendment No 9 [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Minimum cash balance requirement under credit agreements |  |  |  |  |  |  |  |  | $ 60,000,000.0 |  |  |  |  |  |  |  |  |
Waive of prepayment penalty by lender |  |  |  |  |  |  |  |  | 60,000,000.0 |  |  |  |  |  |  |  |  |
Payment of in kind amendment financing fee |  |  |  |  |  |  |  |  | 30,000,000.0 |  |  |  |  |  |  |  |  |
Loss on extinguishment of debt |  |  |  |  |  |  |  |  | 8,400,000 |  |  |  |  |  |  |  |  |
Financing Agreement Amendment No 9 [Member] | Debt Covenants [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Prepayment of debt |  |  |  |  |  |  |  |  | 120,000,000.0 |  |  |  |  |  |  |  |  |
Waivable in kind amendment fee |  |  |  |  |  |  |  |  | 16,000,000.0 |  |  |  |  |  |  |  |  |
Waived in kind amendment fee |  |  |  |  |  |  |  | $ 16,000,000.0 |  |  |  |  |  |  |  |  |  |
Financing Agreement Amendment No 9 [Member] | Debt Covenants [Member] | VitaCare Divestiture [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Prepayment of debt |  |  |  |  |  |  |  | $ 120,000,000.0 |  |  |  |  |  |  |  |  |  |
Financing Agreement Amendment No 9 [Member] | Debt Covenants [Member] | Minimum [Member] | VitaCare Divestiture [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Proceeds from divestiture of business to pay off debt, threshold amount |  |  |  |  |  |  |  |  | $ 135,000,000.0 |  |  |  |  |  |  |  |  |
Financing Agreement Amendment No 10 [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Minimum cash balance requirement under credit agreements |  |  |  |  |  |  | $ 10,000.0 |  |  |  |  |  |  |  |  |  |  |
Payment of in kind amendment financing fee |  |  |  |  |  |  | $ 1,800 |  |  |  |  |  |  |  |  |  |  |
Maturity date |  |  |  |  |  |  | Jul. 13, 2022 |  |  |  |  |  |  |  |  |  |  |
Financing Agreement Amendment No 11 [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Percentage of capital stock pledged |  |  |  |  |  |  | 100.00% |  |  |  |  |  |  |  |  |  |  |
Financing Agreement Amendment No 13 [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Maturity date |  |  | Jul. 29, 2022 | Jul. 28, 2022 | Jul. 27, 2022 | Jul. 24, 2022 |  |  |  |  |  |  |  |  |  |  |  |
Payment in kind amendment fee payable to lender |  |  |  |  |  | $ 1,200 |  |  |  |  |  |  |  |  |  |  |  |
Accrued and unpaid interest payable to lenders |  |  |  |  | $ 2,900 |  |  |  |  |  |  |  |  |  |  |  |  |
Financing Agreement Amendment No 16 [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Number of warrants issued |  | 185,000 |  |  |  |  |  |  |  |  |  | 125,000 |  |  | 125,000 |  |  |
Warrants exercise price |  | $ 0.01 |  |  |  |  |  |  |  |  |  | $ 0.01 |  |  | $ 0.01 |  |  |
Fair value of warrants |  | $ 1,200,000 |  |  |  |  |  |  |  |  |  | $ 800,000 |  |  | $ 700,000 |  |  |
Warrants issued to purchase of common stock |  | 185,000 |  |  |  |  |  |  |  |  |  | 125,000 |  |  | 125,000 |  |  |
Financing Agreement Amendment No 16 [Member] | Maximum [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Threshold value of cash proceeds from equity issuance |  | $ 7,000,000.0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Financing Agreement Amendment No 17 [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Prepayment of debt |  |  |  |  |  |  |  |  |  |  |  |  | $ 75,000,000.0 |  |  |  |  |
Minimum cash balance requirement under credit agreements | $ 7,500,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Payment of in kind amendment financing fee |  |  |  |  |  |  |  |  |  |  |  |  | $ 17,000,000.0 |  |  |  |  |
Maturity date | Dec. 31, 2022 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Payment of amendment fee | $ 750,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Accrued and unpaid interest | $ 4,200,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |

X
- Definition Debt prepayment fees. + References No definition available. + Details
Name: | txmd_DebtPrepaymentFees
Namespace Prefix: | txmd_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Estimated fair value of adjustment to exercise price. + References No definition available. + Details
Name: | txmd_EstimatedFairValueOfAdjustmentToExercisePrice
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 Initial facility fee paid at inception (percent). + References No definition available. + Details
Name: | txmd_InitialFacilityFeePaidAtInceptionPercent
Namespace Prefix: | txmd_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents libor floor rate. + References No definition available. + Details
Name: | txmd_LiborFloorRate
Namespace Prefix: | txmd_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

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 Payment in kind amendment fee payable to lender. + References No definition available. + Details
Name: | txmd_PaymentInKindAmendmentFeePayableToLender
Namespace Prefix: | txmd_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Payment of amendment fee. + References No definition available. + Details
Name: | txmd_PaymentOfAmendmentFee
Namespace Prefix: | txmd_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Percentage of capital stock pledged. + References No definition available. + Details
Name: | txmd_PercentageOfCapitalStockPledged
Namespace Prefix: | txmd_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The prepayment fee, expressed as a percentage of the tranche funding being repaid. + References No definition available. + Details
Name: | txmd_PrepaymentFeePercentage
Namespace Prefix: | txmd_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Prime rate floor. + References No definition available. + Details
Name: | txmd_PrimeRateFloor
Namespace Prefix: | txmd_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Proceeds from divestiture of business to pay off debt, threshold amount. + References No definition available. + Details
Name: | txmd_ProceedsFromDivestitureOfBusinessToPayOffDebtThresholdAmount
Namespace Prefix: | txmd_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Term loan facility first tranche drawn. + References No definition available. + Details
Name: | txmd_TermLoanFacilityFirstTrancheDrawn
Namespace Prefix: | txmd_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Threshold value of cash proceeds from equity issuance. + References No definition available. + Details
Name: | txmd_ThresholdValueOfCashProceedsFromEquityIssuance
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 Waive of prepayment penalty by lender. + References No definition available. + Details
Name: | txmd_WaiveOfPrepaymentPenaltyByLender
Namespace Prefix: | txmd_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

X
- Definition Exercise price per share or per unit of warrants or rights outstanding. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=126973232&loc=d3e21475-112644 + Details
Name: | us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of securities into which the class of warrant or right may be converted. For example, but not limited to, 500,000 warrants may be converted into 1,000,000 shares. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=126973232&loc=d3e21475-112644 + Details
Name: | us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Description of reference rate used for variable rate of debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentDescriptionOfVariableRateBasis
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Increase for accrued, but unpaid interest on the debt instrument for the period. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(f)) -URI https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 + Details
Name: | us-gaap_DebtInstrumentIncreaseAccruedInterest
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The average effective interest rate during the reporting period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1F -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateDuringPeriod
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Date when the debt instrument is scheduled to be fully repaid, in YYYY-MM-DD format. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(2)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -URI https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258 + Details
Name: | us-gaap_DebtInstrumentMaturityDate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of the required periodic payments applied to principal. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentPeriodicPaymentPrincipal
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Difference between the fair value of payments made and the carrying amount of debt which is extinguished prior to maturity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 50 -Section 40 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=126972273&loc=d3e12355-112629 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 50 -Section 40 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=126972273&loc=d3e12317-112629 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 + Details
Name: | us-gaap_GainsLossesOnExtinguishmentOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of interest payable on debt, including, but not limited to, trade payables. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.15(5)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03.15(a)) -URI https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910 + Details
Name: | us-gaap_InterestPayableCurrentAndNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Interest paid other than in cash for example by issuing additional debt securities. As a noncash item, it is added to net income when calculating cash provided by or used in operations using the indirect method. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 + Details
Name: | us-gaap_PaidInKindInterest
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash outflow for loan and debt issuance costs. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585 + Details
Name: | us-gaap_PaymentsOfFinancingCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash outflow during the period from the repayment of aggregate short-term and long-term debt. Excludes payment of capital lease obligations. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585 + Details
Name: | us-gaap_RepaymentsOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Per share or per unit amount of equity securities issued. + References No definition available. + Details
Name: | us-gaap_SharesIssuedPricePerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Value of outstanding derivative securities that permit the holder the right to purchase securities (usually equity) from the issuer at a specified price. + References No definition available. + Details
Name: | us-gaap_WarrantsAndRightsOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=txmd_RepaymentPeriodMarchTwoThousandTwentyTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=txmd_RepaymentPeriodFiveMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=txmd_RepaymentPeriodJuneTwoThousandTwentyTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=txmd_ReportingPeriodSeptemberTwoThousandTwoTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=txmd_RepaymentPeriodDecemberTwoThousandTwoTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=txmd_RepaymentPeriodSevenMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=txmd_RepaymentPeriodEightMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=txmd_RepaymentPeriodMarchTwoThousandTwentyThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=txmd_RepaymentPeriodJuneTwoThousandTwentyThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=txmd_RepaymentPeriodSeptemberTwoThousandTwentyThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=txmd_RepaymentPeriodDecemberTwoThousandTwentyThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=txmd_RepaymentPeriodMarchTwoThousandTwentyFourMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=txmd_ImvexxyBijuvaAndAnnoveraMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=txmd_LenderWarrantsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

X
- Details
Name: | txmd_DebtTrancheAxis=txmd_TrancheOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | txmd_DebtTrancheAxis=txmd_TrancheTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | txmd_DebtTrancheAxis=txmd_TrancheThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=txmd_TermLoanCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_PrimeRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TypeOfArrangementAxis=txmd_FinancingAgreementAmendmentNoEightMember
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: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

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

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

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