XML 76 R38.htm IDEA: XBRL DOCUMENT
v3.22.4

Accrued Expenses and Other Current Liabilities (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2022
Payables and Accruals [Abstract] |
Schedule of Accrued Expenses and Other Current Liabilities | Accrued expenses and other current liabilities consist of the following (in thousands):
| December 31,
| 2022 |  | 2021
Accrued salaries, wages and related employee benefits | $ | 26,684 |  |  | $ | 33,816 |
Contingent consideration | 937 |  |  | 1,830 |
Accrued workers' compensation and health benefits | 3,660 |  |  | 3,994 |
Deferred revenues | 7,521 |  |  | 6,202 |
Right-of-use liability - Operating | 10,376 |  |  | 10,040 |
Pension accrual | 2,519 |  |  | 2,519 |
Other accrued expenses | 26,147 |  |  | 25,462 |
Total accrued expenses and other current liabilities | $ | 77,844 |  |  | $ | 83,863 |

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-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