XML 28 R17.htm IDEA: XBRL DOCUMENT
v3.21.2

Accrued Expenses and Other Current Liabilities | 9 Months Ended
--- | ---
Sep. 30, 2021
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:
| September 30, 2021 |  | December 31, 2020
Accrued salaries, wages and related employee benefits | $ | 38,470 |  |  | $ | 30,214 |
Contingent consideration, current portion | 1,736 |  |  | 1,300 |
Accrued workers’ compensation and health benefits | 3,654 |  |  | 3,948 |
Deferred revenue | 7,143 |  |  | 6,538 |
Pension accrual | 2,519 |  |  | 2,519 |
Right-of-use liability - Operating | 9,871 |  |  | 10,348 |
Other accrued expenses | 24,919 |  |  | 23,633 |
Total | $ | 88,312 |  |  | $ | 78,500 |

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