XML 54 R36.htm IDEA: XBRL DOCUMENT
v3.23.1

Business, basis of presentation, new accounting standards and summary of significant accounting policies - Summary of Restructuring Cost Recognition (Details) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 USD ($)
Restructuring Cost And Reserve [Line Items] |
Total restructuring expenses - general and administrative expenses | $ 9,472
Total restructuring expenses - discontinued operations | 6,180
Executive Termination Benefits [Member] |
Restructuring Cost And Reserve [Line Items] |
Total restructuring expenses - general and administrative expenses | 3,897
Consulting and Legal Expenses [Member] |
Restructuring Cost And Reserve [Line Items] |
Total restructuring expenses - general and administrative expenses | 3,060
Other Contract Termination Costs [Member] |
Restructuring Cost And Reserve [Line Items] |
Total restructuring expenses - general and administrative expenses | 2,515
Total restructuring expenses - discontinued operations | 1,367
Employee Termination Benefits [Member] |
Restructuring Cost And Reserve [Line Items] |
Total restructuring expenses - discontinued operations | $ 4,813

X
- Definition Disposal group, including discontinued operation, restructuring charges. + References No definition available. + Details
Name: | txmd_DisposalGroupIncludingDiscontinuedOperationRestructuringCharges
Namespace Prefix: | txmd_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of expenses associated with exit or disposal activities pursuant to an authorized plan. Excludes expenses related to a discontinued operation or an asset retirement obligation. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section 45 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=109237686&loc=d3e17752-110868 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 5.P.3) -URI https://asc.fasb.org/extlink&oid=115931487&loc=d3e140864-122747 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 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SAB Topic 5.P.4(b)(1)) -URI https://asc.fasb.org/extlink&oid=115931487&loc=d3e140904-122747 + Details
Name: | us-gaap_RestructuringCharges
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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_RestructuringCostAndReserveLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_RestructuringCostAndReserveAxis=txmd_ExecutiveTerminationBenefitsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RestructuringCostAndReserveAxis=txmd_ConsultingAndLegalExpensesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RestructuringCostAndReserveAxis=txmd_OtherContractTerminationCostsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RestructuringCostAndReserveAxis=txmd_EmployeeTerminationBenefitsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |