XML 65 R52.htm IDEA: XBRL DOCUMENT
v3.22.1

Debt - Additional Information (Details) - USD ($) | 1 Months Ended | 3 Months Ended | 12 Months Ended |  |
--- | --- | --- | --- | --- | ---
Nov. 30, 2020 | Apr. 30, 2019 | Mar. 31, 2021 | Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019 | Sep. 30, 2020 | Aug. 31, 2020
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Debt financing fee paid |  |  |  | $ 5,118,000 | $ 1,250,000 | $ 6,652,000 |  |
Repayments of Debt |  |  |  | 50,000,000 |  | 81,661,000 |  |
Future prepayment fee obligations |  |  |  | 2,200,000 |  |  |  |
Deferred financing fees |  |  |  | 11,731,000 | $ 12,302,000 |  |  |
Loss of extinguishment of debt |  |  |  |  |  | $ 10,058,000 |  |
Repayment Period in March 2022 [Member] |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Additional principal repayment |  |  | $ 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] |  |  |  |  |  |  |  |
Additional principal repayment |  |  | $ 5,000,000.0 |  |  |  |  |
Repayment Period in September 2022 [Member] |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Additional principal repayment |  |  | 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] |  |  |  |  |  |  |  |
Repayments of Debt |  |  | $ 50,000,000.0 |  |  |  |  |
Prepayment fee percentage |  |  | 5.00% |  |  |  |  |
Accrued Expenses and Other Current Liabilities [Member] |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Future prepayment fee obligations |  |  |  | 1,300,000 |  |  |  |
Other Non-Current Liabilities [Member] |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Future prepayment fee obligations |  |  |  | $ 900,000 |  |  |  |
Financing Agreement Amendment 7 [Member] | Long-term Debt [Member] |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Debt financing fee paid | $ 5,000,000.0 |  |  |  |  |  |  |
Lender Warrants [Member] |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Number of warrants issued |  |  |  |  |  |  |  | 4,752,116
Warrants exercise price |  |  |  |  |  |  |  | $ 1.58
Fair value of warrants |  |  |  |  |  |  |  | $ 7,400,000
Lender Warrants [Member] | Financing Agreement Amendment6 |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Warrants exercise price | $ 1.19 |  |  |  |  |  |  | $ 1.58
Shares Issued, Price Per Share | $ 1.19 |  |  |  |  |  |  |
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] | Debt Covenants [Member] |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Minimum quarterly revenue requirement under credit agreement |  | $ 26,500,000 |  |  |  |  |  |
Debt instrument, covenant compliance |  |  |  | As of December 31, 2021, our cash balance was in excess of the required minimum balance. However, beginning on February 7, 2022, we did not maintain the required minimum unrestricted cash balance of $ 60.0 million. In connection with Amendment No. 9, this event of default was waived by the Administrative Agent and lenders, and the required minimum unrestricted cash balance was reduced. |  |  |  |
Financing Agreement [Member] | January 7, 2022 to February 28, 2022 [Member] | Debt Covenants [Member] |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Minimum cash balance requirement under credit agreements |  |  |  | $ 60,000,000.0 |  |  |  |
Financing Agreement [Member] | Tranche One [Member] |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Term loan facility first tranche drawn |  | 200,000,000.0 |  |  |  |  |  |
Financing Agreement [Member] | Tranche Two [Member] |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Term loan facility second tranche drawn |  | 50,000,000.0 |  |  |  |  |  |
Financing Agreement [Member] | Tranche Three [Member] |  |  |  |  |  |  |  |
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] |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Deferred financing fees |  |  |  | $ 18,800,000 |  |  |  |
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] |  |  |  |  |  |  |  |
Debt instrument payment due payable in 2022 |  |  |  | 200,000,000.0 |  |  |  |
Financing Agreement Amendment No 9 [Member] | Paid In Kind |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Deferred financing fees |  |  |  | 30,000,000.0 |  |  |  |
Finance Agreement One Of Two Milestones Specified In Amendment Number Nine | Paid In Kind |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Waivable in kind amendment fee |  |  |  | $ 16,000,000.0 |  |  |  |
Credit Agreement |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |
Prepayment fee percentage |  | 4.00% |  |  |  |  |  |
Aggregate amount paid |  | $ 81,700,000 |  |  |  |  |  |
Repayment fee percentage |  | 4.00% |  |  |  |  |  |
Loss of extinguishment of debt |  | $ 10,100,000 |  |  |  |  |  |

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 Future prepayment fee obligations. + References No definition available. + Details
Name: | txmd_FuturePrepaymentFeeObligations
Namespace Prefix: | txmd_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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 Minimum quarterly revenue requirement under credit agreement. + References No definition available. + Details
Name: | txmd_MinimumQuarterlyRevenueRequirementUnderCreditAgreement
Namespace Prefix: | txmd_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 Repayment fee percentage. + References No definition available. + Details
Name: | txmd_RepaymentFeePercentage
Namespace Prefix: | txmd_
Data Type: | dtr-types:percentItemType
Balance Type: | na
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 Term loan facility second tranche drawn. + References No definition available. + Details
Name: | txmd_TermLoanFacilitySecondTrancheDrawn
Namespace Prefix: | txmd_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

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 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 http://asc.fasb.org/extlink&oid=123467817&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 http://asc.fasb.org/extlink&oid=123467817&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 States whether the entity was in compliance with the debt covenants throughout the reporting period, and describes facts and circumstances of any compliance failure. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 50 -Paragraph 3 -Subparagraph (g) -URI http://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823 Reference 2: 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 http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentCovenantCompliance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
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 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 http://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 http://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 http://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 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 http://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 Amount, after accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. + 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.17) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1D -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399 + Details
Name: | us-gaap_DeferredFinanceCostsNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 http://asc.fasb.org/extlink&oid=123467658&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 http://asc.fasb.org/extlink&oid=123467658&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 http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585 + Details
Name: | us-gaap_GainsLossesOnExtinguishmentOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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 http://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 Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1E -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-04(a)) -URI http://asc.fasb.org/extlink&oid=120395691&loc=d3e24072-122690 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=123465755&loc=d3e1835-112601 + Details
Name: | us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, after allowance for credit loss, of financing receivable. Excludes financing receivable covered under loss sharing agreement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 5 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL82919230-210447 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(3)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=124259787&loc=d3e4428-111522 + Details
Name: | us-gaap_NotesReceivableNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 http://asc.fasb.org/extlink&oid=123570139&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 http://asc.fasb.org/extlink&oid=123570139&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_BalanceSheetLocationAxis=txmd_AccruedExpensesAndOtherCurrentLiabilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_OtherNoncurrentLiabilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_LongTermDebtMember
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_DebtInstrumentCovenantComplianceAxis=txmd_DebtCovenantsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=txmd_CovenantsPayablesPeriodMember
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: | us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis=us-gaap_PaymentInKindPIKNoteMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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