XML 33 R17.htm IDEA: XBRL DOCUMENT
v3.25.3

Accrued Expenses and Other Current Liabilities | 9 Months Ended
--- | ---
Sep. 30, 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:
| September 30, 2025 |  | December 31, 2024
Accrued salaries, wages and related employee benefits | $ | 31,690 |  |  | $ | 27,990 |
Accrued workers’ compensation and health benefits | 3,180 |  |  | 4,898 |
Deferred revenue | 8,148 |  |  | 8,096 |
Pension accrual | 2,245 |  |  | 2,458 |
Right-of-use liability - Operating | 11,384 |  |  | 11,375 |
Other accrued expenses | 31,211 |  |  | 30,416 |
Total | $ | 87,858 |  |  | $ | 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-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