XML 36 R27.htm IDEA: XBRL DOCUMENT
v3.23.2

Acquisitions (Tables) | 6 Months Ended
--- | ---
Jun. 30, 2023
Business Combination and Asset Acquisition [Abstract] |
Schedule of Acquisition-related Expense | These amounts are reported as Acquisition-related expense, net on the Unaudited Condensed Consolidated Statements of Income (Loss) and were as follows for the three and six months ended June 30, 2023 and 2022:
| Three months ended June 30, |  | Six months ended June 30,
| 2023 |  | 2022 |  | 2023 |  | 2022
Due diligence, professional fees and other transaction costs | $ | 1 |  |  | $ | 13 |  |  | $ | 3 |  |  | $ | 18 |
Adjustments to fair value of contingent consideration liabilities |  |  | — |  |  |  |  | 45 |
Acquisition-related expense, net | $ | 1 |  |  | $ | 13 |  |  | $ | 3 |  |  | $ | 63 |

X
- Definition Tabular disclosure of acquisition-related costs. + References No definition available. + Details
Name: | mg_ScheduleOfBusinessCombinationAcquisitionRelatedCostsTableTextBlock
Namespace Prefix: | mg_
Data Type: | dtr-types1:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_BusinessCombinationAndAssetAcquisitionAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration