XML 30 R17.htm IDEA: XBRL DOCUMENT
v3.25.1

Accrued Expenses and Other Current Liabilities | 3 Months Ended
--- | ---
Mar. 31, 2025
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, 2025 |  | December 31, 2024
Accrued salaries, wages and related employee benefits | $ | 28,137 |  |  | $ | 27,990 |
Accrued workers’ compensation and health benefits | 3,937 |  |  | 4,898 |
Deferred revenue | 10,065 |  |  | 8,096 |
Pension accrual | 2,458 |  |  | 2,458 |
Right-of-use liability - Operating | 11,380 |  |  | 11,375 |
Other accrued expenses | 29,508 |  |  | 30,416 |
Total | $ | 85,485 |  |  | $ | 85,233 |

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