XML 45 R35.htm IDEA: XBRL DOCUMENT
v3.24.3

Accrued Expenses and Other Current Liabilities (Tables) | 9 Months Ended
--- | ---
Sep. 30, 2024
Payables and Accruals [Abstract] |
Schedule of Accrued Expenses and Other Current Liabilities | Accrued expenses and other current liabilities consisted of the following:
| September 30, 2024 |  | December 31, 2023
Accrued salaries, wages and related employee benefits | $ | 28,061 |  |  | $ | 27,372 |
Accrued workers’ compensation and health benefits | 4,616 |  |  | 4,385 |
Deferred revenue | 6,975 |  |  | 7,136 |
Pension accrual | 2,458 |  |  | 2,458 |
Right-of-use liability - Operating | 11,783 |  |  | 10,686 |
Other accrued expenses | 31,730 |  |  | 32,294 |
Total | $ | 85,623 |  |  | $ | 84,331 |

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