XML 58 R42.htm IDEA: XBRL DOCUMENT
v3.21.2

Long Term Debt - Term Loan (Details) - Term loan |  |  |  | 6 Months Ended | 12 Months Ended | 24 Months Ended | 48 Months Ended |
--- | --- | --- | --- | --- | --- | --- | --- | ---
Jul. 02, 2020 USD ($) | Apr. 22, 2020 USD ($) | Jun. 10, 2019 USD ($) | Jun. 30, 2022 | Jun. 30, 2021 USD ($) | Jul. 02, 2023 | Jul. 02, 2022 | Jul. 02, 2021 | Jul. 02, 2025 | Jul. 02, 2025 | Dec. 31, 2020 USD ($)
Hayfin Loan Agreement Term Loan |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Principal issued | $ 50,000,000 |  |  |  |  |  |  |  |  |  |
Original issue discount |  |  |  |  | $ 279,000 |  |  |  |  |  | $ 307,000
Hayfin Loan Agreement Term Loan | London Interbank Offered Rate (LIBOR) |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Debt instrument, interest rate, floor (percent) | 1.50% |  |  |  |  |  |  |  |  |  |
Debt instrument, basis spread on variable rate | 6.75% |  |  |  |  |  |  |  |  |  |
Default interest rate (percent) | 3.00% |  |  |  |  |  |  |  |  |  |
Interest rate at issuance (percent) |  |  |  |  | 8.30% |  |  |  |  |  |
Financing Transactions |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Principal issued | $ 100,000,000 |  |  |  |  |  |  |  |  |  |
Credit Facilities |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Total net leverage ratio |  |  |  |  | 4.5 |  |  |  |  |  |
Debt covenant, minimum liquidity | 10,000,000 |  |  |  |  |  |  |  |  |  |
Original issue discount | 500,000 |  |  |  |  |  |  |  |  |  |
Deferred financing costs | $ 3,253,000 |  |  |  |  |  |  |  |  |  |
Hayfin Loan Agreement Delayed Draw Term Loan |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Additional commitment fee (percent) | 1.00% |  |  |  |  |  |  |  |  |  |
BT Term Loan |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Principal issued |  |  | $ 75,000,000 |  |  |  |  |  |  |  |
Fair value of the Term Loan |  |  |  |  | $ 52,000,000.0 |  |  |  |  |  |
Quarterly installments |  |  | 900,000 |  |  |  |  |  |  |  |
Original issue discount |  |  | 2,300,000 |  |  |  |  |  |  |  |
Deferred financing costs |  |  | $ 6,700,000 |  |  |  |  |  |  |  |
Amended Term Loan Agreement |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Deferred financing costs |  | $ 700,000 |  |  |  |  |  |  |  |  |
Amended Term Loan Agreement | London Interbank Offered Rate (LIBOR) |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Debt instrument, basis spread on variable rate |  | 9.00% |  |  |  |  |  |  |  |  |
Increase in interest rate (percent) |  | 1.00% |  |  |  |  |  |  |  |  |
Forecast | Hayfin Loan Agreement Term Loan, Total Net Leverage Ratio Less than 2.0x but Greater than or Equal to 1.0x | London Interbank Offered Rate (LIBOR) |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Debt instrument, basis spread on variable rate |  |  |  | 6.50% |  |  |  |  |  |  |
Forecast | Hayfin Loan Agreement Term Loan, Total Net Leverage Ratio Less than 1.0x | London Interbank Offered Rate (LIBOR) |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Debt instrument, basis spread on variable rate |  |  |  | 6.00% |  |  |  |  |  |  |
Total net leverage ratio |  |  |  | 1.0 |  |  |  |  |  |  |
Forecast | Credit Facilities |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Total net leverage ratio |  |  |  |  |  |  |  |  |  | 4.0 |
Debt instrument, prepayment make-whole premium as percent of prepaid principal (percent) |  |  |  |  |  | 1.00% | 2.00% |  | 0.00% |  |
Subsequent Event | Credit Facilities |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Debt instrument, prepayment make-whole premium as percent of prepaid principal (percent) |  |  |  |  |  |  |  | 5.00% |  |  |
Debt instrument, prepayment make-whole premium as percent of prepaid principal, plus accrued interest (percent) |  |  |  |  |  |  |  | 102.00% |  |  |
Minimum | Hayfin Loan Agreement Term Loan | Prime Rate |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Debt instrument, basis spread on variable rate | 0.50% |  |  |  |  |  |  |  |  |  |
Minimum | Forecast | Hayfin Loan Agreement Term Loan, Total Net Leverage Ratio Less than 2.0x but Greater than or Equal to 1.0x | London Interbank Offered Rate (LIBOR) |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Total net leverage ratio |  |  |  | 1.0 |  |  |  |  |  |  |
Maximum | Hayfin Loan Agreement Term Loan | Fed Funds Effective Rate Overnight Index Swap Rate |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Debt instrument, basis spread on variable rate | 2.50% |  |  |  |  |  |  |  |  |  |
Maximum | Forecast | Hayfin Loan Agreement Term Loan, Total Net Leverage Ratio Less than 2.0x but Greater than or Equal to 1.0x | London Interbank Offered Rate (LIBOR) |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Total net leverage ratio |  |  |  | 2.0 |  |  |  |  |  |  |

X
- Definition Debt Covenant, Minimum Liquidity + References No definition available. + Details
Name: | mdxg_DebtCovenantMinimumLiquidity
Namespace Prefix: | mdxg_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Debt Instrument, Default Interest Rate + References No definition available. + Details
Name: | mdxg_DebtInstrumentDefaultInterestRate
Namespace Prefix: | mdxg_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt Instrument, Interest Rate, Floor Percentage + References No definition available. + Details
Name: | mdxg_DebtInstrumentInterestRateFloorPercentage
Namespace Prefix: | mdxg_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt Instrument, Prepayment Penalty as Percent of Prepaid Principal, Percent + References No definition available. + Details
Name: | mdxg_DebtInstrumentPrepaymentPenaltyasPercentofPrepaidPrincipalPercent
Namespace Prefix: | mdxg_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt Instrument, Prepayment Penalty as Percent of Prepaid Principal, Plus Accrued Interest, Percent + References No definition available. + Details
Name: | mdxg_DebtInstrumentPrepaymentPenaltyasPercentofPrepaidPrincipalPlusAccruedInterestPercent
Namespace Prefix: | mdxg_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt Instrument, Unused Capacity, Commitment Fee Percentage + References No definition available. + Details
Name: | mdxg_DebtInstrumentUnusedCapacityCommitmentFeePercentage
Namespace Prefix: | mdxg_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Total Net Leverage Ratio + References No definition available. + Details
Name: | mdxg_TotalNetLeverageRatio
Namespace Prefix: | mdxg_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

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 Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 2: 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 3: 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 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69C -URI http://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612 Reference 6: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69B -URI http://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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 Incremental percentage increase (decrease) in the stated rate on a debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentInterestRateIncreaseDecrease
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 including both interest and principal payments. + 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 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823 + Details
Name: | us-gaap_DebtInstrumentPeriodicPayment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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
- Definition The fair value amount of long-term debt whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. + References No definition available. + Details
Name: | us-gaap_LongTermDebtFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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_HayfinLoanAgreementTermLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

X
- Details
Name: | us-gaap_DebtInstrumentAxis=mdxg_AmendedTermLoanAgreementMember
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_DebtInstrumentAxis=mdxg_HayfinLoanAgreementTermLoanTotalNetLeverageRatioLessthan2.0xbutGreaterthanorEqualto1.0xMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=mdxg_HayfinLoanAgreementTermLoanTotalNetLeverageRatioLessthan1.0xMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
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_VariableRateAxis=us-gaap_PrimeRateMember
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_VariableRateAxis=us-gaap_FederalFundsEffectiveSwapRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |