XML 45 R35.htm IDEA: XBRL DOCUMENT
v3.24.2.u1

Accrued Expenses and Other Current Liabilities (Tables) | 6 Months Ended
--- | ---
Jun. 30, 2024
Payables and Accruals [Abstract] |
Schedule of Accrued Expenses and Other Current Liabilities | Accrued expenses and other current liabilities consisted of the following:
| June 30, 2024 |  | December 31, 2023
Accrued salaries, wages and related employee benefits | $ | 29,567 |  |  | $ | 27,372 |
Accrued workers’ compensation and health benefits | 4,645 |  |  | 4,385 |
Deferred revenue | 8,296 |  |  | 7,136 |
Pension accrual | 2,458 |  |  | 2,458 |
Right-of-use liability - Operating | 11,408 |  |  | 10,686 |
Other accrued expenses | 29,353 |  |  | 32,294 |
Total | $ | 85,727 |  |  | $ | 84,331 |

X
- Definition Tabular disclosure of (a) other payables; (b) accrued liabilities; (c) deferred revenue; and (d) the fair value of contingent consideration liabilities, due within one year or within the normal operating cycle if longer. + References No definition available. + Details
Name: | mg_ScheduleOfAccruedLiabilitiesDeferredRevenueAndContingentConsiderationLiabilitiesCurrentTableTextBlock
Namespace Prefix: | mg_
Data Type: | dtr-types1:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_PayablesAndAccrualsAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration