XML 127 R89.htm IDEA: XBRL DOCUMENT
v3.22.4

Commitments and Contingencies (Details) |  |  | 1 Months Ended | 3 Months Ended | 12 Months Ended |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | ---
Oct. 05, 2021 USD ($) | Aug. 03, 2021 | Dec. 31, 2020 USD ($) | Dec. 31, 2019 USD ($) weld | Mar. 31, 2021 USD ($) | Dec. 31, 2020 USD ($) | Dec. 31, 2022 USD ($) claim | Dec. 31, 2018 | Mar. 31, 2022 | Dec. 31, 2021 USD ($) installment | Jan. 01, 2020 USD ($)
Litigation |  |  |  |  |  |  |  |  |  |  |
Accounts receivable, net |  |  |  |  |  |  | $ 123,657,000 |  |  | $ 109,511,000 |
Allowance for doubtful accounts |  |  |  |  |  |  | 4,110,000 |  |  | 3,228,000 |
Multiemployer pension plan liability |  |  |  |  |  |  | 2,519,000 |  |  | $ 2,519,000 |
Texas Customer |  |  |  |  |  |  |  |  |  |  |
Litigation |  |  |  |  |  |  |  |  |  |  |
Accounts receivable, net |  |  |  | $ 1,400,000 |  |  |  |  |  |  |
Verbal demand for damages |  |  |  | 1,400,000 |  |  |  |  |  |  |
Litigation and Commercial Claims | Various Pipeline Projects For Texas Customer |  |  |  |  |  |  |  |  |  |  |
Litigation |  |  |  |  |  |  |  |  |  |  |
Verbal demand for damages |  |  |  | $ 7,600,000 |  |  |  |  |  |  |
Litigation and Commercial Claims | Texas Customer |  |  |  |  |  |  |  |  |  |  |
Litigation |  |  |  |  |  |  |  |  |  |  |
Accounts receivable, net |  |  |  |  |  |  | 1,400,000 |  |  |  |
Number of welds alleged not in compliance | weld |  |  |  | 66 |  |  |  |  |  |  |
Number of welds inspected | weld |  |  |  | 16,000 |  |  |  |  |  |  |
Allowance for doubtful accounts |  |  |  | $ 1,400,000 |  |  |  |  |  |  |
Litigation and Commercial Claims | Texas Customer | Various Pipeline Projects For Texas Customer |  |  |  |  |  |  |  |  |  |  |
Litigation |  |  |  |  |  |  |  |  |  |  |
Verbal demand for damages |  |  |  | $ 1,400,000 |  |  |  |  |  |  |
Contingency related charges |  |  |  |  |  |  | $ 100,000 |  |  |  |
Class Actions |  |  |  |  |  |  |  |  |  |  |
Litigation |  |  |  |  |  |  |  |  |  |  |
Contingency related charges |  |  |  |  | $ 1,600,000 | $ 800,000 |  |  |  |  |
Number of proceedings filed | claim |  |  |  |  |  |  | 2 |  |  |  |
Number of consolidated cases | claim |  |  |  |  |  |  | 2 |  |  |  |
Litigation settlement amount | $ 2,300,000 |  |  |  |  |  |  |  |  |  |
Class action on behalf of current and former employees |  |  |  |  |  |  |  |  |  |  |
Litigation |  |  |  |  |  |  |  |  |  |  |
Number of proceedings filed | claim |  |  |  |  |  |  | 1 |  |  |  |
Class action on behalf of State of California |  |  |  |  |  |  |  |  |  |  |
Litigation |  |  |  |  |  |  |  |  |  |  |
Number of proceedings filed | claim |  |  |  |  |  |  | 1 |  |  |  |
Pension Related Contingencies |  |  |  |  |  |  |  |  |  |  |
Litigation |  |  |  |  |  |  |  |  |  |  |
Multiemployer pension plan liability |  |  |  |  |  |  | $ 2,500,000 |  |  |  |
Severance and Labor Disputes | Foreign Subsidiary |  |  |  |  |  |  |  |  |  |  |
Litigation |  |  |  |  |  |  |  |  |  |  |
Settlement amount |  |  | $ 1,000,000 |  |  |  |  |  |  |  |
Number of settlement installments | installment |  |  |  |  |  |  |  |  |  | 2 |
Percentage of settlement installments |  |  |  |  |  |  |  |  | 0.69 | 0.31 |
Gain on settlement |  |  | $ 300,000 |  | $ 600,000 |  |  |  |  |  |
Severance and Labor Disputes | GERMANY | Foreign Subsidiary |  |  |  |  |  |  |  |  |  |  |
Litigation |  |  |  |  |  |  |  |  |  |  |
Contingency related charges |  |  |  |  |  |  | 100,000 |  |  |  |
Contingency payments |  |  |  |  |  |  | 400,000 |  |  |  |
Loss contingency reversals |  |  |  |  |  |  | 1,000,000 |  |  |  |
Severance and Labor Disputes | GERMANY | Foreign Subsidiary | Right to Customer Contracts | Disposal Group, Disposed of by Sale, Not Discontinued Operations |  |  |  |  |  |  |  |  |  |  |
Litigation |  |  |  |  |  |  |  |  |  |  |
Consideration received on sale of disposal |  |  |  |  |  |  |  |  |  |  | $ 100,000
Acquisition-related Contingencies | Products and Systems | Disposal of Foreign Subsidiaries | Disposal Group, Disposed of by Sale, Not Discontinued Operations |  |  |  |  |  |  |  |  |  |  |
Litigation |  |  |  |  |  |  |  |  |  |  |
Term of agreement to purchase products from buyer on sale of subsidiary |  |  |  |  |  |  |  | 3 years |  |  |
Cumulative amount purchased under purchase agreement |  |  |  |  |  |  | 2,300,000 |  |  |  |
Extension period on agreement with buyer on sale of subsidiary |  | 12 months |  |  |  |  |  |  |  |  |
Acquisition-related Contingencies | Series of Individually Immaterial Business Acquisitions |  |  |  |  |  |  |  |  |  |  |
Litigation |  |  |  |  |  |  |  |  |  |  |
Potential acquisition-related contingent consideration, low end of range |  |  |  |  |  |  | 0 |  |  |  |
Potential acquisition-related contingent consideration, high end of range |  |  |  |  |  |  | $ 900,000 |  |  |  |

X
- Definition Litigation Settlement, Amount Awarded from Other Party, Installment Percentage + References No definition available. + Details
Name: | mg_LitigationSettlementAmountAwardedFromOtherPartyInstallmentPercentage
Namespace Prefix: | mg_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | instant

X
- Definition Litigation Settlement, Amount Awarded from Other Party, Number Of Installments + References No definition available. + Details
Name: | mg_LitigationSettlementAmountAwardedFromOtherPartyNumberOfInstallments
Namespace Prefix: | mg_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | instant

X
- Definition Long-Term Purchase Commitment, Extension Period + References No definition available. + Details
Name: | mg_LongTermPurchaseCommitmentExtensionPeriod
Namespace Prefix: | mg_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Loss Contingency, Consolidated Claims Filed, Number + References No definition available. + Details
Name: | mg_LossContingencyConsolidatedClaimsFiledNumber
Namespace Prefix: | mg_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Loss Contingency, Number Of Welds Alleged Not In Compliance + References No definition available. + Details
Name: | mg_LossContingencyNumberOfWeldsAllegedNotInCompliance
Namespace Prefix: | mg_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Loss Contingency, Number Of Welds Inspected + References No definition available. + Details
Name: | mg_LossContingencyNumberOfWeldsInspected
Namespace Prefix: | mg_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Purchase Commitment, Cumulative Amount Committed + References No definition available. + Details
Name: | mg_PurchaseCommitmentCumulativeAmountCommitted
Namespace Prefix: | mg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of allowance for credit loss on accounts receivable, classified as current. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=123577603&loc=d3e5074-111524 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124255206&loc=SL82895884-210446 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(4)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition For contingent consideration arrangements recognized in connection with a business combination, this element represents an estimate of the high-end of the potential range (undiscounted) of the consideration which may be paid. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (c)(3) -URI https://asc.fasb.org/extlink&oid=126975305&loc=d3e6927-128479 + Details
Name: | us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition For contingent consideration arrangements and indemnification assets recognized in connection with a business combination, this element represents an estimate of the low-end of the potential range (undiscounted) of the consideration which may be paid. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (c)(3) -URI https://asc.fasb.org/extlink&oid=126975305&loc=d3e6927-128479 + Details
Name: | us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueLow
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of consideration received or receivable for the disposal of assets and liabilities, including discontinued operation. + References No definition available. + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationConsideration
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of gain (loss) recognized in settlement of litigation and insurance claims. Excludes claims within an insurance entity's normal claims settlement process. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349 + Details
Name: | us-gaap_GainLossRelatedToLitigationSettlement
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount awarded from other party in judgment or settlement of litigation. + References No definition available. + Details
Name: | us-gaap_LitigationSettlementAmountAwardedFromOtherParty
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount awarded to other party in judgment or settlement of litigation. + References No definition available. + Details
Name: | us-gaap_LitigationSettlementAmountAwardedToOtherParty
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Period covered by the long-term purchase commitment, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_LongtermPurchaseCommitmentPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_LossContingenciesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of increase (decrease) in loss contingency liability. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349 + Details
Name: | us-gaap_LossContingencyAccrualCarryingValuePeriodIncreaseDecrease
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cash outflow reducing loss contingency liability. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349 + Details
Name: | us-gaap_LossContingencyAccrualPayments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The value (monetary amount) of the award the plaintiff seeks in the legal matter. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 9 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349 + Details
Name: | us-gaap_LossContingencyDamagesSoughtValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of loss pertaining to the specified contingency that was charged against earnings in the period, including the effects of revisions in previously reported estimates. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349 + Details
Name: | us-gaap_LossContingencyLossInPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The total number of new claims filed pertaining to a loss contingency during the period. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 9 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349 + Details
Name: | us-gaap_LossContingencyNewClaimsFiledNumber
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of the obligation recognized by withdrawing from a pension or postretirement benefit plan to which two or more unrelated employers contribute where assets contributed by one participating employer may be used to provide benefits to employees of other participating employers. + References No definition available. + Details
Name: | us-gaap_MultiemployerPlansWithdrawalObligation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The total amount due to the entity within one year of the balance sheet date (or one operating cycle, if longer) from outside sources, including trade accounts receivable, notes and loans receivable, as well as any other types of receivables, net of allowances established for the purpose of reducing such receivables to an amount that approximates their net realizable value. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(5)) -URI https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 210 -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-06(3)) -URI https://asc.fasb.org/extlink&oid=120401414&loc=d3e604059-122996 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 852 -SubTopic 10 -Section 55 -Paragraph 10 -URI https://asc.fasb.org/extlink&oid=84165509&loc=d3e56426-112766 + Details
Name: | us-gaap_ReceivablesNetCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | srt_MajorCustomersAxis=mg_TexasCustomerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LossContingenciesByNatureOfContingencyAxis=us-gaap_CollectibilityOfReceivablesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_LitigationCaseAxis=mg_VariousPipelineProjectsForTexasCustomerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LossContingenciesByNatureOfContingencyAxis=mg_ClassActionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LossContingenciesByNatureOfContingencyAxis=mg_ClassActionOnBehalfOfCurrentAndFormerEmployeesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LossContingenciesByNatureOfContingencyAxis=mg_ClassActionOnBehalfOfStateOfCaliforniaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LossContingenciesByNatureOfContingencyAxis=us-gaap_WithdrawalFromMultiemployerDefinedBenefitPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LossContingenciesByNatureOfContingencyAxis=mg_SeveranceandLaborDisputesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=srt_AffiliatedEntityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=country_DE
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis=mg_RightToCustomerContractsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DisposalGroupClassificationAxis=us-gaap_DisposalGroupDisposedOfBySaleNotDiscontinuedOperationsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LossContingenciesByNatureOfContingencyAxis=mg_AcquisitionRelatedContingenciesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=mg_ProductsandSystemsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis=mg_DisposalOfForeignSubsidiariesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=us-gaap_SeriesOfIndividuallyImmaterialBusinessAcquisitionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |