XML 42 R33.htm IDEA: XBRL DOCUMENT
v3.23.2

Accrued Expenses and Other Current Liabilities (Tables) | 6 Months Ended
--- | ---
Jun. 30, 2023
Payables and Accruals [Abstract] |
Schedule of Accrued Expenses and Other Current Liabilities | Accrued expenses and other current liabilities consisted of the following:
| June 30, 2023 |  | December 31, 2022
Accrued salaries, wages and related employee benefits | $ | 26,811 |  |  | $ | 26,684 |
Contingent consideration, current portion | — |  |  | 937 |
Accrued workers’ compensation and health benefits | 3,760 |  |  | 3,660 |
Deferred revenue | 9,257 |  |  | 7,521 |
Pension accrual | 2,458 |  |  | 2,519 |
Right-of-use liability - Operating | 10,603 |  |  | 10,376 |
Other accrued expenses | 26,083 |  |  | 26,147 |
Total | $ | 78,972 |  |  | $ | 77,844 |

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