XML 55 R44.htm IDEA: XBRL DOCUMENT
v3.21.2

Long Term Debt - Term Loan Debt Issuance Costs (Details) - Term loan - USD ($) $ in Thousands | Sep. 30, 2021 | Dec. 31, 2020 | Jul. 02, 2020
--- | --- | --- | ---
Credit Facilities |  |  |
Debt Instrument [Line Items] |  |  |
Original issue discount |  |  | $ 500
Deferred financing costs |  |  | 3,253
Hayfin Loan Agreement Term Loan |  |  |
Debt Instrument [Line Items] |  |  |
Original issue discount | $ 264 | $ 307 |
Long term debt | Hayfin Loan Agreement Term Loan |  |  |
Debt Instrument [Line Items] |  |  |
Original issue discount |  |  | 333
Deferred financing costs |  |  | 2,169
Other current assets | Hayfin Loan Agreement Delayed Draw Term Loan |  |  |
Debt Instrument [Line Items] |  |  |
Original issue discount |  |  | 167
Deferred financing costs |  |  | $ 1,084

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, after accumulated amortization, of debt discount. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 1A -URI http://asc.fasb.org/extlink&oid=124435984&loc=d3e28541-108399 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400 Reference 3: 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 + Details
Name: | us-gaap_DebtInstrumentUnamortizedDiscount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, before 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 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399 + Details
Name: | us-gaap_DeferredFinanceCostsGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Details
Name: | us-gaap_DebtInstrumentAxis=mdxg_CreditFacilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=mdxg_HayfinLoanAgreementTermLoanMember
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_BalanceSheetLocationAxis=us-gaap_OtherCurrentAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=mdxg_HayfinLoanAgreementDelayedDrawTermLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |