XML 45 R34.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Accrued Expenses and Other Current Liabilities (Tables) | 3 Months Ended
--- | ---
Mar. 31, 2024
Payables and Accruals [Abstract] |
Schedule of Accrued Expenses and Other Current Liabilities | Accrued expenses and other current liabilities consisted of the following:
| March 31, 2024 |  | December 31, 2023
Accrued salaries, wages and related employee benefits | $ | 28,373 |  |  | $ | 27,372 |
Accrued workers’ compensation and health benefits | 3,590 |  |  | 4,385 |
Deferred revenue | 9,244 |  |  | 7,136 |
Pension accrual | 2,458 |  |  | 2,458 |
Right-of-use liability - Operating | 10,743 |  |  | 10,686 |
Other accrued expenses | 30,067 |  |  | 32,294 |
Total | $ | 84,475 |  |  | $ | 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