XML 28 R18.htm IDEA: XBRL DOCUMENT
v3.23.1

Accrued Expenses and Other Current Liabilities | 3 Months Ended
--- | ---
Mar. 31, 2023
Payables and Accruals [Abstract] |
Accrued Expenses and Other Current Liabilities | Accrued Expenses and Other Current Liabilities Accrued expenses and other current liabilities consisted of the following:
| March 31, 2023 |  | December 31, 2022
Accrued salaries, wages and related employee benefits | $ | 25,855 |  |  | $ | 26,684 |
Contingent consideration, current portion | — |  |  | 937 |
Accrued workers’ compensation and health benefits | 3,789 |  |  | 3,660 |
Deferred revenue | 9,257 |  |  | 7,521 |
Pension accrual | 2,519 |  |  | 2,519 |
Right-of-use liability - Operating | 10,216 |  |  | 10,376 |
Other accrued expenses | 25,491 |  |  | 26,147 |
Total | $ | 77,127 |  |  | $ | 77,844 |

X
- Definition The entire disclosure for accrued liabilities, deferred revenues, and the fair value of contingent consideration liabilities at the end of the reporting period. + References No definition available. + Details
Name: | mg_AccruedLiabilitiesDeferredRevenuesAndContingentConsiderationLiabilitiesCurrentDisclosureTextBlock
Namespace Prefix: | mg_
Data Type: | dtr-types: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