XML 62 R51.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Acquisitions (Details) - USD ($) $ in Thousands | 3 Months Ended
--- | ---
Mar. 31, 2024 | Mar. 31, 2023
Business Combination and Asset Acquisition [Abstract] |  |
Due diligence, professional fees and other transaction costs | $ 1 | $ 3
Adjustments to fair value of contingent consideration liabilities | 0 | 0
Acquisition-related expense, net | $ 1 | $ 3

X
- Definition This element represents acquisition-related costs incurred in connection with business combinations which costs have been expensed during the period. This also includes adjustments to the fair value of the initial purchase price allocation for acquisitions including, but not limited to, changes in contingent consideration liabilities and other liabilities, accounts receivable, inventory, fixed assets, other assets, and other acquisition-related intangible assets. Acquisition-related costs also include finder's fees; advisory, legal, accounting, valuation, and other professional or consulting fees; general administrative costs, including the costs of maintaining an internal acquisitions department; and may include costs of registering and issuing debt and equity securities. + References No definition available. + Details
Name: | mg_AcquisitionRelatedCostsAndFairValueAdjustmentsToInitialPurchasePriceAllocation
Namespace Prefix: | mg_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition This element represents acquisition-related costs incurred to effect a business combination which costs have been expensed during the period. Such costs include finder's fees; advisory, legal, accounting, valuation, and other professional or consulting fees; general administrative costs, including the costs of maintaining an internal acquisitions department; and may include costs of registering and issuing debt and equity securities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 25 -Paragraph 23 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479405/805-10-25-23 + Details
Name: | us-gaap_BusinessCombinationAcquisitionRelatedCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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

X
- Definition Amount of increase (decrease) in the value of a contingent consideration liability, including, but not limited to, differences arising upon settlement. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 28 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-28 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 805 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479581/805-30-50-4 + Details
Name: | us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration