XML 115 R94.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Subsequent Events (Details) - The Credit Agreement, JP Morgan Chase Bank - Line of Credit $ in Millions | Feb. 27, 2024 USD ($) | Dec. 31, 2023 | Aug. 01, 2022
--- | --- | --- | ---
Subsequent Event [Line Items] |  |  |
Fixed charge coverage ratio |  | 1.1 | 1.25
Prior to fiscal quarters ending December 31, 2023 | Subsequent Event |  |  |
Subsequent Event [Line Items] |  |  |
Fixed charge coverage ratio | 1.25 |  |
Fiscal quarters ending December 31, 2023 and March 31, 2024 | Subsequent Event |  |  |
Subsequent Event [Line Items] |  |  |
Fixed charge coverage ratio | 1.10 |  |
Fiscal periods ending June 30, 2024 to maturity | Subsequent Event |  |  |
Subsequent Event [Line Items] |  |  |
Fixed charge coverage ratio | 1.25 |  |
Prior to fiscal period ending December 31, 2023 | Subsequent Event |  |  |
Subsequent Event [Line Items] |  |  |
Non-recurring cash charges added back for purposes of defining EBITDA | $ 10.0 |  |
Fiscal periods ended December 31, 2023 to December 31, 2024 | Subsequent Event |  |  |
Subsequent Event [Line Items] |  |  |
Non-recurring cash charges added back for purposes of defining EBITDA | 15.0 |  |
Starting January 1, 2025 | Subsequent Event |  |  |
Subsequent Event [Line Items] |  |  |
Non-recurring cash charges added back for purposes of defining EBITDA | $ 10.0 |  |

X
- Definition Debt Instrument, Covenant, Fixed Charge Coverage Ratio + References No definition available. + Details
Name: | mg_DebtInstrumentCovenantFixedChargeCoverageRatio
Namespace Prefix: | mg_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt Instrument, Covenant, Non-Recurring Cash Charges Added Back For Purposes Of Defining EBITDA + References No definition available. + Details
Name: | mg_DebtInstrumentCovenantNonRecurringCashChargesAddedBackForPurposesOfDefiningEBITDA
Namespace Prefix: | mg_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Detail information of subsequent event by type. User is expected to use existing line items from elsewhere in the taxonomy as the primary line items for this disclosure, which is further associated with dimension and member elements pertaining to a subsequent event. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 830 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481674/830-30-50-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 855 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147483399/855-10-50-2 + Details
Name: | us-gaap_SubsequentEventLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_LineOfCreditMember
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: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
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: | 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: | mg_DebtCovenantPeriodAxis=mg_DebtCovenantPeriodFiveMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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