XML 70 R59.htm IDEA: XBRL DOCUMENT
v3.21.2

Long-Term Debt - Narrative (Details) - USD ($) |  | 9 Months Ended |
--- | --- | --- | ---
May 19, 2021 | Sep. 30, 2021 | Sep. 30, 2020 | Dec. 31, 2020
Debt Instrument [Line Items] |  |  |  |
Debt outstanding |  | $ 215,854,000 |  | $ 220,216,000
Finance costs incurred |  | 550,000 | $ 1,497,000 |
Revolving Credit Facility |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Debt outstanding |  | 128,522,000 |  | 120,312,000
Outstanding borrowings |  | 209,200,000 |  |
Outstanding letters of credit |  | 4,300,000 |  |
Capitalized costs associated with debt modifications |  | 1,100,000 |  |
Revolving Credit Facility | Senior Secured Term Loan A Facility |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Maximum borrowing capacity |  | 100,000,000 |  |
Debt outstanding |  | 80,388,000 |  | 89,745,000
Revolving Credit Facility | Senior Secured Term Loan A Facility | Each quarter through March 31, 2022 |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Debt quarterly payments | $ 3,750,000 |  |  |
Revolving Credit Facility | Senior Secured Term Loan A Facility | Each quarter thereafter |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Debt quarterly payments | 5,000,000 |  |  |
Revolving Credit Facility | Credit Agreement |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Maximum borrowing capacity | 165,000,000 |  |  |
Capitalized unamortized issuance cost |  | 100,000 |  |
Finance costs incurred | 500,000 |  |  |
Expensed finance costs | $ 200,000 |  |  |
Maximum borrowing capacity in non-U.S. Dollar currencies |  | 100,000,000 |  |
Maximum amount available for the issuance of letters of credit |  | 20,000,000 |  |
Revolving Credit Facility | Credit Agreement | Minimum |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Total consolidated leverage ratio, limit after investment in non-guarantor subsidiary | 350.00% |  |  |
Revolving Credit Facility | Credit Agreement | Maximum |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Total consolidated leverage ratio, if the company incurs certain subordinated debt and other indebtedness | 450.00% |  |  |
Senior debt to EBITDA ratio | 350.00% |  |  |
Revolving Credit Facility | Credit Agreement | LIBOR | Minimum |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Floor rate | 1.00% |  |  |
Revolving Credit Facility | Credit Agreement | September 30, 2021 |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Maximum borrowing capacity | $ 155,000,000 |  |  |
Revolving Credit Facility | Credit Agreement | December 31, 2021 |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Maximum borrowing capacity | $ 150,000,000 |  |  |
Revolving Credit Facility | Credit Agreement | Each quarter through March 31, 2022 | Maximum |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Total consolidated debt leverage ratio | 4.00 |  |  |
Revolving Credit Facility | Credit Agreement | Each quarter thereafter | Minimum |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Total consolidated debt leverage ratio | 3.50 |  |  |
Other |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Debt outstanding |  | 6,944,000 |  | $ 10,159,000
Other | Minimum |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Debt quarterly payments |  | $ 1,000 |  |
Interest rate |  | 0.40% |  |
Other | Maximum |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Debt quarterly payments |  | $ 17,000 |  |
Interest rate |  | 3.50% |  |

X
- Definition Debt Instrument, Covenant Compliance, Consolidated Debt Leverage Ratio, After Additional Subordinated Debt And Other Indebtedness + References No definition available. + Details
Name: | mg_DebtInstrumentCovenantComplianceConsolidatedDebtLeverageRatioAfterAdditionalSubordinatedDebtAndOtherIndebtedness
Namespace Prefix: | mg_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt Instrument, Covenant Compliance, Senior Debt To Earnings Before Income Taxes, Depreciation And Amortization Ratio + References No definition available. + Details
Name: | mg_DebtInstrumentCovenantComplianceSeniorDebtToEarningsBeforeIncomeTaxesDepreciationAndAmortizationRatio
Namespace Prefix: | mg_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt Instrument, Covenant Compliance, Total Consolidated Debt Leverage Ratio + References No definition available. + Details
Name: | mg_DebtInstrumentCovenantComplianceTotalConsolidatedDebtLeverageRatio
Namespace Prefix: | mg_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt Instrument, Covenant Compliance, Total Consolidated Debt Leverage Ratio, After Investment In Guarantor Subsidiary + References No definition available. + Details
Name: | mg_DebtInstrumentCovenantComplianceTotalConsolidatedDebtLeverageRatioAfterInvestmentInGuarantorSubsidiary
Namespace Prefix: | mg_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the maximum amount of borrowing capacity under the revolving credit facility that is available for the issuance of letters of credit. + References No definition available. + Details
Name: | mg_LineOfCreditFacilityMaximumBorrowingCapacityAvailableForIssuanceOfLettersOfCredit
Namespace Prefix: | mg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Represents the maximum borrowing capacity in non-U.S. dollar currencies under the revolving credit facility. + References No definition available. + Details
Name: | mg_LineOfCreditFacilityMaximumBorrowingCapacityInNonUSCurrencies
Namespace Prefix: | mg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of amortization expense attributable to debt issuance costs. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -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 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(8)) -URI http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1F -Subparagraph (b)(2) -URI http://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -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_AmortizationOfFinancingCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 Contractual interest rate for funds borrowed, under the debt agreement. + 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 (b) -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 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_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

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 The total amount of the contingent obligation under letters of credit outstanding as of the reporting date. + References No definition available. + Details
Name: | us-gaap_LettersOfCreditOutstandingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The carrying value as of the balance sheet date of the current and noncurrent portions of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement. + 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 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 Reference 3: 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(16)) -URI http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910 + Details
Name: | us-gaap_LineOfCredit
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 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, after unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (b)(3) -URI http://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870 Reference 2: 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 3: 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(a)(16)) -URI http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910 Reference 4: 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 Reference 5: 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(16)) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1D -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611 Reference 7: 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_LongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The cash outflow paid to third parties in connection with debt origination, which will be amortized over the remaining maturity period of the associated long-term debt. + 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 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3291-108585 + Details
Name: | us-gaap_PaymentsOfDebtIssuanceCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The remaining balance of debt issuance expenses that were capitalized and are being amortized against income over the lives of the respective bond issues. This does not include the amounts capitalized as part of the cost of the utility plant or asset. + 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 + Details
Name: | us-gaap_UnamortizedDebtIssuanceExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Write-off of amounts previously capitalized as debt issuance cost in an extinguishment of debt. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.8) -URI http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227 + Details
Name: | us-gaap_WriteOffOfDeferredDebtIssuanceCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

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

X
- Details
Name: | mg_DebtCovenantPeriodAxis=mg_DebtCovenantPeriodThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | mg_DebtCovenantPeriodAxis=mg_DebtCovenantPeriodFourMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=mg_CreditAgreementMember
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: | srt_RangeAxis=srt_MaximumMember
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: | mg_DebtCovenantPeriodAxis=mg_DebtCovenantPeriodOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | mg_DebtCovenantPeriodAxis=mg_DebtCovenantPeriodTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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