0001104659-26-056257.txt : 20260506 0001104659-26-056257.hdr.sgml : 20260506 20260506161602 ACCESSION NUMBER: 0001104659-26-056257 CONFORMED SUBMISSION TYPE: 10-Q PUBLIC DOCUMENT COUNT: 85 CONFORMED PERIOD OF REPORT: 20260331 FILED AS OF DATE: 20260506 DATE AS OF CHANGE: 20260506 FILER: COMPANY DATA: COMPANY CONFORMED NAME: Mayville Engineering Company, Inc. CENTRAL INDEX KEY: 0001766368 STANDARD INDUSTRIAL CLASSIFICATION: METAL FORGING & STAMPINGS [3460] ORGANIZATION NAME: 04 Manufacturing EIN: 390944729 FISCAL YEAR END: 1231 FILING VALUES: FORM TYPE: 10-Q SEC ACT: 1934 Act SEC FILE NUMBER: 001-38894 FILM NUMBER: 26948663 BUSINESS ADDRESS: STREET 1: 715 SOUTH STREET CITY: MAYVILLE STATE: WI ZIP: 53050 BUSINESS PHONE: 920-387-4500 MAIL ADDRESS: STREET 1: 715 SOUTH STREET CITY: MAYVILLE STATE: WI ZIP: 53050 FORMER COMPANY: FORMER CONFORMED NAME: Mayville Engineering Comapny, Inc. DATE OF NAME CHANGE: 20190130 10-Q 1 tmb-20260331x10q.htm 10-Q Mayville Engineering Company, Inc._March 31, 2026
0001766368--12-312026Q1falseP14Y1P6Y11Dhttp://fasb.org/us-gaap/2025#CostOfRevenue0001766368us-gaap:TreasuryStockCommonMember2025-01-012025-03-310001766368us-gaap:TreasuryStockCommonMember2026-03-310001766368us-gaap:RetainedEarningsMember2026-03-310001766368us-gaap:AdditionalPaidInCapitalMember2026-03-310001766368us-gaap:TreasuryStockCommonMember2025-12-310001766368us-gaap:RetainedEarningsMember2025-12-310001766368us-gaap:AdditionalPaidInCapitalMember2025-12-310001766368us-gaap:TreasuryStockCommonMember2025-03-310001766368us-gaap:RetainedEarningsMember2025-03-310001766368us-gaap:AdditionalPaidInCapitalMember2025-03-310001766368us-gaap:TreasuryStockCommonMember2024-12-310001766368us-gaap:RetainedEarningsMember2024-12-310001766368us-gaap:AdditionalPaidInCapitalMember2024-12-310001766368us-gaap:OtherCurrentLiabilitiesMembermec:MidStatesAluminumMembermec:FondDuLacCountyAndFondDuLacEconomicDevelopmentCorporationTermNoteMember2026-03-310001766368mec:OmnibusIncentivesPlanMember2026-03-310001766368mec:OmnibusIncentivesPlanMember2021-04-200001766368us-gaap:RestrictedStockUnitsRSUMember2025-01-012025-03-310001766368us-gaap:PerformanceSharesMember2025-01-012025-03-310001766368us-gaap:RestrictedStockUnitsRSUMember2026-01-012026-03-310001766368us-gaap:TechnologySectorMember2026-01-012026-03-310001766368us-gaap:OperatingSegmentsMember2026-01-012026-03-310001766368us-gaap:IntersegmentEliminationMember2026-01-012026-03-310001766368mec:TubesMember2026-01-012026-03-310001766368mec:TankMember2026-01-012026-03-310001766368mec:PowersportsMember2026-01-012026-03-310001766368mec:PerformanceStructuresMember2026-01-012026-03-310001766368mec:OutdoorSportsMember2026-01-012026-03-310001766368mec:OtherMarketMember2026-01-012026-03-310001766368mec:MilitaryMember2026-01-012026-03-310001766368mec:FabricationMember2026-01-012026-03-310001766368mec:ConstructionAndAccessMember2026-01-012026-03-310001766368mec:CommercialVehicleMember2026-01-012026-03-310001766368mec:AgricultureMember2026-01-012026-03-310001766368mec:AccuFabMemberus-gaap:TechnologySectorMember2025-01-012025-03-310001766368us-gaap:TechnologySectorMember2025-01-012025-03-310001766368us-gaap:OperatingSegmentsMember2025-01-012025-03-310001766368us-gaap:IntersegmentEliminationMember2025-01-012025-03-310001766368mec:TubesMember2025-01-012025-03-310001766368mec:TankMember2025-01-012025-03-310001766368mec:PowersportsMember2025-01-012025-03-310001766368mec:PerformanceStructuresMember2025-01-012025-03-310001766368mec:OutdoorSportsMember2025-01-012025-03-310001766368mec:OtherMarketMember2025-01-012025-03-310001766368mec:MilitaryMember2025-01-012025-03-310001766368mec:FabricationMember2025-01-012025-03-310001766368mec:ConstructionAndAccessMember2025-01-012025-03-310001766368mec:CommercialVehicleMember2025-01-012025-03-310001766368mec:AgricultureMember2025-01-012025-03-310001766368mec:EquipmentRelocationMember2026-03-310001766368mec:EquipmentRelocationMember2025-12-310001766368mec:EquipmentRelocationMember2025-08-052026-03-310001766368mec:AssetWriteDownMember2025-08-052026-03-310001766368srt:MinimumMember2025-08-052025-08-050001766368srt:MaximumMember2025-08-052025-08-050001766368mec:EquipmentRelocationMember2025-08-052025-08-050001766368mec:AssetWriteDownMember2025-08-052025-08-050001766368srt:MinimumMemberus-gaap:LandImprovementsMember2026-03-310001766368srt:MinimumMemberus-gaap:FurnitureAndFixturesMember2026-03-310001766368srt:MinimumMemberus-gaap:BuildingAndBuildingImprovementsMember2026-03-310001766368srt:MinimumMembermec:MachineryEquipmentAndToolingMember2026-03-310001766368srt:MaximumMemberus-gaap:LandImprovementsMember2026-03-310001766368srt:MaximumMemberus-gaap:FurnitureAndFixturesMember2026-03-310001766368srt:MaximumMemberus-gaap:BuildingAndBuildingImprovementsMember2026-03-310001766368srt:MaximumMembermec:MachineryEquipmentAndToolingMember2026-03-310001766368us-gaap:VehiclesMember2026-03-310001766368us-gaap:LandMember2026-03-310001766368us-gaap:LandImprovementsMember2026-03-310001766368us-gaap:FurnitureAndFixturesMember2026-03-310001766368us-gaap:ConstructionInProgressMember2026-03-310001766368us-gaap:BuildingAndBuildingImprovementsMember2026-03-310001766368mec:MachineryEquipmentAndToolingMember2026-03-310001766368us-gaap:VehiclesMember2025-12-310001766368us-gaap:LandMember2025-12-310001766368us-gaap:LandImprovementsMember2025-12-310001766368us-gaap:FurnitureAndFixturesMember2025-12-310001766368us-gaap:ConstructionInProgressMember2025-12-310001766368us-gaap:BuildingAndBuildingImprovementsMember2025-12-310001766368mec:MachineryEquipmentAndToolingMember2025-12-310001766368mec:EquipmentRelocationMember2026-01-012026-03-310001766368us-gaap:RetainedEarningsMember2026-01-012026-03-310001766368us-gaap:RetainedEarningsMember2025-01-012025-03-310001766368us-gaap:RevolvingCreditFacilityMember2026-03-310001766368us-gaap:RevolvingCreditFacilityMember2025-12-310001766368us-gaap:OtherNoncurrentLiabilitiesMembermec:MidStatesAluminumMembermec:FondDuLacCountyAndFondDuLacEconomicDevelopmentCorporationTermNoteMember2026-03-310001766368us-gaap:RevolvingCreditFacilityMembermec:AmendedAndRestatedCreditAgreementMember2026-01-012026-03-310001766368us-gaap:RevolvingCreditFacilityMembermec:AmendedAndRestatedCreditAgreementMember2025-01-012025-12-310001766368us-gaap:RevolvingCreditFacilityMembermec:ThirdAmendmentCreditAgreementMember2026-02-250001766368us-gaap:RevolvingCreditFacilityMembermec:ThirdAmendmentCreditAgreementMember2026-02-240001766368us-gaap:RevolvingCreditFacilityMembermec:FirstAmendmentCreditAgreementMember2025-06-260001766368us-gaap:RevolvingCreditFacilityMembermec:FirstAmendmentCreditAgreementMember2025-06-250001766368mec:AmendedAndRestatedCreditAgreementMember2025-12-310001766368mec:AmendedAndRestatedCreditAgreementMembermec:LendersAndWellsFargoBankNationalAssociationAdministrativeAgentMember2025-06-262025-06-260001766368us-gaap:FairValueInputsLevel1Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:DeferredCompensationShareBasedPaymentsMember2026-03-310001766368us-gaap:FairValueMeasurementsRecurringMemberus-gaap:DeferredCompensationShareBasedPaymentsMember2026-03-310001766368us-gaap:FairValueInputsLevel1Memberus-gaap:FairValueMeasurementsRecurringMember2026-03-310001766368us-gaap:FairValueMeasurementsRecurringMember2026-03-310001766368us-gaap:FairValueInputsLevel1Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:DeferredCompensationShareBasedPaymentsMember2025-12-310001766368us-gaap:FairValueMeasurementsRecurringMemberus-gaap:DeferredCompensationShareBasedPaymentsMember2025-12-310001766368us-gaap:FairValueInputsLevel1Memberus-gaap:FairValueMeasurementsRecurringMember2025-12-310001766368us-gaap:FairValueMeasurementsRecurringMember2025-12-310001766368mec:ThirdAmendmentCreditAgreementMember2026-02-252026-02-250001766368srt:MinimumMembermec:CustomerRelationshipsAndContractsMember2026-03-310001766368srt:MaximumMembermec:CustomerRelationshipsAndContractsMember2026-03-310001766368us-gaap:CustomerRelationshipsMember2026-03-310001766368srt:MinimumMembermec:CustomerRelationshipsAndContractsMember2025-12-310001766368srt:MaximumMembermec:CustomerRelationshipsAndContractsMember2025-12-310001766368us-gaap:TradeNamesMember2026-03-310001766368us-gaap:PatentsMember2026-03-310001766368us-gaap:NoncompeteAgreementsMember2026-03-310001766368us-gaap:DevelopedTechnologyRightsMember2026-03-310001766368mec:CustomerRelationshipsAndContractsMember2026-03-310001766368us-gaap:TradeNamesMember2025-12-310001766368us-gaap:PatentsMember2025-12-310001766368us-gaap:NoncompeteAgreementsMember2025-12-310001766368us-gaap:DevelopedTechnologyRightsMember2025-12-310001766368mec:CustomerRelationshipsAndContractsMember2025-12-310001766368mec:ThirdAmendmentCreditAgreementMember2026-02-250001766368mec:FirstAmendmentCreditAgreementMember2025-06-260001766368mec:AmendedAndRestatedCreditAgreementMember2026-03-310001766368us-gaap:DeferredProfitSharingMember2026-01-012026-03-310001766368us-gaap:DeferredProfitSharingMember2025-01-012025-03-310001766368mec:MidStatesAluminumMembermec:FondDuLacCountyAndFondDuLacEconomicDevelopmentCorporationTermNoteMember2025-12-310001766368mec:MidStatesAluminumMembermec:FondDuLacCountyAndFondDuLacEconomicDevelopmentCorporationTermNoteMember2026-01-012026-03-310001766368mec:MidStatesAluminumMembermec:FondDuLacCountyAndFondDuLacEconomicDevelopmentCorporationTermNoteMember2026-03-310001766368mec:AmendedAndRestatedCreditAgreementMemberus-gaap:SecuredOvernightFinancingRateSofrMember2026-01-012026-03-310001766368mec:AmendedAndRestatedCreditAgreementMembermec:FederalFundRateMember2026-01-012026-03-310001766368mec:CustomerBMemberus-gaap:SalesRevenueNetMemberus-gaap:CustomerConcentrationRiskMember2026-01-012026-03-310001766368mec:CustomerAMemberus-gaap:SalesRevenueNetMemberus-gaap:CustomerConcentrationRiskMember2026-01-012026-03-310001766368mec:CustomerCMemberus-gaap:AccountsReceivableMemberus-gaap:CustomerConcentrationRiskMember2025-01-012025-12-310001766368mec:CustomerBMemberus-gaap:SalesRevenueNetMemberus-gaap:CustomerConcentrationRiskMember2025-01-012025-03-310001766368mec:CustomerAMemberus-gaap:SalesRevenueNetMemberus-gaap:CustomerConcentrationRiskMember2025-01-012025-03-310001766368mec:CustomerCMemberus-gaap:SalesRevenueNetMemberus-gaap:CustomerConcentrationRiskMember2026-01-012026-03-310001766368mec:CustomerCMemberus-gaap:AccountsReceivableMemberus-gaap:CustomerConcentrationRiskMember2026-01-012026-03-310001766368mec:CustomerBMemberus-gaap:AccountsReceivableMemberus-gaap:CustomerConcentrationRiskMember2026-01-012026-03-310001766368mec:CustomerAMemberus-gaap:AccountsReceivableMemberus-gaap:CustomerConcentrationRiskMember2026-01-012026-03-310001766368mec:CustomerBMemberus-gaap:AccountsReceivableMemberus-gaap:CustomerConcentrationRiskMember2025-01-012025-12-310001766368mec:CustomerAMemberus-gaap:AccountsReceivableMemberus-gaap:CustomerConcentrationRiskMember2025-01-012025-12-310001766368mec:CustomerCMemberus-gaap:SalesRevenueNetMemberus-gaap:CustomerConcentrationRiskMember2025-01-012025-03-3100017663682025-03-310001766368mec:AccuFabMemberus-gaap:NoncompeteAgreementsMember2026-03-310001766368mec:AccuFabMemberus-gaap:CustomerRelationshipsMember2026-03-310001766368mec:AccuFabMemberus-gaap:NoncompeteAgreementsMember2025-12-310001766368mec:AccuFabMemberus-gaap:CustomerRelationshipsMember2025-12-310001766368mec:AccuFabMember2025-07-012025-07-010001766368mec:AccuFabMember2026-01-012026-03-310001766368mec:AccuFabMember2025-01-012025-03-310001766368mec:AccuFabMember2025-07-010001766368mec:AssetWriteDownMember2026-01-012026-03-3100017663682025-01-012025-12-310001766368mec:OmnibusIncentivesPlanMember2019-12-310001766368us-gaap:PerformanceSharesMember2025-01-012025-12-310001766368srt:MinimumMemberus-gaap:PerformanceSharesMember2026-01-012026-03-310001766368srt:MaximumMemberus-gaap:PerformanceSharesMember2026-01-012026-03-310001766368srt:MinimumMemberus-gaap:PerformanceSharesMember2025-01-012025-12-310001766368srt:MaximumMemberus-gaap:PerformanceSharesMember2025-01-012025-12-310001766368us-gaap:PerformanceSharesMember2026-01-012026-03-3100017663682025-08-052025-08-050001766368mec:ThroughFourthQuarterOf2026Membermec:ThirdAmendmentCreditAgreementMember2026-02-252026-02-250001766368mec:Year2027AndThereafterMembermec:ThirdAmendmentCreditAgreementMember2026-02-252026-02-250001766368mec:ThirdQuarterOf2026Membermec:ThirdAmendmentCreditAgreementMember2026-02-252026-02-250001766368mec:FourthQuarterOf2026Membermec:ThirdAmendmentCreditAgreementMember2026-02-252026-02-250001766368mec:FirstAndSecondQuarterOf2026Membermec:ThirdAmendmentCreditAgreementMember2026-02-252026-02-250001766368mec:AmendedAndRestatedCreditAgreementMember2025-06-262025-06-260001766368mec:FirstAmendmentCreditAgreementMembermec:LendersAndWellsFargoBankNationalAssociationAdministrativeAgentMember2025-06-2600017663682025-01-0100017663682024-12-310001766368us-gaap:EmployeeStockOptionMember2026-01-012026-03-310001766368us-gaap:EmployeeStockOptionMember2025-01-012025-03-3100017663682025-01-012025-01-0100017663682024-01-012024-12-310001766368mec:EmployeesMember2026-01-012026-03-310001766368mec:EmployeesMember2025-01-012025-03-310001766368srt:MinimumMembermec:AmendedAndRestatedCreditAgreementMember2026-01-012026-03-310001766368srt:MaximumMembermec:AmendedAndRestatedCreditAgreementMember2026-01-012026-03-310001766368mec:AmendedAndRestatedCreditAgreementMember2026-01-012026-03-310001766368mec:AccuFabMember2026-03-310001766368mec:AccuFabMember2025-12-310001766368us-gaap:AdditionalPaidInCapitalMember2026-01-012026-03-310001766368us-gaap:AdditionalPaidInCapitalMember2025-01-012025-03-3100017663682025-01-012025-03-3100017663682026-03-3100017663682025-12-3100017663682026-05-0100017663682026-01-012026-03-31xbrli:sharesiso4217:USDxbrli:puremec:facilitymec:warehouseiso4217:USDxbrli:sharesmec:segment

UNITED STATES

SECURITIES AND EXCHANGE COMMISSION

WASHINGTON, DC 20549

FORM 10-Q

(Mark One)

QUARTERLY REPORT PURSUANT TO SECTION 13 OR 15(d) OF THE SECURITIES EXCHANGE ACT OF 1934

For the quarterly period ended March 31, 2026

OR

TRANSITION REPORT PURSUANT TO SECTION 13 OR 15(d) OF THE SECURITIES EXCHANGE ACT OF 1934

For the transition period from                      to

Commission File Number: 001-38894

Mayville Engineering Company, Inc.

(Exact Name of Registrant as Specified in its Charter)

Wisconsin

39-0944729

(State or other jurisdiction of

incorporation or organization)

(I.R.S. Employer

Identification No.)

135 S. 84th Street, Suite 300

Milwaukee, Wisconsin

53214

(Address of principal executive offices)

(Zip Code)

Registrant’s telephone number, including area code: (414) 381-2860

Securities registered pursuant to Section 12(b) of the Act:

Title of each class

  ​ ​

Trading

Symbol(s)

  ​ ​

Name of each exchange

on which registered

Common Stock, no par value

MEC

New York Stock Exchange

Indicate by check mark whether the registrant (1) has filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that the registrant was required to file such reports), and (2) has been subject to such filing requirements for the past 90 days.   Yes      No  

Indicate by check mark whether the registrant has submitted electronically every Interactive Data File required to be submitted pursuant to Rule 405 of Regulation S-T (§232.405 of this chapter) during the preceding 12 months (or for such shorter period that the registrant was required to submit such files).   Yes      No  

Indicate by check mark whether the registrant is a large accelerated filer, an accelerated filer, a non-accelerated filer, smaller reporting company, or an emerging growth company. See the definitions of “large accelerated filer,” “accelerated filer,” “smaller reporting company,” and “emerging growth company” in Rule 12b-2 of the Exchange Act.

Large accelerated filer

Accelerated filer

Non-accelerated filer

Smaller reporting company

Emerging growth company

 

 

If an emerging growth company, indicate by check mark if the registrant has elected not to use the extended transition period for complying with any new or revised financial accounting standards provided pursuant to Section 13(a) of the Exchange Act.

Indicate by check mark whether the registrant is a shell company (as defined in Rule 12b-2 of the Exchange Act).   Yes      No  

As of May 1, 2026, the registrant had 20,494,006 shares of common stock, no par value per share, outstanding.

Table of Contents

Page

PART  I.

FINANCIAL INFORMATION

5

Item 1.

Financial Statements (Unaudited)

5

Condensed Consolidated Balance Sheets

5

Condensed Consolidated Statements of Comprehensive Income (Loss)

6

Condensed Consolidated Statements of Cash Flows

7

Condensed Consolidated Statements of Shareholders’ Equity

9

Notes to Condensed Consolidated Financial Statements

10

Item 2.

Management’s Discussion and Analysis of Financial Condition and Results of Operations

25

Item 3.

Quantitative and Qualitative Disclosures About Market Risk

32

Item 4.

Controls and Procedures

33

PART II.

OTHER INFORMATION

34

Item 1.

Legal Proceedings

34

Item 1A.

Risk Factors

34

Item 2.

Unregistered Sales of Equity Securities and Use of Proceeds

34

Item 5.

Other Information

34

Item 6.

Exhibits

35

Signatures

36

2

CAUTIONARY STATEMENT REGARDING FORWARD-LOOKING STATEMENTS

Certain matters discussed in this Quarterly Report on Form 10-Q contain forward-looking statements that involve risks and uncertainties, such as statements related to future events, business strategy, future performance, future operations, financial position, estimated revenues and losses, projected costs, prospects, plans and objectives of management. All statements other than statements of historical fact may be forward-looking statements. Forward-looking statements are often, but not always, identified by the use of words such as “seek,” “anticipate,” “plan,” “continue,” “estimate,” “expect,” “may,” “will,” “project,” “predict,” “potential,” “targeting,” “intend,” “could,” “might,” “should,” “believe” and similar expressions or their negative. Forward-looking statements should not be read as a guarantee of future performance or results, and will not necessarily be accurate indications of the times at, or by, which such performance or results will be achieved. Forward-looking statements are based on management’s belief, based on currently available information, as to the outcome and timing of future events. These statements involve estimates, assumptions, known and unknown risks, uncertainties and other factors that may cause actual results or events to differ materially from those expressed in such forward-looking statements. Mayville Engineering Company, Inc. (MEC, the Company, we, our, us or similar terms) believes the expectations reflected in the forward-looking statements contained in this Quarterly Report on Form 10-Q are reasonable, but no assurance can be given that these expectations will prove to be correct. Forward-looking statements should not be unduly relied upon.

Important factors that could cause actual results or events to differ materially from those expressed in forward-looking statements include, but are not limited to, those described in “Risk Factors” in Part I, Item 1A of our Annual Report on Form 10-K for the year ended December 31, 2025, filed with the Securities and Exchange Commission (the SEC) on March 4, 2026, as such may be amended or supplemented in Part II, Item 1A of our subsequently filed Quarterly Reports on Form 10-Q (including this report) and the following:

Macroeconomic conditions, including inflation, elevated interest rates, labor availability, material cost pressures, trade policy uncertainty and inconsistent customer demand, have had, and may continue to have, a negative impact on our business, financial condition, cash flows and results of operations (including future uncertain impacts);

risks relating to developments in the industries in which our customers operate;
risks related to scheduling production accurately and maximizing efficiency;
our ability to realize net sales represented by our awarded business;
failure to compete successfully in our markets;
our ability to maintain our manufacturing, engineering and technological expertise;
the loss of any of our large customers or the loss of their respective market shares;
risks related to entering new markets;
our ability to recruit and retain our key executive officers, managers and trade-skilled personnel;
macroeconomic conditions impacting datacenter & critical power end-market demand;
volatility in the prices or availability of raw materials critical to our business;
manufacturing risks, including delays and technical problems, issues with third-party suppliers, environmental risks and applicable statutory and regulatory requirements;
our ability to successfully identify or integrate acquisitions;
geopolitical and economic developments, including foreign trade relations and associated tariffs;
our ability to develop new and innovative processes and gain customer acceptance of such processes;

3

risks related to our information technology systems and infrastructure;
results of legal disputes, including product liability, intellectual property infringement and other claims;
risks associated with our capital-intensive industry;
risks related to our employee stock ownership plan’s treatment as a tax-qualified retirement plan; and
our ability to satisfy our current obligations under existing indebtedness.

These factors are not necessarily all of the important factors that could cause actual results or events to differ materially from those expressed in forward-looking statements. Other unknown or unpredictable factors could also cause actual results or events to differ materially from those expressed in the forward-looking statements. All forward-looking statements attributable to us are qualified in their entirety by this cautionary statement. Forward-looking statements speak only as of the date hereof. We undertake no obligation to update or revise any forward-looking statements after the date on which any such statement is made, whether as a result of new information, future events or otherwise, except as required by federal securities laws.

4

PART I—FINANCIAL INFORMATION

Item 1. Financial Statements.

Mayville Engineering Company, Inc. and Subsidiaries

Condensed Consolidated Balance Sheets

(in thousands, except share amounts)

(unaudited)

  ​ ​ ​

March 31, 

  ​ ​ ​

December 31,

2026

2025

ASSETS

  ​

  ​

Cash and cash equivalents

$

2,066

$

1,502

Receivables, net of allowances for doubtful accounts of $590 at March 31, 2026
and $577 at December 31, 2025

 

68,138

 

57,551

Inventories, net

 

66,024

 

59,398

Tooling in progress

 

5,374

 

4,746

Prepaid expenses and other current assets

 

5,684

 

5,217

Total current assets

 

147,286

 

128,414

Property, plant and equipment, net

 

149,789

 

149,996

Assets held for sale

3,082

1,402

Goodwill

 

140,246

 

140,246

Intangible assets, net

 

108,150

 

111,280

Operating lease assets

27,734

30,473

Other long-term assets

 

1,785

 

1,829

Total assets

$

578,072

$

563,640

LIABILITIES AND SHAREHOLDERS’ EQUITY

 

  ​

 

  ​

Accounts payable

$

62,816

$

52,377

Current portion of operating lease obligation

6,842

6,729

Accrued liabilities:

 

 

Salaries, wages, and payroll taxes

 

5,939

 

2,753

Bonuses and deferred compensation

 

2,327

 

2,170

Other current liabilities

 

11,822

 

10,740

Total current liabilities

 

89,746

 

74,769

Bank revolving credit notes

 

212,392

 

202,525

Operating lease obligation, less current maturities

23,785

25,572

Deferred compensation, less current portion

 

4,801

 

5,240

Deferred income tax liability

 

7,990

 

11,298

Other long-term liabilities

 

7,172

 

3,499

Total liabilities

$

345,886

$

322,903

Commitments and contingencies (see Note 9)

 

  ​

 

  ​

Common shares, no par value, 75,000,000 authorized, 22,602,432 shares issued at
March 31, 2026 and 22,505,704 at December 31, 2025

 

 

Additional paid-in-capital

 

208,401

 

208,777

Retained earnings

 

43,801

 

51,976

Treasury shares at cost, 2,187,334 shares at March 31, 2026 and December 31, 2025

 

(20,016)

 

(20,016)

Total shareholders’ equity

 

232,186

 

240,737

Total liabilities and shareholders' equity

$

578,072

$

563,640

The accompanying notes are an integral part of these Condensed Consolidated Financial Statements.

5

Mayville Engineering Company, Inc. and Subsidiaries

Condensed Consolidated Statements of Comprehensive Income (Loss)

(in thousands, except share amounts and per share data)

(unaudited)

Three Months Ended

March 31, 

  ​ ​ ​

2026

  ​ ​ ​

2025

Net sales

$

144,780

$

135,579

Cost of sales

 

133,819

 

120,255

Amortization of intangible assets

3,130

1,733

Bonuses and deferred compensation

4,804

3,325

Other selling, general and administrative expenses

 

9,171

 

8,689

Impairment of long-lived assets

 

1,544

 

Income (loss) from operations

 

(7,688)

 

1,577

Interest expense

 

(3,661)

 

(1,567)

Loss on extinguishment of debt

(134)

Income (loss) before taxes

 

(11,483)

 

10

Income tax expense (benefit)

 

(3,308)

 

(10)

Net income (loss) and comprehensive income (loss)

$

(8,175)

$

20

Earnings (loss) per share:

 

  ​

 

  ​

Basic

$

(0.40)

$

0.00

Diluted

$

(0.40)

$

0.00

Weighted average shares outstanding:

 

  ​

 

  ​

Basic

 

20,445,112

 

20,520,696

Diluted

 

20,445,112

 

20,750,938

The accompanying notes are an integral part of these Condensed Consolidated Financial Statements.

6

Mayville Engineering Company, Inc. and Subsidiaries

Condensed Consolidated Statements of Cash Flows

(in thousands)

(unaudited)

Three Months Ended

March 31, 

  ​ ​ ​

2026

  ​ ​ ​

2025

CASH FLOWS FROM OPERATING ACTIVITIES

Net income (loss)

$

(8,175)

$

20

Adjustments to reconcile net income (loss) to net cash provided by operating activities:

 

 

Depreciation

 

7,820

7,750

Amortization

 

3,130

1,733

Allowance for doubtful accounts

 

13

22

Inventory excess and obsolescence reserve

 

106

(164)

Stock-based compensation expense

 

795

1,101

Gain on disposal of property, plant and equipment

 

(4)

(3)

Impairment of long-lived assets

 

1,544

Deferred compensation

 

(1,024)

275

Loss on extinguishment of debt

134

Non-cash lease expense

1,624

1,318

Other non-cash adjustments

 

300

70

Changes in operating assets and liabilities:

 

 

Accounts receivable

 

(10,601)

(8,167)

Inventories

 

(6,732)

(914)

Tooling in progress

 

(628)

329

Prepaids and other current assets

 

(366)

(186)

Accounts payable

 

10,185

10,444

Deferred income taxes

(3,308)

(538)

Operating lease obligations

(1,727)

(1,303)

Accrued liabilities

 

4,158

(3,454)

Net cash provided by (used in) operating activities

 

(2,756)

 

8,333

CASH FLOWS FROM INVESTING ACTIVITIES

 

  ​

 

  ​

Purchases of property, plant and equipment

 

(4,184)

(2,962)

Proceeds from sale of property, plant and equipment

 

5

3

Net cash used in investing activities

 

(4,179)

 

(2,959)

CASH FLOWS FROM FINANCING ACTIVITIES

 

 

  ​

Proceeds from bank revolving credit notes

 

480,731

282,113

Payments on bank revolving credit notes

 

(470,863)

(284,359)

Payments of financing costs

 

(398)

Shares withheld for employees' taxes

 

(1,171)

(1,170)

Purchase of treasury stock

(1,747)

Payments on finance leases

 

(800)

(234)

Net cash provided by (used in) financing activities

 

7,499

 

(5,397)

Net increase (decrease) in cash and cash equivalents

 

564

 

(23)

Cash and cash equivalents at beginning of period

 

1,502

 

206

Cash and cash equivalents at end of period

$

2,066

$

183

The accompanying notes are an integral part of these Condensed Consolidated Financial Statements.

7

Mayville Engineering Company, Inc. and Subsidiaries

Condensed Consolidated Statements of Cash Flows

(in thousands)

(unaudited)

Three Months Ended

March 31, 

  ​ ​ ​

2026

  ​ ​ ​

2025

Supplemental disclosure of cash flow information:

 

  ​

 

  ​

Cash paid for interest

$

3,453

$

1,577

Cash paid for income taxes

$

262

$

586

Non-cash property, plant and equipment

$

2,084

$

1,218

The accompanying notes are an integral part of these Condensed Consolidated Financial Statements.

8

Mayville Engineering Company, Inc. and Subsidiaries

Condensed Consolidated Statements of Shareholders’ Equity

(in thousands)

(unaudited)

Shareholders' Equity

Additional 

Treasury 

Retained 

  ​ ​ ​

Paid-in-Capital

  ​ ​ ​

Shares

  ​ ​ ​

Earnings

  ​ ​ ​

Total

Balance as of December 31, 2025

$

208,777

$

(20,016)

$

51,976

$

240,737

Net loss

(8,175)

(8,175)

Share repurchases

Stock-based compensation

795

795

Restricted stock units net of employee tax withholding

(1,171)

(1,171)

Balance as of March 31, 2026

$

208,401

$

(20,016)

$

43,801

$

232,186

Shareholders' Equity

Additional 

Treasury 

Retained 

  ​ ​ ​

Paid-in-Capital

  ​ ​ ​

Shares

  ​ ​ ​

Earnings

  ​ ​ ​

Total

Balance as of December 31, 2024

$

207,076

$

(15,409)

$

60,086

$

251,753

Net income

20

20

Share repurchases

(1,747)

(1,747)

Stock-based compensation

1,101

1,101

Restricted stock units net of employee tax withholding

(1,170)

(1,170)

Balance as of March 31, 2025

$

207,007

$

(17,156)

$

60,106

$

249,957

The accompanying notes are an integral part of these Condensed Consolidated Financial Statements.

9

Mayville Engineering Company, Inc. and Subsidiaries

Notes to Condensed Consolidated Financial Statements

(in thousands except share amounts, per share data, years and ratios)

(unaudited)

Note 1. Basis of presentation

The interim unaudited Condensed Consolidated Financial Statements of Mayville Engineering Company, Inc. and subsidiaries (MEC, the Company, we, our, us or similar terms) presented here have been prepared in accordance with the accounting principles generally accepted in the United States of America (GAAP) and with instructions to Form 10-Q and Article 10 of Regulation S-X. They reflect all adjustments which are, in the opinion of management, necessary for a fair presentation of the results of operations and financial position for the interim unaudited periods presented. All intercompany balances and transactions have been eliminated in consolidation.

Certain information and footnote disclosures normally included in financial statements prepared in accordance with GAAP have been condensed or omitted. These interim unaudited Condensed Consolidated Financial Statements should be read in conjunction with the Company’s consolidated financial statements and notes thereto for the year ended December 31, 2025, included in the Company’s Annual Report on Form 10-K. A summary of the Company’s significant accounting policies is included in the Company’s 2025 financial statements in the Annual Report on Form 10-K. The Company followed these policies in preparation of the interim unaudited Condensed Consolidated Financial Statements except for new accounting pronouncements adopted as described below.

Nature of Operations

Mayville Engineering Company, Inc. (MEC) is a leading U.S.-based, vertically-integrated, value-added manufacturing partner providing a full suite of manufacturing solutions from concept to production, including design, prototyping and tooling, fabrication, aluminum extrusion, coating, assembly and aftermarket components. Our customers operate in diverse end markets, including heavy- and medium-duty commercial vehicles, construction & access equipment, powersports, datacenter & critical power, agriculture, military and other end markets. Founded in 1945 and headquartered in Milwaukee, Wisconsin, we are a leading Tier I U.S. supplier of highly engineered components to original equipment manufacturer (OEM) customers with leading positions in their respective markets. The Company maintains 27 facilities, of which 22 are in operation, located in Arkansas, Illinois, Michigan, Mississippi, North Carolina, Ohio, Pennsylvania, Virginia, and Wisconsin. Our engineering expertise and technical know-how allow us to add value through every product redevelopment cycle.

Our one operating segment focuses on producing metal components that are used in a broad range of heavy- and medium-duty commercial vehicles, construction & access equipment, powersports, datacenter & critical power, agricultural, military and other products.

Recently Adopted Accounting Pronouncements

In September 2025, the Financial Accounting Standards Board (FASB) issued Accounting Standard Update (ASU) 2025-06, Intangibles – Goodwill and Other-Internal-Use Software, amending Accounting Standards Codification (ASC) 350. The amendment removes all references to prescriptive and sequential software development stages. In addition, the amendment also requires consideration of whether there is significant uncertainty associated with the development activities of the software during evaluation of a probable-to-complete recognition threshold. ASU 2025-06 is effective for interim and annual periods beginning after December 15, 2027. Entities may adopt the guidance using either a prospective approach (including a modified transition approach) or retrospective approach. Early adoption is permitted. The Company has early adopted ASU 2025-06 on a prospective basis, as of January 1, 2026. The adoption of ASU 2025-06 did not have a material impact on the Company’s consolidated financial statements.

In December 2025, the FASB issued ASU 2025-12, Codification Improvements. The ASU addresses 33 items, representing the changes to the Codification that (1) clarify, (2) correct errors, or (3) make minor improvements. Generally, the amendments in this update are not intended to result in significant changes for most entities. The ASU is effective for interim reporting periods within annual reporting periods beginning after December 15, 2026. Early adoption is permitted. The Company adopted this standard in the first quarter of 2026, and the amendments have been applied on a prospective basis. Adoption of ASU 2025-12 did not have a material impact on the Company’s consolidated financial statements.

10

Recently Issued Accounting Standards Not Yet Adopted

In November 2024, the FASB issued ASU 2024-03, Expense Disaggregation Disclosures, amending ASC 220, Income Statement – Reporting Comprehensive Income. The amendment requires an entity to provide a disclosure within the financial statement footnotes showing the disaggregation of certain expenses included in relevant expense captions on the consolidated income statement, with a qualitative description of the amounts that are not separately disaggregated quantitatively. The guidance also requires disclosure of the total amount of selling expenses and, in annual reporting periods, an entity’s definition of selling expenses. ASU 2024-03 is effective for fiscal years beginning after December 15, 2026, and for interim periods beginning after December 15, 2027. The guidance is applied on a prospective basis, with a retrospective option and allows for early adoption. The Company is evaluating the potential impact of this guidance on the consolidated financial statements.

In December 2025, the FASB issued ASU 2025-11, Interim Reporting - Narrow-Scope Improvements, amending ASC 270. The ASU clarifies interim disclosure requirements and the applicability of ASC 270. The objective of the amendments is to provide further clarity about the current interim disclosure requirements. The ASU is effective for interim reporting periods within annual reporting periods beginning after December 15, 2027. Adoption of this ASU can be applied either on a prospective or a retrospective approach. Early adoption is permitted. The Company is evaluating the potential impact of this guidance on the condensed consolidated financial statements.

Note 2. Acquisition

On July 1, 2025, the Company acquired 100% of the membership interests of Accu-Fab, LLC (Accu-Fab). The acquisition was consummated in accordance with the terms of the Purchase Agreement, dated May 23, 2025, among the Company, Accu-Fab and Tide Rock YieldCo, LLC (the Seller). The purchase price of the acquisition was $140,500, subject to customary adjustments for the amount of cash, indebtedness, net working capital and certain expenses of Accu-Fab as of the closing. The acquisition of Accu-Fab was structured as a stock purchase for accounting purposes. As of the closing of the acquisition, after taking into account the estimated adjustments, the Company paid the Seller a preliminary total net consideration of $141,185. The Company financed the acquisition by borrowing under its amended and restated credit agreement, as amended, as described in Note 4 – Debt, in the Notes to the Condensed Consolidated Financial Statements.

With locations in Wheeling, Illinois and Raleigh, North Carolina, Accu-Fab is a vertically integrated manufacturing partner providing technology driven, cutting edge metal fabrication solutions to large OEMs. Accu-Fab offers value-added services including design, engineering, sheet metal fabrication and integration and specialized finishing. The acquisition enhances MEC’s strategic position by broadening its customer base and accelerating its entry into the rapidly growing datacenter & critical power infrastructure end markets.

The Company accounted for the acquisition using the acquisition method of accounting in accordance with ASC 805, Business Combinations, with MEC being the acquiring entity. Transaction costs related to the acquisition were expensed as incurred within other selling, general, and administrative expenses, and totaled $0 and $830 for the three months ended March 31, 2026 and 2025, respectively.

The aggregate purchase price has been allocated to the assets acquired and liabilities assumed based on their preliminary estimated fair values as of the acquisition date. The estimate of the excess purchase price over the preliminary estimated fair value of net tangible assets acquired was allocated to identifiable intangible assets and goodwill. The Company engaged an independent third party to assist with the identification and valuation of the acquired assets, including intangible assets. Management makes significant estimates and assumptions when determining the fair value of assets acquired and liabilities assumed. These estimates include, but are not limited to, discount rates, projected future net sales, projected future expected cash flows, useful lives, attrition rates and growth rates. These measures are based on significant Level 3 inputs not observable in the market.

11

The following table is a summary of the assets acquired, liabilities assumed and net cash consideration paid for the acquisition of Accu-Fab. The allocation is considered preliminary and subject to finalization within one year from the acquisition date:

Balance Sheet

Balance Sheet

Allocation As of

Measurement

Allocation As of

December 31,

Period

March 31,

2025

 

Adjustments

 

2026

Cash and cash equivalents

$

1,123

-

$

1,123

Accounts receivable, net

14,118

-

14,118

Inventory

4,594

-

4,594

Prepaid expenses and other current assets

256

-

256

Property, plant and equipment

9,811

-

9,811

Operating lease assets

4,031

-

4,031

Intangible assets

Customer relationships (1)

67,000

-

67,000

Non-compete agreements (1)

2,200

-

2,200

Other long-term assets

7

-

7

Goodwill

47,596

-

47,596

Total assets acquired

150,736

150,736

Accounts payable

(4,101)

-

(4,101)

Lease liabilities, current

(1,246)

-

(1,246)

Accrued liabilities:

Salaries, wages, and payroll taxes

(726)

-

(726)

Bonuses and deferred compensation

(305)

-

(305)

Other current liabilities

(275)

-

(275)

Lease liabilities, non-current

(2,786)

-

(2,786)

Other long-term liabilities

(220)

-

(220)

Total liabilities assumed

(9,659)

-

(9,659)

Total consideration

$

141,077

$

141,077

(1)Customer relationships and non-compete agreements have a useful life of fourteen and two years, respectively.

The Company believes that the information gathered to date provides a reasonable basis for estimating the fair values of assets acquired and liabilities assumed; however, the purchase price allocation remains preliminary as we continue to gather the necessary information to finalize our fair value estimates and provisional amounts. Provisional amounts include items related to intangibles, indemnification of assets and liabilities and deferred taxes.

The Company has recorded preliminary estimates for the items that remain subject to valuation and will record adjustments, if any, to the preliminary amounts upon finalization of the respective valuations. Such changes are not expected to be significant. The Company expects to complete the purchase price allocation as soon as practicable but no later than one year from the acquisition date.

Pro Forma Financial Information (Unaudited)

In accordance with ASC 805, the following unaudited pro forma combined results of operations have been prepared and presented to give effect to the Accu-Fab acquisition as if it had occurred on January 1, 2025, the beginning of the comparable period, applying certain assumptions and pro forma adjustments. These pro forma adjustments primarily relate to the estimated depreciation expense associated with the fair value of the acquired property, plant and equipment, amortization of identifiable intangible assets, interest expense related to additional debt needed to fund the acquisition and the tax impact of these adjustments. Additionally, the pro forma adjustments exclude non-recurring expenses related to transaction costs, which were expensed as incurred, and include the sale of stepped-up inventory. The unaudited pro forma consolidated results are provided for illustrative purposes only, are not indicative of

12

the Company’s actual consolidated results of operations or consolidated financial position and do not reflect any revenue and operating synergies or cost savings that may result from the acquisition.

Three Months Ended

March 31, 

  ​ ​ ​

2025

Net sales

$

151,865

Net income

$

1,393

Note 3. Select balance sheet data

Inventory

Inventories are stated at the lower of cost, determined on the first-in, first-out method, or net realizable value. Net realizable value is the estimated selling price in the ordinary course of business, less reasonably predictable costs of completion, disposal and transportation. Work-in-process and finished goods are valued at production costs consisting of material, labor and overhead.

Inventories as of March 31, 2026 and December 31, 2025 consist of:

March 31, 

December 31,

  ​ ​ ​

2026

  ​ ​ ​

2025

Finished goods and purchased parts

$

28,702

$

29,962

Raw materials

 

24,413

 

18,876

Work-in-process

 

12,908

 

10,560

Total

$

66,024

$

59,398

Property, Plant and Equipment

Property, plant and equipment as of March 31, 2026 and December 31, 2025 consist of:

  ​ ​ ​

Useful Lives

  ​ ​ ​

March 31, 

  ​ ​ ​

December 31,

 Years

2026

2025

Land

Indefinite

$

2,564

$

2,564

Land improvements

15-39

3,817

4,769

Building and building improvements

 

15-39

 

79,589

 

80,338

Machinery, equipment and tooling

 

3-10

 

335,295

 

327,976

Vehicles

 

5

 

6,000

 

5,720

Office furniture and fixtures

 

3-7

 

26,218

 

25,577

Construction in progress

 

N/A

 

5,068

 

4,725

Total property, plant and equipment, gross

 

458,551

 

451,669

Less accumulated depreciation

 

308,762

 

301,673

Total property, plant and equipment, net

$

149,789

$

149,996

Depreciation expense was $7,820 and $7,750 for the three months ended March 31, 2026 and 2025, respectively.

During the three months ended March 31, 2026, the Company expanded the restructuring plan (the Plan) to include the sale of the building that is currently leased to a non-related party in Fond du Lac, Wisconsin. As part of this action, the Company recorded impairment expense of $375. The remaining net amount of property, plant and equipment associated with the facility was $1,680 which was reclassified to assets held for sale from property, plant and equipment. As of March 31, 2026, and December 31, 2025, the Company had assets held for sale of $3,082 and $1,402, respectively.

Goodwill

There were no changes to the goodwill balance of $140,246 between December 31, 2025 and March 31, 2026.

13

Intangible Assets

The following is a listing of intangible assets, the useful lives in years (amortization period) and accumulated amortization as of March 31, 2026 and December 31, 2025:

March 31, 2026

Useful Lives 

Gross Carrying

Accumulated

 

  ​ ​ ​

Years

  ​ ​ ​

Amount

  ​ ​ ​

Amortization

 

Net

Amortizable intangible assets:

Customer relationships and contracts

9-17

$

163,040

$

67,121

$

95,919

Trade name

 

10

 

14,780

 

10,774

4,006

Developed technology

7

4,962

1,930

3,032

Patents

 

19

 

24

 

17

7

Non-compete agreements

2

2,200

825

1,375

Total amortizable intangible assets, net

$

185,006

$

80,667

$

104,339

Non-amortizable brand name

Indefinite

3,811

3,811

Total intangible assets, net

 

$

188,817

 

$

80,667

$

108,150

December 31, 2025

Useful Lives 

Gross Carrying

Accumulated

 

  ​ ​ ​

Years

  ​ ​ ​

Amount

  ​ ​ ​

Amortization

 

Net

Amortizable intangible assets:

Customer relationships and contracts

9-17

$

163,040

$

64,817

$

98,223

Trade name

 

10

 

14,780

 

10,404

4,376

Non-compete agreements

 

5

 

4,962

1,750

3,212

Developed technology

7

24

 

16

8

Patents

 

19

 

2,200

550

1,650

Total amortizable intangible assets, net

$

185,006

$

77,537

$

107,469

Non-amortizable brand name

Indefinite

3,811

3,811

Total intangible assets, net

 

$

188,817

 

$

77,537

$

111,280

Amortization expense was $3,130 and $1,733 for the three months ended March 31, 2026 and 2025, respectively.

Future amortization expense is expected to be as followed:

Year ending December 31,

  ​ ​ ​

2026 (remainder)

$

9,390

2027

$

11,970

2028

$

11,364

2029

$

9,922

2030

$

9,368

Thereafter

$

52,325

Note 4. Debt

Bank Revolving Credit Notes

On June 28, 2023, we entered into an amended and restated credit agreement (the Credit Agreement) with certain lenders and Wells Fargo Bank, National Association, as administrative agent (the Agent).

On June 26, 2025, we entered into the First Amendment to the Credit Agreement (First Amendment) which increased the amount of total allowable borrowings under the revolving credit facility from $250,000 to $350,000, by exercising the previously available $100,000 accordion feature. All other material terms of the Credit Agreement, including applicable interest rates, remained unchanged.

14

On February 25, 2026, we entered into the Third Amendment to the Credit Agreement (Third Amendment) which lowered the amount of total allowable borrowings under the revolving credit facility from $350,000 to $275,000 and reduced our minimum consolidated interest coverage ratio to 2.75 to 1.00, through the fourth quarter of 2026. The Third Amendment also increased our maximum consolidated leverage ratio to 5.25 to 1.00 for the first and second quarter of 2026, 5.00 to 1.00 for the third quarter of 2026, 4.00 to 1.00 for the fourth quarter of 2026 and 3.50 to 1.00 for 2027 and thereafter. As a result of these financial covenant changes, the interest pricing grid now includes additional interest rate tiers. All other material terms of the Credit Agreement remained unchanged. All amounts borrowed under the Credit Agreement (as amended by the amendments) mature on June 28, 2028.

The Credit Agreement contains usual and customary negative covenants for agreements of this type, including, but not limited to, restrictions on our ability to, subject to certain exceptions, create, incur or assume indebtedness; create, incur, assume or suffer to exist liens; make certain investments; allow our subsidiaries to merge or consolidate with another entity; make certain asset dispositions; pay certain dividends or other distributions to shareholders; enter into transactions with affiliates; enter into sale leaseback transactions; and exceed the limits on annual capital expenditures. The Credit Agreement also requires us to satisfy certain financial covenants, including a minimum consolidated interest coverage ratio of 2.75 to 1.00, as well as a consolidated total leverage ratio not to exceed 5.25 to 1.00.

The Company incurred financing costs of $818 and $398 associated with executing the First Amendment and Third Amendment, respectively. Additionally, upon executing the Third Amendment, the Company incurred a loss on extinguishment of debt of $134 associated with unamortized debt issuance costs from prior amendments to the Credit Agreement during the three months ended March 31, 2026. As of March 31, 2026, short-term and long-term balances of $438 and $545, respectively, were recorded in prepaid expenses and other current assets and other long-term assets in the Condensed Consolidated Balance Sheets. These deferred financing costs will be amortized over the remaining duration of the Credit Agreement.

 At March 31, 2026, our consolidated total leverage ratio under the Credit Agreement was 4.40 to 1.00 as compared to a covenant maximum of 5.25 to 1.00.At March 31, 2026, our consolidated interest coverage ratio under the Credit Agreement was 4.27 to 1.00 as compared to a covenant minimum of 2.75 to 1.00.

Under the Credit Agreement, interest is payable quarterly at the adjusted secured overnight financing rate (SOFR) plus an applicable margin based on the current consolidated total leverage ratio (which may be adjusted for certain reserve requirements), plus 1.25% to 3.25% depending on the current consolidated total leverage ratio. Under certain circumstances, we may not be able to pay interest based on SOFR. If that happens, we will be required to pay interest at the Base Rate, which is the sum of the higher of (i) the Prime Rate (as publicly announced by the Agent from time to time), (ii) the Federal Funds Rate plus 0.50% and (iii) Adjusted Term SOFR for a one-month tenor in effect on such day plus 1.00%. The interest rate was 6.42% and 5.98% as of March 31, 2026 and December 31, 2025, respectively. Additionally, the agreement has a fee on the average daily unused portion of the aggregate unused revolving commitments. This fee was 0.35% and 0.30% as of March 31, 2026 and December 31, 2025, respectively.

The Company was in compliance with all financial covenants of its Credit Agreement as of March 31, 2026 and December 31, 2025. The amount borrowed on the revolving credit notes was $212,392 and $202,525 as of March 31, 2026 and December 31, 2025, respectively.

In connection with the Credit Agreement: (i) the Company has pledged, subject to certain exceptions, security interests and liens in and on (a) substantially all its respective personal property assets and (b) certain of its respective real property assets, in each case, to secure the Credit Agreement and related obligations; and (ii) certain of the Company’s subsidiaries have guaranteed the Company’s obligations under the Credit Agreement. The Credit Agreement contains customary events of default. If an event of default under the Credit Agreement occurs, then, the lenders may declare any outstanding obligations under the Credit Agreement to be immediately due and payable and exercise rights and remedies against the pledged collateral.

Other Debt

Additionally, the Company has a Fond du Lac County and Fond du Lac Economic Development Corporation term note (Fond du Lac Term Note). The Fond du Lac Term Note is secured by a security agreement, payable in annual installments of $500 plus interest at 2.00% and is due in full in December 2028. The balance outstanding as of March 31, 2026 and December 31, 2025 was $1,375. As of March 31, 2026 and December 31, 2025, the short-term and long-term balance of $500 and $875, respectively. These balances are recorded in other current liabilities and other long-term liabilities in the Condensed Consolidated Balance Sheets.

15

Note 5. Leases

The Company has real property operating leases for office and manufacturing space. Operating leases for the Company’s personal property consist of leases for office equipment, vehicles, forklifts and storage tanks for bulk gases. The Company recognizes a right-of-use (ROU) asset and a lease liability for operating leases based on the net present value of future minimum lease payments. Lease expense for the Company’s operating leases is recognized on a straight-line basis over the lease term, including renewal periods that are considered reasonably certain. The Company has not elected to recognize ROU assets or lease liabilities for leases with a term of twelve months or less.

The Company has finance leases for equipment used throughout its office, manufacturing facilities and vehicles used by employees. The Company recognizes an ROU asset and a lease liability for finance leases based on the net present value of future minimum lease payments. Lease expense for the Company’s finance leases are comprised of the amortization of the ROU asset and interest expense recognized based on the effective interest method.

Variable lease expense is related to certain of the Company’s real property leases and personal property leases, and it generally consists of property tax and insurance components that are for the benefit of the lessor (real property leases) and variable overage fees (personal property leases) that are remitted as part of the Company’s lease payments.

During the three months ended March 31, 2026, the Company recorded $1,169 of lease impairment expense associated with the Plan. Refer to Note 19 – Restructuring, in the Notes to the Condensed Consolidated Financial Statements for additional information related to lease impairment expense.

The components of lease expense were as follows:

Three Months Ended

March 31, 

  ​ ​ ​

2026

2025

Finance lease cost:

Amortization of finance lease assets

$

290

$

133

Interest on finance lease liabilities

63

 

9

Total finance lease expense

353

142

Operating lease expense

1,566

1,326

Short-term lease expense

196

151

Variable lease expense

21

 

115

Lease income (1)

(545)

(547)

Total lease expense

$

1,591

$

1,187

(1)The Company subleased a portion of its Hazel Park, MI and Fond Du Lac, WI facilities during the three months ended March 31, 2026 and 2025.

Supplemental information related to leases was as follows:

Three Months Ended

March 31, 

2026

  ​ ​ ​

2025

Cash paid for amounts included in the measurement of lease liabilities for finance leases:

Operating cash flows

$

58

$

9

Financing cash flows

$

800

$

234

Cash paid for amounts included in the measurement of lease liabilities for operating leases:

Operating cash flows

$

1,937

$

1,535

 

 

Right-of-use assets obtained in exchange for recorded lease obligations:

Operating leases

$

52

$

Finance leases

$

5,357

$

798

16

Note 6. Employee stock ownership plan

Under the Mayville Engineering Company, Inc. Employee Stock Ownership Plan (ESOP), the Company can make annual discretionary contributions to the trust for the benefit of eligible employees in the form of cash or shares of common stock of the Company subject to the Board of Directors’ approval. The Company recorded no ESOP expense for the three months ended March 31, 2026 and 2025.

As of January 1, 2025, the Company amended the plan reducing the distribution period from three years to a full distribution on the annual distribution date of the year following separation from the Company.

Additionally, as of January 1, 2025, the in-service diversification percentage allowed increased from 25% at age 50 with 10 years of service to 50% and increased from 50% to 75% at age 55 with 10 years of service.

At various times following death, disability, retirement, termination of employment or the exercise of diversification rights, an ESOP participant is entitled to receive their ESOP account balance in accordance with various distribution methods as permitted under the policies adopted by the ESOP.

As of March 31, 2026 and December 31, 2025, the ESOP shares consisted of 1,557,606 and 1,903,861 in allocated shares, respectively.

Note 7. Retirement plans

The Mayville Engineering Company, Inc. 401(k) Plan (the 401(k) Plan) covers substantially all employees meeting certain eligibility requirements. The 401(k) Plan is a defined contribution plan and is intended for eligible employees to defer tax-free contributions to save for retirement. Employees may contribute up to 50% of their eligible compensation to the 401(k) Plan, subject to the limits of Section 401(k) of the Internal Revenue Code.

The Company provides a 50% match for employee contributions, up to 6%. For the three months ended March 31, 2026 and 2025, the Company’s employer match expense was $953 and $946, respectively.

Note 8. Income taxes

On a quarterly basis, the Company estimates its effective tax rate for the full fiscal year and records a quarterly income tax provision based on the anticipated rate and adjusted for discrete taxable events that may occur in the quarter. As the year progresses, the Company will refine its estimate based on facts and circumstances by each tax jurisdiction.

Income tax expense (benefit) was ($3,308) and ($10), and the effective tax rate (ETR) was 28.81% and (100.00%) for the three months ended March 31, 2026 and 2025, respectively. The Company’s ETR is different from the expected tax rate due to state taxes, non-deductible items, research and development credits and excess tax benefit associated with stock-based compensation items.

Uncertain Tax Positions

Based on the Company’s evaluation, there is one unrecognized tax benefit requiring recognition in its financial statements as of March 31, 2026. Any interest and penalties related to uncertain tax positions are recorded in income tax expense (benefit) on the Condensed Consolidated Statements of Comprehensive Income (Loss). The entire balance of unrecognized tax benefits as of March 31, 2026, if recognized, would affect the Company’s effective tax rate.

The Company files income tax returns in the United States federal jurisdiction and in various state and local jurisdictions. Federal tax returns for tax years beginning January 1, 2022, and state tax returns for the years beginning January 1, 2021, are open for examination.

17

Note 9. Commitments and contingencies

Litigation

From time to time, the Company may be involved in various claims and lawsuits, both for and against the Company, arising in the normal course of business. Although the results of litigation and claims cannot be predicted with certainty, in management’s opinion, either the likelihood of loss is remote, or any reasonably possible loss associated with the resolution of such proceedings is not expected to have a material adverse impact on the condensed consolidated financial statements.

Note 10. Deferred compensation

The Mayville Engineering Company Deferred Compensation Plan is available for certain employees designated to be eligible to participate by the Company and approved by the Board of Directors. Eligible employees may elect to defer a portion of their compensation for any plan year and the deferral cannot exceed 50% of the participant’s base salary and may include the participant’s annual short-term cash incentive up to 100%. The participant’s election must be made prior to the first day of the plan year.

An employer contribution will be made for each participant to reflect the amount of any reduced allocations to the ESOP and/or 401(k) employer contributions due solely to the participant’s deferral amounts, as applicable. In addition, a discretionary amount may be awarded to a participant by the Company.

Deferrals are assumed to be invested in an investment vehicle based on the options made available to the participant (which does not include Company stock).

The deferred compensation plan provides benefits payable upon separation of service or death. Payments are to be made 30 days after date of separation from service, either in a lump-sum payment or up to five annual installments as elected by the participant when the participant first elects to defer compensation.

The deferred compensation plan is non-funded, and all future contributions are unsecured in that the employees have the status of a general unsecured creditor of the Company and the agreements constitute a promise by the Company to make benefit payments in the future. During the three months ended March 31, 2026 and 2025, eligible employees elected to defer compensation of $131 and $600, respectively. As of March 31, 2026 and December 31, 2025, the short-term portion accrued for all benefit years less than twelve months under this plan was $416 and $1,000, respectively, which is included within bonuses and deferred compensation on the Condensed Consolidated Balance Sheets. As of March 31, 2026 and December 31, 2025, the long-term portion accrued for all benefit years greater than twelve months under this plan was $4,801 and $5,240. These amounts include the initial deferral of compensation and were adjusted for changes in the value of investment options chosen by the participants. Total expense for the deferred compensation plan for the three months ended March 31, 2026 and 2025 was ($154) and ($73), respectively. These expenses are included in bonuses and deferred compensation on the Condensed Consolidated Statements of Comprehensive Income (Loss). Additionally, the Company made cash distributions of $1,000 and $252 for the three months ended March 31, 2026 and 2025, respectively.

Note 11. Self-Funded insurance

The Company is self-funded for the medical benefits provided to its employees and their dependents. Healthcare costs are expensed as incurred and are based upon actual claims paid, reinsurance premiums, administration fees and estimated unpaid claims. The Company has an aggregate stop loss limit to mitigate risk. Expenses related to this contract were $4,611 and $4,130 for the three months ended March 31, 2026 and 2025, respectively. An estimated accrued liability of $954 and $891 was recorded as of March 31, 2026 and December 31, 2025, respectively, for estimated unpaid claims and is included within other current liabilities on the Condensed Consolidated Balance Sheets.

Note 12. Segments

The Company operates as a single reporting unit and single reporting segment, and is managed on a consolidated basis. The Company derives revenue from its customers by providing value-added manufacturing solutions ranging from concept to production, including prototyping and tooling, production fabrication, coating, assembly and aftermarket components. The accounting policies of

18

the Company's one operating segment are the same as those described in the summary of significant accounting policies. The Company’s chief operating decision maker (CODM) is regularly provided with and assesses performance for its one operating segment with only the consolidated expenses and net income (loss) as presented in the Condensed Consolidated Statements of Comprehensive Income (Loss).

The CODM uses these performance measures to evaluate the Company's profitability, deciding whether to reinvest profits into the segment or into other parts of the entity, such as acquisitions or to buy back Company common stock and monitor budget versus actual results.

All sales are generated and all assets are located within the United States and the business activities are managed at a consolidated level.

The Company’s President, Chief Executive Officer and Director is the CODM.

Note 13. Fair value of financial instruments

Fair value provides information on what the Company may realize if certain assets were sold or might pay to transfer certain liabilities based upon an exit price. Financial assets and liabilities that are measured and reported at fair value are classified into a three-level hierarchy that prioritizes the inputs used in the valuation process. A financial instrument’s categorization within the valuation hierarchy is based on the lowest level of any input that is significant to the fair value measurement. The hierarchy is based on the observability and objectivity of the pricing inputs as follows:

Level 1 – Quoted prices in active markets for identical assets or liabilities.
Level 2 – Significant directly observable data (other than Level 1 quoted prices) or significant indirectly observable data through corroboration with observable market data. Inputs would normally be (i) quoted prices in active markets for similar assets or liabilities, (ii) quoted prices in inactive markets for identical or similar assets or liabilities or (iii) information derived from or corroborated by observable market data. Long-term debt is classified as a Level 2 fair value input.
Level 3 – Prices or valuation techniques that require significant unobservable data inputs. These inputs would normally be the Company’s own data and judgements about assumptions that market participants would use in pricing the asset or liability.

The following table lists the Company’s financial assets and liabilities accounted for at fair value by the fair value hierarchy:

Balance at

Fair Value Measurements at

March 31, 

Report Date Using

  ​ ​ ​

2026

  ​ ​ ​

(Level 1)

  ​ ​ ​

(Level 2)

  ​ ​ ​

(Level 3)

Deferred compensation liability

$

5,217

$

5,217

$

$

Total

$

5,217

$

5,217

$

$

Balance at

Fair Value Measurements at

December 31,

Report Date Using

  ​ ​ ​

2025

  ​ ​ ​

(Level 1)

  ​ ​ ​

(Level 2)

  ​ ​ ​

(Level 3)

Deferred compensation liability

$

6,240

$

6,240

$

$

Total

$

6,240

$

6,240

$

$

Fair value measurements for the Company’s cash and cash equivalents are classified based upon Level 1 measurements because such measurements are based upon quoted market prices in active markets for identical assets.

Accounts receivable, accounts payable, long-term debt and accrued liabilities are recorded in the Condensed Consolidated Balance Sheets at cost and approximate fair value.

19

Deferred compensation liabilities are recorded at amounts due to participants at the time of deferral. Deferrals are invested in an investment vehicle based on the options made available to the participant, considered to be Level 1 or Level 2 on the fair value hierarchy, with the current balance all as Level 1. The change in fair value is recorded in the profit sharing, bonuses and deferred compensation line item on the Condensed Consolidated Statements of Comprehensive Income (Loss). The short-term and long-term balances due to participants are reflected on the current portion of deferred compensation and deferred compensation, less current portion line items, respectively, on the Condensed Consolidated Balance Sheets.

The Company’s non-financial assets such as goodwill, intangible assets, property, plant, and equipment and leases are re-measured at fair value when there is an indication of impairment and adjusted only when an impairment charge is recognized. As of March 31, 2026 and December 31, 2025, impairment related to these non-financial assets was recognized as $1,544 and $0, respectively.

Note 14. Earnings per share

The Company computes earnings per share in accordance with ASC Topic 260, Earnings per Share. In accordance with ASC 260, outstanding options will be considered to have been exercised and outstanding as of the beginning of the period if the average market price of the common stock during the period exceeds the exercise price of the options (they are “in the money”), and the assumed exercise of the options do not have an anti-dilutive impact on earnings per share.

A reconciliation of basic and diluted net income (loss) per share attributable to the Company were as follows:

Three Months Ended

March 31, 

2026

2025

Net income (loss) attributable to MEC

$

(8,175)

$

20

Weighted average shares outstanding

20,445,112

20,520,696

Basic income (loss) per share

$

(0.40)

$

0.00

Weighted average shares outstanding

20,445,112

20,520,696

Effect of dilutive stock-based compensation

230,242

Total potential shares outstanding

20,445,112

20,750,938

Diluted income (loss) per share

$

(0.40)

$

0.00

There were 61,295 and 0 options in the money that were excluded in the computation of diluted earnings per share for the three months ended March 31, 2026 and 2025, that had an anti-dilutive impact on earnings per share.

Note 15. Revenue recognition

Contract Assets and Contract Liabilities

The Company has contract assets and contract liabilities, which are included in tooling in progress and other current liabilities on the Condensed Consolidated Balance Sheets, respectively. Contract assets primarily consist of capitalized costs related to customer-owned tooling contracts, wherein the Company has not yet met performance obligations. Contract liabilities include deferred tooling revenue, where the performance obligation was not met. The performance obligation is satisfied when the tooling is completed and the customer signs off through the Product Part Approval Process or other documented customer acceptance, and the revenue is recognized either at a point in time or over a period of time. Cost of goods sold is recognized and released from the balance sheet when control of the tooling promised under contract is transferred to the customer.

20

The Company’s contracts with customers are short-term in nature; therefore, revenue is typically recognized, billed and collected within a 12-month period. The following table reflects the changes in our contract assets and liabilities during the three months ended March 31, 2026:

Contract

Contract

  ​ ​ ​

Assets

  ​ ​ ​

Liabilities

As of December 31, 2025

$

4,746

$

3,315

Net activity

628

(133)

As of March 31, 2026

$

5,374

$

3,182

During the three months ended March 31, 2026 and 2025, revenue recognized from deferred revenue that was recorded as a contract liability at the beginning of 2026 and 2025 was $760 and $2,100, respectively.

Disaggregated Revenue

The following tables represent a disaggregation of revenue by product category and end market:

Three Months Ended

March 31, 

Product Category

  ​ ​ ​

2026

  ​ ​ ​

2025

Outdoor sports

$

1,590

$

1,785

Fabrication

81,514

67,858

Performance structures

44,541

43,334

Tube

16,104

16,511

Tank

6,713

9,889

Total

150,462

139,377

Intercompany sales elimination

(5,682)

(3,798)

Total, net sales

$

144,780

$

135,579

Three Months Ended

March 31, 

End Market

2026

2025

Commercial vehicle

$

38,775

$

50,877

Construction & access

 

20,135

19,524

Powersports

 

23,292

22,250

Datacenter & critical power

23,626

4,144

Agriculture

 

10,346

10,935

Military

5,767

8,487

Other

22,839

19,362

Total, net sales

$

144,780

$

135,579

In connection with the acquisition of Accu-Fab, the Company added a new end market category, datacenter & critical power, to its revenue disaggregation. As a result, certain revenue previously reported within the other end market has been reclassified to the datacenter & critical power end market for all periods presented. Specifically, $4,144 of revenue for the three months ended March 31, 2025, was reclassified from the other end market to the datacenter & critical power end market to conform to the current period presentation.

21

Note 16. Concentration of major customers

The following customers accounted for 10% or greater of the Company’s recorded net sales or net trade receivables:

Net Sales

Accounts Receivable

Three Months Ended

As of

As of

March 31, 

March 31, 

December 31,

  ​ ​ ​

2026

  ​ ​ ​

2025

  ​ ​ ​

2026

  ​ ​ ​

2025

Customer

A

 

12.4

%

16.7

%  

<10

%  

<10

%  

 

B

 

10.9

%

10.7

%  

<10

%  

<10

%  

 

C

 

<10

%

<10

%  

<10

%  

10.9

%  

 

Note 17. Stock-based compensation

The Mayville Engineering Company, Inc. 2019 Omnibus Incentive Plan provided the Company the ability to grant monetary payments based on the value of its common stock, up to 2,000,000 shares.

On April 20, 2021, shareholders of the Company approved an amendment to the 2019 Omnibus Incentive Plan increasing the number of shares of common stock authorized for issuance by 2,500,000 shares.

The total number of shares of the Company’s common stock still available for issuance under the 2019 Omnibus Incentive Plan as of March 31, 2026 is 1,280,141.

The Company recognizes stock-based compensation using the fair value provisions prescribed by ASC 718, Compensation – Stock Compensation. Accordingly, compensation costs for awards of stock-based compensation settled in shares are determined based on the fair value of the stock-based instrument at the time of grant and are recognized as expense over the vesting period of the stock-based instrument. Our stock-based compensation consists of stock options, restricted stock units (RSUs) and performance stock units (PSUs). For all types of units, fair value is equivalent to the adjusted closing stock price at the date of the grant.

Cancellations and forfeitures are accounted for as incurred.

Stock-based compensation expense was $795 and $1,101 for the three months ended March 31, 2026 and 2025, respectively. The Company reports stock-based compensation within bonuses and deferred compensation in the Condensed Consolidated Statements of Comprehensive Income (Loss).

There were no stock options granted by the Company to employees during the three months ended March 31, 2026 and 2025. Stock option grants expire 10 years subsequent to the grant date. Stock-based compensation expense related to stock options is calculated by estimating the fair value of non-qualified stock options at the time of grant and is amortized over the stock options’ vesting period. All stock options have been fully vested as of March 31, 2026. There were no stock options exercised during the three months ended March 31, 2026. As of March 31, 2026, 335,714 stock options remained outstanding with a weighted average strike price of $14.50 and a weighted average contractual life of 6.03 years.

The Company granted 268,196 and 264,342 RSUs, during the three months ended March 31, 2026 and 2025, respectively. The RSUs granted to employees vest ratably over a three-year period beginning the subsequent year to the anniversary of the grant date and director awards vest the subsequent year to the grant date.

The Company granted 185,127 and 169,062 PSUs during the three months ended March 31, 2026 and 2025, respectively. PSUs are earned based on the achievement of pre-determined financial performance goals at the end of a three-year performance measurement period.

The performance goals for the PSUs granted in 2026 are weighted 50% on the three-year average of the Company’s Relative Total Shareholder Return and 50% on the Company’s adjusted EBITDA target. Relative Total Shareholder Return represents the percentage change in the value of a company’s stock over a performance period, including both stock price appreciation and the

22

reinvestment of dividends, compared to a selected peer group or index. Adjusted EBITDA represents net income before interest expense, provision for income taxes, depreciation, amortization and adjusted for items to be determined unusual in nature or infrequent in occurrence for the performance period, as approved by the Compensation Committee. The number of earned PSUs can range from 50% (threshold) to 200% (maximum) of the target award, with no PSUs earned for performance below the threshold level.

The performance goals for the PSUs granted in 2025 are weighted on the three-year average of the Company’s Return on Invested Capital (ROIC) and 50% of the Company’s adjusted EBITDA target. ROIC represents net operating profit after taxes divided by invested capital. The number of earned PSUs can range from 50% (threshold) to 200% (maximum) of the target award, with no PSUs earned for performance below the threshold level.

Note 18. Common equity

At March 31, 2026 the authorized stock of the Company consisted of 75,000,000 shares of common stock without par value.

Changes in outstanding common shares are summarized as follows:

Shares

Outstanding

Balance as of December 31, 2025

20,318,370

Treasury stock purchases

Common stock issued (including stock-based compensation impact)

96,728

Balance as of March 31, 2026

20,415,098

Shares

Outstanding

Balance as of December 31, 2024

20,416,908

Treasury stock purchases

(120,799)

Common stock issued (including stock-based compensation impact)

117,986

Balance as of March 31, 2025

20,414,095

Note 19. Restructuring

On August 5, 2025, the Company initiated a restructuring plan (the Plan) designed to reduce fixed costs and optimize its operational footprint. The Plan provided for the consolidation of three warehouses and one manufacturing facility into the Company’s other facilities and is expected to be completed by December 31, 2026.

During the three months ended March 31, 2026, the Plan was expanded to include an additional warehouse facility that is currently leased to a non-related party in Fond du Lac, Wisconsin.

23

The Company expects to incur aggregate charges between $5,000 and $7,000 in total restructuring costs, which includes approximately $4,300 for equipment relocation and footprint optimization and approximately $1,700 in asset write-downs and related charges. Total restructuring charges incurred during the three months ended March 31, 2026 were $872, recorded in cost of sales in the Condensed Consolidated Statements of Comprehensive Income (Loss). Total cumulative restructuring charges incurred to date related to equipment relocation and footprint optimization within the Plan are $1,736. Total impairment expense and asset write downs during the three months ended March 31, 2026, were $1,544, recorded in impairment of long-lived assets in the Condensed Consolidated Statements of Comprehensive Income (Loss). Total cumulative restructuring charges incurred to date related to asset-write downs and related charges within the Plan are $1,670. The Company expects to incur additional charges under the Plan in future periods as implementation progresses. Changes in accrued restructuring charges during the three months ended March 31, 2026, were as follows:

Other Expenses

Accrued restructuring costs as of December 31, 2025

$

359

Expense recognized

872

Cash paid for restructuring expenses

(852)

Accrued restructuring costs as of March 31, 2026

$

379

24

Item 2. Management’s Discussion and Analysis of Financial Condition and Results of Operations.

Management’s Discussion and Analysis of Financial Condition and Results of Operations is intended to assist in the understanding and assessing the trends and significant changes in our results of operations and financial condition. Historical results may not be indicative of future performance. This discussion includes forward-looking statements that reflect our plans, estimates and beliefs. Such statements involve risks and uncertainties. Our actual results may differ materially from those contemplated by these forward-looking statements as a result of various factors, including those set forth in “Risk Factors” in Part I, Item 1A of our Annual Report on Form 10-K for the year ended December 31, 2025 and “Cautionary Statement Regarding Forward-Looking Statements” in this Quarterly Report on Form 10-Q. This discussion should be read in conjunction with our audited Consolidated Financial Statements and the notes thereto included in our Annual Report on Form 10-K for the year ended December 31, 2025 and our unaudited Condensed Consolidated Financial Statements and the notes thereto included in Part I, Item I of this Quarterly Report on Form 10-Q. In this discussion, we use certain non-GAAP financial measures. Explanation of these non-GAAP financial measures and reconciliation to the most directly comparable GAAP financial measures are included in this Management Discussion and Analysis of Financial Condition and Results of Operations. Investors should not consider non-GAAP financial measures in isolation or as substitutes for financial information presented in compliance with GAAP.

All amounts are presented in thousands except share amounts, per share data, years and ratios.

Overview

MEC is a leading U.S.-based vertically-integrated, value-added manufacturing partner providing a full suite of manufacturing solutions from concept to production, including design, prototyping and tooling, fabrication, aluminum extrusion, coating, assembly and aftermarket components. Our customers operate in diverse end markets, including heavy- and medium-duty commercial vehicles, construction & access equipment, powersports, datacenter & critical power, agriculture, military and other end markets. We have developed long-standing relationships with our blue-chip customers based upon our commitment to “Unmatched Excellence”.

Our one operating segment focuses on producing metal components that are used in a broad range of heavy- and medium-duty commercial vehicles, construction & access equipment, powersports, datacenter & critical power, agricultural, military and other products.

Macroeconomic Conditions

The broader market dynamics over the past few years have resulted in impacts to the Company including: inflation, elevated interest rates, labor availability, material cost pressures, trade policy uncertainty and inconsistent customer demand. The Company expects some of these dynamics to continue in 2026 and could continue to have an impact on demand, material costs and labor.

How We Assess Performance

Net Sales. Net sales reflect sales of our components and products net of allowances for returns and discounts. In addition to the current macroeconomic conditions, several factors affect our net sales in any given period, including weather, timing of acquisitions and the production schedules of our customers. Net sales are recognized at the time of shipment or at delivery to the customer.

Manufacturing Margins. Manufacturing margins represents net sales less cost of sales. Cost of sales consists of all direct and indirect costs used in the manufacturing process, including raw materials, labor, equipment costs, depreciation, lease expenses, subcontract costs and other directly related overhead costs. Our cost of sales is directly affected by the fluctuations in commodity prices, primarily sheet steel and aluminum, but these changes are largely mitigated by contractual agreements with our customers that allow us to pass through these price variations based upon certain market indexes.

Depreciation and Amortization. We carry property, plant and equipment on our balance sheet at cost, net of accumulated depreciation. Depreciation on property, plant and equipment is computed on a straight-line basis over the estimated useful life of the asset. The periodic expense related to leasehold improvements and intangible assets is depreciation and amortization expense, respectively. Leasehold improvements are depreciated over the lesser of the life of the underlying asset or the remaining lease term. Our intangible assets were recognized as a result of certain acquisitions and are generally amortized on a straight-line basis over the estimated useful lives of the assets.

25

Other Selling, General and Administrative Expenses. Other selling, general and administrative expenses consist primarily of salaries and personnel costs for our sales and marketing, finance, human resources, information systems, administration and certain other managerial employees and certain corporate level administrative expenses such as audit, accounting, legal and other consulting and professional services, travel and insurance.

Other Key Performance Indicators

EBITDA, EBITDA Margin, Adjusted EBITDA, Adjusted EBITDA Margin and Free Cash Flow

EBITDA represents net income (loss) before interest expense, provision (benefit) for income taxes, depreciation and amortization. EBITDA Margin represents EBITDA as a percentage of net sales for each period.

Adjusted EBITDA represents EBITDA before stock-based compensation expense, loss on extinguishment of debt and restructuring and impairment. Adjusted EBITDA Margin represents Adjusted EBITDA as a percentage of net sales for each period.

Free cash flow represents net cash provided by operating activities less cash flow used in the purchase of property, plant and equipment.

These metrics are supplemental measures of our operating performance that are neither required by, nor presented in accordance with, GAAP. These measures should not be considered as an alternative to net income (loss) or any other performance measure derived in accordance with GAAP as an indicator of our operating performance. We present EBITDA, EBITDA Margin, Adjusted EBITDA, Adjusted EBITDA Margin and Free Cash Flow as management uses these measures as key performance indicators, and we believe they are measures frequently used by securities analysts, investors and other parties to evaluate companies in our industry. These measures have limitations as analytical tools and should not be considered in isolation or as substitutes for analysis of our results as reported under GAAP.

Our calculation of EBITDA, EBITDA Margin, Adjusted EBITDA, Adjusted EBITDA Margin and Free Cash Flow may not be comparable to the similarly named measures reported by other companies. Potential differences between our measures of EBITDA and Adjusted EBITDA compared to other similar companies’ measures of EBITDA and Adjusted EBITDA may include differences in capital structure and tax positions.

26

The following table presents a reconciliation of net income (loss) and comprehensive income (loss), the most directly comparable measure calculated in accordance with GAAP, to EBITDA and Adjusted EBITDA, and the calculation of EBITDA Margin and Adjusted EBITDA Margin for each of the periods presented.

Three Months Ended

March 31, 

  ​ ​ ​

2026

  ​ ​ ​

2025

  ​ ​ ​

Net income (loss) and comprehensive income (loss)

$

(8,175)

$

20

Interest expense

 

3,661

 

1,567

 

Provision (benefit) for income taxes

 

(3,308)

 

(10)

 

Depreciation and amortization

 

10,950

 

9,483

 

EBITDA

 

3,128

 

11,060

 

Stock-based compensation expense (1)

 

795

 

1,101

 

Loss on extinguishment of debt (2)

134

Restructuring and impairment (3)

2,416

Adjusted EBITDA

$

6,473

$

12,161

Net sales

$

144,780

$

135,579

EBITDA Margin

 

2.2

%  

 

8.2

%  

Adjusted EBITDA Margin

 

4.5

%  

 

9.0

%  

(1)Non-cash employee compensation based on the value of common stock issued pursuant to the 2019 Omnibus Incentive Plan.
(2)Unamortized debt issuance costs written off as part of the execution of the Third Amendment, attributable to lenders that decreased their capacity in the Credit Agreement.
(3)Restructuring and impairment costs related to the consolidation of four warehouses and one manufacturing facility into the Company’s existing facilities.

27

The following table presents a reconciliation of net cash provided by (used in) operating activities, the most directly comparable measure calculated in accordance with GAAP, to free cash flow for each of the periods presented.

Three Months Ended

March 31, 

  ​ ​ ​

2026

  ​ ​ ​

2025

Net cash provided by (used in) operating activities

$

(2,756)

$

8,333

Less: Capital expenditures

4,184

2,962

Free cash flow

$

(6,940)

$

5,371

Free Cash Flow Analysis Three Months Ended March 31, 2026 Compared to Three Months Ended March 31, 2025

Free cash flow for the three months ended March 31, 2026 was ($6,940) as compared to $5,371 for the three months ended March 31, 2025, a decrease of $12,311 or 229.2%. The decrease in free cash flow was due to a decrease in cash provided by operating activities and higher capital expenditures. Please see the “Liquidity and Capital Resources” section below for further information.

28

Consolidated Results of Operations

Three Months Ended March 31, 2026 Compared to Three Months Ended March 31, 2025

Three Months Ended March 31, 

 

2026

2025

Increase (Decrease)

 

% of Net 

% of Net 

Amount

 

  ​ ​ ​

Amount

  ​ ​ ​

Sales

  ​ ​ ​

Amount

  ​ ​ ​

Sales

  ​ ​ ​

Change

  ​ ​ ​

% Change

Net sales

$

144,780

100.0

%  

$

135,579

100.0

%  

$

9,201

6.8

%

Cost of sales

133,819

92.4

%  

120,255

88.7

%  

13,564

11.3

%

Manufacturing margin

10,961

7.6

%  

15,324

11.3

%  

(4,363)

(28.5)

%

Amortization of intangible assets

 

3,130

 

2.2

%  

1,733

 

1.3

%  

1,397

 

80.6

%

Bonuses and deferred compensation

4,804

 

3.6

%  

3,325

 

2.8

%  

1,479

 

44.5

%

Other selling, general and administrative expenses

 

9,171

 

6.3

%  

8,689

 

6.4

%  

482

 

5.5

%

Impairment of long-lived assets

1,544

1.2

%  

%  

1,544

 

NM

Income from operations

 

(7,688)

 

(5.3)

%  

1,577

 

1.2

%  

(9,265)

 

(587.5)

%

Interest expense

 

(3,661)

 

2.5

%  

(1,567)

 

1.2

%  

2,094

 

133.6

%

Loss on extinguishment of debt

 

(134)

 

0.1

%  

 

%  

134

 

NM

Provision (benefit) for income taxes

 

(3,308)

 

(2.3)

%  

(10)

 

(0.0)

%  

(3,298)

 

32,980.0

%

Net income (loss) and comprehensive income (loss)

$

(8,175)

 

(5.6)

%  

$

20

 

0.0

%  

$

(8,195)

 

(40,975.0)

%

EBITDA

$

3,129

 

2.2

%  

$

11,060

 

8.2

%  

$

(7,931)

 

(71.7)

%

Adjusted EBITDA

$

6,474

 

4.5

%  

$

12,161

 

9.0

%  

$

(5,687)

 

(46.8)

%

Net Sales. Net sales were $144,780 for the three months ended March 31, 2026 as compared to $135,579 for the three months ended March 31, 2025, an increase of $9,201, or 6.8%. This increase was driven by the recent acquisition of Accu-Fab and organic growth within the Datacenter & Critical Power, Construction & Access and Powersports end markets. This was partially offset by lower customer demand within the Commercial Vehicle and Military end markets.

Manufacturing Margins. Manufacturing margins were $10,961 for the three months ended March 31, 2026 as compared to $15,324 for the three months ended March 31, 2025, a decrease of $4,363, or 28.5%. The decrease was primarily driven by non-recurring restructuring costs, project launch costs related to the Datacenter & Critical Power end market and lower capacity utilization due to softer demand primarily within the Commercial Vehicle end market, partially offset by higher-margin net sales contribution from the Accu-Fab acquisition.

Manufacturing margin percentages were 7.6% for the three months ended March 31, 2026, as compared to 11.3% for the three months ended March 31, 2025, a decrease of 370 basis points. The decrease was attributable to the items discussed in the preceding paragraph.

Amortization of Intangibles Assets. Amortization of intangible assets were $3,130 for the three months ended March 31, 2026, as compared to $1,733 for the three months ended March 31, 2025, an increase of $1,397 or 80.6%. The increase was due to amortization expense associated with identifiable intangible assets from the Accu-Fab acquisition. Refer to Note 2 – Acquisition, for additional information related to these identifiable intangible assets.

Bonuses and Deferred Compensation Expenses. Bonuses and deferred compensation expenses were $4,804 for the three months ended March 31, 2026 as compared to $3,325 for the three months ended March 31, 2025, an increase of $1,479, or 44.5%. The increase was driven by higher bonus expense, primarily from a one-time cash bonus in connection with the successful completion of the acquisition of Accu-Fab in July 2025. This was partially offset by lower stock-based compensation expense compared to the prior-year period.

Other Selling, General and Administrative Expenses. Other SG&A expenses were $9,171 for the three months ended March 31, 2026 as compared to $8,689 for the three months ended March 31, 2025, an increase of $482, or 5.5%. The increase was primarily attributable to incremental SG&A expenses associated with the acquisition of Accu-Fab.

Impairment of Long-Lived Assets. During the three months ended March 31, 2026, as part of the Company’s restructuring plan (the Plan) designed to reduce fixed costs and optimize its operational footprint, in January 2026, the Company fully exited three

29

warehouses. As the assets are no longer in use, an impairment was recorded for the entirety of the ROU asset balance in relation to these facilities. Additionally, the Plan was expanded during the three months ended March 31, 2026, to include an additional warehouse facility in Fond du Lac, Wisconsin. A partial impairment was recorded related to this location. The remaining net asset balance of this location is included in assets held for sale on the Condensed Consolidated Balance Sheets.

Interest Expense. Interest expense was $3,661 for the three months ended March 31, 2026 as compared to $1,567 for the three months ended March 31, 2025, an increase of $2,094, or 133.6%. The increase was due to an increase in borrowings associated with the Accu-Fab acquisition.

Provision (Benefit) for Income Taxes. Income tax expense (benefit) was ($3,308) for the three months ended March 31, 2026 as compared to ($10) for the three months ended March 31, 2025. The increase in benefit of $3,298 is primarily due to a pre-tax loss in the current year period compared to pre-tax income in the prior year period. Refer to Note 8 – Income Taxes of the Condensed Consolidated Financial Statements for further details.

Due to the factors described in the preceding paragraphs, net income (loss) and comprehensive income (loss), EBITDA, EBITDA Margin, Adjusted EBITDA and Adjusted EBITDA Margin decreased during the three months ended March 31, 2026 as compared to the three months ended March 31, 2025.

Liquidity and Capital Resources

Cash Flows Analysis

Three Months Ended

March 31, 

Increase (Decrease)

  ​ ​ ​

2026

  ​ ​ ​

2025

  ​ ​ ​

$ Change

  ​ ​ ​

% Change

  ​ ​ ​

Net cash provided by (used in) operating activities

$

(2,756)

$

8,333

(11,089)

(133.1)

%

Net cash used in investing activities

 

(4,179)

 

(2,959)

 

(1,220)

(41.2)

%

 

Net cash provided by (used in) financing activities

 

7,499

 

(5,397)

 

12,896

238.9

%

 

Net change in cash

$

564

$

(23)

$

587

Operating Activities. Cash used in operating activities was $2,756 for the three months ended March 31, 2026, as compared to cash provided by operating activities of $8,333 for the three months ended March 31, 2025. The decrease of $11,089 in cash provided by (used in) operating activities was primarily due to lower net income (loss) adjusted for reconciling items and a higher use of cash driven by an increase in inventory and accounts receivable to support higher sales volumes. This was partially offset by higher accrued liabilities.

Investing Activities. Cash used in investing activities was $4,179 for the three months ended March 31, 2026, as compared to $2,959 for the three months ended March 31, 2025. The $1,220 increase in cash used in investing activities was driven by an increase in capital investments needed to support rapidly accelerating demand in the Datacenter & Critical Power end market.

Financing Activities. Cash provided by financing activities was $7,499 for the three months ended March 31, 2026, as compared to cash used in financing activities of $5,397 for the three months ended March 31, 2025. The $12,896 increase in cash provided by financing activities was mainly due to borrowings in excess of debt repayments during the current year period on the Company’s revolving credit facility. Additionally, under the share repurchase plan, the Company purchased $1,747 of common stock in the first three months of 2025 and did not purchase any common stock during the first three months of 2026.

Amended and Restated Credit Agreement

On June 28, 2023, we entered into an amended and restated credit agreement (the Credit Agreement) with certain lenders and Wells Fargo Bank, National Association, as administrative agent (the Agent).

On June 26, 2025, we entered into the First Amendment which increased the amount of total allowable borrowings under the revolving credit facility from $250,000 to $350,000, by exercising the previously available $100,000 accordion feature. All other material terms of the Credit Agreement, including applicable interest rates, remained unchanged.

30

On February 25, 2026, we entered into the Third Amendment which lowered the amount of total allowable borrowings under the revolving credit facility from $350,000 to $275,000 and reduced our minimum consolidated interest coverage ratio to 2.75 to 1.00, through the fourth quarter of 2026. The Third Amendment also increased our maximum consolidated leverage ratio to 5.25 to 1.00 for the first and second quarter of 2026, 5.00 to 1.00 for the third quarter of 2026, 4.00 to 1.00 for the fourth quarter of 2026 and 3.50 to 1.00 for 2027 and thereafter. As a result of these financial covenant changes, the interest pricing grid now includes additional interest rate tiers. All other material terms of the Credit Agreement remained unchanged. All amounts borrowed under the Credit Agreement mature on June 28, 2028.

Borrowings under the Credit Agreement bear interest at a fluctuating SOFR plus an applicable margin based on the current consolidated total leverage ratio (which may be adjusted for certain reserve requirements), plus 1.25% to 2.75% depending on the current Consolidated Total Leverage Ratio (as defined in the Credit Agreement). Under certain circumstances, we may not be able to pay interest based on SOFR. If that happens, we will be required to pay interest at the Base Rate, which is the sum of the higher of (i) the Prime Rate (as publicly announced by the Agent from time to time), (ii) the Federal Funds Rate plus 0.50% and (iii) Adjusted Term SOFR for a one-month tenor in effect on such day plus 1.00%.

At March 31, 2026, the interest rate on outstanding borrowings under the Revolving Loan was 6.42%. After accounting for our debt covenants, we had availability of $42,191 under the revolving credit facility at March 31, 2026.

We must pay a commitment fee of 0.20% to 0.35% per annum on the average daily unused portion of the aggregate unused revolving commitments under the Credit Agreement. At March 31, 2026, this fee was 0.35%. We must also pay fees as specified in the Fee Letter (as defined in the Credit Agreement) and with respect to any letters of credit issued under the Credit Agreement.

The Credit Agreement contains usual and customary negative covenants for agreements of this type, including, but not limited to, restrictions on our ability to, subject to certain exceptions, create, incur or assume indebtedness; create, incur, assume or suffer to exist liens; make certain investments; allow our subsidiaries to merge or consolidate with another entity; make certain asset dispositions; pay certain dividends or other distributions to shareholders; enter into transactions with affiliates; enter into sale leaseback transactions; and exceed the limits on annual capital expenditures. The Credit Agreement also requires us to satisfy certain financial covenants, including a minimum consolidated interest coverage ratio of 2.75 to 1.00, as well as a consolidated total leverage ratio not to exceed 5.25 to 1.00. As of March 31, 2026, under the terms of the Credit Agreement, our interest coverage ratio was 4.27 to 1.00 and our consolidated total leverage ratio was 4.40 to 1.00.

The Credit Agreement includes customary events of default, including, among other things, payment default, covenant default, breach of representation or warranty, bankruptcy, cross-default, material ERISA events, material money judgment, and failure to maintain subsidiary guarantees. If an event of default occurs, the Agent will be entitled to take various actions, including the acceleration of amounts due under the Credit Agreement, termination of the credit facility, and all other actions permitted to be taken by a secured creditor.

Other Debt

Additionally, the Company has a Fond du Lac County and Fond du Lac Economic Development Corporation term note (Fond du Lac Term Note). The Fond du Lac Term Note is secured by a security agreement, payable in annual installments of $500 plus interest at 2.00% and is due in full in December 2028. The balance outstanding as of March 31, 2026 and December 31, 2026 was $1,375. As of March 31, 2026, the short-term and long-term balance of $500 and $875, respectively. These balances are recorded in other current liabilities and other long-term liabilities in the Condensed Consolidated Balance Sheets.

Capital Requirements and Sources of Liquidity

During the three months ended March 31, 2026 and 2025, our capital expenditures were $4,184 and $2,962 respectively. The increase of $1,222 was driven by an increase in capital investments needed to support rapidly accelerating demand in the Datacenter & Critical Power end market. Capital expenditures for the full year 2026 are expected to be between $15,000 and $20,000.

We have historically relied upon cash available through credit facilities, in addition to cash from operations, to finance our working capital requirements and to support our growth. We regularly monitor potential capital sources, including equity and debt financings, in an effort to meet our planned capital expenditures and liquidity requirements. Our future success will be highly

31

dependent on our ability to access outside sources of capital. We will continue to have access to the availability currently provided under the Credit Agreement as long as we remain compliant with the financial covenants. Based on our estimates at this time, we expect to be in compliance with these financial covenants through 2026 and the foreseeable future.

We believe that our operating cash flow and available borrowings under the Credit Agreement are sufficient to fund our operations for 2026 and beyond. However, future cash flows are subject to a number of variables, and additional capital expenditures will be required to conduct our operations. There can be no assurance that operations and other capital resources will provide cash in sufficient amounts to maintain planned or future levels of capital expenditures. In the event we make one or more acquisitions and the amount of capital required is greater than the amount we have available for acquisitions at that time, we could be required to reduce the expected level of capital expenditures and/or seek additional capital. If we seek additional capital, we may do so through borrowings under the Credit Agreement, joint ventures, asset sales, offerings of debt or equity securities or other means. We cannot guarantee that this additional capital will be available on acceptable terms or at all. If we are unable to obtain the funds we need, we may not be able to complete acquisitions that may be favorable to us or finance the capital expenditures necessary to conduct our operations.

Contractual Obligations

The following table presents our obligations and commitments to make future payments under contracts and contingent commitments at March 31, 2026:

Payments Due by Period

  ​ ​ ​

Total

  ​ ​ ​

2026
(Remainder)

  ​ ​ ​

2027 – 2028

  ​ ​ ​

2029 – 2030

  ​ ​ ​

Thereafter

  ​ ​ ​

Long-term debt principal payment obligations (1)

$

213,767

$

500

$

213,267

$

$

Forecasted interest on debt payment obligations (2)

32,175

10,690

21,485

Finance lease obligations (3)

 

8,358

 

1,558

 

3,760

 

2,775

 

265

 

Operating lease obligations (3)

 

33,574

 

5,855

 

14,263

 

9,066

 

4,390

 

Total

$

287,874

$

18,603

$

252,775

$

11,841

$

4,655

(1)Principal payments under the Company’s Credit Agreement, which expires in June 2028 and the Fond du Lac Term Note, which is due in December 2028.
(2)Forecasted interest on debt obligations are based on the debt balance, interest rate and unused fee of the Company’s revolving credit facility and debt balance and interest rate of the Company’s Fond due Lac Term Note.
(3)See Note 5 – Leases in the Notes to Condensed Consolidated Financial Statements for additional information.

Item 3. Quantitative and Qualitative Disclosures About Market Risk.

We are exposed to market risk from changes in customer forecasts, interest rates, and to a lesser extent, commodities. To reduce such risks, we selectively use financial instruments and other proactive management techniques.

Customer Forecasts

The use and consumption of our components, products and services fluctuates depending on order forecasts we receive from our customers. These order forecasts can change dramatically from quarter-to-quarter dependent upon the respective markets that our customers provide products in.

Interest Rate Risk

We are exposed to interest rate risk on certain of our short- and long-term debt obligations used to finance our operations and acquisitions. We have SOFR-based floating rate borrowings under the Credit Agreement, which exposes us to variability in interest payments due to changes in the referenced interest rates.

The amount borrowed under the revolving credit facility under the Credit Agreement was $212,392 with an interest rate of 6.42% as of March 31, 2026. Please see “Liquidity and Capital Resources – Amended and Restated Credit Agreement” in Part I,

32

Item 2 and Note 4 in the Notes to the Condensed Consolidated Financial Statements of this Quarterly Report on Form 10-Q for more specifics.

A hypothetical 100-basis-point increase in interest rates would have resulted in an additional $400 of interest expense based on our variable rate debt at March 31, 2026. We do not use derivative financial instruments to manage interest risk or to speculate on future changes in interest rates. A rise in interest rates could negatively affect our cash flow.

Commodity Risk

We source a wide variety of materials and components from a network of suppliers. Commodity raw materials, such as steel, aluminum, copper, paint and paint chemicals, and other production costs are subject to price fluctuations, which could have a negative impact on our results. We strive to pass along such commodity price increases to customers to avoid profit margin erosion and in many cases utilize contracts with those customers to mitigate the impact of commodity raw material price fluctuations. As of March 31, 2026, we did not have any commodity hedging instruments in place.

Item 4. Controls and Procedures.

Evaluation of Disclosure Controls and Procedures

We maintain disclosure controls and procedures that are designed to provide reasonable assurance that information required to be disclosed in the reports we file or submit under the Securities Exchange Act of 1934, as amended (the Exchange Act), is recorded, processed, summarized and reported within the time periods specified in the rules and forms of the SEC, and that such information is accumulated and communicated to our management, including our Chief Executive Officer and Chief Financial Officer, to allow for timely decisions regarding required disclosure. In designing disclosure controls and procedures, our management necessarily was required to apply its judgment in evaluating the cost-benefit relationship of possible disclosure controls and procedures. The design of any disclosure controls and procedures also is based in part upon certain assumptions about the likelihood of future events, and there can be no assurance that any design will succeed in achieving its stated goals under all potential future conditions. Any controls and procedures, no matter how well designed and operated, can provide only reasonable assurance of achieving the desired objectives.

As of March 31, 2026, we carried out an evaluation, under the supervision and with the participation of our Chief Executive Officer and Chief Financial Officer, of the effectiveness of the design and operation of our disclosure controls and procedures (as defined in Rules 13a-15(e) and 15d-15(e) under the Exchange Act). Based on this evaluation, our Chief Executive Officer and Chief Financial Officer concluded that our disclosure controls and procedures were effective as of March 31, 2026. Management believes the condensed consolidated financial statements included in this Quarterly Report on Form 10-Q fairly present, in all material respects, our financial position, results of operations and cash flows as of the dates presented, and for the periods ended on such dates, in conformity with accounting principles generally accepted in the United States of America (GAAP).

Changes in Internal Control Over Financial Reporting

There were no changes in our internal controls over financial reporting during the three months ended March 31, 2026 that materially affected, or are reasonably likely to materially affect, our internal controls over financial reporting.

33

PART II—OTHER INFORMATION

Item 1. Legal Proceedings.

We are not currently a party to any material litigation proceedings. From time to time, however, we may be a party to litigation and subject to claims incident to the ordinary course of business. Regardless of the outcome, litigation can have an adverse impact on us because of defense and settlement costs, diversion of management resources and other factors.

Item 1A. Risk Factors

There have been no material changes to the risk factors previously disclosed in Part I, Item 1A, “Risk Factors,” in our Annual Report on Form 10-K for the year ended December 31, 2025, which was filed with the SEC on March 4, 2026.

Item 2. Unregistered Sales of Equity Securities and Use of Proceeds.

The table below sets forth information with respect to purchases we made of shares of our common stock during the quarter ended March 31, 2026:

Total Number 

Dollar Value of 

of Shares 

Shares that 

Total 

Purchased as 

May Yet Be 

Number 

Part of Publicly 

Purchased 

of Shares 

Average Price 

Announced Plans 

Under the Plans 

Period

  ​ ​ ​

Purchased

  ​ ​ ​

Paid per Share

  ​ ​ ​

or Programs (1)

  ​ ​ ​

or Programs (1)

January 2026

$

$

14,497,519

February 2026

$

$

14,497,519

March 2026

$

$

14,497,519

Total

 

 

 

 

(1)On October 26, 2023, the Board of Directors approved a new share repurchase program of up to $25 million of shares through 2026. The new share repurchase program replaced the prior program.

Item 5. Other Information

During the three months ended March 31, 2026, no director or Section 16 officer of the Company adopted or terminated a “Rule 10b5-1 trading arrangement” or “non-Rule 10b5-1 trading arrangement,” as each term is defined in Item 408 of Regulation S-K.

34

Item 6. Exhibits.

The exhibits listed in the Exhibit Index below are filed as part of this Quarterly Report on Form 10-Q.

EXHIBIT INDEX

Exhibit

Number

Description

10.1

Second Amendment, dated as of August 15, 2025, to Amended and Restated Credit Agreement, dated as of June 28, 2023, as amended by that First Amendment, dated as of June 26, 2025, by and among Mayville Engineering Company, Inc., certain subsidiaries of Mayville Engineering Company, as guarantors, the lenders from time-to-time party thereto, and Wells Fargo Bank, National Association, as Administrative Agent for the lenders (incorporated by reference to Exhibit 10.1 to the Current Report on Form 8-K filed on February 26, 2026).

10.2

Third Amendment, dated as of February 25, 2026, to Amended and Restated Credit Agreement, dated as of June 28, 2023, as amended by that First Amendment, dated as of June 26, 2025 and that Second Amendment, dated as of August 15, 2026, by and among Mayville Engineering Company, Inc., certain subsidiaries of Mayville Engineering Company, as guarantors, the lenders from time-to-time party thereto, and Wells Fargo Bank, National Association, as Administrative Agent for the lenders (including a full conformed copy of the credit agreement, as amended by the third amendment) (incorporated by reference to Exhibit 10.2 to the Current Report on Form 8-K filed on February 26, 2026).

31.1

Certification of Principal Executive Officer Pursuant to Rules 13a-14(a) and 15d-14(a) under the Securities Exchange Act of 1934, as Adopted Pursuant to Section 302 of the Sarbanes-Oxley Act of 2002.

31.2

Certification of Principal Financial Officer Pursuant to Rules 13a-14(a) and 15d-14(a) under the Securities Exchange Act of 1934, as Adopted Pursuant to Section 302 of the Sarbanes-Oxley Act of 2002.

32

Certification of Principal Executive Officer and Principal Financial Officer Pursuant to 18 U.S.C. Section 1350, as Adopted Pursuant to Section 906 of the Sarbanes-Oxley Act of 2002.

101.INS

Inline XBRL Instance Document

101.SCH

Inline XBRL Taxonomy Extension Schema Document

101.CAL

Inline XBRL Taxonomy Extension Calculation Linkbase Document

101.DEF

Inline XBRL Taxonomy Extension Definition Linkbase Document

101.LAB

Inline XBRL Taxonomy Extension Label Linkbase Document

101.PRE

Inline XBRL Taxonomy Extension Presentation Linkbase Document

104

Cover Page Interactive Data File (embedded within the Inline XBRL document)

35

SIGNATURES

Pursuant to the requirements of the Securities Exchange Act of 1934, the registrant has duly caused this report to be signed on its behalf by the undersigned thereunto duly authorized.

MAYVILLE ENGINEERING COMPANY, INC.

Date: May 6, 2026

 

By:

/s/ Jagadeesh A. Reddy

 

Jagadeesh A. Reddy

 

President, Chief Executive Officer and Director

 

By:

/s/ Rachele M. Lehr

 

Rachele M. Lehr

 

Chief Financial Officer

36

EX-31.1 2 tmb-20260331xex31d1.htm EX-31.1

Exhibit 31.1

CERTIFICATION PURSUANT TO

RULES 13a-14(a) AND 15d-14(a) UNDER THE SECURITIES EXCHANGE ACT OF 1934,

AS ADOPTED PURSUANT TO SECTION 302 OF THE SARBANES-OXLEY ACT OF 2002

I, Jagadeesh A. Reddy, certify that:

1.

I have reviewed this Quarterly Report on Form 10-Q of Mayville Engineering Company, Inc.;

2.

Based on my knowledge, this report does not contain any untrue statement of a material fact or omit to state a material fact necessary to make the statements made, in light of the circumstances under which such statements were made, not misleading with respect to the period covered by this report;

3.

Based on my knowledge, the financial statements, and other financial information included in this report, fairly present in all material respects the financial condition, results of operations and cash flows of the registrant as of, and for, the periods presented in this report;

4.

The registrant's other certifying officer and I are responsible for establishing and maintaining disclosure controls and procedures (as defined in Exchange Act Rules 13a-15(e) and 15d-15(e)) and internal control over financial reporting (as defined in Exchange Act Rules 13a-15(f) and 15d-15(f)) for the registrant and have:

(a)

Designed such disclosure controls and procedures, or caused such disclosure controls and procedures to be designed under our supervision, to ensure that material information relating to the registrant, including its consolidated subsidiaries, is made known to us by others within those entities, particularly during the period in which this report is being prepared;

(b)

Designed such internal control over financial reporting, or caused such internal control over financial reporting to be designed under our supervision, to provide reasonable assurance regarding the reliability of financial reporting and the preparation of financial statements for external purposes in accordance with generally accepted accounting principles;

(c)

Evaluated the effectiveness of the registrant's disclosure controls and procedures and presented in this report our conclusions about the effectiveness of the disclosure controls and procedures, as of the end of the period covered by this report based on such evaluation; and

(d)

Disclosed in this report any change in the registrant's internal control over financial reporting that occurred during the registrant's most recent fiscal quarter (the registrant's fourth fiscal quarter in the case of an annual report) that has materially affected, or is reasonably likely to materially affect, the registrant's internal control over financial reporting; and

5.

The registrant's other certifying officer and I have disclosed, based on our most recent evaluation of internal control over financial reporting, to the registrant's auditors and the audit committee of the registrant's board of directors (or persons performing the equivalent functions):

(a)

All significant deficiencies and material weaknesses in the design or operation of internal control over financial reporting which are reasonably likely to adversely affect the registrant's ability to record, process, summarize and report financial information; and

(b)

Any fraud, whether or not material, that involves management or other employees who have a significant role in the registrant's internal control over financial reporting.

Date: May 6, 2026

By:

/s/ Jagadeesh A. Reddy

Jagadeesh A. Reddy

President & Chief Executive Officer


EX-31.2 3 tmb-20260331xex31d2.htm EX-31.2

Exhibit 31.2

CERTIFICATION PURSUANT TO

RULES 13a-14(a) AND 15d-14(a) UNDER THE SECURITIES EXCHANGE ACT OF 1934,

AS ADOPTED PURSUANT TO SECTION 302 OF THE SARBANES-OXLEY ACT OF 2002

I, Rachele M. Lehr, certify that:

1.

I have reviewed this Quarterly Report on Form 10-Q of Mayville Engineering Company, Inc.;

2.

Based on my knowledge, this report does not contain any untrue statement of a material fact or omit to state a material fact necessary to make the statements made, in light of the circumstances under which such statements were made, not misleading with respect to the period covered by this report;

3.

Based on my knowledge, the financial statements, and other financial information included in this report, fairly present in all material respects the financial condition, results of operations and cash flows of the registrant as of, and for, the periods presented in this report;

4.

The registrant's other certifying officer and I are responsible for establishing and maintaining disclosure controls and procedures (as defined in Exchange Act Rules 13a-15(e) and 15d-15(e)) and internal control over financial reporting (as defined in Exchange Act Rules 13a-15(f) and 15d-15(f)) for the registrant and have:

(a)

Designed such disclosure controls and procedures, or caused such disclosure controls and procedures to be designed under our supervision, to ensure that material information relating to the registrant, including its consolidated subsidiaries, is made known to us by others within those entities, particularly during the period in which this report is being prepared;

(b)

Designed such internal control over financial reporting, or caused such internal control over financial reporting to be designed under our supervision, to provide reasonable assurance regarding the reliability of financial reporting and the preparation of financial statements for external purposes in accordance with generally accepted accounting principles;

(c)

Evaluated the effectiveness of the registrant's disclosure controls and procedures and presented in this report our conclusions about the effectiveness of the disclosure controls and procedures, as of the end of the period covered by this report based on such evaluation; and

(d)

Disclosed in this report any change in the registrant's internal control over financial reporting that occurred during the registrant's most recent fiscal quarter (the registrant's fourth fiscal quarter in the case of an annual report) that has materially affected, or is reasonably likely to materially affect, the registrant's internal control over financial reporting; and

5.

The registrant's other certifying officer and I have disclosed, based on our most recent evaluation of internal control over financial reporting, to the registrant's auditors and the audit committee of the registrant's board of directors (or persons performing the equivalent functions):

(a)

All significant deficiencies and material weaknesses in the design or operation of internal control over financial reporting which are reasonably likely to adversely affect the registrant's ability to record, process, summarize and report financial information; and

(b)

Any fraud, whether or not material, that involves management or other employees who have a significant role in the registrant's internal control over financial reporting.

Date: May 6, 2026

By:

/s/ Rachele M. Lehr

Rachele M. Lehr

Chief Financial Officer


EX-32 4 tmb-20260331xex32.htm EX-32

Exhibit 32

CERTIFICATION PURSUANT TO

18 U.S.C. SECTION 1350, AS ADOPTED PURSUANT TO

SECTION 906 OF THE SARBANES-OXLEY ACT OF 2002

In connection with the Quarterly Report on Form 10-Q of Mayville Engineering Company, Inc. (the “Company”) for the period ended March 31, 2026 as filed with the Securities and Exchange Commission on the date hereof (the “Report”), Jagadeesh A. Reddy, as President and Chief Executive Officer of the Company, and Rachele M. Lehr, as Chief Financial Officer of the Company, each hereby certify, pursuant to 18 U.S.C. § 1350, as adopted pursuant to § 906 of the Sarbanes-Oxley Act of 2002, that to his knowledge:

(1)

The Report fully complies with the requirements of section 13(a) or 15(d) of the Securities Exchange Act of 1934; and

(2)

The information contained in the Report fairly presents, in all material respects, the financial condition and results of operations of the Company.

Date: May 6, 2026

By:

/s/ Jagadeesh A. Reddy

Jagadeesh A. Reddy

President & Chief Executive Officer

By:

/s/ Rachele M. Lehr

Rachele M. Lehr

Chief Financial Officer


EX-101.SCH 5 tmb-20260331.xsd EX-101.SCH 995200100 - Statement - Condensed Consolidated Balance Sheets link:presentationLink link:calculationLink link:definitionLink 995200200 - Statement - Condensed Consolidated Statements of Comprehensive Income (Loss) link:presentationLink link:calculationLink link:definitionLink 995200300 - Statement - Condensed Consolidated Statements of Cash Flows link:presentationLink link:calculationLink link:definitionLink 99940202 - Disclosure - Acquisition - Assets acquired, liabilities assumed (Details) link:presentationLink link:calculationLink link:definitionLink 99940301 - Disclosure - Select balance sheet data - Schedule of Inventories (Details) link:presentationLink link:calculationLink link:definitionLink 99940302 - Disclosure - Select balance sheet data - Schedule of Property, Plant and Equipment (Details) link:presentationLink link:calculationLink link:definitionLink 99940305 - Disclosure - Select balance sheet data - Schedule of Listing of Intangible Assets (Details) link:presentationLink link:calculationLink link:definitionLink 99940501 - Disclosure - Leases - Components of lease expense (Details) link:presentationLink link:calculationLink link:definitionLink 99941401 - Disclosure - Earnings Per Share (Details) link:presentationLink link:calculationLink link:definitionLink 995200400 - Statement - Condensed Consolidated Statements of Shareholders' Equity link:presentationLink link:calculationLink link:definitionLink 99930203 - Disclosure - Acquisition (Tables) link:presentationLink link:calculationLink link:definitionLink 99940101 - Disclosure - Basis of presentation (Details) link:presentationLink link:calculationLink link:definitionLink 99940201 - Disclosure - Acquisition (Details) link:presentationLink link:calculationLink link:definitionLink 99940203 - Disclosure - Acquisition - Pro Forma Financial Information (Details) link:presentationLink link:calculationLink link:definitionLink 99940303 - Disclosure - Select balance sheet data - Additional Information (Details) link:presentationLink link:calculationLink link:definitionLink 99940401 - Disclosure - Debt - Credit Agreements (Details) link:presentationLink link:calculationLink link:definitionLink 99940402 - Disclosure - Debt - Other Debt (Details) link:presentationLink link:calculationLink link:definitionLink 99940601 - Disclosure - Employee stock ownership plan - Additional Information (Details) link:presentationLink link:calculationLink link:definitionLink 99940801 - Disclosure - Income taxes - Additional Information (Details) link:presentationLink link:calculationLink link:definitionLink 99941001 - Disclosure - Deferred compensation - Additional Information (Details) link:presentationLink link:calculationLink link:definitionLink 99941101 - Disclosure - Self-Funded insurance (Details) link:presentationLink link:calculationLink link:definitionLink 99941301 - Disclosure - Fair value of financial instruments - Assets and Liabilities at Fair Value (Details) link:presentationLink link:calculationLink link:definitionLink 99941402 - Disclosure - Earnings Per Share - Antidilutive securities (Details) link:presentationLink link:calculationLink link:definitionLink 99941502 - Disclosure - Revenue Recognition - Schedule of disaggregation of revenue by product category (Details) link:presentationLink link:calculationLink link:definitionLink 99941503 - Disclosure - Revenue Recognition - Schedule of disaggregation of revenue by end market (Details) link:presentationLink link:calculationLink link:definitionLink 99941601 - Disclosure - Concentration of major customers - Schedule of major customer concentrations (Details) link:presentationLink link:calculationLink link:definitionLink 99941701 - Disclosure - Stock-based compensation - Additional information (Details) link:presentationLink link:calculationLink link:definitionLink 99941802 - Disclosure - Common Equity - Changes in outstanding common shares (Details) link:presentationLink link:calculationLink link:definitionLink 99941901 - Disclosure - Restructuring - Additional information (Details) link:presentationLink link:calculationLink link:definitionLink 99941902 - Disclosure - Restructuring - Restructuring charges (Details) link:presentationLink link:calculationLink link:definitionLink 995200090 - Document - Document and Entity Information link:presentationLink link:calculationLink link:definitionLink 995200105 - Statement - Condensed Consolidated Balance Sheets (Parenthetical) link:presentationLink link:calculationLink link:definitionLink 995210101 - Disclosure - Basis of presentation link:presentationLink link:calculationLink link:definitionLink 995210201 - Disclosure - Acquisition link:presentationLink link:calculationLink link:definitionLink 995210301 - Disclosure - Select balance sheet data link:presentationLink link:calculationLink link:definitionLink 995210401 - Disclosure - Debt link:presentationLink link:calculationLink link:definitionLink 995210501 - Disclosure - Leases link:presentationLink link:calculationLink link:definitionLink 995210601 - Disclosure - Employee stock ownership plan link:presentationLink link:calculationLink link:definitionLink 995210701 - Disclosure - Retirement plans link:presentationLink link:calculationLink link:definitionLink 995210801 - Disclosure - Income taxes link:presentationLink link:calculationLink link:definitionLink 995210901 - Disclosure - Commitments and contingencies link:presentationLink link:calculationLink link:definitionLink 995211001 - Disclosure - Deferred compensation link:presentationLink link:calculationLink link:definitionLink 995211101 - Disclosure - Self-Funded insurance link:presentationLink link:calculationLink link:definitionLink 995211201 - Disclosure - Segments link:presentationLink link:calculationLink link:definitionLink 995211301 - Disclosure - Fair value of financial instruments link:presentationLink link:calculationLink link:definitionLink 995211401 - Disclosure - Earnings Per Share link:presentationLink link:calculationLink link:definitionLink 995211501 - Disclosure - Revenue Recognition link:presentationLink link:calculationLink link:definitionLink 995211601 - Disclosure - Concentration of major customers link:presentationLink link:calculationLink link:definitionLink 995211701 - Disclosure - Stock-based compensation link:presentationLink link:calculationLink link:definitionLink 995211801 - Disclosure - Common Equity link:presentationLink link:calculationLink link:definitionLink 995211901 - Disclosure - Restructuring link:presentationLink link:calculationLink link:definitionLink 99920102 - Disclosure - Basis of presentation (Policies) link:presentationLink link:calculationLink link:definitionLink 99930303 - Disclosure - Select balance sheet data (Tables) link:presentationLink link:calculationLink link:definitionLink 99930503 - Disclosure - Leases (Tables) link:presentationLink link:calculationLink link:definitionLink 99931303 - Disclosure - Fair value of financial instruments (Tables) link:presentationLink link:calculationLink link:definitionLink 99931403 - Disclosure - Earnings Per Share (Tables) link:presentationLink link:calculationLink link:definitionLink 99931503 - Disclosure - Revenue Recognition (Tables) link:presentationLink link:calculationLink link:definitionLink 99931603 - Disclosure - Concentration of major customers (Tables) link:presentationLink link:calculationLink link:definitionLink 99931803 - Disclosure - Common Equity (Tables) link:presentationLink link:calculationLink link:definitionLink 99931903 - Disclosure - Restructuring (Tables) link:presentationLink link:calculationLink link:definitionLink 99940304 - Disclosure - Select balance sheet data - Goodwill (Details) link:presentationLink link:calculationLink link:definitionLink 99940306 - Disclosure - Select balance sheet data - Amortization Expense (Details) link:presentationLink link:calculationLink link:definitionLink 99940307 - Disclosure - Select balance sheet data - Schedule of Future Amortization Expense (Details) link:presentationLink link:calculationLink link:definitionLink 99940502 - Disclosure - Leases - Supplemental cash flow information (Details) link:presentationLink link:calculationLink link:definitionLink 99940701 - Disclosure - Retirement plans - Additional Information (Details) link:presentationLink link:calculationLink link:definitionLink 99941201 - Disclosure - Segments (Details) link:presentationLink link:calculationLink link:definitionLink 99941501 - Disclosure - Revenue Recognition - Schedule of changes in contract assets and liabilities (Details) link:presentationLink link:calculationLink link:definitionLink 99941801 - Disclosure - Common Equity (Details) link:presentationLink link:calculationLink link:definitionLink 99900 - Disclosure - Standard And Custom Axis Domain Defaults link:presentationLink link:calculationLink link:definitionLink EX-101.CAL 6 tmb-20260331_cal.xml EX-101.CAL EX-101.DEF 7 tmb-20260331_def.xml EX-101.DEF EX-101.LAB 8 tmb-20260331_lab.xml EX-101.LAB EX-101.PRE 9 tmb-20260331_pre.xml EX-101.PRE XML 11 R1.htm IDEA: XBRL DOCUMENT v3.26.1
Document and Entity Information - shares
3 Months Ended
Mar. 31, 2026
May 01, 2026
Document and Entity Information    
Document Type 10-Q  
Document Quarterly Report true  
Document Period End Date Mar. 31, 2026  
Document Transition Report false  
Entity File Number 001-38894  
Entity Registrant Name Mayville Engineering Company, Inc.  
Entity Incorporation, State or Country Code WI  
Entity Tax Identification Number 39-0944729  
Entity Address, Address Line One 135 S. 84th Street, Suite 300  
Entity Address, City or Town Milwaukee  
Entity Address, State or Province WI  
Entity Address, Postal Zip Code 53214  
City Area Code 414  
Local Phone Number 381-2860  
Title of 12(b) Security Common Stock, no par value  
Trading Symbol MEC  
Security Exchange Name NYSE  
Entity Current Reporting Status Yes  
Entity Interactive Data Current Yes  
Entity Filer Category Accelerated Filer  
Entity Small Business false  
Entity Emerging Growth Company false  
Entity Shell Company false  
Entity Common Stock, Shares Outstanding   20,494,006
Entity Central Index Key 0001766368  
Current Fiscal Year End Date --12-31  
Document Fiscal Year Focus 2026  
Document Fiscal Period Focus Q1  
Amendment Flag false  
XML 12 R2.htm IDEA: XBRL DOCUMENT v3.26.1
Condensed Consolidated Balance Sheets - USD ($)
$ in Thousands
Mar. 31, 2026
Dec. 31, 2025
ASSETS    
Cash and cash equivalents $ 2,066 $ 1,502
Receivables, net of allowances for doubtful accounts of $590 at March 31, 2026 and $577 at December 31, 2025 68,138 57,551
Inventories, net 66,024 59,398
Tooling in progress 5,374 4,746
Prepaid expenses and other current assets 5,684 5,217
Total current assets 147,286 128,414
Property, plant and equipment, net 149,789 149,996
Assets held for sale 3,082 1,402
Goodwill 140,246 140,246
Intangible assets, net 108,150 111,280
Operating lease assets 27,734 30,473
Other long-term assets 1,785 1,829
Total assets 578,072 563,640
LIABILITIES AND SHAREHOLDERS' EQUITY    
Accounts payable 62,816 52,377
Current portion of operating lease obligation 6,842 6,729
Accrued liabilities:    
Salaries, wages, and payroll taxes 5,939 2,753
Bonuses and deferred compensation 2,327 2,170
Other current liabilities 11,822 10,740
Total current liabilities 89,746 74,769
Bank revolving credit notes 212,392 202,525
Operating lease obligation, less current maturities 23,785 25,572
Deferred compensation, less current portion 4,801 5,240
Deferred income tax liability 7,990 11,298
Other long-term liabilities 7,172 3,499
Total liabilities 345,886 322,903
Commitments and contingencies (see Note 9)
Common shares, no par value, 75,000,000 authorized, 22,602,432 shares issued at March 31, 2026 and 22,505,704 at December 31, 2025
Additional paid-in-capital 208,401 208,777
Retained earnings 43,801 51,976
Treasury shares at cost, 2,187,334 shares at March 31, 2026 and 2,187,334 at December 31, 2025 (20,016) (20,016)
Total shareholders' equity 232,186 240,737
Total liabilities and shareholders' equity $ 578,072 $ 563,640
XML 13 R3.htm IDEA: XBRL DOCUMENT v3.26.1
Condensed Consolidated Balance Sheets (Parenthetical) - USD ($)
$ in Thousands
Mar. 31, 2026
Dec. 31, 2025
Condensed Consolidated Balance Sheets    
Allowances for doubtful accounts $ 590 $ 577
Common shares, par value $ 0 $ 0
Common shares authorized, shares 75,000,000 75,000,000
Common shares issued, shares 22,602,432 22,505,704
Treasury stock at cost, shares 2,187,334 2,187,334
XML 14 R4.htm IDEA: XBRL DOCUMENT v3.26.1
Condensed Consolidated Statements of Comprehensive Income (Loss) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2026
Mar. 31, 2025
Condensed Consolidated Statements of Comprehensive Income (Loss)    
Net sales $ 144,780 $ 135,579
Cost of sales 133,819 120,255
Amortization of intangible assets 3,130 1,733
Bonuses and deferred compensation 4,804 3,325
Other selling, general and administrative expenses 9,171 8,689
Impairment of long-lived assets 1,544  
Income (loss) from operations (7,688) 1,577
Interest expense (3,661) (1,567)
Loss on extinguishment of debt (134)  
Income (loss) before taxes (11,483) 10
Income tax expense (benefit) (3,308) (10)
Net income (loss) and comprehensive income (loss) $ (8,175) $ 20
Earnings (loss) per share:    
Basic earnings (loss) per share (in dollars per share) $ (0.4) $ 0
Diluted earnings (loss) per share (in dollars per share) $ (0.4) $ 0
Weighted average shares outstanding:    
Basic weighted average shares outstanding (in shares) 20,445,112 20,520,696
Diluted weighted average shares outstanding (in shares) 20,445,112 20,750,938
XML 15 R5.htm IDEA: XBRL DOCUMENT v3.26.1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2026
Mar. 31, 2025
CASH FLOWS FROM OPERATING ACTIVITIES    
Net income (loss) $ (8,175) $ 20
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Depreciation 7,820 7,750
Amortization 3,130 1,733
Allowance for doubtful accounts 13 22
Inventory excess and obsolescence reserve 106 (164)
Stock-based compensation expense 795 1,101
Gain on disposal of property, plant and equipment (4) (3)
Impairment of long-lived assets 1,544  
Deferred compensation (1,024) 275
Loss on extinguishment of debt 134  
Non-cash lease expense 1,624 1,318
Other non-cash adjustments 300 70
Changes in operating assets and liabilities:    
Accounts receivable (10,601) (8,167)
Inventories (6,732) (914)
Tooling in progress (628) 329
Prepaids and other current assets (366) (186)
Accounts payable 10,185 10,444
Deferred income taxes (3,308) (538)
Operating lease obligations (1,727) (1,303)
Accrued liabilities 4,158 (3,454)
Net cash provided by (used in) operating activities (2,756) 8,333
CASH FLOWS FROM INVESTING ACTIVITIES    
Purchases of property, plant and equipment (4,184) (2,962)
Proceeds from sale of property, plant and equipment 5 3
Net cash used in investing activities (4,179) (2,959)
CASH FLOWS FROM FINANCING ACTIVITIES    
Proceeds from bank revolving credit notes 480,731 282,113
Payments on bank revolving credit notes (470,863) (284,359)
Payments of financing costs (398)  
Shares withheld for employees' taxes (1,171) (1,170)
Purchase of treasury stock   (1,747)
Payments on finance leases (800) (234)
Net cash provided by (used in) financing activities 7,499 (5,397)
Net increase (decrease) in cash and cash equivalents 564 (23)
Cash and cash equivalents at beginning of period 1,502 206
Cash and cash equivalents at end of period 2,066 183
Supplemental disclosure of cash flow information:    
Cash paid for interest 3,453 1,577
Cash paid for income taxes 262 586
Non-cash property, plant and equipment $ 2,084 $ 1,218
XML 16 R6.htm IDEA: XBRL DOCUMENT v3.26.1
Condensed Consolidated Statements of Shareholders' Equity - USD ($)
$ in Thousands
Additional Paid-in Capital
Treasury Shares
Retained Earnings
Total
Beginning, Balance at Dec. 31, 2024 $ 207,076 $ (15,409) $ 60,086 $ 251,753
Net income (loss)     20 20
Share repurchases   (1,747)   (1,747)
Stock-based compensation 1,101     1,101
Restricted stock units net of employee tax withholding (1,170)     (1,170)
Ending, Balance at Mar. 31, 2025 207,007 (17,156) 60,106 249,957
Beginning, Balance at Dec. 31, 2025 208,777 (20,016) 51,976 240,737
Net income (loss)     (8,175) (8,175)
Stock-based compensation 795     795
Restricted stock units net of employee tax withholding (1,171)     (1,171)
Ending, Balance at Mar. 31, 2026 $ 208,401 $ (20,016) $ 43,801 $ 232,186
XML 17 R7.htm IDEA: XBRL DOCUMENT v3.26.1
Basis of presentation
3 Months Ended
Mar. 31, 2026
Basis of presentation  
Basis of presentation

Note 1. Basis of presentation

The interim unaudited Condensed Consolidated Financial Statements of Mayville Engineering Company, Inc. and subsidiaries (MEC, the Company, we, our, us or similar terms) presented here have been prepared in accordance with the accounting principles generally accepted in the United States of America (GAAP) and with instructions to Form 10-Q and Article 10 of Regulation S-X. They reflect all adjustments which are, in the opinion of management, necessary for a fair presentation of the results of operations and financial position for the interim unaudited periods presented. All intercompany balances and transactions have been eliminated in consolidation.

Certain information and footnote disclosures normally included in financial statements prepared in accordance with GAAP have been condensed or omitted. These interim unaudited Condensed Consolidated Financial Statements should be read in conjunction with the Company’s consolidated financial statements and notes thereto for the year ended December 31, 2025, included in the Company’s Annual Report on Form 10-K. A summary of the Company’s significant accounting policies is included in the Company’s 2025 financial statements in the Annual Report on Form 10-K. The Company followed these policies in preparation of the interim unaudited Condensed Consolidated Financial Statements except for new accounting pronouncements adopted as described below.

Nature of Operations

Mayville Engineering Company, Inc. (MEC) is a leading U.S.-based, vertically-integrated, value-added manufacturing partner providing a full suite of manufacturing solutions from concept to production, including design, prototyping and tooling, fabrication, aluminum extrusion, coating, assembly and aftermarket components. Our customers operate in diverse end markets, including heavy- and medium-duty commercial vehicles, construction & access equipment, powersports, datacenter & critical power, agriculture, military and other end markets. Founded in 1945 and headquartered in Milwaukee, Wisconsin, we are a leading Tier I U.S. supplier of highly engineered components to original equipment manufacturer (OEM) customers with leading positions in their respective markets. The Company maintains 27 facilities, of which 22 are in operation, located in Arkansas, Illinois, Michigan, Mississippi, North Carolina, Ohio, Pennsylvania, Virginia, and Wisconsin. Our engineering expertise and technical know-how allow us to add value through every product redevelopment cycle.

Our one operating segment focuses on producing metal components that are used in a broad range of heavy- and medium-duty commercial vehicles, construction & access equipment, powersports, datacenter & critical power, agricultural, military and other products.

Recently Adopted Accounting Pronouncements

In September 2025, the Financial Accounting Standards Board (FASB) issued Accounting Standard Update (ASU) 2025-06, Intangibles – Goodwill and Other-Internal-Use Software, amending Accounting Standards Codification (ASC) 350. The amendment removes all references to prescriptive and sequential software development stages. In addition, the amendment also requires consideration of whether there is significant uncertainty associated with the development activities of the software during evaluation of a probable-to-complete recognition threshold. ASU 2025-06 is effective for interim and annual periods beginning after December 15, 2027. Entities may adopt the guidance using either a prospective approach (including a modified transition approach) or retrospective approach. Early adoption is permitted. The Company has early adopted ASU 2025-06 on a prospective basis, as of January 1, 2026. The adoption of ASU 2025-06 did not have a material impact on the Company’s consolidated financial statements.

In December 2025, the FASB issued ASU 2025-12, Codification Improvements. The ASU addresses 33 items, representing the changes to the Codification that (1) clarify, (2) correct errors, or (3) make minor improvements. Generally, the amendments in this update are not intended to result in significant changes for most entities. The ASU is effective for interim reporting periods within annual reporting periods beginning after December 15, 2026. Early adoption is permitted. The Company adopted this standard in the first quarter of 2026, and the amendments have been applied on a prospective basis. Adoption of ASU 2025-12 did not have a material impact on the Company’s consolidated financial statements.

Recently Issued Accounting Standards Not Yet Adopted

In November 2024, the FASB issued ASU 2024-03, Expense Disaggregation Disclosures, amending ASC 220, Income Statement – Reporting Comprehensive Income. The amendment requires an entity to provide a disclosure within the financial statement footnotes showing the disaggregation of certain expenses included in relevant expense captions on the consolidated income statement, with a qualitative description of the amounts that are not separately disaggregated quantitatively. The guidance also requires disclosure of the total amount of selling expenses and, in annual reporting periods, an entity’s definition of selling expenses. ASU 2024-03 is effective for fiscal years beginning after December 15, 2026, and for interim periods beginning after December 15, 2027. The guidance is applied on a prospective basis, with a retrospective option and allows for early adoption. The Company is evaluating the potential impact of this guidance on the consolidated financial statements.

In December 2025, the FASB issued ASU 2025-11, Interim Reporting - Narrow-Scope Improvements, amending ASC 270. The ASU clarifies interim disclosure requirements and the applicability of ASC 270. The objective of the amendments is to provide further clarity about the current interim disclosure requirements. The ASU is effective for interim reporting periods within annual reporting periods beginning after December 15, 2027. Adoption of this ASU can be applied either on a prospective or a retrospective approach. Early adoption is permitted. The Company is evaluating the potential impact of this guidance on the condensed consolidated financial statements.

XML 18 R8.htm IDEA: XBRL DOCUMENT v3.26.1
Acquisition
3 Months Ended
Mar. 31, 2026
Acquisition  
Acquisition

Note 2. Acquisition

On July 1, 2025, the Company acquired 100% of the membership interests of Accu-Fab, LLC (Accu-Fab). The acquisition was consummated in accordance with the terms of the Purchase Agreement, dated May 23, 2025, among the Company, Accu-Fab and Tide Rock YieldCo, LLC (the Seller). The purchase price of the acquisition was $140,500, subject to customary adjustments for the amount of cash, indebtedness, net working capital and certain expenses of Accu-Fab as of the closing. The acquisition of Accu-Fab was structured as a stock purchase for accounting purposes. As of the closing of the acquisition, after taking into account the estimated adjustments, the Company paid the Seller a preliminary total net consideration of $141,185. The Company financed the acquisition by borrowing under its amended and restated credit agreement, as amended, as described in Note 4 – Debt, in the Notes to the Condensed Consolidated Financial Statements.

With locations in Wheeling, Illinois and Raleigh, North Carolina, Accu-Fab is a vertically integrated manufacturing partner providing technology driven, cutting edge metal fabrication solutions to large OEMs. Accu-Fab offers value-added services including design, engineering, sheet metal fabrication and integration and specialized finishing. The acquisition enhances MEC’s strategic position by broadening its customer base and accelerating its entry into the rapidly growing datacenter & critical power infrastructure end markets.

The Company accounted for the acquisition using the acquisition method of accounting in accordance with ASC 805, Business Combinations, with MEC being the acquiring entity. Transaction costs related to the acquisition were expensed as incurred within other selling, general, and administrative expenses, and totaled $0 and $830 for the three months ended March 31, 2026 and 2025, respectively.

The aggregate purchase price has been allocated to the assets acquired and liabilities assumed based on their preliminary estimated fair values as of the acquisition date. The estimate of the excess purchase price over the preliminary estimated fair value of net tangible assets acquired was allocated to identifiable intangible assets and goodwill. The Company engaged an independent third party to assist with the identification and valuation of the acquired assets, including intangible assets. Management makes significant estimates and assumptions when determining the fair value of assets acquired and liabilities assumed. These estimates include, but are not limited to, discount rates, projected future net sales, projected future expected cash flows, useful lives, attrition rates and growth rates. These measures are based on significant Level 3 inputs not observable in the market.

The following table is a summary of the assets acquired, liabilities assumed and net cash consideration paid for the acquisition of Accu-Fab. The allocation is considered preliminary and subject to finalization within one year from the acquisition date:

Balance Sheet

Balance Sheet

Allocation As of

Measurement

Allocation As of

December 31,

Period

March 31,

2025

 

Adjustments

 

2026

Cash and cash equivalents

$

1,123

-

$

1,123

Accounts receivable, net

14,118

-

14,118

Inventory

4,594

-

4,594

Prepaid expenses and other current assets

256

-

256

Property, plant and equipment

9,811

-

9,811

Operating lease assets

4,031

-

4,031

Intangible assets

Customer relationships (1)

67,000

-

67,000

Non-compete agreements (1)

2,200

-

2,200

Other long-term assets

7

-

7

Goodwill

47,596

-

47,596

Total assets acquired

150,736

150,736

Accounts payable

(4,101)

-

(4,101)

Lease liabilities, current

(1,246)

-

(1,246)

Accrued liabilities:

Salaries, wages, and payroll taxes

(726)

-

(726)

Bonuses and deferred compensation

(305)

-

(305)

Other current liabilities

(275)

-

(275)

Lease liabilities, non-current

(2,786)

-

(2,786)

Other long-term liabilities

(220)

-

(220)

Total liabilities assumed

(9,659)

-

(9,659)

Total consideration

$

141,077

$

141,077

(1)Customer relationships and non-compete agreements have a useful life of fourteen and two years, respectively.

The Company believes that the information gathered to date provides a reasonable basis for estimating the fair values of assets acquired and liabilities assumed; however, the purchase price allocation remains preliminary as we continue to gather the necessary information to finalize our fair value estimates and provisional amounts. Provisional amounts include items related to intangibles, indemnification of assets and liabilities and deferred taxes.

The Company has recorded preliminary estimates for the items that remain subject to valuation and will record adjustments, if any, to the preliminary amounts upon finalization of the respective valuations. Such changes are not expected to be significant. The Company expects to complete the purchase price allocation as soon as practicable but no later than one year from the acquisition date.

Pro Forma Financial Information (Unaudited)

In accordance with ASC 805, the following unaudited pro forma combined results of operations have been prepared and presented to give effect to the Accu-Fab acquisition as if it had occurred on January 1, 2025, the beginning of the comparable period, applying certain assumptions and pro forma adjustments. These pro forma adjustments primarily relate to the estimated depreciation expense associated with the fair value of the acquired property, plant and equipment, amortization of identifiable intangible assets, interest expense related to additional debt needed to fund the acquisition and the tax impact of these adjustments. Additionally, the pro forma adjustments exclude non-recurring expenses related to transaction costs, which were expensed as incurred, and include the sale of stepped-up inventory. The unaudited pro forma consolidated results are provided for illustrative purposes only, are not indicative of

the Company’s actual consolidated results of operations or consolidated financial position and do not reflect any revenue and operating synergies or cost savings that may result from the acquisition.

Three Months Ended

March 31, 

  ​ ​ ​

2025

Net sales

$

151,865

Net income

$

1,393

XML 19 R9.htm IDEA: XBRL DOCUMENT v3.26.1
Select balance sheet data
3 Months Ended
Mar. 31, 2026
Select balance sheet data  
Select balance sheet data

Note 3. Select balance sheet data

Inventory

Inventories are stated at the lower of cost, determined on the first-in, first-out method, or net realizable value. Net realizable value is the estimated selling price in the ordinary course of business, less reasonably predictable costs of completion, disposal and transportation. Work-in-process and finished goods are valued at production costs consisting of material, labor and overhead.

Inventories as of March 31, 2026 and December 31, 2025 consist of:

March 31, 

December 31,

  ​ ​ ​

2026

  ​ ​ ​

2025

Finished goods and purchased parts

$

28,702

$

29,962

Raw materials

 

24,413

 

18,876

Work-in-process

 

12,908

 

10,560

Total

$

66,024

$

59,398

Property, Plant and Equipment

Property, plant and equipment as of March 31, 2026 and December 31, 2025 consist of:

  ​ ​ ​

Useful Lives

  ​ ​ ​

March 31, 

  ​ ​ ​

December 31,

 Years

2026

2025

Land

Indefinite

$

2,564

$

2,564

Land improvements

15-39

3,817

4,769

Building and building improvements

 

15-39

 

79,589

 

80,338

Machinery, equipment and tooling

 

3-10

 

335,295

 

327,976

Vehicles

 

5

 

6,000

 

5,720

Office furniture and fixtures

 

3-7

 

26,218

 

25,577

Construction in progress

 

N/A

 

5,068

 

4,725

Total property, plant and equipment, gross

 

458,551

 

451,669

Less accumulated depreciation

 

308,762

 

301,673

Total property, plant and equipment, net

$

149,789

$

149,996

Depreciation expense was $7,820 and $7,750 for the three months ended March 31, 2026 and 2025, respectively.

During the three months ended March 31, 2026, the Company expanded the restructuring plan (the Plan) to include the sale of the building that is currently leased to a non-related party in Fond du Lac, Wisconsin. As part of this action, the Company recorded impairment expense of $375. The remaining net amount of property, plant and equipment associated with the facility was $1,680 which was reclassified to assets held for sale from property, plant and equipment. As of March 31, 2026, and December 31, 2025, the Company had assets held for sale of $3,082 and $1,402, respectively.

Goodwill

There were no changes to the goodwill balance of $140,246 between December 31, 2025 and March 31, 2026.

Intangible Assets

The following is a listing of intangible assets, the useful lives in years (amortization period) and accumulated amortization as of March 31, 2026 and December 31, 2025:

March 31, 2026

Useful Lives 

Gross Carrying

Accumulated

 

  ​ ​ ​

Years

  ​ ​ ​

Amount

  ​ ​ ​

Amortization

 

Net

Amortizable intangible assets:

Customer relationships and contracts

9-17

$

163,040

$

67,121

$

95,919

Trade name

 

10

 

14,780

 

10,774

4,006

Developed technology

7

4,962

1,930

3,032

Patents

 

19

 

24

 

17

7

Non-compete agreements

2

2,200

825

1,375

Total amortizable intangible assets, net

$

185,006

$

80,667

$

104,339

Non-amortizable brand name

Indefinite

3,811

3,811

Total intangible assets, net

 

$

188,817

 

$

80,667

$

108,150

December 31, 2025

Useful Lives 

Gross Carrying

Accumulated

 

  ​ ​ ​

Years

  ​ ​ ​

Amount

  ​ ​ ​

Amortization

 

Net

Amortizable intangible assets:

Customer relationships and contracts

9-17

$

163,040

$

64,817

$

98,223

Trade name

 

10

 

14,780

 

10,404

4,376

Non-compete agreements

 

5

 

4,962

1,750

3,212

Developed technology

7

24

 

16

8

Patents

 

19

 

2,200

550

1,650

Total amortizable intangible assets, net

$

185,006

$

77,537

$

107,469

Non-amortizable brand name

Indefinite

3,811

3,811

Total intangible assets, net

 

$

188,817

 

$

77,537

$

111,280

Amortization expense was $3,130 and $1,733 for the three months ended March 31, 2026 and 2025, respectively.

Future amortization expense is expected to be as followed:

Year ending December 31,

  ​ ​ ​

2026 (remainder)

$

9,390

2027

$

11,970

2028

$

11,364

2029

$

9,922

2030

$

9,368

Thereafter

$

52,325

XML 20 R10.htm IDEA: XBRL DOCUMENT v3.26.1
Debt
3 Months Ended
Mar. 31, 2026
Debt  
Debt

Note 4. Debt

Bank Revolving Credit Notes

On June 28, 2023, we entered into an amended and restated credit agreement (the Credit Agreement) with certain lenders and Wells Fargo Bank, National Association, as administrative agent (the Agent).

On June 26, 2025, we entered into the First Amendment to the Credit Agreement (First Amendment) which increased the amount of total allowable borrowings under the revolving credit facility from $250,000 to $350,000, by exercising the previously available $100,000 accordion feature. All other material terms of the Credit Agreement, including applicable interest rates, remained unchanged.

On February 25, 2026, we entered into the Third Amendment to the Credit Agreement (Third Amendment) which lowered the amount of total allowable borrowings under the revolving credit facility from $350,000 to $275,000 and reduced our minimum consolidated interest coverage ratio to 2.75 to 1.00, through the fourth quarter of 2026. The Third Amendment also increased our maximum consolidated leverage ratio to 5.25 to 1.00 for the first and second quarter of 2026, 5.00 to 1.00 for the third quarter of 2026, 4.00 to 1.00 for the fourth quarter of 2026 and 3.50 to 1.00 for 2027 and thereafter. As a result of these financial covenant changes, the interest pricing grid now includes additional interest rate tiers. All other material terms of the Credit Agreement remained unchanged. All amounts borrowed under the Credit Agreement (as amended by the amendments) mature on June 28, 2028.

The Credit Agreement contains usual and customary negative covenants for agreements of this type, including, but not limited to, restrictions on our ability to, subject to certain exceptions, create, incur or assume indebtedness; create, incur, assume or suffer to exist liens; make certain investments; allow our subsidiaries to merge or consolidate with another entity; make certain asset dispositions; pay certain dividends or other distributions to shareholders; enter into transactions with affiliates; enter into sale leaseback transactions; and exceed the limits on annual capital expenditures. The Credit Agreement also requires us to satisfy certain financial covenants, including a minimum consolidated interest coverage ratio of 2.75 to 1.00, as well as a consolidated total leverage ratio not to exceed 5.25 to 1.00.

The Company incurred financing costs of $818 and $398 associated with executing the First Amendment and Third Amendment, respectively. Additionally, upon executing the Third Amendment, the Company incurred a loss on extinguishment of debt of $134 associated with unamortized debt issuance costs from prior amendments to the Credit Agreement during the three months ended March 31, 2026. As of March 31, 2026, short-term and long-term balances of $438 and $545, respectively, were recorded in prepaid expenses and other current assets and other long-term assets in the Condensed Consolidated Balance Sheets. These deferred financing costs will be amortized over the remaining duration of the Credit Agreement.

 At March 31, 2026, our consolidated total leverage ratio under the Credit Agreement was 4.40 to 1.00 as compared to a covenant maximum of 5.25 to 1.00.At March 31, 2026, our consolidated interest coverage ratio under the Credit Agreement was 4.27 to 1.00 as compared to a covenant minimum of 2.75 to 1.00.

Under the Credit Agreement, interest is payable quarterly at the adjusted secured overnight financing rate (SOFR) plus an applicable margin based on the current consolidated total leverage ratio (which may be adjusted for certain reserve requirements), plus 1.25% to 3.25% depending on the current consolidated total leverage ratio. Under certain circumstances, we may not be able to pay interest based on SOFR. If that happens, we will be required to pay interest at the Base Rate, which is the sum of the higher of (i) the Prime Rate (as publicly announced by the Agent from time to time), (ii) the Federal Funds Rate plus 0.50% and (iii) Adjusted Term SOFR for a one-month tenor in effect on such day plus 1.00%. The interest rate was 6.42% and 5.98% as of March 31, 2026 and December 31, 2025, respectively. Additionally, the agreement has a fee on the average daily unused portion of the aggregate unused revolving commitments. This fee was 0.35% and 0.30% as of March 31, 2026 and December 31, 2025, respectively.

The Company was in compliance with all financial covenants of its Credit Agreement as of March 31, 2026 and December 31, 2025. The amount borrowed on the revolving credit notes was $212,392 and $202,525 as of March 31, 2026 and December 31, 2025, respectively.

In connection with the Credit Agreement: (i) the Company has pledged, subject to certain exceptions, security interests and liens in and on (a) substantially all its respective personal property assets and (b) certain of its respective real property assets, in each case, to secure the Credit Agreement and related obligations; and (ii) certain of the Company’s subsidiaries have guaranteed the Company’s obligations under the Credit Agreement. The Credit Agreement contains customary events of default. If an event of default under the Credit Agreement occurs, then, the lenders may declare any outstanding obligations under the Credit Agreement to be immediately due and payable and exercise rights and remedies against the pledged collateral.

Other Debt

Additionally, the Company has a Fond du Lac County and Fond du Lac Economic Development Corporation term note (Fond du Lac Term Note). The Fond du Lac Term Note is secured by a security agreement, payable in annual installments of $500 plus interest at 2.00% and is due in full in December 2028. The balance outstanding as of March 31, 2026 and December 31, 2025 was $1,375. As of March 31, 2026 and December 31, 2025, the short-term and long-term balance of $500 and $875, respectively. These balances are recorded in other current liabilities and other long-term liabilities in the Condensed Consolidated Balance Sheets.

XML 21 R11.htm IDEA: XBRL DOCUMENT v3.26.1
Leases
3 Months Ended
Mar. 31, 2026
Leases  
Leases

Note 5. Leases

The Company has real property operating leases for office and manufacturing space. Operating leases for the Company’s personal property consist of leases for office equipment, vehicles, forklifts and storage tanks for bulk gases. The Company recognizes a right-of-use (ROU) asset and a lease liability for operating leases based on the net present value of future minimum lease payments. Lease expense for the Company’s operating leases is recognized on a straight-line basis over the lease term, including renewal periods that are considered reasonably certain. The Company has not elected to recognize ROU assets or lease liabilities for leases with a term of twelve months or less.

The Company has finance leases for equipment used throughout its office, manufacturing facilities and vehicles used by employees. The Company recognizes an ROU asset and a lease liability for finance leases based on the net present value of future minimum lease payments. Lease expense for the Company’s finance leases are comprised of the amortization of the ROU asset and interest expense recognized based on the effective interest method.

Variable lease expense is related to certain of the Company’s real property leases and personal property leases, and it generally consists of property tax and insurance components that are for the benefit of the lessor (real property leases) and variable overage fees (personal property leases) that are remitted as part of the Company’s lease payments.

During the three months ended March 31, 2026, the Company recorded $1,169 of lease impairment expense associated with the Plan. Refer to Note 19 – Restructuring, in the Notes to the Condensed Consolidated Financial Statements for additional information related to lease impairment expense.

The components of lease expense were as follows:

Three Months Ended

March 31, 

  ​ ​ ​

2026

2025

Finance lease cost:

Amortization of finance lease assets

$

290

$

133

Interest on finance lease liabilities

63

 

9

Total finance lease expense

353

142

Operating lease expense

1,566

1,326

Short-term lease expense

196

151

Variable lease expense

21

 

115

Lease income (1)

(545)

(547)

Total lease expense

$

1,591

$

1,187

(1)The Company subleased a portion of its Hazel Park, MI and Fond Du Lac, WI facilities during the three months ended March 31, 2026 and 2025.

Supplemental information related to leases was as follows:

Three Months Ended

March 31, 

2026

  ​ ​ ​

2025

Cash paid for amounts included in the measurement of lease liabilities for finance leases:

Operating cash flows

$

58

$

9

Financing cash flows

$

800

$

234

Cash paid for amounts included in the measurement of lease liabilities for operating leases:

Operating cash flows

$

1,937

$

1,535

 

 

Right-of-use assets obtained in exchange for recorded lease obligations:

Operating leases

$

52

$

Finance leases

$

5,357

$

798

XML 22 R12.htm IDEA: XBRL DOCUMENT v3.26.1
Employee stock ownership plan
3 Months Ended
Mar. 31, 2026
Employee stock ownership plan  
Employee stock ownership plan

Note 6. Employee stock ownership plan

Under the Mayville Engineering Company, Inc. Employee Stock Ownership Plan (ESOP), the Company can make annual discretionary contributions to the trust for the benefit of eligible employees in the form of cash or shares of common stock of the Company subject to the Board of Directors’ approval. The Company recorded no ESOP expense for the three months ended March 31, 2026 and 2025.

As of January 1, 2025, the Company amended the plan reducing the distribution period from three years to a full distribution on the annual distribution date of the year following separation from the Company.

Additionally, as of January 1, 2025, the in-service diversification percentage allowed increased from 25% at age 50 with 10 years of service to 50% and increased from 50% to 75% at age 55 with 10 years of service.

At various times following death, disability, retirement, termination of employment or the exercise of diversification rights, an ESOP participant is entitled to receive their ESOP account balance in accordance with various distribution methods as permitted under the policies adopted by the ESOP.

As of March 31, 2026 and December 31, 2025, the ESOP shares consisted of 1,557,606 and 1,903,861 in allocated shares, respectively.

XML 23 R13.htm IDEA: XBRL DOCUMENT v3.26.1
Retirement plans
3 Months Ended
Mar. 31, 2026
Retirement plans  
Retirement plans

Note 7. Retirement plans

The Mayville Engineering Company, Inc. 401(k) Plan (the 401(k) Plan) covers substantially all employees meeting certain eligibility requirements. The 401(k) Plan is a defined contribution plan and is intended for eligible employees to defer tax-free contributions to save for retirement. Employees may contribute up to 50% of their eligible compensation to the 401(k) Plan, subject to the limits of Section 401(k) of the Internal Revenue Code.

The Company provides a 50% match for employee contributions, up to 6%. For the three months ended March 31, 2026 and 2025, the Company’s employer match expense was $953 and $946, respectively.

XML 24 R14.htm IDEA: XBRL DOCUMENT v3.26.1
Income taxes
3 Months Ended
Mar. 31, 2026
Income taxes  
Income taxes

Note 8. Income taxes

On a quarterly basis, the Company estimates its effective tax rate for the full fiscal year and records a quarterly income tax provision based on the anticipated rate and adjusted for discrete taxable events that may occur in the quarter. As the year progresses, the Company will refine its estimate based on facts and circumstances by each tax jurisdiction.

Income tax expense (benefit) was ($3,308) and ($10), and the effective tax rate (ETR) was 28.81% and (100.00%) for the three months ended March 31, 2026 and 2025, respectively. The Company’s ETR is different from the expected tax rate due to state taxes, non-deductible items, research and development credits and excess tax benefit associated with stock-based compensation items.

Uncertain Tax Positions

Based on the Company’s evaluation, there is one unrecognized tax benefit requiring recognition in its financial statements as of March 31, 2026. Any interest and penalties related to uncertain tax positions are recorded in income tax expense (benefit) on the Condensed Consolidated Statements of Comprehensive Income (Loss). The entire balance of unrecognized tax benefits as of March 31, 2026, if recognized, would affect the Company’s effective tax rate.

The Company files income tax returns in the United States federal jurisdiction and in various state and local jurisdictions. Federal tax returns for tax years beginning January 1, 2022, and state tax returns for the years beginning January 1, 2021, are open for examination.

XML 25 R15.htm IDEA: XBRL DOCUMENT v3.26.1
Commitments and contingencies
3 Months Ended
Mar. 31, 2026
Commitments and contingencies.  
Commitments and contingencies

Note 9. Commitments and contingencies

Litigation

From time to time, the Company may be involved in various claims and lawsuits, both for and against the Company, arising in the normal course of business. Although the results of litigation and claims cannot be predicted with certainty, in management’s opinion, either the likelihood of loss is remote, or any reasonably possible loss associated with the resolution of such proceedings is not expected to have a material adverse impact on the condensed consolidated financial statements.

XML 26 R16.htm IDEA: XBRL DOCUMENT v3.26.1
Deferred compensation
3 Months Ended
Mar. 31, 2026
Deferred compensation  
Deferred compensation

Note 10. Deferred compensation

The Mayville Engineering Company Deferred Compensation Plan is available for certain employees designated to be eligible to participate by the Company and approved by the Board of Directors. Eligible employees may elect to defer a portion of their compensation for any plan year and the deferral cannot exceed 50% of the participant’s base salary and may include the participant’s annual short-term cash incentive up to 100%. The participant’s election must be made prior to the first day of the plan year.

An employer contribution will be made for each participant to reflect the amount of any reduced allocations to the ESOP and/or 401(k) employer contributions due solely to the participant’s deferral amounts, as applicable. In addition, a discretionary amount may be awarded to a participant by the Company.

Deferrals are assumed to be invested in an investment vehicle based on the options made available to the participant (which does not include Company stock).

The deferred compensation plan provides benefits payable upon separation of service or death. Payments are to be made 30 days after date of separation from service, either in a lump-sum payment or up to five annual installments as elected by the participant when the participant first elects to defer compensation.

The deferred compensation plan is non-funded, and all future contributions are unsecured in that the employees have the status of a general unsecured creditor of the Company and the agreements constitute a promise by the Company to make benefit payments in the future. During the three months ended March 31, 2026 and 2025, eligible employees elected to defer compensation of $131 and $600, respectively. As of March 31, 2026 and December 31, 2025, the short-term portion accrued for all benefit years less than twelve months under this plan was $416 and $1,000, respectively, which is included within bonuses and deferred compensation on the Condensed Consolidated Balance Sheets. As of March 31, 2026 and December 31, 2025, the long-term portion accrued for all benefit years greater than twelve months under this plan was $4,801 and $5,240. These amounts include the initial deferral of compensation and were adjusted for changes in the value of investment options chosen by the participants. Total expense for the deferred compensation plan for the three months ended March 31, 2026 and 2025 was ($154) and ($73), respectively. These expenses are included in bonuses and deferred compensation on the Condensed Consolidated Statements of Comprehensive Income (Loss). Additionally, the Company made cash distributions of $1,000 and $252 for the three months ended March 31, 2026 and 2025, respectively.

XML 27 R17.htm IDEA: XBRL DOCUMENT v3.26.1
Self-Funded insurance
3 Months Ended
Mar. 31, 2026
Self-Funded insurance  
Self-Funded insurance

Note 11. Self-Funded insurance

The Company is self-funded for the medical benefits provided to its employees and their dependents. Healthcare costs are expensed as incurred and are based upon actual claims paid, reinsurance premiums, administration fees and estimated unpaid claims. The Company has an aggregate stop loss limit to mitigate risk. Expenses related to this contract were $4,611 and $4,130 for the three months ended March 31, 2026 and 2025, respectively. An estimated accrued liability of $954 and $891 was recorded as of March 31, 2026 and December 31, 2025, respectively, for estimated unpaid claims and is included within other current liabilities on the Condensed Consolidated Balance Sheets.

XML 28 R18.htm IDEA: XBRL DOCUMENT v3.26.1
Segments
3 Months Ended
Mar. 31, 2026
Segments  
Segments

Note 12. Segments

The Company operates as a single reporting unit and single reporting segment, and is managed on a consolidated basis. The Company derives revenue from its customers by providing value-added manufacturing solutions ranging from concept to production, including prototyping and tooling, production fabrication, coating, assembly and aftermarket components. The accounting policies of

the Company's one operating segment are the same as those described in the summary of significant accounting policies. The Company’s chief operating decision maker (CODM) is regularly provided with and assesses performance for its one operating segment with only the consolidated expenses and net income (loss) as presented in the Condensed Consolidated Statements of Comprehensive Income (Loss).

The CODM uses these performance measures to evaluate the Company's profitability, deciding whether to reinvest profits into the segment or into other parts of the entity, such as acquisitions or to buy back Company common stock and monitor budget versus actual results.

All sales are generated and all assets are located within the United States and the business activities are managed at a consolidated level.

The Company’s President, Chief Executive Officer and Director is the CODM.

XML 29 R19.htm IDEA: XBRL DOCUMENT v3.26.1
Fair value of financial instruments
3 Months Ended
Mar. 31, 2026
Fair value of financial instruments  
Fair value of financial instruments

Note 13. Fair value of financial instruments

Fair value provides information on what the Company may realize if certain assets were sold or might pay to transfer certain liabilities based upon an exit price. Financial assets and liabilities that are measured and reported at fair value are classified into a three-level hierarchy that prioritizes the inputs used in the valuation process. A financial instrument’s categorization within the valuation hierarchy is based on the lowest level of any input that is significant to the fair value measurement. The hierarchy is based on the observability and objectivity of the pricing inputs as follows:

Level 1 – Quoted prices in active markets for identical assets or liabilities.
Level 2 – Significant directly observable data (other than Level 1 quoted prices) or significant indirectly observable data through corroboration with observable market data. Inputs would normally be (i) quoted prices in active markets for similar assets or liabilities, (ii) quoted prices in inactive markets for identical or similar assets or liabilities or (iii) information derived from or corroborated by observable market data. Long-term debt is classified as a Level 2 fair value input.
Level 3 – Prices or valuation techniques that require significant unobservable data inputs. These inputs would normally be the Company’s own data and judgements about assumptions that market participants would use in pricing the asset or liability.

The following table lists the Company’s financial assets and liabilities accounted for at fair value by the fair value hierarchy:

Balance at

Fair Value Measurements at

March 31, 

Report Date Using

  ​ ​ ​

2026

  ​ ​ ​

(Level 1)

  ​ ​ ​

(Level 2)

  ​ ​ ​

(Level 3)

Deferred compensation liability

$

5,217

$

5,217

$

$

Total

$

5,217

$

5,217

$

$

Balance at

Fair Value Measurements at

December 31,

Report Date Using

  ​ ​ ​

2025

  ​ ​ ​

(Level 1)

  ​ ​ ​

(Level 2)

  ​ ​ ​

(Level 3)

Deferred compensation liability

$

6,240

$

6,240

$

$

Total

$

6,240

$

6,240

$

$

Fair value measurements for the Company’s cash and cash equivalents are classified based upon Level 1 measurements because such measurements are based upon quoted market prices in active markets for identical assets.

Accounts receivable, accounts payable, long-term debt and accrued liabilities are recorded in the Condensed Consolidated Balance Sheets at cost and approximate fair value.

Deferred compensation liabilities are recorded at amounts due to participants at the time of deferral. Deferrals are invested in an investment vehicle based on the options made available to the participant, considered to be Level 1 or Level 2 on the fair value hierarchy, with the current balance all as Level 1. The change in fair value is recorded in the profit sharing, bonuses and deferred compensation line item on the Condensed Consolidated Statements of Comprehensive Income (Loss). The short-term and long-term balances due to participants are reflected on the current portion of deferred compensation and deferred compensation, less current portion line items, respectively, on the Condensed Consolidated Balance Sheets.

The Company’s non-financial assets such as goodwill, intangible assets, property, plant, and equipment and leases are re-measured at fair value when there is an indication of impairment and adjusted only when an impairment charge is recognized. As of March 31, 2026 and December 31, 2025, impairment related to these non-financial assets was recognized as $1,544 and $0, respectively.

XML 30 R20.htm IDEA: XBRL DOCUMENT v3.26.1
Earnings Per Share
3 Months Ended
Mar. 31, 2026
Earnings Per Share  
Earnings Per Share

Note 14. Earnings per share

The Company computes earnings per share in accordance with ASC Topic 260, Earnings per Share. In accordance with ASC 260, outstanding options will be considered to have been exercised and outstanding as of the beginning of the period if the average market price of the common stock during the period exceeds the exercise price of the options (they are “in the money”), and the assumed exercise of the options do not have an anti-dilutive impact on earnings per share.

A reconciliation of basic and diluted net income (loss) per share attributable to the Company were as follows:

Three Months Ended

March 31, 

2026

2025

Net income (loss) attributable to MEC

$

(8,175)

$

20

Weighted average shares outstanding

20,445,112

20,520,696

Basic income (loss) per share

$

(0.40)

$

0.00

Weighted average shares outstanding

20,445,112

20,520,696

Effect of dilutive stock-based compensation

230,242

Total potential shares outstanding

20,445,112

20,750,938

Diluted income (loss) per share

$

(0.40)

$

0.00

There were 61,295 and 0 options in the money that were excluded in the computation of diluted earnings per share for the three months ended March 31, 2026 and 2025, that had an anti-dilutive impact on earnings per share.

XML 31 R21.htm IDEA: XBRL DOCUMENT v3.26.1
Revenue Recognition
3 Months Ended
Mar. 31, 2026
Revenue Recognition  
Revenue Recognition

Note 15. Revenue recognition

Contract Assets and Contract Liabilities

The Company has contract assets and contract liabilities, which are included in tooling in progress and other current liabilities on the Condensed Consolidated Balance Sheets, respectively. Contract assets primarily consist of capitalized costs related to customer-owned tooling contracts, wherein the Company has not yet met performance obligations. Contract liabilities include deferred tooling revenue, where the performance obligation was not met. The performance obligation is satisfied when the tooling is completed and the customer signs off through the Product Part Approval Process or other documented customer acceptance, and the revenue is recognized either at a point in time or over a period of time. Cost of goods sold is recognized and released from the balance sheet when control of the tooling promised under contract is transferred to the customer.

The Company’s contracts with customers are short-term in nature; therefore, revenue is typically recognized, billed and collected within a 12-month period. The following table reflects the changes in our contract assets and liabilities during the three months ended March 31, 2026:

Contract

Contract

  ​ ​ ​

Assets

  ​ ​ ​

Liabilities

As of December 31, 2025

$

4,746

$

3,315

Net activity

628

(133)

As of March 31, 2026

$

5,374

$

3,182

During the three months ended March 31, 2026 and 2025, revenue recognized from deferred revenue that was recorded as a contract liability at the beginning of 2026 and 2025 was $760 and $2,100, respectively.

Disaggregated Revenue

The following tables represent a disaggregation of revenue by product category and end market:

Three Months Ended

March 31, 

Product Category

  ​ ​ ​

2026

  ​ ​ ​

2025

Outdoor sports

$

1,590

$

1,785

Fabrication

81,514

67,858

Performance structures

44,541

43,334

Tube

16,104

16,511

Tank

6,713

9,889

Total

150,462

139,377

Intercompany sales elimination

(5,682)

(3,798)

Total, net sales

$

144,780

$

135,579

Three Months Ended

March 31, 

End Market

2026

2025

Commercial vehicle

$

38,775

$

50,877

Construction & access

 

20,135

19,524

Powersports

 

23,292

22,250

Datacenter & critical power

23,626

4,144

Agriculture

 

10,346

10,935

Military

5,767

8,487

Other

22,839

19,362

Total, net sales

$

144,780

$

135,579

In connection with the acquisition of Accu-Fab, the Company added a new end market category, datacenter & critical power, to its revenue disaggregation. As a result, certain revenue previously reported within the other end market has been reclassified to the datacenter & critical power end market for all periods presented. Specifically, $4,144 of revenue for the three months ended March 31, 2025, was reclassified from the other end market to the datacenter & critical power end market to conform to the current period presentation.

XML 32 R22.htm IDEA: XBRL DOCUMENT v3.26.1
Concentration of major customers
3 Months Ended
Mar. 31, 2026
Concentration of major customers  
Concentration of major customers

Note 16. Concentration of major customers

The following customers accounted for 10% or greater of the Company’s recorded net sales or net trade receivables:

Net Sales

Accounts Receivable

Three Months Ended

As of

As of

March 31, 

March 31, 

December 31,

  ​ ​ ​

2026

  ​ ​ ​

2025

  ​ ​ ​

2026

  ​ ​ ​

2025

Customer

A

 

12.4

%

16.7

%  

<10

%  

<10

%  

 

B

 

10.9

%

10.7

%  

<10

%  

<10

%  

 

C

 

<10

%

<10

%  

<10

%  

10.9

%  

 

XML 33 R23.htm IDEA: XBRL DOCUMENT v3.26.1
Stock-based compensation
3 Months Ended
Mar. 31, 2026
Stock-based compensation  
Stock-based compensation

Note 17. Stock-based compensation

The Mayville Engineering Company, Inc. 2019 Omnibus Incentive Plan provided the Company the ability to grant monetary payments based on the value of its common stock, up to 2,000,000 shares.

On April 20, 2021, shareholders of the Company approved an amendment to the 2019 Omnibus Incentive Plan increasing the number of shares of common stock authorized for issuance by 2,500,000 shares.

The total number of shares of the Company’s common stock still available for issuance under the 2019 Omnibus Incentive Plan as of March 31, 2026 is 1,280,141.

The Company recognizes stock-based compensation using the fair value provisions prescribed by ASC 718, Compensation – Stock Compensation. Accordingly, compensation costs for awards of stock-based compensation settled in shares are determined based on the fair value of the stock-based instrument at the time of grant and are recognized as expense over the vesting period of the stock-based instrument. Our stock-based compensation consists of stock options, restricted stock units (RSUs) and performance stock units (PSUs). For all types of units, fair value is equivalent to the adjusted closing stock price at the date of the grant.

Cancellations and forfeitures are accounted for as incurred.

Stock-based compensation expense was $795 and $1,101 for the three months ended March 31, 2026 and 2025, respectively. The Company reports stock-based compensation within bonuses and deferred compensation in the Condensed Consolidated Statements of Comprehensive Income (Loss).

There were no stock options granted by the Company to employees during the three months ended March 31, 2026 and 2025. Stock option grants expire 10 years subsequent to the grant date. Stock-based compensation expense related to stock options is calculated by estimating the fair value of non-qualified stock options at the time of grant and is amortized over the stock options’ vesting period. All stock options have been fully vested as of March 31, 2026. There were no stock options exercised during the three months ended March 31, 2026. As of March 31, 2026, 335,714 stock options remained outstanding with a weighted average strike price of $14.50 and a weighted average contractual life of 6.03 years.

The Company granted 268,196 and 264,342 RSUs, during the three months ended March 31, 2026 and 2025, respectively. The RSUs granted to employees vest ratably over a three-year period beginning the subsequent year to the anniversary of the grant date and director awards vest the subsequent year to the grant date.

The Company granted 185,127 and 169,062 PSUs during the three months ended March 31, 2026 and 2025, respectively. PSUs are earned based on the achievement of pre-determined financial performance goals at the end of a three-year performance measurement period.

The performance goals for the PSUs granted in 2026 are weighted 50% on the three-year average of the Company’s Relative Total Shareholder Return and 50% on the Company’s adjusted EBITDA target. Relative Total Shareholder Return represents the percentage change in the value of a company’s stock over a performance period, including both stock price appreciation and the

reinvestment of dividends, compared to a selected peer group or index. Adjusted EBITDA represents net income before interest expense, provision for income taxes, depreciation, amortization and adjusted for items to be determined unusual in nature or infrequent in occurrence for the performance period, as approved by the Compensation Committee. The number of earned PSUs can range from 50% (threshold) to 200% (maximum) of the target award, with no PSUs earned for performance below the threshold level.

The performance goals for the PSUs granted in 2025 are weighted on the three-year average of the Company’s Return on Invested Capital (ROIC) and 50% of the Company’s adjusted EBITDA target. ROIC represents net operating profit after taxes divided by invested capital. The number of earned PSUs can range from 50% (threshold) to 200% (maximum) of the target award, with no PSUs earned for performance below the threshold level.

XML 34 R24.htm IDEA: XBRL DOCUMENT v3.26.1
Common Equity
3 Months Ended
Mar. 31, 2026
Common Equity  
Common Equity

Note 18. Common equity

At March 31, 2026 the authorized stock of the Company consisted of 75,000,000 shares of common stock without par value.

Changes in outstanding common shares are summarized as follows:

Shares

Outstanding

Balance as of December 31, 2025

20,318,370

Treasury stock purchases

Common stock issued (including stock-based compensation impact)

96,728

Balance as of March 31, 2026

20,415,098

Shares

Outstanding

Balance as of December 31, 2024

20,416,908

Treasury stock purchases

(120,799)

Common stock issued (including stock-based compensation impact)

117,986

Balance as of March 31, 2025

20,414,095

XML 35 R25.htm IDEA: XBRL DOCUMENT v3.26.1
Restructuring
3 Months Ended
Mar. 31, 2026
Restructuring  
Restructuring

Note 19. Restructuring

On August 5, 2025, the Company initiated a restructuring plan (the Plan) designed to reduce fixed costs and optimize its operational footprint. The Plan provided for the consolidation of three warehouses and one manufacturing facility into the Company’s other facilities and is expected to be completed by December 31, 2026.

During the three months ended March 31, 2026, the Plan was expanded to include an additional warehouse facility that is currently leased to a non-related party in Fond du Lac, Wisconsin.

The Company expects to incur aggregate charges between $5,000 and $7,000 in total restructuring costs, which includes approximately $4,300 for equipment relocation and footprint optimization and approximately $1,700 in asset write-downs and related charges. Total restructuring charges incurred during the three months ended March 31, 2026 were $872, recorded in cost of sales in the Condensed Consolidated Statements of Comprehensive Income (Loss). Total cumulative restructuring charges incurred to date related to equipment relocation and footprint optimization within the Plan are $1,736. Total impairment expense and asset write downs during the three months ended March 31, 2026, were $1,544, recorded in impairment of long-lived assets in the Condensed Consolidated Statements of Comprehensive Income (Loss). Total cumulative restructuring charges incurred to date related to asset-write downs and related charges within the Plan are $1,670. The Company expects to incur additional charges under the Plan in future periods as implementation progresses. Changes in accrued restructuring charges during the three months ended March 31, 2026, were as follows:

Other Expenses

Accrued restructuring costs as of December 31, 2025

$

359

Expense recognized

872

Cash paid for restructuring expenses

(852)

Accrued restructuring costs as of March 31, 2026

$

379

XML 36 R26.htm IDEA: XBRL DOCUMENT v3.26.1
Pay vs Performance Disclosure - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2026
Mar. 31, 2025
Pay vs Performance Disclosure    
Net Income (Loss) $ (8,175) $ 20
XML 37 R27.htm IDEA: XBRL DOCUMENT v3.26.1
Insider Trading Arrangements
3 Months Ended
Mar. 31, 2026
Trading Arrangements, by Individual  
Rule 10b5-1 Arrangement Adopted false
Non-Rule 10b5-1 Arrangement Adopted false
Rule 10b5-1 Arrangement Terminated false
Non-Rule 10b5-1 Arrangement Terminated false
XML 38 R28.htm IDEA: XBRL DOCUMENT v3.26.1
Basis of presentation (Policies)
3 Months Ended
Mar. 31, 2026
Basis of presentation  
Basis of presentation Basis of presentation

The interim unaudited Condensed Consolidated Financial Statements of Mayville Engineering Company, Inc. and subsidiaries (MEC, the Company, we, our, us or similar terms) presented here have been prepared in accordance with the accounting principles generally accepted in the United States of America (GAAP) and with instructions to Form 10-Q and Article 10 of Regulation S-X. They reflect all adjustments which are, in the opinion of management, necessary for a fair presentation of the results of operations and financial position for the interim unaudited periods presented. All intercompany balances and transactions have been eliminated in consolidation.

Certain information and footnote disclosures normally included in financial statements prepared in accordance with GAAP have been condensed or omitted. These interim unaudited Condensed Consolidated Financial Statements should be read in conjunction with the Company’s consolidated financial statements and notes thereto for the year ended December 31, 2025, included in the Company’s Annual Report on Form 10-K. A summary of the Company’s significant accounting policies is included in the Company’s 2025 financial statements in the Annual Report on Form 10-K. The Company followed these policies in preparation of the interim unaudited Condensed Consolidated Financial Statements except for new accounting pronouncements adopted as described below.

Nature of Operations

Nature of Operations

Mayville Engineering Company, Inc. (MEC) is a leading U.S.-based, vertically-integrated, value-added manufacturing partner providing a full suite of manufacturing solutions from concept to production, including design, prototyping and tooling, fabrication, aluminum extrusion, coating, assembly and aftermarket components. Our customers operate in diverse end markets, including heavy- and medium-duty commercial vehicles, construction & access equipment, powersports, datacenter & critical power, agriculture, military and other end markets. Founded in 1945 and headquartered in Milwaukee, Wisconsin, we are a leading Tier I U.S. supplier of highly engineered components to original equipment manufacturer (OEM) customers with leading positions in their respective markets. The Company maintains 27 facilities, of which 22 are in operation, located in Arkansas, Illinois, Michigan, Mississippi, North Carolina, Ohio, Pennsylvania, Virginia, and Wisconsin. Our engineering expertise and technical know-how allow us to add value through every product redevelopment cycle.

Our one operating segment focuses on producing metal components that are used in a broad range of heavy- and medium-duty commercial vehicles, construction & access equipment, powersports, datacenter & critical power, agricultural, military and other products.

Recent Accounting Pronouncements

Recently Adopted Accounting Pronouncements

In September 2025, the Financial Accounting Standards Board (FASB) issued Accounting Standard Update (ASU) 2025-06, Intangibles – Goodwill and Other-Internal-Use Software, amending Accounting Standards Codification (ASC) 350. The amendment removes all references to prescriptive and sequential software development stages. In addition, the amendment also requires consideration of whether there is significant uncertainty associated with the development activities of the software during evaluation of a probable-to-complete recognition threshold. ASU 2025-06 is effective for interim and annual periods beginning after December 15, 2027. Entities may adopt the guidance using either a prospective approach (including a modified transition approach) or retrospective approach. Early adoption is permitted. The Company has early adopted ASU 2025-06 on a prospective basis, as of January 1, 2026. The adoption of ASU 2025-06 did not have a material impact on the Company’s consolidated financial statements.

In December 2025, the FASB issued ASU 2025-12, Codification Improvements. The ASU addresses 33 items, representing the changes to the Codification that (1) clarify, (2) correct errors, or (3) make minor improvements. Generally, the amendments in this update are not intended to result in significant changes for most entities. The ASU is effective for interim reporting periods within annual reporting periods beginning after December 15, 2026. Early adoption is permitted. The Company adopted this standard in the first quarter of 2026, and the amendments have been applied on a prospective basis. Adoption of ASU 2025-12 did not have a material impact on the Company’s consolidated financial statements.

Recently Issued Accounting Standards Not Yet Adopted

In November 2024, the FASB issued ASU 2024-03, Expense Disaggregation Disclosures, amending ASC 220, Income Statement – Reporting Comprehensive Income. The amendment requires an entity to provide a disclosure within the financial statement footnotes showing the disaggregation of certain expenses included in relevant expense captions on the consolidated income statement, with a qualitative description of the amounts that are not separately disaggregated quantitatively. The guidance also requires disclosure of the total amount of selling expenses and, in annual reporting periods, an entity’s definition of selling expenses. ASU 2024-03 is effective for fiscal years beginning after December 15, 2026, and for interim periods beginning after December 15, 2027. The guidance is applied on a prospective basis, with a retrospective option and allows for early adoption. The Company is evaluating the potential impact of this guidance on the consolidated financial statements.

In December 2025, the FASB issued ASU 2025-11, Interim Reporting - Narrow-Scope Improvements, amending ASC 270. The ASU clarifies interim disclosure requirements and the applicability of ASC 270. The objective of the amendments is to provide further clarity about the current interim disclosure requirements. The ASU is effective for interim reporting periods within annual reporting periods beginning after December 15, 2027. Adoption of this ASU can be applied either on a prospective or a retrospective approach. Early adoption is permitted. The Company is evaluating the potential impact of this guidance on the condensed consolidated financial statements.

XML 39 R29.htm IDEA: XBRL DOCUMENT v3.26.1
Acquisition (Tables)
3 Months Ended
Mar. 31, 2026
Acquisition  
Schedule of pro forma financial information

Three Months Ended

March 31, 

  ​ ​ ​

2025

Net sales

$

151,865

Net income

$

1,393

Accu Fab  
Acquisition  
Schedule of assets acquired, liabilities assumed and net cash consideration paid

Balance Sheet

Balance Sheet

Allocation As of

Measurement

Allocation As of

December 31,

Period

March 31,

2025

 

Adjustments

 

2026

Cash and cash equivalents

$

1,123

-

$

1,123

Accounts receivable, net

14,118

-

14,118

Inventory

4,594

-

4,594

Prepaid expenses and other current assets

256

-

256

Property, plant and equipment

9,811

-

9,811

Operating lease assets

4,031

-

4,031

Intangible assets

Customer relationships (1)

67,000

-

67,000

Non-compete agreements (1)

2,200

-

2,200

Other long-term assets

7

-

7

Goodwill

47,596

-

47,596

Total assets acquired

150,736

150,736

Accounts payable

(4,101)

-

(4,101)

Lease liabilities, current

(1,246)

-

(1,246)

Accrued liabilities:

Salaries, wages, and payroll taxes

(726)

-

(726)

Bonuses and deferred compensation

(305)

-

(305)

Other current liabilities

(275)

-

(275)

Lease liabilities, non-current

(2,786)

-

(2,786)

Other long-term liabilities

(220)

-

(220)

Total liabilities assumed

(9,659)

-

(9,659)

Total consideration

$

141,077

$

141,077

XML 40 R30.htm IDEA: XBRL DOCUMENT v3.26.1
Select balance sheet data (Tables)
3 Months Ended
Mar. 31, 2026
Select balance sheet data  
Schedule of inventories

March 31, 

December 31,

  ​ ​ ​

2026

  ​ ​ ​

2025

Finished goods and purchased parts

$

28,702

$

29,962

Raw materials

 

24,413

 

18,876

Work-in-process

 

12,908

 

10,560

Total

$

66,024

$

59,398

Schedule of property, plant and equipment

  ​ ​ ​

Useful Lives

  ​ ​ ​

March 31, 

  ​ ​ ​

December 31,

 Years

2026

2025

Land

Indefinite

$

2,564

$

2,564

Land improvements

15-39

3,817

4,769

Building and building improvements

 

15-39

 

79,589

 

80,338

Machinery, equipment and tooling

 

3-10

 

335,295

 

327,976

Vehicles

 

5

 

6,000

 

5,720

Office furniture and fixtures

 

3-7

 

26,218

 

25,577

Construction in progress

 

N/A

 

5,068

 

4,725

Total property, plant and equipment, gross

 

458,551

 

451,669

Less accumulated depreciation

 

308,762

 

301,673

Total property, plant and equipment, net

$

149,789

$

149,996

Schedule of listing of intangible assets

March 31, 2026

Useful Lives 

Gross Carrying

Accumulated

 

  ​ ​ ​

Years

  ​ ​ ​

Amount

  ​ ​ ​

Amortization

 

Net

Amortizable intangible assets:

Customer relationships and contracts

9-17

$

163,040

$

67,121

$

95,919

Trade name

 

10

 

14,780

 

10,774

4,006

Developed technology

7

4,962

1,930

3,032

Patents

 

19

 

24

 

17

7

Non-compete agreements

2

2,200

825

1,375

Total amortizable intangible assets, net

$

185,006

$

80,667

$

104,339

Non-amortizable brand name

Indefinite

3,811

3,811

Total intangible assets, net

 

$

188,817

 

$

80,667

$

108,150

December 31, 2025

Useful Lives 

Gross Carrying

Accumulated

 

  ​ ​ ​

Years

  ​ ​ ​

Amount

  ​ ​ ​

Amortization

 

Net

Amortizable intangible assets:

Customer relationships and contracts

9-17

$

163,040

$

64,817

$

98,223

Trade name

 

10

 

14,780

 

10,404

4,376

Non-compete agreements

 

5

 

4,962

1,750

3,212

Developed technology

7

24

 

16

8

Patents

 

19

 

2,200

550

1,650

Total amortizable intangible assets, net

$

185,006

$

77,537

$

107,469

Non-amortizable brand name

Indefinite

3,811

3,811

Total intangible assets, net

 

$

188,817

 

$

77,537

$

111,280

Schedule of future amortization expense

Year ending December 31,

  ​ ​ ​

2026 (remainder)

$

9,390

2027

$

11,970

2028

$

11,364

2029

$

9,922

2030

$

9,368

Thereafter

$

52,325

XML 41 R31.htm IDEA: XBRL DOCUMENT v3.26.1
Leases (Tables)
3 Months Ended
Mar. 31, 2026
Leases  
Summary of components of lease expense

Three Months Ended

March 31, 

  ​ ​ ​

2026

2025

Finance lease cost:

Amortization of finance lease assets

$

290

$

133

Interest on finance lease liabilities

63

 

9

Total finance lease expense

353

142

Operating lease expense

1,566

1,326

Short-term lease expense

196

151

Variable lease expense

21

 

115

Lease income (1)

(545)

(547)

Total lease expense

$

1,591

$

1,187

(1)The Company subleased a portion of its Hazel Park, MI and Fond Du Lac, WI facilities during the three months ended March 31, 2026 and 2025.
Schedule of Supplemental cash flow information

Three Months Ended

March 31, 

2026

  ​ ​ ​

2025

Cash paid for amounts included in the measurement of lease liabilities for finance leases:

Operating cash flows

$

58

$

9

Financing cash flows

$

800

$

234

Cash paid for amounts included in the measurement of lease liabilities for operating leases:

Operating cash flows

$

1,937

$

1,535

 

 

Right-of-use assets obtained in exchange for recorded lease obligations:

Operating leases

$

52

$

Finance leases

$

5,357

$

798

XML 42 R32.htm IDEA: XBRL DOCUMENT v3.26.1
Fair value of financial instruments (Tables)
3 Months Ended
Mar. 31, 2026
Fair value of financial instruments  
Schedule of financial assets and liabilities accounted for at fair value by fair value hierarchy

Balance at

Fair Value Measurements at

March 31, 

Report Date Using

  ​ ​ ​

2026

  ​ ​ ​

(Level 1)

  ​ ​ ​

(Level 2)

  ​ ​ ​

(Level 3)

Deferred compensation liability

$

5,217

$

5,217

$

$

Total

$

5,217

$

5,217

$

$

Balance at

Fair Value Measurements at

December 31,

Report Date Using

  ​ ​ ​

2025

  ​ ​ ​

(Level 1)

  ​ ​ ​

(Level 2)

  ​ ​ ​

(Level 3)

Deferred compensation liability

$

6,240

$

6,240

$

$

Total

$

6,240

$

6,240

$

$

XML 43 R33.htm IDEA: XBRL DOCUMENT v3.26.1
Earnings Per Share (Tables)
3 Months Ended
Mar. 31, 2026
Earnings Per Share  
Schedule of earnings per share

Three Months Ended

March 31, 

2026

2025

Net income (loss) attributable to MEC

$

(8,175)

$

20

Weighted average shares outstanding

20,445,112

20,520,696

Basic income (loss) per share

$

(0.40)

$

0.00

Weighted average shares outstanding

20,445,112

20,520,696

Effect of dilutive stock-based compensation

230,242

Total potential shares outstanding

20,445,112

20,750,938

Diluted income (loss) per share

$

(0.40)

$

0.00

XML 44 R34.htm IDEA: XBRL DOCUMENT v3.26.1
Revenue Recognition (Tables)
3 Months Ended
Mar. 31, 2026
Revenue Recognition  
Schedule of changes in contract assets and liabilities

Contract

Contract

  ​ ​ ​

Assets

  ​ ​ ​

Liabilities

As of December 31, 2025

$

4,746

$

3,315

Net activity

628

(133)

As of March 31, 2026

$

5,374

$

3,182

Schedule of disaggregation of revenue by product category and end market

Three Months Ended

March 31, 

Product Category

  ​ ​ ​

2026

  ​ ​ ​

2025

Outdoor sports

$

1,590

$

1,785

Fabrication

81,514

67,858

Performance structures

44,541

43,334

Tube

16,104

16,511

Tank

6,713

9,889

Total

150,462

139,377

Intercompany sales elimination

(5,682)

(3,798)

Total, net sales

$

144,780

$

135,579

Three Months Ended

March 31, 

End Market

2026

2025

Commercial vehicle

$

38,775

$

50,877

Construction & access

 

20,135

19,524

Powersports

 

23,292

22,250

Datacenter & critical power

23,626

4,144

Agriculture

 

10,346

10,935

Military

5,767

8,487

Other

22,839

19,362

Total, net sales

$

144,780

$

135,579

XML 45 R35.htm IDEA: XBRL DOCUMENT v3.26.1
Concentration of major customers (Tables)
3 Months Ended
Mar. 31, 2026
Concentration of major customers  
Schedules of major customer concentrations

Net Sales

Accounts Receivable

Three Months Ended

As of

As of

March 31, 

March 31, 

December 31,

  ​ ​ ​

2026

  ​ ​ ​

2025

  ​ ​ ​

2026

  ​ ​ ​

2025

Customer

A

 

12.4

%

16.7

%  

<10

%  

<10

%  

 

B

 

10.9

%

10.7

%  

<10

%  

<10

%  

 

C

 

<10

%

<10

%  

<10

%  

10.9

%  

 

XML 46 R36.htm IDEA: XBRL DOCUMENT v3.26.1
Common Equity (Tables)
3 Months Ended
Mar. 31, 2026
Common Equity  
Summary of changes in outstanding common shares

Shares

Outstanding

Balance as of December 31, 2025

20,318,370

Treasury stock purchases

Common stock issued (including stock-based compensation impact)

96,728

Balance as of March 31, 2026

20,415,098

Shares

Outstanding

Balance as of December 31, 2024

20,416,908

Treasury stock purchases

(120,799)

Common stock issued (including stock-based compensation impact)

117,986

Balance as of March 31, 2025

20,414,095

XML 47 R37.htm IDEA: XBRL DOCUMENT v3.26.1
Restructuring (Tables)
3 Months Ended
Mar. 31, 2026
Restructuring  
Schedule of restructuring charges

Other Expenses

Accrued restructuring costs as of December 31, 2025

$

359

Expense recognized

872

Cash paid for restructuring expenses

(852)

Accrued restructuring costs as of March 31, 2026

$

379

XML 48 R38.htm IDEA: XBRL DOCUMENT v3.26.1
Basis of presentation (Details)
3 Months Ended
Aug. 05, 2025
facility
Mar. 31, 2026
facility
segment
Basis of presentation    
Number of facilities operated 1 27
Number of facilities in operation   22
Number of Operating Segments | segment   1
XML 49 R39.htm IDEA: XBRL DOCUMENT v3.26.1
Acquisition (Details) - Accu Fab - USD ($)
$ in Thousands
3 Months Ended
Jul. 01, 2025
Mar. 31, 2026
Mar. 31, 2025
Acquisition      
Interest acquired (in percent) 100.00%    
Purchase price of the acquisition $ 140,500    
Total net consideration $ 141,185    
Transaction costs   $ 0 $ 830
XML 50 R40.htm IDEA: XBRL DOCUMENT v3.26.1
Acquisition - Assets acquired, liabilities assumed (Details) - USD ($)
$ in Thousands
Mar. 31, 2026
Dec. 31, 2025
Acquisition    
Goodwill $ 140,246 $ 140,246
Customer relationships    
Acquisition    
Estimated useful life 14 years  
Non-compete agreements    
Acquisition    
Estimated useful life 2 years 5 years
Accu Fab    
Acquisition    
Cash and cash equivalents $ 1,123 $ 1,123
Accounts receivable, net 14,118 14,118
Inventory 4,594 4,594
Prepaid expenses and other current assets 256 256
Property, plant and equipment 9,811 9,811
Operating lease assets 4,031 4,031
Other long-term assets 7 7
Goodwill 47,596 47,596
Total assets acquired 150,736 150,736
Accounts payable (4,101) (4,101)
Lease liabilities, current (1,246) (1,246)
Salaries, wages, and payroll taxes (726) (726)
Bonuses and deferred compensation (305) (305)
Other current liabilities (275) (275)
Lease liabilities, non-current (2,786) (2,786)
Other long-term liabilities (220) (220)
Total liabilities assumed (9,659) (9,659)
Total consideration 141,077 141,077
Accu Fab | Customer relationships    
Acquisition    
Intangible assets 67,000 67,000
Accu Fab | Non-compete agreements    
Acquisition    
Intangible assets $ 2,200 $ 2,200
XML 51 R41.htm IDEA: XBRL DOCUMENT v3.26.1
Acquisition - Pro Forma Financial Information (Details) - Accu Fab
$ in Thousands
3 Months Ended
Mar. 31, 2025
USD ($)
Acquisition  
Net sales $ 151,865
Net income (loss) $ 1,393
XML 52 R42.htm IDEA: XBRL DOCUMENT v3.26.1
Select balance sheet data - Schedule of Inventories (Details) - USD ($)
$ in Thousands
Mar. 31, 2026
Dec. 31, 2025
Select balance sheet data    
Finished goods and purchased parts $ 28,702 $ 29,962
Raw materials 24,413 18,876
Work-in-process 12,908 10,560
Total $ 66,024 $ 59,398
XML 53 R43.htm IDEA: XBRL DOCUMENT v3.26.1
Select balance sheet data - Schedule of Property, Plant and Equipment (Details) - USD ($)
$ in Thousands
Mar. 31, 2026
Dec. 31, 2025
Select balance sheet data    
Total property, plant and equipment, gross $ 458,551 $ 451,669
Less accumulated depreciation 308,762 301,673
Total property, plant and equipment, net 149,789 149,996
Land    
Select balance sheet data    
Total property, plant and equipment, gross 2,564 2,564
Land improvements    
Select balance sheet data    
Total property, plant and equipment, gross $ 3,817 4,769
Land improvements | Minimum    
Select balance sheet data    
Property, plant and equipment useful lives 15 years  
Land improvements | Maximum    
Select balance sheet data    
Property, plant and equipment useful lives 39 years  
Building and building improvements    
Select balance sheet data    
Total property, plant and equipment, gross $ 79,589 80,338
Building and building improvements | Minimum    
Select balance sheet data    
Property, plant and equipment useful lives 15 years  
Building and building improvements | Maximum    
Select balance sheet data    
Property, plant and equipment useful lives 39 years  
Machinery, equipment and tooling    
Select balance sheet data    
Total property, plant and equipment, gross $ 335,295 327,976
Machinery, equipment and tooling | Minimum    
Select balance sheet data    
Property, plant and equipment useful lives 3 years  
Machinery, equipment and tooling | Maximum    
Select balance sheet data    
Property, plant and equipment useful lives 10 years  
Vehicles    
Select balance sheet data    
Total property, plant and equipment, gross $ 6,000 5,720
Property, plant and equipment useful lives 5 years  
Office furniture and fixtures    
Select balance sheet data    
Total property, plant and equipment, gross $ 26,218 25,577
Office furniture and fixtures | Minimum    
Select balance sheet data    
Property, plant and equipment useful lives 3 years  
Office furniture and fixtures | Maximum    
Select balance sheet data    
Property, plant and equipment useful lives 7 years  
Construction in progress    
Select balance sheet data    
Total property, plant and equipment, gross $ 5,068 $ 4,725
XML 54 R44.htm IDEA: XBRL DOCUMENT v3.26.1
Select balance sheet data - Additional Information (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2026
Mar. 31, 2025
Dec. 31, 2025
Select balance sheet data      
Depreciation expense $ 7,820 $ 7,750  
Impairment of long-lived asset 375    
Assets reclassified to assets held-for-sale 1,680    
Assets held for sale $ 3,082   $ 1,402
XML 55 R45.htm IDEA: XBRL DOCUMENT v3.26.1
Select balance sheet data - Goodwill (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2026
Dec. 31, 2025
Select balance sheet data    
Change in goodwill balance $ 0  
Goodwill $ 140,246 $ 140,246
XML 56 R46.htm IDEA: XBRL DOCUMENT v3.26.1
Select balance sheet data - Schedule of Listing of Intangible Assets (Details) - USD ($)
$ in Thousands
Mar. 31, 2026
Dec. 31, 2025
Amortizable intangible assets    
Amortizable intangible assets, gross $ 185,006 $ 185,006
Accumulated amortization 80,667 77,537
Total amortizable intangible assets, net 104,339 107,469
Non-amortizable brand name 3,811 3,811
Total intangible assets, gross carrying amount 188,817 188,817
Total intangible assets, net 108,150 111,280
Customer relationships and contracts    
Amortizable intangible assets    
Amortizable intangible assets, gross 163,040 163,040
Accumulated amortization 67,121 64,817
Total amortizable intangible assets, net $ 95,919 $ 98,223
Trade name    
Amortizable intangible assets    
Intangible assets useful Lives 10 years 10 years
Amortizable intangible assets, gross $ 14,780 $ 14,780
Accumulated amortization 10,774 10,404
Total amortizable intangible assets, net $ 4,006 $ 4,376
Developed technology    
Amortizable intangible assets    
Intangible assets useful Lives 7 years 7 years
Amortizable intangible assets, gross $ 4,962 $ 24
Accumulated amortization 1,930 16
Total amortizable intangible assets, net $ 3,032 $ 8
Patents    
Amortizable intangible assets    
Intangible assets useful Lives 19 years 19 years
Amortizable intangible assets, gross $ 24 $ 2,200
Accumulated amortization 17 550
Total amortizable intangible assets, net $ 7 $ 1,650
Non-compete agreements    
Amortizable intangible assets    
Intangible assets useful Lives 2 years 5 years
Amortizable intangible assets, gross $ 2,200 $ 4,962
Accumulated amortization 825 1,750
Total amortizable intangible assets, net $ 1,375 $ 3,212
Minimum | Customer relationships and contracts    
Amortizable intangible assets    
Intangible assets useful Lives 9 years 9 years
Maximum | Customer relationships and contracts    
Amortizable intangible assets    
Intangible assets useful Lives 17 years 17 years
XML 57 R47.htm IDEA: XBRL DOCUMENT v3.26.1
Select balance sheet data - Amortization Expense (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2026
Mar. 31, 2025
Select balance sheet data    
Amortization expense $ 3,130 $ 1,733
XML 58 R48.htm IDEA: XBRL DOCUMENT v3.26.1
Select balance sheet data - Schedule of Future Amortization Expense (Details)
$ in Thousands
Mar. 31, 2026
USD ($)
Select balance sheet data  
2026 (remainder) $ 9,390
2027 11,970
2028 11,364
2029 9,922
2030 9,368
Thereafter $ 52,325
XML 59 R49.htm IDEA: XBRL DOCUMENT v3.26.1
Debt - Credit Agreements (Details) - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Feb. 25, 2026
Jun. 26, 2025
Mar. 31, 2026
Dec. 31, 2025
Feb. 24, 2026
Jun. 25, 2025
Debt            
Loss on extinguishment of debt     $ (134)      
Revolving credit notes     $ 212,392 $ 202,525    
Amended And Restated Credit Agreement            
Debt            
Interest coverage ratios     4.27%      
Minimum interest coverage ratio   2.75% 2.75%      
Consolidated leverage ratio     4.40%      
Maximum consolidated leverage ratio   5.25% 5.25%      
Deferred costs short-term     $ 438      
Deferred Costs, long-term     $ 545      
Interest rate at end of period     6.42% 5.98%    
Amended And Restated Credit Agreement | Federal Funds Rate plus            
Debt            
Debt instrument, basis spread on variable rate     0.50%      
Amended And Restated Credit Agreement | SOFR            
Debt            
Debt instrument, basis spread on variable rate     1.00%      
Amended And Restated Credit Agreement | Minimum            
Debt            
Consolidated total leverage ratio     1.25%      
Amended And Restated Credit Agreement | Maximum            
Debt            
Consolidated total leverage ratio     3.25%      
Amended And Restated Credit Agreement | Lenders and Wells Fargo Bank, national association, administrative agent            
Debt            
Credit agreement maturity date   Jun. 28, 2028        
First Amendment Credit Agreement            
Debt            
Deferred financing costs   $ 818        
First Amendment Credit Agreement | Lenders and Wells Fargo Bank, national association, administrative agent            
Debt            
Credit agreement additional borrowing capacity through accordion feature   100,000        
Third Amendment Credit Agreement            
Debt            
Deferred financing costs $ 398          
Loss on extinguishment of debt $ 134          
Third Amendment Credit Agreement | Period through fourth quarter of 2026            
Debt            
Minimum interest coverage ratio 2.75%          
Third Amendment Credit Agreement | First and second quarter of 2026            
Debt            
Maximum consolidated leverage ratio 5.25%          
Third Amendment Credit Agreement | Third quarter of 2026            
Debt            
Maximum consolidated leverage ratio 5.00%          
Third Amendment Credit Agreement | Fourth quarter of 2026            
Debt            
Maximum consolidated leverage ratio 4.00%          
Third Amendment Credit Agreement | 2027 and thereafter            
Debt            
Maximum consolidated leverage ratio 3.50%          
Revolving Credit Facility            
Debt            
Revolving credit notes     $ 212,392 $ 202,525    
Revolving Credit Facility | Amended And Restated Credit Agreement            
Debt            
Revolving commitments fee percentage     0.35% 0.30%    
Revolving Credit Facility | First Amendment Credit Agreement            
Debt            
Credit agreement borrowing capacity   $ 350,000       $ 250,000
Revolving Credit Facility | Third Amendment Credit Agreement            
Debt            
Credit agreement borrowing capacity $ 275,000       $ 350,000  
XML 60 R50.htm IDEA: XBRL DOCUMENT v3.26.1
Debt - Other Debt (Details) - Mid-States Aluminum - Fond du Lac County and Fond du Lac Economic Development Corporation Term Note - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2026
Dec. 31, 2025
Debt    
Annual installment $ 500  
Interest rate (as a percent) 2.00%  
Balance outstanding $ 1,375 $ 1,375
Other current liabilities    
Debt    
Short-term balance 500  
Other long-term liabilities    
Debt    
Long-term balance $ 875  
XML 61 R51.htm IDEA: XBRL DOCUMENT v3.26.1
Leases - Components of lease expense (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2026
Mar. 31, 2025
Leases    
Amortization of finance lease assets $ 290 $ 133
Interest on finance lease liabilities 63 9
Total finance lease expense 353 142
Operating lease expense 1,566 1,326
Short-term lease expense 196 151
Variable lease expense 21 115
Lease income (545) (547)
Total lease expense 1,591 $ 1,187
Lease impairment expense $ 1,169  
XML 62 R52.htm IDEA: XBRL DOCUMENT v3.26.1
Leases - Supplemental cash flow information (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2026
Mar. 31, 2025
Leases    
Cash paid for amounts included in the measurement of lease liabilities for finance leases: Operating cash flows $ 58 $ 9
Cash paid for amounts included in the measurement of lease liabilities for finance leases: Financing cash flows 800 234
Cash paid for amounts included in the measurement of lease liabilities for operating leases: Operating cash flows 1,937 1,535
Right-of-use assets obtained in exchange for recorded lease obligations: Operating leases 52  
Right-of-use assets obtained in exchange for recorded lease obligations: Finance leases $ 5,357 $ 798
XML 63 R53.htm IDEA: XBRL DOCUMENT v3.26.1
Employee stock ownership plan - Additional Information (Details) - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Jan. 01, 2025
Mar. 31, 2026
Mar. 31, 2025
Dec. 31, 2024
Dec. 31, 2025
Employee stock ownership plan          
Distribution period       3 years  
Employee stock ownership plan (ESOP) first tier diversification percentage 50.00%     25.00%  
Employee stock ownership plan (ESOP) age in years for first tier diversification percentage       50 years  
Employee stock ownership plan (ESOP0 number of years of service 10 years     10 years  
Employee Stock Ownership Plan ESOP Age In Years For Second Tier Diversification Percentage 55 years        
Employee stock ownership plan (ESOP0 second tier diversification percentage 75.00%     50.00%  
Shares in ESOP   1,557,606     1,903,861
Employee Stock Option          
Employee stock ownership plan          
Employee stock ownership plan (ESOP), (income) expense   $ 0 $ 0    
XML 64 R54.htm IDEA: XBRL DOCUMENT v3.26.1
Retirement plans - Additional Information (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2026
Mar. 31, 2025
Retirement plans    
Percentage of employee contribution of eligible compensation plan 50.00%  
Employer match percentage 50.00%  
Percent of employee contributions eligible for employer match 6.00%  
Employer match expense $ 953 $ 946
XML 65 R55.htm IDEA: XBRL DOCUMENT v3.26.1
Income taxes - Additional Information (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2026
Mar. 31, 2025
Income taxes    
Income tax expense (benefit) $ (3,308) $ (10)
Effective tax rate (in percentage) 28.81% (100.00%)
XML 66 R56.htm IDEA: XBRL DOCUMENT v3.26.1
Deferred compensation - Additional Information (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2026
Mar. 31, 2025
Dec. 31, 2025
Deferred compensation      
Description of deferred compensation arrangements The Mayville Engineering Company Deferred Compensation Plan is available for certain employees designated to be eligible to participate by the Company and approved by the Board of Directors.    
Deferred compensation arrangements, awards granted percentage 50.00%    
Annual short term cash incentive percentage 100.00%    
Deferred compensation cash-based arrangements liability, Current $ 416   $ 1,000
Deferred compensation cash-based arrangements liability, Non current 4,801   $ 5,240
Deferred compensation plan expense (credit) 4,804 $ 3,325  
Deferred compensation, distributions paid 1,000 252  
Deferred Profit Sharing      
Deferred compensation      
Deferred compensation plan expense (credit) (154) (73)  
Employees      
Deferred compensation      
Amount of compensation deferred $ 131 $ 600  
XML 67 R57.htm IDEA: XBRL DOCUMENT v3.26.1
Self-Funded insurance (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2026
Mar. 31, 2025
Dec. 31, 2025
Self-Funded insurance      
Health care self-insurance expense $ 4,611 $ 4,130  
Estimated accrued liability $ 954   $ 891
XML 68 R58.htm IDEA: XBRL DOCUMENT v3.26.1
Segments (Details)
3 Months Ended
Mar. 31, 2026
segment
Segments  
Number of reportable segments 1
Number of operating segments 1
XML 69 R59.htm IDEA: XBRL DOCUMENT v3.26.1
Fair value of financial instruments - Assets and Liabilities at Fair Value (Details) - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Mar. 31, 2026
Dec. 31, 2025
Fair value of financial instruments    
Impairment recognized $ 1,544 $ 0
Fair Value, measurements, recurring    
Fair value of financial instruments    
Total 5,217 6,240
Fair Value, measurements, recurring | Fair Value, Inputs, Level 1    
Fair value of financial instruments    
Total 5,217 6,240
Fair Value, measurements, recurring | Deferred compensation liability    
Fair value of financial instruments    
Total 5,217 6,240
Fair Value, measurements, recurring | Deferred compensation liability | Fair Value, Inputs, Level 1    
Fair value of financial instruments    
Total $ 5,217 $ 6,240
XML 70 R60.htm IDEA: XBRL DOCUMENT v3.26.1
Earnings Per Share (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended
Mar. 31, 2026
Mar. 31, 2025
Earnings per share basic    
Net Income (Loss) $ (8,175) $ 20
Weighted average shares outstanding 20,445,112 20,520,696
Basic income (loss) per share $ (0.4) $ 0
Earnings per share diluted    
Weighted average shares outstanding 20,445,112 20,520,696
Effect of dilutive stock-based compensation   230,242
Total potential shares outstanding 20,445,112 20,750,938
Diluted income (loss) per share $ (0.4) $ 0
XML 71 R61.htm IDEA: XBRL DOCUMENT v3.26.1
Earnings Per Share - Antidilutive securities (Details) - shares
3 Months Ended
Mar. 31, 2026
Mar. 31, 2025
Earnings Per Share    
Antidilutive securities excluded from computation of diluted earnings per share 61,295 0
XML 72 R62.htm IDEA: XBRL DOCUMENT v3.26.1
Revenue Recognition - Schedule of changes in contract assets and liabilities (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2026
Mar. 31, 2025
Revenue Recognition    
Contract Assets, beginning balance $ 4,746  
Net activity 628  
Contract Assets, ending balance 5,374  
Contract Liabilities, beginning balance 3,315  
Net activity (133)  
Contract Liabilities, ending balance 3,182  
Revenue recognized from contract liabilities $ 760 $ 2,100
XML 73 R63.htm IDEA: XBRL DOCUMENT v3.26.1
Revenue Recognition - Schedule of disaggregation of revenue by product category (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2026
Mar. 31, 2025
Revenue Recognition    
Total, net sales $ 144,780 $ 135,579
Operating segments    
Revenue Recognition    
Total, net sales 150,462 139,377
Intercompany sales elimination    
Revenue Recognition    
Total, net sales (5,682) (3,798)
Outdoor sports    
Revenue Recognition    
Total, net sales 1,590 1,785
Fabrication    
Revenue Recognition    
Total, net sales 81,514 67,858
Performance structures    
Revenue Recognition    
Total, net sales 44,541 43,334
Tube    
Revenue Recognition    
Total, net sales 16,104 16,511
Tank    
Revenue Recognition    
Total, net sales $ 6,713 $ 9,889
XML 74 R64.htm IDEA: XBRL DOCUMENT v3.26.1
Revenue Recognition - Schedule of disaggregation of revenue by end market (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2026
Mar. 31, 2025
Revenue Recognition    
Total, net sales $ 144,780 $ 135,579
Commercial vehicle    
Revenue Recognition    
Total, net sales 38,775 50,877
Construction & access    
Revenue Recognition    
Total, net sales 20,135 19,524
Powersports    
Revenue Recognition    
Total, net sales 23,292 22,250
Datacenter & critical power    
Revenue Recognition    
Total, net sales 23,626 4,144
Agriculture    
Revenue Recognition    
Total, net sales 10,346 10,935
Military    
Revenue Recognition    
Total, net sales 5,767 8,487
Other    
Revenue Recognition    
Total, net sales $ 22,839 19,362
Accu Fab | Datacenter & critical power    
Revenue Recognition    
Total, net sales   $ 4,144
XML 75 R65.htm IDEA: XBRL DOCUMENT v3.26.1
Concentration of major customers - Schedule of major customer concentrations (Details) - Customer Concentration Risk
3 Months Ended 12 Months Ended
Mar. 31, 2026
Mar. 31, 2025
Dec. 31, 2025
Customer A | Net Sales      
Concentration Risk [Line Items]      
Concentration risk percentage 12.40% 16.70%  
Customer A | Accounts Receivable      
Concentration Risk [Line Items]      
Concentration risk percentage, name of additional characteristic <10   <10
Customer B | Net Sales      
Concentration Risk [Line Items]      
Concentration risk percentage 10.90% 10.70%  
Customer B | Accounts Receivable      
Concentration Risk [Line Items]      
Concentration risk percentage, name of additional characteristic <10   <10
Customer C | Net Sales      
Concentration Risk [Line Items]      
Concentration risk percentage, name of additional characteristic <10 <10  
Customer C | Accounts Receivable      
Concentration Risk [Line Items]      
Concentration risk percentage     10.90%
Concentration risk percentage, name of additional characteristic <10    
XML 76 R66.htm IDEA: XBRL DOCUMENT v3.26.1
Stock-based compensation - Additional information (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 12 Months Ended
Mar. 31, 2026
Mar. 31, 2025
Dec. 31, 2025
Apr. 20, 2021
Dec. 31, 2019
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]          
Stock based compensation expense $ 795 $ 1,101      
Number of options granted (in shares) 0 0      
Share-Based Compensation Arrangement by Share-Based Payment Award, Expiration Period 10 years        
Options exercised 0        
Options outstanding number 335,714        
Options outstanding weighted average exercise price $ 14.5        
Weighted average contractual life remaining 6 years 11 days        
2019 Omnibus Incentive Plan          
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]          
Payments based on the value of its common stock         2,000,000
Number of shares authorized       2,500,000  
Number of shares of the Company's common stock still available for issuance 1,280,141        
RSU          
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]          
Grants ( in shares) 268,196 264,342      
Vesting period (in years) 3 years        
Performance Shares          
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]          
Grants ( in shares) 185,127 169,062      
Performance measurement period 3 years        
Percentage of weight on Return on Invested Capital 50.00%        
Period over the weight on Return on Invested Capital 3 years   3 years    
Percentage of weight on EBITDA target 50.00%   50.00%    
Performance Shares | Minimum          
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]          
Threshold percentage of performance share units (PSU) 50.00%   50.00%    
Performance Shares | Maximum          
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]          
Threshold percentage of performance share units (PSU) 200.00%   200.00%    
XML 77 R67.htm IDEA: XBRL DOCUMENT v3.26.1
Common Equity (Details) - shares
Mar. 31, 2026
Dec. 31, 2025
Common Equity    
Common shares authorized, shares 75,000,000 75,000,000
XML 78 R68.htm IDEA: XBRL DOCUMENT v3.26.1
Common Equity - Changes in outstanding common shares (Details) - shares
3 Months Ended
Mar. 31, 2026
Mar. 31, 2025
Common Equity    
Beginning balance 20,318,370 20,416,908
Treasury stock purchases   (120,799)
Common stock issued (including share-based compensation impact) 96,728 117,986
Ending balance 20,415,098 20,414,095
XML 79 R69.htm IDEA: XBRL DOCUMENT v3.26.1
Restructuring - Additional information (Details)
$ in Thousands
3 Months Ended 8 Months Ended
Aug. 05, 2025
USD ($)
warehouse
facility
Mar. 31, 2026
USD ($)
facility
Mar. 31, 2026
USD ($)
Restructuring      
Number of warehouses | warehouse 3    
Number of facilities | facility 1 27  
Equipment Relocation and Footprint Optimization      
Restructuring      
Restructuring costs $ 4,300 $ 872 $ 1,736
Asset write-downs and related charges      
Restructuring      
Restructuring costs 1,700   $ 1,670
Minimum      
Restructuring      
Restructuring costs 5,000    
Maximum      
Restructuring      
Restructuring costs $ 7,000    
XML 80 R70.htm IDEA: XBRL DOCUMENT v3.26.1
Restructuring - Restructuring charges (Details) - USD ($)
$ in Thousands
3 Months Ended 8 Months Ended 12 Months Ended
Aug. 05, 2025
Mar. 31, 2026
Mar. 31, 2026
Dec. 31, 2025
Restructuring        
Impairment recognized   $ 1,544   $ 0
Equipment Relocation and Footprint Optimization        
Restructuring        
Accrued restructuring costs, beginning of period   359    
Expense recognized $ 4,300 $ 872 $ 1,736  
Restructuring Charges, Statement of Income or Comprehensive Income [Extensible Enumeration]   Cost of Revenue    
Cash paid for restructuring expenses   $ (852)    
Accrued restructuring costs, end of period   379 379 $ 359
Asset write-downs and related charges        
Restructuring        
Expense recognized $ 1,700   $ 1,670  
Impairment recognized   $ 1,544    
XML 81 report.css IDEA: XBRL DOCUMENT /* Updated 2009-11-04 */ /* v2.2.0.24 */ /* DefRef Styles */ .report table.authRefData{ background-color: #def; border: 2px solid #2F4497; font-size: 1em; position: absolute; } .report table.authRefData a { display: block; font-weight: bold; } .report table.authRefData p { margin-top: 0px; } .report table.authRefData .hide { background-color: #2F4497; padding: 1px 3px 0px 0px; text-align: right; } .report table.authRefData .hide a:hover { background-color: #2F4497; } .report table.authRefData .body { height: 150px; overflow: auto; width: 400px; } .report table.authRefData table{ font-size: 1em; } /* Report Styles */ .pl a, .pl a:visited { color: black; text-decoration: none; } /* table */ .report { background-color: white; border: 2px solid #acf; clear: both; color: black; font: normal 8pt Helvetica, Arial, san-serif; margin-bottom: 2em; } .report hr { border: 1px solid #acf; } /* Top labels */ .report th { background-color: #acf; color: black; font-weight: bold; text-align: center; } .report th.void { background-color: transparent; color: #000000; font: bold 10pt Helvetica, Arial, san-serif; text-align: left; } .report .pl { text-align: left; vertical-align: top; white-space: normal; width: 200px; white-space: normal; /* word-wrap: break-word; */ } .report td.pl a.a { cursor: pointer; display: block; width: 200px; overflow: hidden; } .report td.pl div.a { width: 200px; } .report td.pl a:hover { background-color: #ffc; } /* Header rows... */ .report tr.rh { background-color: #acf; color: black; font-weight: bold; } /* Calendars... */ .report .rc { background-color: #f0f0f0; } /* Even rows... */ .report .re, .report .reu { background-color: #def; } .report .reu td { border-bottom: 1px solid black; } /* Odd rows... */ .report .ro, .report .rou { background-color: white; } .report .rou td { border-bottom: 1px solid black; } .report .rou table td, .report .reu table td { border-bottom: 0px solid black; } /* styles for footnote marker */ .report .fn { white-space: nowrap; } /* styles for numeric types */ .report .num, .report .nump { text-align: right; white-space: nowrap; } .report .nump { padding-left: 2em; } .report .nump { padding: 0px 0.4em 0px 2em; } /* styles for text types */ .report .text { text-align: left; white-space: normal; } .report .text .big { margin-bottom: 1em; width: 17em; } .report .text .more { display: none; } .report .text .note { font-style: italic; font-weight: bold; } .report .text .small { width: 10em; } .report sup { font-style: italic; } .report .outerFootnotes { font-size: 1em; } XML 82 Show.js IDEA: XBRL DOCUMENT // Edgar(tm) Renderer was created by staff of the U.S. Securities and Exchange Commission. Data and content created by government employees within the scope of their employment are not subject to domestic copyright protection. 17 U.S.C. 105. var Show={};Show.LastAR=null,Show.showAR=function(a,r,w){if(Show.LastAR)Show.hideAR();var e=a;while(e&&e.nodeName!='TABLE')e=e.nextSibling;if(!e||e.nodeName!='TABLE'){var ref=((window)?w.document:document).getElementById(r);if(ref){e=ref.cloneNode(!0); e.removeAttribute('id');a.parentNode.appendChild(e)}} if(e)e.style.display='block';Show.LastAR=e};Show.hideAR=function(){Show.LastAR.style.display='none'};Show.toggleNext=function(a){var e=a;while(e.nodeName!='DIV')e=e.nextSibling;if(!e.style){}else if(!e.style.display){}else{var d,p_;if(e.style.display=='none'){d='block';p='-'}else{d='none';p='+'} e.style.display=d;if(a.textContent){a.textContent=p+a.textContent.substring(1)}else{a.innerText=p+a.innerText.substring(1)}}} XML 84 FilingSummary.xml IDEA: XBRL DOCUMENT 3.26.1 html 184 298 1 false 66 0 false 7 false false R1.htm 995200090 - Document - Document and Entity Information Sheet http://www.mecinc.com/role/DocumentDocumentAndEntityInformation Document and Entity Information Cover 1 false false R2.htm 995200100 - Statement - Condensed Consolidated Balance Sheets Sheet http://www.mecinc.com/role/StatementCondensedConsolidatedBalanceSheets Condensed Consolidated Balance Sheets Statements 2 false false R3.htm 995200105 - Statement - Condensed Consolidated Balance Sheets (Parenthetical) Sheet http://www.mecinc.com/role/StatementCondensedConsolidatedBalanceSheetsParenthetical Condensed Consolidated Balance Sheets (Parenthetical) Statements 3 false false R4.htm 995200200 - Statement - Condensed Consolidated Statements of Comprehensive Income (Loss) Sheet http://www.mecinc.com/role/StatementCondensedConsolidatedStatementsOfComprehensiveIncomeLoss Condensed Consolidated Statements of Comprehensive Income (Loss) Statements 4 false false R5.htm 995200300 - Statement - Condensed Consolidated Statements of Cash Flows Sheet http://www.mecinc.com/role/StatementCondensedConsolidatedStatementsOfCashFlows Condensed Consolidated Statements of Cash Flows Statements 5 false false R6.htm 995200400 - Statement - Condensed Consolidated Statements of Shareholders' Equity Sheet http://www.mecinc.com/role/StatementCondensedConsolidatedStatementsOfShareholdersEquity Condensed Consolidated Statements of Shareholders' Equity Statements 6 false false R7.htm 995210101 - Disclosure - Basis of presentation Sheet http://www.mecinc.com/role/DisclosureBasisOfPresentation Basis of presentation Notes 7 false false R8.htm 995210201 - Disclosure - Acquisition Sheet http://www.mecinc.com/role/DisclosureAcquisition Acquisition Notes 8 false false R9.htm 995210301 - Disclosure - Select balance sheet data Sheet http://www.mecinc.com/role/DisclosureSelectBalanceSheetData Select balance sheet data Notes 9 false false R10.htm 995210401 - Disclosure - Debt Sheet http://www.mecinc.com/role/DisclosureDebt Debt Notes 10 false false R11.htm 995210501 - Disclosure - Leases Sheet http://www.mecinc.com/role/DisclosureLeases Leases Notes 11 false false R12.htm 995210601 - Disclosure - Employee stock ownership plan Sheet http://www.mecinc.com/role/DisclosureEmployeeStockOwnershipPlan Employee stock ownership plan Notes 12 false false R13.htm 995210701 - Disclosure - Retirement plans Sheet http://www.mecinc.com/role/DisclosureRetirementPlans Retirement plans Notes 13 false false R14.htm 995210801 - Disclosure - Income taxes Sheet http://www.mecinc.com/role/DisclosureIncomeTaxes Income taxes Notes 14 false false R15.htm 995210901 - Disclosure - Commitments and contingencies Sheet http://www.mecinc.com/role/DisclosureCommitmentsAndContingencies Commitments and contingencies Notes 15 false false R16.htm 995211001 - Disclosure - Deferred compensation Sheet http://www.mecinc.com/role/DisclosureDeferredCompensation Deferred compensation Notes 16 false false R17.htm 995211101 - Disclosure - Self-Funded insurance Sheet http://www.mecinc.com/role/DisclosureSelfFundedInsurance Self-Funded insurance Notes 17 false false R18.htm 995211201 - Disclosure - Segments Sheet http://www.mecinc.com/role/DisclosureSegments Segments Notes 18 false false R19.htm 995211301 - Disclosure - Fair value of financial instruments Sheet http://www.mecinc.com/role/DisclosureFairValueOfFinancialInstruments Fair value of financial instruments Notes 19 false false R20.htm 995211401 - Disclosure - Earnings Per Share Sheet http://www.mecinc.com/role/DisclosureEarningsPerShare Earnings Per Share Notes 20 false false R21.htm 995211501 - Disclosure - Revenue Recognition Sheet http://www.mecinc.com/role/DisclosureRevenueRecognition Revenue Recognition Notes 21 false false R22.htm 995211601 - Disclosure - Concentration of major customers Sheet http://www.mecinc.com/role/DisclosureConcentrationOfMajorCustomers Concentration of major customers Notes 22 false false R23.htm 995211701 - Disclosure - Stock-based compensation Sheet http://www.mecinc.com/role/DisclosureStockBasedCompensation Stock-based compensation Notes 23 false false R24.htm 995211801 - Disclosure - Common Equity Sheet http://www.mecinc.com/role/DisclosureCommonEquity Common Equity Notes 24 false false R25.htm 995211901 - Disclosure - Restructuring Sheet http://www.mecinc.com/role/DisclosureRestructuring Restructuring Notes 25 false false R26.htm 995410 - Disclosure - Pay vs Performance Disclosure Sheet http://xbrl.sec.gov/ecd/role/PvpDisclosure Pay vs Performance Disclosure Notes 26 false false R27.htm 995445 - Disclosure - Insider Trading Arrangements Sheet http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements Insider Trading Arrangements Notes 27 false false R28.htm 99920102 - Disclosure - Basis of presentation (Policies) Sheet http://www.mecinc.com/role/DisclosureBasisOfPresentationPolicies Basis of presentation (Policies) Policies 28 false false R29.htm 99930203 - Disclosure - Acquisition (Tables) Sheet http://www.mecinc.com/role/DisclosureAcquisitionTables Acquisition (Tables) Tables http://www.mecinc.com/role/DisclosureAcquisition 29 false false R30.htm 99930303 - Disclosure - Select balance sheet data (Tables) Sheet http://www.mecinc.com/role/DisclosureSelectBalanceSheetDataTables Select balance sheet data (Tables) Tables http://www.mecinc.com/role/DisclosureSelectBalanceSheetData 30 false false R31.htm 99930503 - Disclosure - Leases (Tables) Sheet http://www.mecinc.com/role/DisclosureLeasesTables Leases (Tables) Tables http://www.mecinc.com/role/DisclosureLeases 31 false false R32.htm 99931303 - Disclosure - Fair value of financial instruments (Tables) Sheet http://www.mecinc.com/role/DisclosureFairValueOfFinancialInstrumentsTables Fair value of financial instruments (Tables) Tables http://www.mecinc.com/role/DisclosureFairValueOfFinancialInstruments 32 false false R33.htm 99931403 - Disclosure - Earnings Per Share (Tables) Sheet http://www.mecinc.com/role/DisclosureEarningsPerShareTables Earnings Per Share (Tables) Tables http://www.mecinc.com/role/DisclosureEarningsPerShare 33 false false R34.htm 99931503 - Disclosure - Revenue Recognition (Tables) Sheet http://www.mecinc.com/role/DisclosureRevenueRecognitionTables Revenue Recognition (Tables) Tables http://www.mecinc.com/role/DisclosureRevenueRecognition 34 false false R35.htm 99931603 - Disclosure - Concentration of major customers (Tables) Sheet http://www.mecinc.com/role/DisclosureConcentrationOfMajorCustomersTables Concentration of major customers (Tables) Tables http://www.mecinc.com/role/DisclosureConcentrationOfMajorCustomers 35 false false R36.htm 99931803 - Disclosure - Common Equity (Tables) Sheet http://www.mecinc.com/role/DisclosureCommonEquityTables Common Equity (Tables) Tables http://www.mecinc.com/role/DisclosureCommonEquity 36 false false R37.htm 99931903 - Disclosure - Restructuring (Tables) Sheet http://www.mecinc.com/role/DisclosureRestructuringTables Restructuring (Tables) Tables http://www.mecinc.com/role/DisclosureRestructuring 37 false false R38.htm 99940101 - Disclosure - Basis of presentation (Details) Sheet http://www.mecinc.com/role/DisclosureBasisOfPresentationDetails Basis of presentation (Details) Details http://www.mecinc.com/role/DisclosureBasisOfPresentationPolicies 38 false false R39.htm 99940201 - Disclosure - Acquisition (Details) Sheet http://www.mecinc.com/role/DisclosureAcquisitionDetails Acquisition (Details) Details http://www.mecinc.com/role/DisclosureAcquisitionTables 39 false false R40.htm 99940202 - Disclosure - Acquisition - Assets acquired, liabilities assumed (Details) Sheet http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails Acquisition - Assets acquired, liabilities assumed (Details) Details 40 false false R41.htm 99940203 - Disclosure - Acquisition - Pro Forma Financial Information (Details) Sheet http://www.mecinc.com/role/DisclosureAcquisitionProFormaFinancialInformationDetails Acquisition - Pro Forma Financial Information (Details) Details 41 false false R42.htm 99940301 - Disclosure - Select balance sheet data - Schedule of Inventories (Details) Sheet http://www.mecinc.com/role/DisclosureSelectBalanceSheetDataScheduleOfInventoriesDetails Select balance sheet data - Schedule of Inventories (Details) Details 42 false false R43.htm 99940302 - Disclosure - Select balance sheet data - Schedule of Property, Plant and Equipment (Details) Sheet http://www.mecinc.com/role/DisclosureSelectBalanceSheetDataScheduleOfPropertyPlantAndEquipmentDetails Select balance sheet data - Schedule of Property, Plant and Equipment (Details) Details 43 false false R44.htm 99940303 - Disclosure - Select balance sheet data - Additional Information (Details) Sheet http://www.mecinc.com/role/DisclosureSelectBalanceSheetDataAdditionalInformationDetails Select balance sheet data - Additional Information (Details) Details 44 false false R45.htm 99940304 - Disclosure - Select balance sheet data - Goodwill (Details) Sheet http://www.mecinc.com/role/DisclosureSelectBalanceSheetDataGoodwillDetails Select balance sheet data - Goodwill (Details) Details 45 false false R46.htm 99940305 - Disclosure - Select balance sheet data - Schedule of Listing of Intangible Assets (Details) Sheet http://www.mecinc.com/role/DisclosureSelectBalanceSheetDataScheduleOfListingOfIntangibleAssetsDetails Select balance sheet data - Schedule of Listing of Intangible Assets (Details) Details 46 false false R47.htm 99940306 - Disclosure - Select balance sheet data - Amortization Expense (Details) Sheet http://www.mecinc.com/role/DisclosureSelectBalanceSheetDataAmortizationExpenseDetails Select balance sheet data - Amortization Expense (Details) Details 47 false false R48.htm 99940307 - Disclosure - Select balance sheet data - Schedule of Future Amortization Expense (Details) Sheet http://www.mecinc.com/role/DisclosureSelectBalanceSheetDataScheduleOfFutureAmortizationExpenseDetails Select balance sheet data - Schedule of Future Amortization Expense (Details) Details 48 false false R49.htm 99940401 - Disclosure - Debt - Credit Agreements (Details) Sheet http://www.mecinc.com/role/DisclosureDebtCreditAgreementsDetails Debt - Credit Agreements (Details) Details 49 false false R50.htm 99940402 - Disclosure - Debt - Other Debt (Details) Sheet http://www.mecinc.com/role/DisclosureDebtOtherDebtDetails Debt - Other Debt (Details) Details 50 false false R51.htm 99940501 - Disclosure - Leases - Components of lease expense (Details) Sheet http://www.mecinc.com/role/DisclosureLeasesComponentsOfLeaseExpenseDetails Leases - Components of lease expense (Details) Details 51 false false R52.htm 99940502 - Disclosure - Leases - Supplemental cash flow information (Details) Sheet http://www.mecinc.com/role/DisclosureLeasesSupplementalCashFlowInformationDetails Leases - Supplemental cash flow information (Details) Details 52 false false R53.htm 99940601 - Disclosure - Employee stock ownership plan - Additional Information (Details) Sheet http://www.mecinc.com/role/DisclosureEmployeeStockOwnershipPlanAdditionalInformationDetails Employee stock ownership plan - Additional Information (Details) Details 53 false false R54.htm 99940701 - Disclosure - Retirement plans - Additional Information (Details) Sheet http://www.mecinc.com/role/DisclosureRetirementPlansAdditionalInformationDetails Retirement plans - Additional Information (Details) Details 54 false false R55.htm 99940801 - Disclosure - Income taxes - Additional Information (Details) Sheet http://www.mecinc.com/role/DisclosureIncomeTaxesAdditionalInformationDetails Income taxes - Additional Information (Details) Details 55 false false R56.htm 99941001 - Disclosure - Deferred compensation - Additional Information (Details) Sheet http://www.mecinc.com/role/DisclosureDeferredCompensationAdditionalInformationDetails Deferred compensation - Additional Information (Details) Details 56 false false R57.htm 99941101 - Disclosure - Self-Funded insurance (Details) Sheet http://www.mecinc.com/role/DisclosureSelfFundedInsuranceDetails Self-Funded insurance (Details) Details http://www.mecinc.com/role/DisclosureSelfFundedInsurance 57 false false R58.htm 99941201 - Disclosure - Segments (Details) Sheet http://www.mecinc.com/role/DisclosureSegmentsDetails Segments (Details) Details http://www.mecinc.com/role/DisclosureSegments 58 false false R59.htm 99941301 - Disclosure - Fair value of financial instruments - Assets and Liabilities at Fair Value (Details) Sheet http://www.mecinc.com/role/DisclosureFairValueOfFinancialInstrumentsAssetsAndLiabilitiesAtFairValueDetails Fair value of financial instruments - Assets and Liabilities at Fair Value (Details) Details 59 false false R60.htm 99941401 - Disclosure - Earnings Per Share (Details) Sheet http://www.mecinc.com/role/DisclosureEarningsPerShareDetails Earnings Per Share (Details) Details http://www.mecinc.com/role/DisclosureEarningsPerShareTables 60 false false R61.htm 99941402 - Disclosure - Earnings Per Share - Antidilutive securities (Details) Sheet http://www.mecinc.com/role/DisclosureEarningsPerShareAntidilutiveSecuritiesDetails Earnings Per Share - Antidilutive securities (Details) Details 61 false false R62.htm 99941501 - Disclosure - Revenue Recognition - Schedule of changes in contract assets and liabilities (Details) Sheet http://www.mecinc.com/role/DisclosureRevenueRecognitionScheduleOfChangesInContractAssetsAndLiabilitiesDetails Revenue Recognition - Schedule of changes in contract assets and liabilities (Details) Details 62 false false R63.htm 99941502 - Disclosure - Revenue Recognition - Schedule of disaggregation of revenue by product category (Details) Sheet http://www.mecinc.com/role/DisclosureRevenueRecognitionScheduleOfDisaggregationOfRevenueByProductCategoryDetails Revenue Recognition - Schedule of disaggregation of revenue by product category (Details) Details 63 false false R64.htm 99941503 - Disclosure - Revenue Recognition - Schedule of disaggregation of revenue by end market (Details) Sheet http://www.mecinc.com/role/DisclosureRevenueRecognitionScheduleOfDisaggregationOfRevenueByEndMarketDetails Revenue Recognition - Schedule of disaggregation of revenue by end market (Details) Details 64 false false R65.htm 99941601 - Disclosure - Concentration of major customers - Schedule of major customer concentrations (Details) Sheet http://www.mecinc.com/role/DisclosureConcentrationOfMajorCustomersScheduleOfMajorCustomerConcentrationsDetails Concentration of major customers - Schedule of major customer concentrations (Details) Details 65 false false R66.htm 99941701 - Disclosure - Stock-based compensation - Additional information (Details) Sheet http://www.mecinc.com/role/DisclosureStockBasedCompensationAdditionalInformationDetails Stock-based compensation - Additional information (Details) Details 66 false false R67.htm 99941801 - Disclosure - Common Equity (Details) Sheet http://www.mecinc.com/role/DisclosureCommonEquityDetails Common Equity (Details) Details http://www.mecinc.com/role/DisclosureCommonEquityTables 67 false false R68.htm 99941802 - Disclosure - Common Equity - Changes in outstanding common shares (Details) Sheet http://www.mecinc.com/role/DisclosureCommonEquityChangesInOutstandingCommonSharesDetails Common Equity - Changes in outstanding common shares (Details) Details 68 false false R69.htm 99941901 - Disclosure - Restructuring - Additional information (Details) Sheet http://www.mecinc.com/role/DisclosureRestructuringAdditionalInformationDetails Restructuring - Additional information (Details) Details 69 false false R70.htm 99941902 - Disclosure - Restructuring - Restructuring charges (Details) Sheet http://www.mecinc.com/role/DisclosureRestructuringRestructuringChargesDetails Restructuring - Restructuring charges (Details) Details 70 false false All Reports Book All Reports tmb-20260331.xsd tmb-20260331_cal.xml tmb-20260331_def.xml tmb-20260331_lab.xml tmb-20260331_pre.xml tmb-20260331x10q.htm http://fasb.org/srt/2025 http://fasb.org/us-gaap/2025 http://xbrl.sec.gov/dei/2025 http://xbrl.sec.gov/ecd/2025 true true JSON 87 MetaLinks.json IDEA: XBRL DOCUMENT { "version": "2.2", "instance": { "tmb-20260331x10q.htm": { "nsprefix": "mec", "nsuri": "http://www.mecinc.com/20260331", "dts": { "schema": { "local": [ "tmb-20260331.xsd" ], "remote": [ "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd", "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd", "http://www.xbrl.org/2003/xl-2003-12-31.xsd", "http://www.xbrl.org/2003/xlink-2003-12-31.xsd", "http://www.xbrl.org/2005/xbrldt-2005.xsd", "http://www.xbrl.org/2006/ref-2006-02-27.xsd", "http://www.xbrl.org/lrr/arcrole/esma-arcrole-2018-11-21.xsd", "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd", "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd", "https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd", "https://www.xbrl.org/2023/calculation-1.1.xsd", "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd", "https://www.xbrl.org/dtr/type/2024-01-31/types.xsd", "https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd", "https://xbrl.fasb.org/srt/2025/elts/srt-roles-2025.xsd", "https://xbrl.fasb.org/srt/2025/elts/srt-types-2025.xsd", "https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd", "https://xbrl.fasb.org/us-gaap/2025/elts/us-roles-2025.xsd", "https://xbrl.fasb.org/us-gaap/2025/elts/us-types-2025.xsd", "https://xbrl.sec.gov/country/2025/country-2025.xsd", "https://xbrl.sec.gov/dei/2025/dei-2025.xsd", "https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd", "https://xbrl.sec.gov/ecd/2025/ecd-sub-2025.xsd", "https://xbrl.sec.gov/stpr/2025/stpr-2025.xsd" ] }, "calculationLink": { "local": [ "tmb-20260331_cal.xml" ] }, "definitionLink": { "local": [ "tmb-20260331_def.xml" ] }, "labelLink": { "local": [ "tmb-20260331_lab.xml" ] }, "presentationLink": { "local": [ "tmb-20260331_pre.xml" ] }, "inline": { "local": [ "tmb-20260331x10q.htm" ] } }, "keyStandard": 248, "keyCustom": 50, "axisStandard": 25, "axisCustom": 0, "memberStandard": 33, "memberCustom": 33, "hidden": { "total": 13, "http://xbrl.sec.gov/dei/2025": 5, "http://fasb.org/us-gaap/2025": 8 }, "contextCount": 184, "entityCount": 1, "segmentCount": 66, "elementCount": 577, "unitCount": 7, "baseTaxonomies": { "http://fasb.org/us-gaap/2025": 549, "http://xbrl.sec.gov/dei/2025": 29, "http://xbrl.sec.gov/ecd/2025": 4, "http://fasb.org/srt/2025": 1 }, "report": { "R1": { "role": "http://www.mecinc.com/role/DocumentDocumentAndEntityInformation", "longName": "995200090 - Document - Document and Entity Information", "shortName": "Document and Entity Information", "isDefault": "true", "groupType": "document", "subGroupType": "", "menuCat": "Cover", "order": "1", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "dei:DocumentType", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "p", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "dei:DocumentType", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "p", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R2": { "role": "http://www.mecinc.com/role/StatementCondensedConsolidatedBalanceSheets", "longName": "995200100 - Statement - Condensed Consolidated Balance Sheets", "shortName": "Condensed Consolidated Balance Sheets", "isDefault": "false", "groupType": "statement", "subGroupType": "", "menuCat": "Statements", "order": "2", "firstAnchor": { "contextRef": "As_Of_3_31_2026_N_eVyL4RBUyj88YQ2gRiTw", "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "td", "tr", "table", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "As_Of_3_31_2026_N_eVyL4RBUyj88YQ2gRiTw", "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "td", "tr", "table", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R3": { "role": "http://www.mecinc.com/role/StatementCondensedConsolidatedBalanceSheetsParenthetical", "longName": "995200105 - Statement - Condensed Consolidated Balance Sheets (Parenthetical)", "shortName": "Condensed Consolidated Balance Sheets (Parenthetical)", "isDefault": "false", "groupType": "statement", "subGroupType": "parenthetical", "menuCat": "Statements", "order": "3", "firstAnchor": { "contextRef": "As_Of_3_31_2026_N_eVyL4RBUyj88YQ2gRiTw", "name": "us-gaap:AllowanceForDoubtfulAccountsReceivable", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "td", "tr", "table", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "As_Of_3_31_2026_N_eVyL4RBUyj88YQ2gRiTw", "name": "us-gaap:AllowanceForDoubtfulAccountsReceivable", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "td", "tr", "table", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R4": { "role": "http://www.mecinc.com/role/StatementCondensedConsolidatedStatementsOfComprehensiveIncomeLoss", "longName": "995200200 - Statement - Condensed Consolidated Statements of Comprehensive Income (Loss)", "shortName": "Condensed Consolidated Statements of Comprehensive Income (Loss)", "isDefault": "false", "groupType": "statement", "subGroupType": "", "menuCat": "Statements", "order": "4", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "td", "tr", "table", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:CostOfRevenue", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "td", "tr", "table", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "unique": true } }, "R5": { "role": "http://www.mecinc.com/role/StatementCondensedConsolidatedStatementsOfCashFlows", "longName": "995200300 - Statement - Condensed Consolidated Statements of Cash Flows", "shortName": "Condensed Consolidated Statements of Cash Flows", "isDefault": "false", "groupType": "statement", "subGroupType": "", "menuCat": "Statements", "order": "5", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:ProfitLoss", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "td", "tr", "table", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:ProfitLoss", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "td", "tr", "table", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R6": { "role": "http://www.mecinc.com/role/StatementCondensedConsolidatedStatementsOfShareholdersEquity", "longName": "995200400 - Statement - Condensed Consolidated Statements of Shareholders' Equity", "shortName": "Condensed Consolidated Statements of Shareholders' Equity", "isDefault": "false", "groupType": "statement", "subGroupType": "", "menuCat": "Statements", "order": "6", "firstAnchor": { "contextRef": "As_Of_12_31_2024_us-gaap_StatementEquityComponentsAxis_us-gaap_AdditionalPaidInCapitalMember_cfxmNb_kME6GWPjhml235A", "name": "us-gaap:StockholdersEquity", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "td", "tr", "table", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "As_Of_12_31_2024_us-gaap_StatementEquityComponentsAxis_us-gaap_AdditionalPaidInCapitalMember_cfxmNb_kME6GWPjhml235A", "name": "us-gaap:StockholdersEquity", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "td", "tr", "table", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R7": { "role": "http://www.mecinc.com/role/DisclosureBasisOfPresentation", "longName": "995210101 - Disclosure - Basis of presentation", "shortName": "Basis of presentation", "isDefault": "false", "groupType": "disclosure", "subGroupType": "", "menuCat": "Notes", "order": "7", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:BusinessDescriptionAndAccountingPoliciesTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:BusinessDescriptionAndAccountingPoliciesTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R8": { "role": "http://www.mecinc.com/role/DisclosureAcquisition", "longName": "995210201 - Disclosure - Acquisition", "shortName": "Acquisition", "isDefault": "false", "groupType": "disclosure", "subGroupType": "", "menuCat": "Notes", "order": "8", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:BusinessCombinationDisclosureTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:BusinessCombinationDisclosureTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R9": { "role": "http://www.mecinc.com/role/DisclosureSelectBalanceSheetData", "longName": "995210301 - Disclosure - Select balance sheet data", "shortName": "Select balance sheet data", "isDefault": "false", "groupType": "disclosure", "subGroupType": "", "menuCat": "Notes", "order": "9", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:SupplementalBalanceSheetDisclosuresTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:SupplementalBalanceSheetDisclosuresTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R10": { "role": "http://www.mecinc.com/role/DisclosureDebt", "longName": "995210401 - Disclosure - Debt", "shortName": "Debt", "isDefault": "false", "groupType": "disclosure", "subGroupType": "", "menuCat": "Notes", "order": "10", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:DebtDisclosureTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:DebtDisclosureTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R11": { "role": "http://www.mecinc.com/role/DisclosureLeases", "longName": "995210501 - Disclosure - Leases", "shortName": "Leases", "isDefault": "false", "groupType": "disclosure", "subGroupType": "", "menuCat": "Notes", "order": "11", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "mec:LeaseDisclosureTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "mec:LeaseDisclosureTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R12": { "role": "http://www.mecinc.com/role/DisclosureEmployeeStockOwnershipPlan", "longName": "995210601 - Disclosure - Employee stock ownership plan", "shortName": "Employee stock ownership plan", "isDefault": "false", "groupType": "disclosure", "subGroupType": "", "menuCat": "Notes", "order": "12", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "mec:EmployeeStockOwnershipPlanDisclosureTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "mec:EmployeeStockOwnershipPlanDisclosureTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R13": { "role": "http://www.mecinc.com/role/DisclosureRetirementPlans", "longName": "995210701 - Disclosure - Retirement plans", "shortName": "Retirement plans", "isDefault": "false", "groupType": "disclosure", "subGroupType": "", "menuCat": "Notes", "order": "13", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:PensionAndOtherPostretirementBenefitsDisclosureTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:PensionAndOtherPostretirementBenefitsDisclosureTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R14": { "role": "http://www.mecinc.com/role/DisclosureIncomeTaxes", "longName": "995210801 - Disclosure - Income taxes", "shortName": "Income taxes", "isDefault": "false", "groupType": "disclosure", "subGroupType": "", "menuCat": "Notes", "order": "14", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:IncomeTaxDisclosureTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:IncomeTaxDisclosureTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R15": { "role": "http://www.mecinc.com/role/DisclosureCommitmentsAndContingencies", "longName": "995210901 - Disclosure - Commitments and contingencies", "shortName": "Commitments and contingencies", "isDefault": "false", "groupType": "disclosure", "subGroupType": "", "menuCat": "Notes", "order": "15", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:LossContingencyDisclosures", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:LossContingencyDisclosures", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R16": { "role": "http://www.mecinc.com/role/DisclosureDeferredCompensation", "longName": "995211001 - Disclosure - Deferred compensation", "shortName": "Deferred compensation", "isDefault": "false", "groupType": "disclosure", "subGroupType": "", "menuCat": "Notes", "order": "16", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:CompensationRelatedCostsGeneralTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:CompensationRelatedCostsGeneralTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R17": { "role": "http://www.mecinc.com/role/DisclosureSelfFundedInsurance", "longName": "995211101 - Disclosure - Self-Funded insurance", "shortName": "Self-Funded insurance", "isDefault": "false", "groupType": "disclosure", "subGroupType": "", "menuCat": "Notes", "order": "17", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "mec:SelfFundedMedicalInsurancePlanTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "mec:SelfFundedMedicalInsurancePlanTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R18": { "role": "http://www.mecinc.com/role/DisclosureSegments", "longName": "995211201 - Disclosure - Segments", "shortName": "Segments", "isDefault": "false", "groupType": "disclosure", "subGroupType": "", "menuCat": "Notes", "order": "18", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:SegmentReportingDisclosureTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:SegmentReportingDisclosureTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R19": { "role": "http://www.mecinc.com/role/DisclosureFairValueOfFinancialInstruments", "longName": "995211301 - Disclosure - Fair value of financial instruments", "shortName": "Fair value of financial instruments", "isDefault": "false", "groupType": "disclosure", "subGroupType": "", "menuCat": "Notes", "order": "19", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:FairValueDisclosuresTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:FairValueDisclosuresTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R20": { "role": "http://www.mecinc.com/role/DisclosureEarningsPerShare", "longName": "995211401 - Disclosure - Earnings Per Share", "shortName": "Earnings Per Share", "isDefault": "false", "groupType": "disclosure", "subGroupType": "", "menuCat": "Notes", "order": "20", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:EarningsPerShareTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:EarningsPerShareTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R21": { "role": "http://www.mecinc.com/role/DisclosureRevenueRecognition", "longName": "995211501 - Disclosure - Revenue Recognition", "shortName": "Revenue Recognition", "isDefault": "false", "groupType": "disclosure", "subGroupType": "", "menuCat": "Notes", "order": "21", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:RevenueFromContractWithCustomerTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:RevenueFromContractWithCustomerTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R22": { "role": "http://www.mecinc.com/role/DisclosureConcentrationOfMajorCustomers", "longName": "995211601 - Disclosure - Concentration of major customers", "shortName": "Concentration of major customers", "isDefault": "false", "groupType": "disclosure", "subGroupType": "", "menuCat": "Notes", "order": "22", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:ConcentrationRiskDisclosureTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:ConcentrationRiskDisclosureTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R23": { "role": "http://www.mecinc.com/role/DisclosureStockBasedCompensation", "longName": "995211701 - Disclosure - Stock-based compensation", "shortName": "Stock-based compensation", "isDefault": "false", "groupType": "disclosure", "subGroupType": "", "menuCat": "Notes", "order": "23", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R24": { "role": "http://www.mecinc.com/role/DisclosureCommonEquity", "longName": "995211801 - Disclosure - Common Equity", "shortName": "Common Equity", "isDefault": "false", "groupType": "disclosure", "subGroupType": "", "menuCat": "Notes", "order": "24", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R25": { "role": "http://www.mecinc.com/role/DisclosureRestructuring", "longName": "995211901 - Disclosure - Restructuring", "shortName": "Restructuring", "isDefault": "false", "groupType": "disclosure", "subGroupType": "", "menuCat": "Notes", "order": "25", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:RestructuringAndRelatedActivitiesDisclosureTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:RestructuringAndRelatedActivitiesDisclosureTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R26": { "role": "http://xbrl.sec.gov/ecd/role/PvpDisclosure", "longName": "995410 - Disclosure - Pay vs Performance Disclosure", "shortName": "Pay vs Performance Disclosure", "isDefault": "false", "groupType": "disclosure", "subGroupType": "", "menuCat": "Notes", "order": "26", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:NetIncomeLoss", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "td", "tr", "table", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true }, "uniqueAnchor": null }, "R27": { "role": "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements", "longName": "995445 - Disclosure - Insider Trading Arrangements", "shortName": "Insider Trading Arrangements", "isDefault": "false", "groupType": "disclosure", "subGroupType": "", "menuCat": "Notes", "order": "27", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "ecd:Rule10b51ArrAdoptedFlag", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "p", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "ecd:Rule10b51ArrAdoptedFlag", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "p", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R28": { "role": "http://www.mecinc.com/role/DisclosureBasisOfPresentationPolicies", "longName": "99920102 - Disclosure - Basis of presentation (Policies)", "shortName": "Basis of presentation (Policies)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "policies", "menuCat": "Policies", "order": "28", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "p", "us-gaap:BusinessDescriptionAndAccountingPoliciesTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "p", "us-gaap:BusinessDescriptionAndAccountingPoliciesTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R29": { "role": "http://www.mecinc.com/role/DisclosureAcquisitionTables", "longName": "99930203 - Disclosure - Acquisition (Tables)", "shortName": "Acquisition (Tables)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "tables", "menuCat": "Tables", "order": "29", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:BusinessAcquisitionProFormaInformationTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "ix:continuation", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:BusinessAcquisitionProFormaInformationTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "ix:continuation", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R30": { "role": "http://www.mecinc.com/role/DisclosureSelectBalanceSheetDataTables", "longName": "99930303 - Disclosure - Select balance sheet data (Tables)", "shortName": "Select balance sheet data (Tables)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "tables", "menuCat": "Tables", "order": "30", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:ScheduleOfInventoryCurrentTableTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "us-gaap:SupplementalBalanceSheetDisclosuresTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:ScheduleOfInventoryCurrentTableTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "us-gaap:SupplementalBalanceSheetDisclosuresTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R31": { "role": "http://www.mecinc.com/role/DisclosureLeasesTables", "longName": "99930503 - Disclosure - Leases (Tables)", "shortName": "Leases (Tables)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "tables", "menuCat": "Tables", "order": "31", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:LeaseCostTableTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "mec:LeaseDisclosureTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:LeaseCostTableTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "mec:LeaseDisclosureTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R32": { "role": "http://www.mecinc.com/role/DisclosureFairValueOfFinancialInstrumentsTables", "longName": "99931303 - Disclosure - Fair value of financial instruments (Tables)", "shortName": "Fair value of financial instruments (Tables)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "tables", "menuCat": "Tables", "order": "32", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "us-gaap:FairValueDisclosuresTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "us-gaap:FairValueDisclosuresTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R33": { "role": "http://www.mecinc.com/role/DisclosureEarningsPerShareTables", "longName": "99931403 - Disclosure - Earnings Per Share (Tables)", "shortName": "Earnings Per Share (Tables)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "tables", "menuCat": "Tables", "order": "33", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "us-gaap:EarningsPerShareTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "us-gaap:EarningsPerShareTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R34": { "role": "http://www.mecinc.com/role/DisclosureRevenueRecognitionTables", "longName": "99931503 - Disclosure - Revenue Recognition (Tables)", "shortName": "Revenue Recognition (Tables)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "tables", "menuCat": "Tables", "order": "34", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:ContractWithCustomerAssetAndLiabilityTableTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "ix:continuation", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:ContractWithCustomerAssetAndLiabilityTableTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "ix:continuation", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R35": { "role": "http://www.mecinc.com/role/DisclosureConcentrationOfMajorCustomersTables", "longName": "99931603 - Disclosure - Concentration of major customers (Tables)", "shortName": "Concentration of major customers (Tables)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "tables", "menuCat": "Tables", "order": "35", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:SchedulesOfConcentrationOfRiskByRiskFactorTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "us-gaap:ConcentrationRiskDisclosureTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:SchedulesOfConcentrationOfRiskByRiskFactorTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "us-gaap:ConcentrationRiskDisclosureTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R36": { "role": "http://www.mecinc.com/role/DisclosureCommonEquityTables", "longName": "99931803 - Disclosure - Common Equity (Tables)", "shortName": "Common Equity (Tables)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "tables", "menuCat": "Tables", "order": "36", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:ScheduleOfCommonStockOutstandingRollForwardTableTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "us-gaap:StockholdersEquityNoteDisclosureTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:ScheduleOfCommonStockOutstandingRollForwardTableTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "us-gaap:StockholdersEquityNoteDisclosureTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R37": { "role": "http://www.mecinc.com/role/DisclosureRestructuringTables", "longName": "99931903 - Disclosure - Restructuring (Tables)", "shortName": "Restructuring (Tables)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "tables", "menuCat": "Tables", "order": "37", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:ScheduleOfRestructuringAndRelatedCostsTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "ix:continuation", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:ScheduleOfRestructuringAndRelatedCostsTextBlock", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "ix:continuation", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R38": { "role": "http://www.mecinc.com/role/DisclosureBasisOfPresentationDetails", "longName": "99940101 - Disclosure - Basis of presentation (Details)", "shortName": "Basis of presentation (Details)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "details", "menuCat": "Details", "order": "38", "firstAnchor": { "contextRef": "Duration_8_5_2025_To_8_5_2025_wNoqr7srqUiWjAsvDd-gZA", "name": "mec:NumberOfFacilities", "unitRef": "Unit_Standard_facility_t2KfoiOMxkq05KyG_Ozcfg", "xsiNil": "false", "lang": null, "decimals": "INF", "ancestors": [ "p", "us-gaap:RestructuringAndRelatedActivitiesDisclosureTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "mec:NumberOfFacilitiesInOperation", "unitRef": "Unit_Standard_facility_t2KfoiOMxkq05KyG_Ozcfg", "xsiNil": "false", "lang": null, "decimals": "INF", "ancestors": [ "p", "mec:NatureOfOperationsPolicyTextBlock", "us-gaap:BusinessDescriptionAndAccountingPoliciesTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "unique": true } }, "R39": { "role": "http://www.mecinc.com/role/DisclosureAcquisitionDetails", "longName": "99940201 - Disclosure - Acquisition (Details)", "shortName": "Acquisition (Details)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "details", "menuCat": "Details", "order": "39", "firstAnchor": { "contextRef": "As_Of_7_1_2025_us-gaap_BusinessAcquisitionAxis_mec_AccuFabMember_eUNYgF0OV0KBXjmw3hKLwQ", "name": "us-gaap:BusinessAcquisitionPercentageOfVotingInterestsAcquired", "unitRef": "Unit_Standard_pure_oxZkAJH34U-7F3FNGuCf3A", "xsiNil": "false", "lang": null, "decimals": "2", "ancestors": [ "p", "us-gaap:BusinessCombinationDisclosureTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "As_Of_7_1_2025_us-gaap_BusinessAcquisitionAxis_mec_AccuFabMember_eUNYgF0OV0KBXjmw3hKLwQ", "name": "us-gaap:BusinessAcquisitionPercentageOfVotingInterestsAcquired", "unitRef": "Unit_Standard_pure_oxZkAJH34U-7F3FNGuCf3A", "xsiNil": "false", "lang": null, "decimals": "2", "ancestors": [ "p", "us-gaap:BusinessCombinationDisclosureTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R40": { "role": "http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails", "longName": "99940202 - Disclosure - Acquisition - Assets acquired, liabilities assumed (Details)", "shortName": "Acquisition - Assets acquired, liabilities assumed (Details)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "details", "menuCat": "Details", "order": "40", "firstAnchor": { "contextRef": "As_Of_3_31_2026_N_eVyL4RBUyj88YQ2gRiTw", "name": "us-gaap:Goodwill", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "td", "tr", "table", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true }, "uniqueAnchor": { "contextRef": "As_Of_3_31_2026_us-gaap_BusinessAcquisitionAxis_mec_AccuFabMember_liuSigi-IkCTZZlFDNCTDw", "name": "us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "td", "tr", "table", "us-gaap:ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock", "ix:continuation", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "unique": true } }, "R41": { "role": "http://www.mecinc.com/role/DisclosureAcquisitionProFormaFinancialInformationDetails", "longName": "99940203 - Disclosure - Acquisition - Pro Forma Financial Information (Details)", "shortName": "Acquisition - Pro Forma Financial Information (Details)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "details", "menuCat": "Details", "order": "41", "firstAnchor": { "contextRef": "Duration_1_1_2025_To_3_31_2025_us-gaap_BusinessAcquisitionAxis_mec_AccuFabMember_kPUKqpvGGUm_1nLZnj10KA", "name": "us-gaap:BusinessAcquisitionsProFormaRevenue", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "td", "tr", "table", "us-gaap:BusinessAcquisitionProFormaInformationTextBlock", "ix:continuation", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2025_To_3_31_2025_us-gaap_BusinessAcquisitionAxis_mec_AccuFabMember_kPUKqpvGGUm_1nLZnj10KA", "name": "us-gaap:BusinessAcquisitionsProFormaRevenue", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "td", "tr", "table", "us-gaap:BusinessAcquisitionProFormaInformationTextBlock", "ix:continuation", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R42": { "role": "http://www.mecinc.com/role/DisclosureSelectBalanceSheetDataScheduleOfInventoriesDetails", "longName": "99940301 - Disclosure - Select balance sheet data - Schedule of Inventories (Details)", "shortName": "Select balance sheet data - Schedule of Inventories (Details)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "details", "menuCat": "Details", "order": "42", "firstAnchor": { "contextRef": "As_Of_3_31_2026_N_eVyL4RBUyj88YQ2gRiTw", "name": "us-gaap:InventoryFinishedGoodsNetOfReserves", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "td", "tr", "table", "us-gaap:ScheduleOfInventoryCurrentTableTextBlock", "us-gaap:SupplementalBalanceSheetDisclosuresTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "As_Of_3_31_2026_N_eVyL4RBUyj88YQ2gRiTw", "name": "us-gaap:InventoryFinishedGoodsNetOfReserves", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "td", "tr", "table", "us-gaap:ScheduleOfInventoryCurrentTableTextBlock", "us-gaap:SupplementalBalanceSheetDisclosuresTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R43": { "role": "http://www.mecinc.com/role/DisclosureSelectBalanceSheetDataScheduleOfPropertyPlantAndEquipmentDetails", "longName": "99940302 - Disclosure - Select balance sheet data - Schedule of Property, Plant and Equipment (Details)", "shortName": "Select balance sheet data - Schedule of Property, Plant and Equipment (Details)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "details", "menuCat": "Details", "order": "43", "firstAnchor": { "contextRef": "As_Of_3_31_2026_N_eVyL4RBUyj88YQ2gRiTw", "name": "us-gaap:PropertyPlantAndEquipmentGross", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "td", "tr", "table", "us-gaap:PropertyPlantAndEquipmentTextBlock", "us-gaap:SupplementalBalanceSheetDisclosuresTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "As_Of_3_31_2026_N_eVyL4RBUyj88YQ2gRiTw", "name": "us-gaap:PropertyPlantAndEquipmentGross", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "td", "tr", "table", "us-gaap:PropertyPlantAndEquipmentTextBlock", "us-gaap:SupplementalBalanceSheetDisclosuresTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R44": { "role": "http://www.mecinc.com/role/DisclosureSelectBalanceSheetDataAdditionalInformationDetails", "longName": "99940303 - Disclosure - Select balance sheet data - Additional Information (Details)", "shortName": "Select balance sheet data - Additional Information (Details)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "details", "menuCat": "Details", "order": "44", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:Depreciation", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "td", "tr", "table", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:ImpairmentOfLongLivedAssetsHeldForUse", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "span", "p", "us-gaap:SupplementalBalanceSheetDisclosuresTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "unique": true } }, "R45": { "role": "http://www.mecinc.com/role/DisclosureSelectBalanceSheetDataGoodwillDetails", "longName": "99940304 - Disclosure - Select balance sheet data - Goodwill (Details)", "shortName": "Select balance sheet data - Goodwill (Details)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "details", "menuCat": "Details", "order": "45", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:GoodwillPeriodIncreaseDecrease", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "us-gaap:SupplementalBalanceSheetDisclosuresTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:GoodwillPeriodIncreaseDecrease", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "us-gaap:SupplementalBalanceSheetDisclosuresTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R46": { "role": "http://www.mecinc.com/role/DisclosureSelectBalanceSheetDataScheduleOfListingOfIntangibleAssetsDetails", "longName": "99940305 - Disclosure - Select balance sheet data - Schedule of Listing of Intangible Assets (Details)", "shortName": "Select balance sheet data - Schedule of Listing of Intangible Assets (Details)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "details", "menuCat": "Details", "order": "46", "firstAnchor": { "contextRef": "As_Of_3_31_2026_N_eVyL4RBUyj88YQ2gRiTw", "name": "us-gaap:FiniteLivedIntangibleAssetsGross", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "td", "tr", "table", "us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock", "ix:continuation", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "As_Of_3_31_2026_N_eVyL4RBUyj88YQ2gRiTw", "name": "us-gaap:FiniteLivedIntangibleAssetsGross", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "td", "tr", "table", "us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock", "ix:continuation", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R47": { "role": "http://www.mecinc.com/role/DisclosureSelectBalanceSheetDataAmortizationExpenseDetails", "longName": "99940306 - Disclosure - Select balance sheet data - Amortization Expense (Details)", "shortName": "Select balance sheet data - Amortization Expense (Details)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "details", "menuCat": "Details", "order": "47", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:AmortizationOfIntangibleAssets", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "td", "tr", "table", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true }, "uniqueAnchor": null }, "R48": { "role": "http://www.mecinc.com/role/DisclosureSelectBalanceSheetDataScheduleOfFutureAmortizationExpenseDetails", "longName": "99940307 - Disclosure - Select balance sheet data - Schedule of Future Amortization Expense (Details)", "shortName": "Select balance sheet data - Schedule of Future Amortization Expense (Details)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "details", "menuCat": "Details", "order": "48", "firstAnchor": { "contextRef": "As_Of_3_31_2026_N_eVyL4RBUyj88YQ2gRiTw", "name": "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "td", "tr", "table", "us-gaap:ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock", "ix:continuation", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "As_Of_3_31_2026_N_eVyL4RBUyj88YQ2gRiTw", "name": "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "td", "tr", "table", "us-gaap:ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock", "ix:continuation", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R49": { "role": "http://www.mecinc.com/role/DisclosureDebtCreditAgreementsDetails", "longName": "99940401 - Disclosure - Debt - Credit Agreements (Details)", "shortName": "Debt - Credit Agreements (Details)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "details", "menuCat": "Details", "order": "49", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:GainsLossesOnExtinguishmentOfDebt", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "td", "tr", "table", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_us-gaap_DebtInstrumentAxis_mec_AmendedAndRestatedCreditAgreementMember_rxX0RgSuh0mKaHVgutfP0w", "name": "mec:InterestCoverageRatios", "unitRef": "Unit_Standard_pure_oxZkAJH34U-7F3FNGuCf3A", "xsiNil": "false", "lang": null, "decimals": "4", "ancestors": [ "p", "ix:continuation", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "unique": true } }, "R50": { "role": "http://www.mecinc.com/role/DisclosureDebtOtherDebtDetails", "longName": "99940402 - Disclosure - Debt - Other Debt (Details)", "shortName": "Debt - Other Debt (Details)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "details", "menuCat": "Details", "order": "50", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_us-gaap_BusinessAcquisitionAxis_mec_MidStatesAluminumMember_us-gaap_DebtInstrumentAxis_mec_FondDuLacCountyAndFondDuLacEconomicDevelopmentCorporationTermNoteMember_XDoYd47i1UebUcQalZBjzw", "name": "us-gaap:DebtInstrumentPeriodicPayment", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "ix:continuation", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_us-gaap_BusinessAcquisitionAxis_mec_MidStatesAluminumMember_us-gaap_DebtInstrumentAxis_mec_FondDuLacCountyAndFondDuLacEconomicDevelopmentCorporationTermNoteMember_XDoYd47i1UebUcQalZBjzw", "name": "us-gaap:DebtInstrumentPeriodicPayment", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "ix:continuation", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R51": { "role": "http://www.mecinc.com/role/DisclosureLeasesComponentsOfLeaseExpenseDetails", "longName": "99940501 - Disclosure - Leases - Components of lease expense (Details)", "shortName": "Leases - Components of lease expense (Details)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "details", "menuCat": "Details", "order": "51", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:FinanceLeaseRightOfUseAssetAmortization", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "td", "tr", "table", "us-gaap:LeaseCostTableTextBlock", "mec:LeaseDisclosureTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:FinanceLeaseRightOfUseAssetAmortization", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "td", "tr", "table", "us-gaap:LeaseCostTableTextBlock", "mec:LeaseDisclosureTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R52": { "role": "http://www.mecinc.com/role/DisclosureLeasesSupplementalCashFlowInformationDetails", "longName": "99940502 - Disclosure - Leases - Supplemental cash flow information (Details)", "shortName": "Leases - Supplemental cash flow information (Details)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "details", "menuCat": "Details", "order": "52", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:FinanceLeaseInterestPaymentOnLiability", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "td", "tr", "table", "mec:LesseeSupplementalCashFlowInformationTableTextBlock", "mec:LeaseDisclosureTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:FinanceLeaseInterestPaymentOnLiability", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "td", "tr", "table", "mec:LesseeSupplementalCashFlowInformationTableTextBlock", "mec:LeaseDisclosureTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R53": { "role": "http://www.mecinc.com/role/DisclosureEmployeeStockOwnershipPlanAdditionalInformationDetails", "longName": "99940601 - Disclosure - Employee stock ownership plan - Additional Information (Details)", "shortName": "Employee stock ownership plan - Additional Information (Details)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "details", "menuCat": "Details", "order": "53", "firstAnchor": { "contextRef": "Duration_1_1_2024_To_12_31_2024_dTVFGQe99UeMrgiZgvj44g", "name": "mec:EmployeeStockOwnershipPlanEsopDistributionPeriod", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "p", "mec:EmployeeStockOwnershipPlanDisclosureTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2024_To_12_31_2024_dTVFGQe99UeMrgiZgvj44g", "name": "mec:EmployeeStockOwnershipPlanEsopDistributionPeriod", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "p", "mec:EmployeeStockOwnershipPlanDisclosureTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R54": { "role": "http://www.mecinc.com/role/DisclosureRetirementPlansAdditionalInformationDetails", "longName": "99940701 - Disclosure - Retirement plans - Additional Information (Details)", "shortName": "Retirement plans - Additional Information (Details)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "details", "menuCat": "Details", "order": "54", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:DefinedContributionPlanMaximumAnnualContributionsPerEmployeePercent", "unitRef": "Unit_Standard_pure_oxZkAJH34U-7F3FNGuCf3A", "xsiNil": "false", "lang": null, "decimals": "2", "ancestors": [ "p", "us-gaap:PensionAndOtherPostretirementBenefitsDisclosureTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:DefinedContributionPlanMaximumAnnualContributionsPerEmployeePercent", "unitRef": "Unit_Standard_pure_oxZkAJH34U-7F3FNGuCf3A", "xsiNil": "false", "lang": null, "decimals": "2", "ancestors": [ "p", "us-gaap:PensionAndOtherPostretirementBenefitsDisclosureTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R55": { "role": "http://www.mecinc.com/role/DisclosureIncomeTaxesAdditionalInformationDetails", "longName": "99940801 - Disclosure - Income taxes - Additional Information (Details)", "shortName": "Income taxes - Additional Information (Details)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "details", "menuCat": "Details", "order": "55", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:IncomeTaxExpenseBenefit", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "td", "tr", "table", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:EffectiveIncomeTaxRateContinuingOperations", "unitRef": "Unit_Standard_pure_oxZkAJH34U-7F3FNGuCf3A", "xsiNil": "false", "lang": null, "decimals": "4", "ancestors": [ "p", "us-gaap:IncomeTaxDisclosureTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "unique": true } }, "R56": { "role": "http://www.mecinc.com/role/DisclosureDeferredCompensationAdditionalInformationDetails", "longName": "99941001 - Disclosure - Deferred compensation - Additional Information (Details)", "shortName": "Deferred compensation - Additional Information (Details)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "details", "menuCat": "Details", "order": "56", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:DeferredCompensationArrangementWithIndividualDescription", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "p", "us-gaap:CompensationRelatedCostsGeneralTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:DeferredCompensationArrangementWithIndividualDescription", "unitRef": null, "xsiNil": "false", "lang": "en-US", "decimals": null, "ancestors": [ "p", "us-gaap:CompensationRelatedCostsGeneralTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R57": { "role": "http://www.mecinc.com/role/DisclosureSelfFundedInsuranceDetails", "longName": "99941101 - Disclosure - Self-Funded insurance (Details)", "shortName": "Self-Funded insurance (Details)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "details", "menuCat": "Details", "order": "57", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "mec:ReinsurancePolicyRetentionToLimitAggregateExpense", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "mec:SelfFundedMedicalInsurancePlanTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "mec:ReinsurancePolicyRetentionToLimitAggregateExpense", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "mec:SelfFundedMedicalInsurancePlanTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R58": { "role": "http://www.mecinc.com/role/DisclosureSegmentsDetails", "longName": "99941201 - Disclosure - Segments (Details)", "shortName": "Segments (Details)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "details", "menuCat": "Details", "order": "58", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:NumberOfOperatingSegments", "unitRef": "Unit_Standard_segment_nw6CiF08fkqh1VfnXeCi5w", "xsiNil": "false", "lang": null, "decimals": "INF", "ancestors": [ "p", "mec:NatureOfOperationsPolicyTextBlock", "us-gaap:BusinessDescriptionAndAccountingPoliciesTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true }, "uniqueAnchor": null }, "R59": { "role": "http://www.mecinc.com/role/DisclosureFairValueOfFinancialInstrumentsAssetsAndLiabilitiesAtFairValueDetails", "longName": "99941301 - Disclosure - Fair value of financial instruments - Assets and Liabilities at Fair Value (Details)", "shortName": "Fair value of financial instruments - Assets and Liabilities at Fair Value (Details)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "details", "menuCat": "Details", "order": "59", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:AssetImpairmentCharges", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "ix:continuation", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true }, "uniqueAnchor": { "contextRef": "As_Of_3_31_2026_us-gaap_FairValueByMeasurementFrequencyAxis_us-gaap_FairValueMeasurementsRecurringMember_XzPVleoJJkOKI-wDlTwbeA", "name": "us-gaap:LiabilitiesFairValueDisclosure", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "td", "tr", "table", "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock", "us-gaap:FairValueDisclosuresTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "unique": true } }, "R60": { "role": "http://www.mecinc.com/role/DisclosureEarningsPerShareDetails", "longName": "99941401 - Disclosure - Earnings Per Share (Details)", "shortName": "Earnings Per Share (Details)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "details", "menuCat": "Details", "order": "60", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:NetIncomeLoss", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "td", "tr", "table", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2025_To_3_31_2025_BPMrJnCWqEGvOmg4b6Dsmw", "name": "us-gaap:IncrementalCommonSharesAttributableToShareBasedPaymentArrangements", "unitRef": "Unit_Standard_shares_3Q1UeyyV1EWzEjqWN6NUkw", "xsiNil": "false", "lang": null, "decimals": "INF", "ancestors": [ "p", "td", "tr", "table", "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock", "us-gaap:EarningsPerShareTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "unique": true } }, "R61": { "role": "http://www.mecinc.com/role/DisclosureEarningsPerShareAntidilutiveSecuritiesDetails", "longName": "99941402 - Disclosure - Earnings Per Share - Antidilutive securities (Details)", "shortName": "Earnings Per Share - Antidilutive securities (Details)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "details", "menuCat": "Details", "order": "61", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount", "unitRef": "Unit_Standard_shares_3Q1UeyyV1EWzEjqWN6NUkw", "xsiNil": "false", "lang": null, "decimals": "INF", "ancestors": [ "p", "us-gaap:EarningsPerShareTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount", "unitRef": "Unit_Standard_shares_3Q1UeyyV1EWzEjqWN6NUkw", "xsiNil": "false", "lang": null, "decimals": "INF", "ancestors": [ "p", "us-gaap:EarningsPerShareTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R62": { "role": "http://www.mecinc.com/role/DisclosureRevenueRecognitionScheduleOfChangesInContractAssetsAndLiabilitiesDetails", "longName": "99941501 - Disclosure - Revenue Recognition - Schedule of changes in contract assets and liabilities (Details)", "shortName": "Revenue Recognition - Schedule of changes in contract assets and liabilities (Details)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "details", "menuCat": "Details", "order": "62", "firstAnchor": { "contextRef": "As_Of_12_31_2025_M56Czm0qA0KDJpBoieWShg", "name": "us-gaap:ContractWithCustomerAssetNetCurrent", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "td", "tr", "table", "us-gaap:ContractWithCustomerAssetAndLiabilityTableTextBlock", "ix:continuation", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "As_Of_12_31_2025_M56Czm0qA0KDJpBoieWShg", "name": "us-gaap:ContractWithCustomerAssetNetCurrent", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "td", "tr", "table", "us-gaap:ContractWithCustomerAssetAndLiabilityTableTextBlock", "ix:continuation", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R63": { "role": "http://www.mecinc.com/role/DisclosureRevenueRecognitionScheduleOfDisaggregationOfRevenueByProductCategoryDetails", "longName": "99941502 - Disclosure - Revenue Recognition - Schedule of disaggregation of revenue by product category (Details)", "shortName": "Revenue Recognition - Schedule of disaggregation of revenue by product category (Details)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "details", "menuCat": "Details", "order": "63", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "td", "tr", "table", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_pvsoNGsih0COwckvjmSsBg", "name": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "td", "tr", "table", "us-gaap:DisaggregationOfRevenueTableTextBlock", "ix:continuation", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "unique": true } }, "R64": { "role": "http://www.mecinc.com/role/DisclosureRevenueRecognitionScheduleOfDisaggregationOfRevenueByEndMarketDetails", "longName": "99941503 - Disclosure - Revenue Recognition - Schedule of disaggregation of revenue by end market (Details)", "shortName": "Revenue Recognition - Schedule of disaggregation of revenue by end market (Details)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "details", "menuCat": "Details", "order": "64", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "td", "tr", "table", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_us-gaap_EquitySecuritiesByIndustryAxis_mec_CommercialVehicleMember_bo1OoAPnhEiaRDTgYIYISA", "name": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "td", "tr", "table", "us-gaap:DisaggregationOfRevenueTableTextBlock", "ix:continuation", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "unique": true } }, "R65": { "role": "http://www.mecinc.com/role/DisclosureConcentrationOfMajorCustomersScheduleOfMajorCustomerConcentrationsDetails", "longName": "99941601 - Disclosure - Concentration of major customers - Schedule of major customer concentrations (Details)", "shortName": "Concentration of major customers - Schedule of major customer concentrations (Details)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "details", "menuCat": "Details", "order": "65", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_srt_MajorCustomersAxis_mec_CustomerAMember_us-gaap_ConcentrationRiskByBenchmarkAxis_us-gaap_SalesRevenueNetMember_us-gaap_ConcentrationRiskByTypeAxis_us-gaap_CustomerConcentrationRiskMember_m6vLy1CY5keUZyvDOLi1cA", "name": "us-gaap:ConcentrationRiskPercentage1", "unitRef": "Unit_Standard_pure_oxZkAJH34U-7F3FNGuCf3A", "xsiNil": "false", "lang": null, "decimals": "3", "ancestors": [ "p", "td", "tr", "table", "us-gaap:SchedulesOfConcentrationOfRiskByRiskFactorTextBlock", "us-gaap:ConcentrationRiskDisclosureTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_srt_MajorCustomersAxis_mec_CustomerAMember_us-gaap_ConcentrationRiskByBenchmarkAxis_us-gaap_SalesRevenueNetMember_us-gaap_ConcentrationRiskByTypeAxis_us-gaap_CustomerConcentrationRiskMember_m6vLy1CY5keUZyvDOLi1cA", "name": "us-gaap:ConcentrationRiskPercentage1", "unitRef": "Unit_Standard_pure_oxZkAJH34U-7F3FNGuCf3A", "xsiNil": "false", "lang": null, "decimals": "3", "ancestors": [ "p", "td", "tr", "table", "us-gaap:SchedulesOfConcentrationOfRiskByRiskFactorTextBlock", "us-gaap:ConcentrationRiskDisclosureTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R66": { "role": "http://www.mecinc.com/role/DisclosureStockBasedCompensationAdditionalInformationDetails", "longName": "99941701 - Disclosure - Stock-based compensation - Additional information (Details)", "shortName": "Stock-based compensation - Additional information (Details)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "details", "menuCat": "Details", "order": "66", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:AllocatedShareBasedCompensationExpense", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:AllocatedShareBasedCompensationExpense", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R67": { "role": "http://www.mecinc.com/role/DisclosureCommonEquityDetails", "longName": "99941801 - Disclosure - Common Equity (Details)", "shortName": "Common Equity (Details)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "details", "menuCat": "Details", "order": "67", "firstAnchor": { "contextRef": "As_Of_3_31_2026_N_eVyL4RBUyj88YQ2gRiTw", "name": "us-gaap:CommonStockSharesAuthorized", "unitRef": "Unit_Standard_shares_3Q1UeyyV1EWzEjqWN6NUkw", "xsiNil": "false", "lang": null, "decimals": "INF", "ancestors": [ "p", "td", "tr", "table", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true }, "uniqueAnchor": null }, "R68": { "role": "http://www.mecinc.com/role/DisclosureCommonEquityChangesInOutstandingCommonSharesDetails", "longName": "99941802 - Disclosure - Common Equity - Changes in outstanding common shares (Details)", "shortName": "Common Equity - Changes in outstanding common shares (Details)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "details", "menuCat": "Details", "order": "68", "firstAnchor": { "contextRef": "As_Of_12_31_2025_M56Czm0qA0KDJpBoieWShg", "name": "us-gaap:CommonStockSharesOutstanding", "unitRef": "Unit_Standard_shares_3Q1UeyyV1EWzEjqWN6NUkw", "xsiNil": "false", "lang": null, "decimals": "INF", "ancestors": [ "p", "td", "tr", "table", "us-gaap:ScheduleOfCommonStockOutstandingRollForwardTableTextBlock", "us-gaap:StockholdersEquityNoteDisclosureTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "As_Of_12_31_2025_M56Czm0qA0KDJpBoieWShg", "name": "us-gaap:CommonStockSharesOutstanding", "unitRef": "Unit_Standard_shares_3Q1UeyyV1EWzEjqWN6NUkw", "xsiNil": "false", "lang": null, "decimals": "INF", "ancestors": [ "p", "td", "tr", "table", "us-gaap:ScheduleOfCommonStockOutstandingRollForwardTableTextBlock", "us-gaap:StockholdersEquityNoteDisclosureTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R69": { "role": "http://www.mecinc.com/role/DisclosureRestructuringAdditionalInformationDetails", "longName": "99941901 - Disclosure - Restructuring - Additional information (Details)", "shortName": "Restructuring - Additional information (Details)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "details", "menuCat": "Details", "order": "69", "firstAnchor": { "contextRef": "Duration_8_5_2025_To_8_5_2025_wNoqr7srqUiWjAsvDd-gZA", "name": "mec:NumberOfWarehouses", "unitRef": "Unit_Standard_warehouse_5PtdQUpVVkaf93D8Q1SSuQ", "xsiNil": "false", "lang": null, "decimals": "INF", "ancestors": [ "p", "us-gaap:RestructuringAndRelatedActivitiesDisclosureTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true }, "uniqueAnchor": { "contextRef": "Duration_8_5_2025_To_8_5_2025_wNoqr7srqUiWjAsvDd-gZA", "name": "mec:NumberOfWarehouses", "unitRef": "Unit_Standard_warehouse_5PtdQUpVVkaf93D8Q1SSuQ", "xsiNil": "false", "lang": null, "decimals": "INF", "ancestors": [ "p", "us-gaap:RestructuringAndRelatedActivitiesDisclosureTextBlock", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true, "unique": true } }, "R70": { "role": "http://www.mecinc.com/role/DisclosureRestructuringRestructuringChargesDetails", "longName": "99941902 - Disclosure - Restructuring - Restructuring charges (Details)", "shortName": "Restructuring - Restructuring charges (Details)", "isDefault": "false", "groupType": "disclosure", "subGroupType": "details", "menuCat": "Details", "order": "70", "firstAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_RJitCQt3MkuwK3JGOIJ3Yg", "name": "us-gaap:AssetImpairmentCharges", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "ix:continuation", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "first": true }, "uniqueAnchor": { "contextRef": "Duration_1_1_2026_To_3_31_2026_us-gaap_RestructuringCostAndReserveAxis_mec_EquipmentRelocationMember_Lkp1_IUpZUqOjl1W4W_A5g", "name": "us-gaap:PaymentsForRestructuring", "unitRef": "Unit_Standard_USD_SckAdISMMEWj52RbcoMXHQ", "xsiNil": "false", "lang": null, "decimals": "-3", "ancestors": [ "p", "td", "tr", "table", "us-gaap:ScheduleOfRestructuringAndRelatedCostsTextBlock", "ix:continuation", "div", "div", "body", "html" ], "reportCount": 1, "baseRef": "tmb-20260331x10q.htm", "unique": true } } }, "tag": { "us-gaap_AccountsPayableCurrent": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "AccountsPayableCurrent", "crdr": "credit", "calculation": { "http://www.mecinc.com/role/StatementCondensedConsolidatedBalanceSheets": { "parentTag": "us-gaap_LiabilitiesCurrent", "weight": 1.0, "order": 1.0 } }, "presentation": [ "http://www.mecinc.com/role/StatementCondensedConsolidatedBalanceSheets" ], "lang": { "en-us": { "role": { "label": "Accounts Payable, Current", "terseLabel": "Accounts payable", "documentation": "Carrying value as of the balance sheet date of liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer)." } } }, "auth_ref": [ "r33", "r849" ] }, "us-gaap_AccountsReceivableMember": { "xbrltype": "domainItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "AccountsReceivableMember", "presentation": [ "http://www.mecinc.com/role/DisclosureConcentrationOfMajorCustomersScheduleOfMajorCustomerConcentrationsDetails" ], "lang": { "en-us": { "role": { "label": "Accounts Receivable [Member]", "terseLabel": "Accounts Receivable", "documentation": "Due from customers or clients for goods or services that have been delivered or sold." } } }, "auth_ref": [ "r727", "r1031" ] }, "us-gaap_AccruedBonusesCurrent": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "AccruedBonusesCurrent", "crdr": "credit", "calculation": { "http://www.mecinc.com/role/StatementCondensedConsolidatedBalanceSheets": { "parentTag": "us-gaap_LiabilitiesCurrent", "weight": 1.0, "order": 4.0 } }, "presentation": [ "http://www.mecinc.com/role/StatementCondensedConsolidatedBalanceSheets" ], "lang": { "en-us": { "role": { "label": "Accrued Bonuses, Current", "verboseLabel": "Bonuses and deferred compensation", "documentation": "Carrying value as of the balance sheet date of obligations incurred and payable for incentive compensation awarded to employees and directors or earned by them based on the terms of one or more relevant arrangements. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer)." } } }, "auth_ref": [ "r36" ] }, "us-gaap_AccruedLiabilitiesCurrentAbstract": { "xbrltype": "stringItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "AccruedLiabilitiesCurrentAbstract", "presentation": [ "http://www.mecinc.com/role/StatementCondensedConsolidatedBalanceSheets" ], "lang": { "en-us": { "role": { "label": "Accrued Liabilities, Current [Abstract]", "terseLabel": "Accrued liabilities:" } } }, "auth_ref": [] }, "mec_AccruedSalariesWagesAndPayrollTaxesCurrent": { "xbrltype": "monetaryItemType", "nsuri": "http://www.mecinc.com/20260331", "localname": "AccruedSalariesWagesAndPayrollTaxesCurrent", "crdr": "credit", "calculation": { "http://www.mecinc.com/role/StatementCondensedConsolidatedBalanceSheets": { "parentTag": "us-gaap_LiabilitiesCurrent", "weight": 1.0, "order": 3.0 } }, "presentation": [ "http://www.mecinc.com/role/StatementCondensedConsolidatedBalanceSheets" ], "lang": { "en-us": { "role": { "documentation": "Accrued salaries, wages and payroll taxes, current.", "label": "Accrued Salaries Wages And Payroll Taxes Current", "terseLabel": "Salaries, wages, and payroll taxes" } } }, "auth_ref": [] }, "mec_AccuFabMember": { "xbrltype": "domainItemType", "nsuri": "http://www.mecinc.com/20260331", "localname": "AccuFabMember", "presentation": [ "http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails", "http://www.mecinc.com/role/DisclosureAcquisitionDetails", "http://www.mecinc.com/role/DisclosureAcquisitionProFormaFinancialInformationDetails", "http://www.mecinc.com/role/DisclosureAcquisitionTables", "http://www.mecinc.com/role/DisclosureRevenueRecognitionScheduleOfDisaggregationOfRevenueByEndMarketDetails" ], "lang": { "en-us": { "role": { "documentation": "Representing Information pertaining to Accu-Fab.", "label": "Accu Fab [Member]", "terseLabel": "Accu Fab" } } }, "auth_ref": [] }, "us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment", "crdr": "credit", "calculation": { "http://www.mecinc.com/role/DisclosureSelectBalanceSheetDataScheduleOfPropertyPlantAndEquipmentDetails": { "parentTag": "us-gaap_PropertyPlantAndEquipmentNet", "weight": -1.0, "order": 2.0 } }, "presentation": [ "http://www.mecinc.com/role/DisclosureSelectBalanceSheetDataScheduleOfPropertyPlantAndEquipmentDetails" ], "lang": { "en-us": { "role": { "label": "Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment", "terseLabel": "Less accumulated depreciation", "documentation": "Amount of accumulated depreciation, depletion and amortization for physical assets used in the normal conduct of business to produce goods and services." } } }, "auth_ref": [ "r17", "r130", "r625" ] }, "ecd_Additional402vDisclosureTextBlock": { "xbrltype": "textBlockItemType", "nsuri": "http://xbrl.sec.gov/ecd/2025", "localname": "Additional402vDisclosureTextBlock", "presentation": [ "http://xbrl.sec.gov/ecd/role/PvpDisclosure" ], "lang": { "en-us": { "role": { "label": "Additional 402(v) Disclosure [Text Block]", "terseLabel": "Additional 402(v) Disclosure" } } }, "auth_ref": [ "r902" ] }, "us-gaap_AdditionalPaidInCapitalCommonStock": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "AdditionalPaidInCapitalCommonStock", "crdr": "credit", "calculation": { "http://www.mecinc.com/role/StatementCondensedConsolidatedBalanceSheets": { "parentTag": "us-gaap_StockholdersEquity", "weight": 1.0, "order": 2.0 } }, "presentation": [ "http://www.mecinc.com/role/StatementCondensedConsolidatedBalanceSheets" ], "lang": { "en-us": { "role": { "label": "Additional Paid in Capital, Common Stock", "terseLabel": "Additional paid-in-capital", "documentation": "Value received from shareholders in common stock-related transactions that are in excess of par value or stated value and amounts received from other stock-related transactions. Includes only common stock transactions (excludes preferred stock transactions). May be called contributed capital, capital in excess of par, capital surplus, or paid-in capital." } } }, "auth_ref": [ "r46" ] }, "us-gaap_AdditionalPaidInCapitalMember": { "xbrltype": "domainItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "AdditionalPaidInCapitalMember", "presentation": [ "http://www.mecinc.com/role/StatementCondensedConsolidatedStatementsOfShareholdersEquity" ], "lang": { "en-us": { "role": { "label": "Additional Paid-in Capital [Member]", "terseLabel": "Additional Paid-in Capital", "documentation": "Excess of issue price over par or stated value of the entity's capital stock and amounts received from other transactions involving the entity's stock or stockholders." } } }, "auth_ref": [ "r656", "r1023", "r1024", "r1025", "r1026", "r1115", "r1172" ] }, "ecd_AdjToCompAmt": { "xbrltype": "monetaryItemType", "nsuri": "http://xbrl.sec.gov/ecd/2025", "localname": "AdjToCompAmt", "presentation": [ "http://xbrl.sec.gov/ecd/role/PvpDisclosure" ], "lang": { "en-us": { "role": { "label": "Adjustment to Compensation Amount", "terseLabel": "Adjustment to Compensation, Amount" } } }, "auth_ref": [ "r915" ] }, "ecd_AdjToCompAxis": { "xbrltype": "stringItemType", "nsuri": "http://xbrl.sec.gov/ecd/2025", "localname": "AdjToCompAxis", "presentation": [ "http://xbrl.sec.gov/ecd/role/PvpDisclosure" ], "lang": { "en-us": { "role": { "label": "Adjustment to Compensation [Axis]", "terseLabel": "Adjustment to Compensation:" } } }, "auth_ref": [ "r915" ] }, "ecd_AdjToNonPeoNeoCompFnTextBlock": { "xbrltype": "textBlockItemType", "nsuri": "http://xbrl.sec.gov/ecd/2025", "localname": "AdjToNonPeoNeoCompFnTextBlock", "presentation": [ "http://xbrl.sec.gov/ecd/role/PvpDisclosure" ], "lang": { "en-us": { "role": { "label": "Adjustment to Non-PEO NEO Compensation Footnote [Text Block]", "terseLabel": "Adjustment to Non-PEO NEO Compensation Footnote" } } }, "auth_ref": [ "r915" ] }, "ecd_AdjToPeoCompFnTextBlock": { "xbrltype": "textBlockItemType", "nsuri": "http://xbrl.sec.gov/ecd/2025", "localname": "AdjToPeoCompFnTextBlock", "presentation": [ "http://xbrl.sec.gov/ecd/role/PvpDisclosure" ], "lang": { "en-us": { "role": { "label": "Adjustment To PEO Compensation, Footnote [Text Block]", "terseLabel": "Adjustment To PEO Compensation, Footnote" } } }, "auth_ref": [ "r915" ] }, "us-gaap_AdjustmentForAmortization": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "AdjustmentForAmortization", "crdr": "debit", "calculation": { "http://www.mecinc.com/role/StatementCondensedConsolidatedStatementsOfCashFlows": { "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities", "weight": 1.0, "order": 3.0 } }, "presentation": [ "http://www.mecinc.com/role/StatementCondensedConsolidatedStatementsOfCashFlows" ], "lang": { "en-us": { "role": { "label": "Amortization", "terseLabel": "Amortization", "documentation": "The aggregate amount of recurring noncash expense charged against earnings in the period to allocate the cost of assets over their estimated remaining economic lives." } } }, "auth_ref": [ "r2" ] }, "mec_AdjustmentsToAdditionalPaidInCapitalRestrictedStockUnitsEeTaxNetting": { "xbrltype": "monetaryItemType", "nsuri": "http://www.mecinc.com/20260331", "localname": "AdjustmentsToAdditionalPaidInCapitalRestrictedStockUnitsEeTaxNetting", "crdr": "debit", "presentation": [ "http://www.mecinc.com/role/StatementCondensedConsolidatedStatementsOfShareholdersEquity" ], "lang": { "en-us": { "role": { "documentation": "Amount of decrease in additional paid in capital (APIC) resulting from restricted stock units EE tax netting.", "label": "Adjustments to Additional Paid in Capital, Restricted Stock Units EE Tax Netting", "negatedLabel": "Restricted stock units net of employee tax withholding" } } }, "auth_ref": [] }, "us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue", "crdr": "credit", "presentation": [ "http://www.mecinc.com/role/StatementCondensedConsolidatedStatementsOfShareholdersEquity" ], "lang": { "en-us": { "role": { "label": "APIC, Share-Based Payment Arrangement, Increase for Cost Recognition", "terseLabel": "Stock-based compensation", "documentation": "Amount of increase to additional paid-in capital (APIC) for recognition of cost for award under share-based payment arrangement." } } }, "auth_ref": [ "r392" ] }, "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract": { "xbrltype": "stringItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract", "presentation": [ "http://www.mecinc.com/role/StatementCondensedConsolidatedStatementsOfCashFlows" ], "lang": { "en-us": { "role": { "label": "Adjustments to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract]", "terseLabel": "Adjustments to reconcile net income (loss) to net cash provided by operating activities:" } } }, "auth_ref": [] }, "ecd_AggtChngPnsnValInSummryCompstnTblForAplblYrMember": { "xbrltype": "domainItemType", "nsuri": "http://xbrl.sec.gov/ecd/2025", "localname": "AggtChngPnsnValInSummryCompstnTblForAplblYrMember", "presentation": [ "http://xbrl.sec.gov/ecd/role/PvpDisclosure" ], "lang": { "en-us": { "role": { "label": "Aggregate Change in Present Value of Accumulated Benefit for All Pension Plans Reported in Summary Compensation Table [Member]", "terseLabel": "Aggregate Change in Present Value of Accumulated Benefit for All Pension Plans Reported in Summary Compensation Table" } } }, "auth_ref": [ "r948" ] }, "ecd_AggtErrCompAmt": { "xbrltype": "monetaryItemType", "nsuri": "http://xbrl.sec.gov/ecd/2025", "localname": "AggtErrCompAmt", "presentation": [ "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure" ], "lang": { "en-us": { "role": { "label": "Aggregate Erroneous Compensation Amount", "terseLabel": "Aggregate Erroneous Compensation Amount" } } }, "auth_ref": [ "r874", "r884", "r894", "r926" ] }, "ecd_AggtErrCompNotYetDeterminedTextBlock": { "xbrltype": "textBlockItemType", "nsuri": "http://xbrl.sec.gov/ecd/2025", "localname": "AggtErrCompNotYetDeterminedTextBlock", "presentation": [ "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure" ], "lang": { "en-us": { "role": { "label": "Aggregate Erroneous Compensation Not Yet Determined [Text Block]", "terseLabel": "Aggregate Erroneous Compensation Not Yet Determined" } } }, "auth_ref": [ "r877", "r887", "r897", "r929" ] }, "ecd_AggtPnsnAdjsSvcCstMember": { "xbrltype": "domainItemType", "nsuri": "http://xbrl.sec.gov/ecd/2025", "localname": "AggtPnsnAdjsSvcCstMember", "presentation": [ "http://xbrl.sec.gov/ecd/role/PvpDisclosure" ], "lang": { "en-us": { "role": { "label": "Aggregate Pension Adjustments Service Cost [Member]", "terseLabel": "Aggregate Pension Adjustments Service Cost" } } }, "auth_ref": [ "r949" ] }, "mec_AgricultureMember": { "xbrltype": "domainItemType", "nsuri": "http://www.mecinc.com/20260331", "localname": "AgricultureMember", "presentation": [ "http://www.mecinc.com/role/DisclosureRevenueRecognitionScheduleOfDisaggregationOfRevenueByEndMarketDetails" ], "lang": { "en-us": { "role": { "documentation": "Agriculture.", "label": "Agriculture [Member]", "terseLabel": "Agriculture" } } }, "auth_ref": [] }, "ecd_AllAdjToCompMember": { "xbrltype": "domainItemType", "nsuri": "http://xbrl.sec.gov/ecd/2025", "localname": "AllAdjToCompMember", "presentation": [ "http://xbrl.sec.gov/ecd/role/PvpDisclosure" ], "lang": { "en-us": { "role": { "label": "All Adjustments to Compensation [Member]", "terseLabel": "All Adjustments to Compensation" } } }, "auth_ref": [ "r915" ] }, "ecd_AllExecutiveCategoriesMember": { "xbrltype": "domainItemType", "nsuri": "http://xbrl.sec.gov/ecd/2025", "localname": "AllExecutiveCategoriesMember", "presentation": [ "http://xbrl.sec.gov/ecd/role/PvpDisclosure" ], "lang": { "en-us": { "role": { "label": "All Executive Categories [Member]", "terseLabel": "All Executive Categories" } } }, "auth_ref": [ "r922" ] }, "ecd_AllIndividualsMember": { "xbrltype": "domainItemType", "nsuri": "http://xbrl.sec.gov/ecd/2025", "localname": "AllIndividualsMember", "presentation": [ "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure", "http://xbrl.sec.gov/ecd/role/ErrCompDisclosure", "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements", "http://xbrl.sec.gov/ecd/role/PvpDisclosure" ], "lang": { "en-us": { "role": { "label": "All Individuals [Member]", "terseLabel": "All Individuals" } } }, "auth_ref": [ "r878", "r888", "r898", "r922", "r930", "r934", "r942" ] }, "ecd_AllTradingArrangementsMember": { "xbrltype": "domainItemType", "nsuri": "http://xbrl.sec.gov/ecd/2025", "localname": "AllTradingArrangementsMember", "presentation": [ "http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements" ], "lang": { "en-us": { "role": { "label": "All Trading Arrangements [Member]", "terseLabel": "All Trading Arrangements" } } }, "auth_ref": [ "r940" ] }, "us-gaap_AllocatedShareBasedCompensationExpense": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "AllocatedShareBasedCompensationExpense", "crdr": "debit", "presentation": [ "http://www.mecinc.com/role/DisclosureStockBasedCompensationAdditionalInformationDetails" ], "lang": { "en-us": { "role": { "label": "Share-Based Payment Arrangement, Expense", "verboseLabel": "Stock based compensation expense", "documentation": "Amount of expense for award under share-based payment arrangement. Excludes amount capitalized." } } }, "auth_ref": [ "r423", "r428", "r429" ] }, "us-gaap_AllowanceForDoubtfulAccountsReceivable": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "AllowanceForDoubtfulAccountsReceivable", "crdr": "credit", "presentation": [ "http://www.mecinc.com/role/StatementCondensedConsolidatedBalanceSheetsParenthetical" ], "lang": { "en-us": { "role": { "label": "Accounts Receivable, Allowance for Credit Loss", "terseLabel": "Allowances for doubtful accounts", "documentation": "Amount of allowance for credit loss on accounts receivable." } } }, "auth_ref": [ "r135", "r231", "r235", "r236", "r238", "r1140" ] }, "mec_AmendedAndRestatedCreditAgreementMember": { "xbrltype": "domainItemType", "nsuri": "http://www.mecinc.com/20260331", "localname": "AmendedAndRestatedCreditAgreementMember", "presentation": [ "http://www.mecinc.com/role/DisclosureDebtCreditAgreementsDetails" ], "lang": { "en-us": { "role": { "documentation": "Amended and restated credit agreement.", "label": "Amended And Restated Credit Agreement [Member]", "terseLabel": "Amended And Restated Credit Agreement" } } }, "auth_ref": [] }, "dei_AmendmentFlag": { "xbrltype": "booleanItemType", "nsuri": "http://xbrl.sec.gov/dei/2025", "localname": "AmendmentFlag", "presentation": [ "http://www.mecinc.com/role/DocumentDocumentAndEntityInformation" ], "lang": { "en-us": { "role": { "label": "Amendment Flag", "terseLabel": "Amendment Flag", "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission." } } }, "auth_ref": [] }, "mec_AmortizableIntangibleAssetsAbstract": { "xbrltype": "stringItemType", "nsuri": "http://www.mecinc.com/20260331", "localname": "AmortizableIntangibleAssetsAbstract", "presentation": [ "http://www.mecinc.com/role/DisclosureSelectBalanceSheetDataScheduleOfListingOfIntangibleAssetsDetails" ], "lang": { "en-us": { "role": { "documentation": "Amortizable intangible assets.", "label": "Amortizable Intangible Assets [Abstract]", "terseLabel": "Amortizable intangible assets" } } }, "auth_ref": [] }, "us-gaap_AmortizationOfIntangibleAssets": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "AmortizationOfIntangibleAssets", "crdr": "debit", "calculation": { "http://www.mecinc.com/role/StatementCondensedConsolidatedStatementsOfComprehensiveIncomeLoss": { "parentTag": "us-gaap_OperatingIncomeLoss", "weight": -1.0, "order": 3.0 } }, "presentation": [ "http://www.mecinc.com/role/DisclosureSelectBalanceSheetDataAmortizationExpenseDetails", "http://www.mecinc.com/role/StatementCondensedConsolidatedStatementsOfComprehensiveIncomeLoss" ], "lang": { "en-us": { "role": { "label": "Amortization of intangible assets", "verboseLabel": "Amortization expense", "documentation": "The aggregate expense charged against earnings to allocate the cost of intangible assets (nonphysical assets not used in production) in a systematic and rational manner to the periods expected to benefit from such assets." } } }, "auth_ref": [ "r2", "r150", "r243", "r250", "r733", "r739", "r740", "r742", "r744" ] }, "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount": { "xbrltype": "sharesItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount", "presentation": [ "http://www.mecinc.com/role/DisclosureEarningsPerShareAntidilutiveSecuritiesDetails" ], "lang": { "en-us": { "role": { "label": "Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount", "terseLabel": "Antidilutive securities excluded from computation of diluted earnings per share", "documentation": "Securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) or earnings per unit (EPU) in the future that were not included in the computation of diluted EPS or EPU because to do so would increase EPS or EPU amounts or decrease loss per share or unit amounts for the period presented." } } }, "auth_ref": [ "r194" ] }, "us-gaap_AssetImpairmentCharges": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "AssetImpairmentCharges", "crdr": "debit", "presentation": [ "http://www.mecinc.com/role/DisclosureFairValueOfFinancialInstrumentsAssetsAndLiabilitiesAtFairValueDetails", "http://www.mecinc.com/role/DisclosureRestructuringRestructuringChargesDetails" ], "lang": { "en-us": { "role": { "label": "Asset Impairment Charges", "terseLabel": "Impairment recognized", "documentation": "Amount of write-down of assets recognized in the income statement. Includes, but is not limited to, losses from tangible assets, intangible assets and goodwill." } } }, "auth_ref": [ "r2", "r15", "r850", "r851" ] }, "mec_AssetWriteDownMember": { "xbrltype": "domainItemType", "nsuri": "http://www.mecinc.com/20260331", "localname": "AssetWriteDownMember", "presentation": [ "http://www.mecinc.com/role/DisclosureRestructuringAdditionalInformationDetails", "http://www.mecinc.com/role/DisclosureRestructuringRestructuringChargesDetails" ], "lang": { "en-us": { "role": { "documentation": "Represents asset write-downs and related charges.", "label": "Asset Write Down [Member]", "terseLabel": "Asset write-downs and related charges" } } }, "auth_ref": [] }, "us-gaap_Assets": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "Assets", "crdr": "debit", "calculation": { "http://www.mecinc.com/role/StatementCondensedConsolidatedBalanceSheets": { "parentTag": null, "weight": null, "order": null, "root": true } }, "presentation": [ "http://www.mecinc.com/role/StatementCondensedConsolidatedBalanceSheets" ], "lang": { "en-us": { "role": { "label": "Assets", "totalLabel": "Total assets", "documentation": "Amount of asset recognized for present right to economic benefit." } } }, "auth_ref": [ "r78", "r88", "r134", "r158", "r161", "r162", "r198", "r209", "r219", "r223", "r232", "r287", "r288", "r290", "r291", "r292", "r293", "r294", "r296", "r297", "r519", "r523", "r575", "r613", "r614", "r619", "r684", "r754", "r755", "r768", "r849", "r858", "r859", "r865", "r1068", "r1069", "r1128" ] }, "us-gaap_AssetsAbstract": { "xbrltype": "stringItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "AssetsAbstract", "presentation": [ "http://www.mecinc.com/role/StatementCondensedConsolidatedBalanceSheets" ], "lang": { "en-us": { "role": { "label": "Assets [Abstract]", "terseLabel": "ASSETS" } } }, "auth_ref": [] }, "us-gaap_AssetsCurrent": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "AssetsCurrent", "crdr": "debit", "calculation": { "http://www.mecinc.com/role/StatementCondensedConsolidatedBalanceSheets": { "parentTag": "us-gaap_Assets", "weight": 1.0, "order": 1.0 } }, "presentation": [ "http://www.mecinc.com/role/StatementCondensedConsolidatedBalanceSheets" ], "lang": { "en-us": { "role": { "label": "Assets, Current", "totalLabel": "Total current assets", "documentation": "Amount of asset recognized for present right to economic benefit, classified as current." } } }, "auth_ref": [ "r126", "r137", "r158", "r161", "r162", "r232", "r287", "r288", "r290", "r291", "r292", "r293", "r294", "r296", "r297", "r519", "r523", "r575", "r849", "r1068", "r1069", "r1128" ] }, "us-gaap_AssetsHeldForSaleNotPartOfDisposalGroup": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "AssetsHeldForSaleNotPartOfDisposalGroup", "crdr": "debit", "calculation": { "http://www.mecinc.com/role/StatementCondensedConsolidatedBalanceSheets": { "parentTag": "us-gaap_Assets", "weight": 1.0, "order": 4.0 } }, "presentation": [ "http://www.mecinc.com/role/DisclosureSelectBalanceSheetDataAdditionalInformationDetails", "http://www.mecinc.com/role/StatementCondensedConsolidatedBalanceSheets" ], "lang": { "en-us": { "role": { "label": "Asset, Held-for-Sale, Not Part of Disposal Group", "terseLabel": "Assets held for sale", "documentation": "Amount of assets held-for-sale that are not part of a disposal group." } } }, "auth_ref": [ "r68" ] }, "mec_AssetsReclassifiedToAssetsHeldForSaleNotPartOfDisposalGroup": { "xbrltype": "monetaryItemType", "nsuri": "http://www.mecinc.com/20260331", "localname": "AssetsReclassifiedToAssetsHeldForSaleNotPartOfDisposalGroup", "crdr": "debit", "presentation": [ "http://www.mecinc.com/role/DisclosureSelectBalanceSheetDataAdditionalInformationDetails" ], "lang": { "en-us": { "role": { "documentation": "Amount of assets reclassified to assets held-for-sale that are not part of a disposal group during the period.", "label": "Assets Reclassified to Assets Held-for-Sale Not Part of Disposal Group", "terseLabel": "Assets reclassified to assets held-for-sale" } } }, "auth_ref": [] }, "us-gaap_AssumedLiabilityForUnpaidClaimsAndClaimsAdjustmentExpense": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "AssumedLiabilityForUnpaidClaimsAndClaimsAdjustmentExpense", "crdr": "credit", "presentation": [ "http://www.mecinc.com/role/DisclosureSelfFundedInsuranceDetails" ], "lang": { "en-us": { "role": { "label": "Assumed Liability for Unpaid Claims and Claims Adjustment Expense", "terseLabel": "Estimated accrued liability", "documentation": "Liability as of the balance sheet date for the estimated ultimate cost of settling claims and claim adjustment expense relating to insured events that have occurred on or before the balance sheet date for those liabilities owed to another party as a result of assuming another insurer's primary obligation." } } }, "auth_ref": [ "r1137" ] }, "ecd_AwardExrcPrice": { "xbrltype": "perShareItemType", "nsuri": "http://xbrl.sec.gov/ecd/2025", "localname": "AwardExrcPrice", "presentation": [ "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure" ], "lang": { "en-us": { "role": { "label": "Award Exercise Price", "terseLabel": "Exercise Price" } } }, "auth_ref": [ "r937" ] }, "ecd_AwardGrantDateFairValue": { "xbrltype": "monetaryItemType", "nsuri": "http://xbrl.sec.gov/ecd/2025", "localname": "AwardGrantDateFairValue", "presentation": [ "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure" ], "lang": { "en-us": { "role": { "label": "Award Grant Date Fair Value", "terseLabel": "Fair Value as of Grant Date" } } }, "auth_ref": [ "r938" ] }, "ecd_AwardTmgDiscLineItems": { "xbrltype": "stringItemType", "nsuri": "http://xbrl.sec.gov/ecd/2025", "localname": "AwardTmgDiscLineItems", "lang": { "en-us": { "role": { "label": "Award Timing Disclosures [Line Items]", "terseLabel": "Award Timing Disclosures" } } }, "auth_ref": [ "r933" ] }, "ecd_AwardTmgHowMnpiCnsdrdTextBlock": { "xbrltype": "textBlockItemType", "nsuri": "http://xbrl.sec.gov/ecd/2025", "localname": "AwardTmgHowMnpiCnsdrdTextBlock", "presentation": [ "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure" ], "lang": { "en-us": { "role": { "label": "Award Timing, How MNPI Considered [Text Block]", "terseLabel": "Award Timing, How MNPI Considered" } } }, "auth_ref": [ "r933" ] }, "ecd_AwardTmgMethodTextBlock": { "xbrltype": "textBlockItemType", "nsuri": "http://xbrl.sec.gov/ecd/2025", "localname": "AwardTmgMethodTextBlock", "presentation": [ "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure" ], "lang": { "en-us": { "role": { "label": "Award Timing Method [Text Block]", "terseLabel": "Award Timing Method" } } }, "auth_ref": [ "r933" ] }, "ecd_AwardTmgMnpiCnsdrdFlag": { "xbrltype": "booleanItemType", "nsuri": "http://xbrl.sec.gov/ecd/2025", "localname": "AwardTmgMnpiCnsdrdFlag", "presentation": [ "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure" ], "lang": { "en-us": { "role": { "label": "Award Timing MNPI Considered [Flag]", "terseLabel": "Award Timing MNPI Considered" } } }, "auth_ref": [ "r933" ] }, "ecd_AwardTmgMnpiDiscTextBlock": { "xbrltype": "textBlockItemType", "nsuri": "http://xbrl.sec.gov/ecd/2025", "localname": "AwardTmgMnpiDiscTextBlock", "presentation": [ "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure" ], "lang": { "en-us": { "role": { "label": "Award Timing MNPI Disclosure [Text Block]", "terseLabel": "Award Timing MNPI Disclosure" } } }, "auth_ref": [ "r933" ] }, "ecd_AwardTmgPredtrmndFlag": { "xbrltype": "booleanItemType", "nsuri": "http://xbrl.sec.gov/ecd/2025", "localname": "AwardTmgPredtrmndFlag", "presentation": [ "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure" ], "lang": { "en-us": { "role": { "label": "Award Timing Predetermined [Flag]", "terseLabel": "Award Timing Predetermined" } } }, "auth_ref": [ "r933" ] }, "us-gaap_AwardTypeAxis": { "xbrltype": "stringItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "AwardTypeAxis", "presentation": [ "http://www.mecinc.com/role/DisclosureStockBasedCompensationAdditionalInformationDetails", "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure" ], "lang": { "en-us": { "role": { "label": "Award Type [Axis]", "terseLabel": "Award Type", "documentation": "Information by type of award under share-based payment arrangement." } } }, "auth_ref": [ "r396", "r397", "r398", "r399", "r400", "r401", "r402", "r403", "r404", "r405", "r406", "r407", "r408", "r409", "r410", "r411", "r412", "r413", "r414", "r415", "r416", "r418", "r419", "r420", "r421", "r422" ] }, "ecd_AwardUndrlygSecuritiesAmt": { "xbrltype": "decimalItemType", "nsuri": "http://xbrl.sec.gov/ecd/2025", "localname": "AwardUndrlygSecuritiesAmt", "presentation": [ "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure" ], "lang": { "en-us": { "role": { "label": "Award Underlying Securities Amount", "terseLabel": "Underlying Securities" } } }, "auth_ref": [ "r936" ] }, "ecd_AwardsCloseToMnpiDiscIndName": { "xbrltype": "stringItemType", "nsuri": "http://xbrl.sec.gov/ecd/2025", "localname": "AwardsCloseToMnpiDiscIndName", "presentation": [ "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure" ], "lang": { "en-us": { "role": { "label": "Awards Close in Time to MNPI Disclosures, Individual Name", "terseLabel": "Name" } } }, "auth_ref": [ "r935" ] }, "ecd_AwardsCloseToMnpiDiscTable": { "xbrltype": "stringItemType", "nsuri": "http://xbrl.sec.gov/ecd/2025", "localname": "AwardsCloseToMnpiDiscTable", "presentation": [ "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure" ], "lang": { "en-us": { "role": { "label": "Awards Close in Time to MNPI Disclosures [Table]", "terseLabel": "Awards Close in Time to MNPI Disclosures" } } }, "auth_ref": [ "r934" ] }, "ecd_AwardsCloseToMnpiDiscTableTextBlock": { "xbrltype": "textBlockItemType", "nsuri": "http://xbrl.sec.gov/ecd/2025", "localname": "AwardsCloseToMnpiDiscTableTextBlock", "presentation": [ "http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure" ], "lang": { "en-us": { "role": { "label": "Awards Close in Time to MNPI Disclosures [Table Text Block]", "terseLabel": "Awards Close in Time to MNPI Disclosures, Table" } } }, "auth_ref": [ "r934" ] }, "us-gaap_BalanceSheetLocationAxis": { "xbrltype": "stringItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "BalanceSheetLocationAxis", "presentation": [ "http://www.mecinc.com/role/DisclosureDebtOtherDebtDetails" ], "lang": { "en-us": { "role": { "label": "Statement of Financial Position Location, Balance [Axis]", "terseLabel": "Balance Sheet Location", "documentation": "Information by location in statement of financial position where disaggregated cumulative balance is reported." } } }, "auth_ref": [ "r262", "r525", "r526", "r527", "r528", "r529", "r530", "r531", "r532", "r533", "r534", "r535", "r536", "r574", "r836", "r837", "r959", "r1142" ] }, "us-gaap_BalanceSheetLocationDomain": { "xbrltype": "domainItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "BalanceSheetLocationDomain", "presentation": [ "http://www.mecinc.com/role/DisclosureDebtOtherDebtDetails" ], "lang": { "en-us": { "role": { "label": "Statement of Financial Position Location, Balance [Domain]", "terseLabel": "Balance Sheet Location", "documentation": "Location in statement of financial position where disaggregated cumulative balance is reported." } } }, "auth_ref": [ "r262", "r525", "r526", "r527", "r528", "r529", "r530", "r531", "r532", "r533", "r534", "r535", "r536", "r574", "r836", "r837", "r959", "r1142" ] }, "mec_BankRevolvingCreditNotesAbstract": { "xbrltype": "stringItemType", "nsuri": "http://www.mecinc.com/20260331", "localname": "BankRevolvingCreditNotesAbstract", "lang": { "en-us": { "role": { "documentation": "Bank revolving credit notes [Abstract]", "label": "Debt." } } }, "auth_ref": [] }, "us-gaap_BasisOfAccountingPolicyPolicyTextBlock": { "xbrltype": "textBlockItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "BasisOfAccountingPolicyPolicyTextBlock", "presentation": [ "http://www.mecinc.com/role/DisclosureBasisOfPresentationPolicies" ], "lang": { "en-us": { "role": { "label": "Basis of Accounting, Policy [Policy Text Block]", "terseLabel": "Basis of presentation", "documentation": "Disclosure of accounting policy for basis of accounting, or basis of presentation, used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS)." } } }, "auth_ref": [ "r1016" ] }, "us-gaap_BuildingAndBuildingImprovementsMember": { "xbrltype": "domainItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "BuildingAndBuildingImprovementsMember", "presentation": [ "http://www.mecinc.com/role/DisclosureSelectBalanceSheetDataScheduleOfPropertyPlantAndEquipmentDetails" ], "lang": { "en-us": { "role": { "label": "Building and Building Improvements [Member]", "terseLabel": "Building and building improvements", "documentation": "Facility held for productive use including, but not limited to, office, production, storage and distribution facilities and any addition, improvement, or renovation to the structure, for example, but not limited to, interior masonry, interior flooring, electrical, and plumbing." } } }, "auth_ref": [] }, "us-gaap_BusinessAcquisitionAcquireeDomain": { "xbrltype": "domainItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "BusinessAcquisitionAcquireeDomain", "presentation": [ "http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails", "http://www.mecinc.com/role/DisclosureAcquisitionDetails", "http://www.mecinc.com/role/DisclosureAcquisitionProFormaFinancialInformationDetails", "http://www.mecinc.com/role/DisclosureAcquisitionTables", "http://www.mecinc.com/role/DisclosureDebtOtherDebtDetails", "http://www.mecinc.com/role/DisclosureRevenueRecognitionScheduleOfDisaggregationOfRevenueByEndMarketDetails" ], "lang": { "en-us": { "role": { "label": "Business Acquisition, Acquiree [Domain]", "terseLabel": "Business Acquisition", "documentation": "Business combination or series of individually immaterial business combinations." } } }, "auth_ref": [ "r241", "r244", "r245", "r246", "r247", "r248", "r454", "r455", "r456", "r457", "r458", "r459", "r460", "r461", "r462", "r463", "r464", "r465", "r466", "r467", "r468", "r469", "r470", "r471", "r472", "r477", "r478", "r479", "r480", "r481", "r482", "r483", "r484", "r485", "r486", "r487", "r488", "r490", "r491", "r492", "r493", "r494", "r497", "r498", "r499", "r500", "r501", "r502", "r503", "r504", "r505", "r506", "r507", "r508", "r509", "r510", "r512", "r513", "r514", "r649", "r784", "r785", "r1105", "r1108", "r1110" ] }, "us-gaap_BusinessAcquisitionAxis": { "xbrltype": "stringItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "BusinessAcquisitionAxis", "presentation": [ "http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails", "http://www.mecinc.com/role/DisclosureAcquisitionDetails", "http://www.mecinc.com/role/DisclosureAcquisitionProFormaFinancialInformationDetails", "http://www.mecinc.com/role/DisclosureAcquisitionTables", "http://www.mecinc.com/role/DisclosureDebtOtherDebtDetails", "http://www.mecinc.com/role/DisclosureRevenueRecognitionScheduleOfDisaggregationOfRevenueByEndMarketDetails" ], "lang": { "en-us": { "role": { "label": "Business Acquisition [Axis]", "terseLabel": "Business Acquisition", "documentation": "Information by business combination or series of individually immaterial business combinations." } } }, "auth_ref": [ "r241", "r244", "r245", "r246", "r247", "r248", "r454", "r455", "r456", "r457", "r458", "r459", "r460", "r461", "r462", "r463", "r464", "r465", "r466", "r467", "r468", "r469", "r470", "r471", "r472", "r477", "r478", "r479", "r480", "r481", "r482", "r483", "r484", "r485", "r486", "r487", "r488", "r490", "r491", "r492", "r493", "r494", "r497", "r498", "r499", "r500", "r501", "r502", "r503", "r504", "r505", "r506", "r507", "r508", "r509", "r510", "r512", "r513", "r514", "r649", "r784", "r785", "r1105", "r1108", "r1110" ] }, "us-gaap_BusinessAcquisitionLineItems": { "xbrltype": "stringItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "BusinessAcquisitionLineItems", "presentation": [ "http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails", "http://www.mecinc.com/role/DisclosureAcquisitionDetails", "http://www.mecinc.com/role/DisclosureAcquisitionProFormaFinancialInformationDetails", "http://www.mecinc.com/role/DisclosureAcquisitionTables" ], "lang": { "en-us": { "role": { "label": "Business Acquisition [Line Items]", "terseLabel": "Acquisition", "verboseLabel": "Self-Funded insurance", "documentation": "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." } } }, "auth_ref": [ "r241", "r454", "r455", "r456", "r457", "r463", "r464", "r465", "r466", "r472", "r477", "r478", "r479", "r480", "r481", "r482", "r483", "r484", "r485", "r486", "r487", "r488", "r490", "r491", "r492", "r493", "r494", "r497", "r498", "r499", "r500", "r501", "r502", "r508", "r509", "r510", "r514", "r793", "r802", "r1105", "r1108", "r1110" ] }, "us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired": { "xbrltype": "percentItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "BusinessAcquisitionPercentageOfVotingInterestsAcquired", "presentation": [ "http://www.mecinc.com/role/DisclosureAcquisitionDetails" ], "lang": { "en-us": { "role": { "label": "Business Combination, Voting Equity Interest Acquired, Percentage", "verboseLabel": "Interest acquired (in percent)", "documentation": "Percentage of voting equity interest acquired in business combination." } } }, "auth_ref": [ "r456", "r793", "r796" ] }, "us-gaap_BusinessAcquisitionProFormaInformationTextBlock": { "xbrltype": "textBlockItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "BusinessAcquisitionProFormaInformationTextBlock", "presentation": [ "http://www.mecinc.com/role/DisclosureAcquisitionTables" ], "lang": { "en-us": { "role": { "label": "Business Acquisition, Pro Forma Information [Table Text Block]", "terseLabel": "Schedule of pro forma financial information", "documentation": "Tabular disclosure of pro forma revenue and earnings for business combination or aggregate of series of individually immaterial business combinations." } } }, "auth_ref": [ "r793", "r803", "r956", "r957", "r1106" ] }, "us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "BusinessAcquisitionsProFormaNetIncomeLoss", "crdr": "credit", "presentation": [ "http://www.mecinc.com/role/DisclosureAcquisitionProFormaFinancialInformationDetails" ], "lang": { "en-us": { "role": { "label": "Business Acquisition, Pro Forma Net Income (Loss)", "terseLabel": "Net income (loss)", "documentation": "Amount, after tax, of pro forma income (loss) of combined entity as if acquisition date of business combination occurred as of beginning of period." } } }, "auth_ref": [ "r469", "r470", "r472", "r793", "r803", "r804" ] }, "us-gaap_BusinessAcquisitionsProFormaRevenue": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "BusinessAcquisitionsProFormaRevenue", "crdr": "credit", "presentation": [ "http://www.mecinc.com/role/DisclosureAcquisitionProFormaFinancialInformationDetails" ], "lang": { "en-us": { "role": { "label": "Business Acquisition, Pro Forma Revenue", "terseLabel": "Net sales", "documentation": "Amount of pro forma revenue of combined entity as if acquisition date of business combination occurred as of beginning of period." } } }, "auth_ref": [ "r469", "r470", "r472", "r793", "r803" ] }, "us-gaap_BusinessCombinationAcquisitionRelatedCosts": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "BusinessCombinationAcquisitionRelatedCosts", "crdr": "debit", "presentation": [ "http://www.mecinc.com/role/DisclosureAcquisitionDetails" ], "lang": { "en-us": { "role": { "label": "Business Combination, Acquisition Related Costs", "terseLabel": "Transaction costs", "documentation": "Amount of expense for acquisition-related cost incurred to effect business combination. Includes, but is not limited to, finder's fee; advisory, legal, accounting, valuation, and other professional and consulting fees; and general administrative cost, including cost of maintaining internal acquisition department." } } }, "auth_ref": [ "r1104", "r1107" ] }, "us-gaap_BusinessCombinationConsiderationTransferred1": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "BusinessCombinationConsiderationTransferred1", "crdr": "credit", "presentation": [ "http://www.mecinc.com/role/DisclosureAcquisitionDetails" ], "lang": { "en-us": { "role": { "label": "Business Combination, Consideration Transferred", "terseLabel": "Total net consideration", "documentation": "Amount of consideration transferred, consisting of acquisition-date fair value of assets transferred by the acquirer, liabilities incurred by the acquirer, and equity interest issued by the acquirer." } } }, "auth_ref": [ "r498", "r510", "r793", "r798" ] }, "us-gaap_BusinessCombinationDisclosureTextBlock": { "xbrltype": "textBlockItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "BusinessCombinationDisclosureTextBlock", "presentation": [ "http://www.mecinc.com/role/DisclosureAcquisition" ], "lang": { "en-us": { "role": { "label": "Business Combination Disclosure [Text Block]", "terseLabel": "Acquisition", "documentation": "The entire disclosure for business combination." } } }, "auth_ref": [ "r453", "r454", "r458", "r467", "r471", "r472", "r473", "r474", "r475", "r476", "r478", "r479", "r485", "r488", "r489", "r495", "r496", "r497", "r505", "r509", "r510", "r511", "r513", "r515", "r793", "r794", "r795", "r796", "r799", "r800", "r801" ] }, "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets", "crdr": "debit", "calculation": { "http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails": { "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet", "weight": 1.0, "order": 1.0 } }, "presentation": [ "http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails" ], "lang": { "en-us": { "role": { "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Assets", "totalLabel": "Total assets acquired", "documentation": "Amount of asset acquired in business combination and recognized at acquisition date." } } }, "auth_ref": [ "r483", "r488" ] }, "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents", "crdr": "debit", "calculation": { "http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails": { "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets", "weight": 1.0, "order": 1.0 } }, "presentation": [ "http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails" ], "lang": { "en-us": { "role": { "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Cash and Equivalents", "terseLabel": "Cash and cash equivalents", "documentation": "Amount of cash and cash equivalent acquired in business combination and recognized at acquisition date." } } }, "auth_ref": [ "r1109", "r1111" ] }, "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets", "crdr": "debit", "calculation": { "http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails": { "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets", "weight": 1.0, "order": 4.0 } }, "presentation": [ "http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails" ], "lang": { "en-us": { "role": { "label": "Business Combination, Recognized Asset Acquired, Prepaid Expense and Other Asset, Current", "terseLabel": "Prepaid expenses and other current assets", "documentation": "Amount of prepaid expense and asset classified as other, acquired in business combination and recognized at acquisition date, classified as current." } } }, "auth_ref": [ "r1109", "r1111" ] }, "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables", "crdr": "debit", "calculation": { "http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails": { "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets", "weight": 1.0, "order": 2.0 } }, "presentation": [ "http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails" ], "lang": { "en-us": { "role": { "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Assets, Receivables", "terseLabel": "Accounts receivable, net", "documentation": "Amount of receivable acquired in business combination and recognized at acquisition date, classified as current. Includes, but is not limited to, receivable from customer for product and service." } } }, "auth_ref": [ "r1109", "r1111" ] }, "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable", "crdr": "credit", "calculation": { "http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails": { "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities", "weight": 1.0, "order": 1.0 } }, "presentation": [ "http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails" ], "lang": { "en-us": { "role": { "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Liabilities, Accounts Payable", "negatedLabel": "Accounts payable", "documentation": "Amount of accounts payable assumed in business combination and recognized at acquisition date, classified as current." } } }, "auth_ref": [ "r1109", "r1111" ] }, "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther", "crdr": "credit", "calculation": { "http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails": { "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities", "weight": 1.0, "order": 5.0 } }, "presentation": [ "http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails" ], "lang": { "en-us": { "role": { "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Liabilities, Other", "negatedLabel": "Other current liabilities", "documentation": "Amount of liability assumed in business combination and recognized at acquisition date, classified as other and current." } } }, "auth_ref": [ "r1109", "r1111" ] }, "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles", "crdr": "debit", "calculation": { "http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails": { "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets", "weight": 1.0, "order": 7.0 } }, "presentation": [ "http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails" ], "lang": { "en-us": { "role": { "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Finite-Lived Intangibles", "terseLabel": "Intangible assets", "documentation": "Amount of identifiable finite-lived intangible asset acquired in business combination and recognized at acquisition date." } } }, "auth_ref": [ "r1109", "r1111" ] }, "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory", "crdr": "debit", "calculation": { "http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails": { "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets", "weight": 1.0, "order": 3.0 } }, "presentation": [ "http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails" ], "lang": { "en-us": { "role": { "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Inventory", "terseLabel": "Inventory", "documentation": "Amount of inventory acquired in business combination and recognized at acquisition date, classified as current." } } }, "auth_ref": [ "r793", "r798", "r1109", "r1111" ] }, "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities", "crdr": "credit", "calculation": { "http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails": { "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet", "weight": -1.0, "order": 2.0 } }, "presentation": [ "http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails" ], "lang": { "en-us": { "role": { "label": "Business Combination, Recognized Liability Assumed, Liability", "negatedTotalLabel": "Total liabilities assumed", "documentation": "Amount of liability assumed in business combination and recognized at acquisition date." } } }, "auth_ref": [ "r483", "r488" ] }, "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet", "crdr": "debit", "calculation": { "http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails": { "parentTag": null, "weight": null, "order": null, "root": true } }, "presentation": [ "http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails" ], "lang": { "en-us": { "role": { "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Net", "totalLabel": "Total consideration", "documentation": "Amount of asset acquired in excess of (less than) liability assumed in business combination and recognized at acquisition date. Excludes goodwill." } } }, "auth_ref": [ "r793", "r798", "r1109", "r1111" ] }, "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther", "crdr": "credit", "calculation": { "http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails": { "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities", "weight": 1.0, "order": 7.0 } }, "presentation": [ "http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails" ], "lang": { "en-us": { "role": { "label": "Business Combination, Recognized Liability Assumed, Other Liability, Noncurrent", "negatedLabel": "Other long-term liabilities", "documentation": "Amount of liability assumed in business combination and recognized at acquisition date, classified as other and noncurrent." } } }, "auth_ref": [ "r1109", "r1111" ] }, "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets", "crdr": "debit", "calculation": { "http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails": { "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets", "weight": 1.0, "order": 8.0 } }, "presentation": [ "http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails" ], "lang": { "en-us": { "role": { "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Other Noncurrent Assets", "terseLabel": "Other long-term assets", "documentation": "Amount of asset acquired in business combination and recognized at acquisition date, classified as other and noncurrent." } } }, "auth_ref": [ "r1109", "r1111" ] }, "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment", "crdr": "debit", "calculation": { "http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails": { "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets", "weight": 1.0, "order": 5.0 } }, "presentation": [ "http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails" ], "lang": { "en-us": { "role": { "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Property, Plant, and Equipment", "terseLabel": "Property, plant and equipment", "documentation": "Amount of property, plant, and equipment acquired in business combination and recognized at acquisition date." } } }, "auth_ref": [ "r793", "r798", "r1109", "r1111" ] }, "mec_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedSalariesBonusesAndDeferredCompensation": { "xbrltype": "monetaryItemType", "nsuri": "http://www.mecinc.com/20260331", "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedSalariesBonusesAndDeferredCompensation", "crdr": "credit", "calculation": { "http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails": { "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities", "weight": 1.0, "order": 4.0 } }, "presentation": [ "http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails" ], "lang": { "en-us": { "role": { "documentation": "Amount of liability assumed in business combination and recognized at acquisition date, classified as bonuses and deferred compensation.", "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Salaries Bonuses and Deferred Compensation", "negatedLabel": "Bonuses and deferred compensation" } } }, "auth_ref": [] }, "mec_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedSalariesWagesAndPayrollTaxes": { "xbrltype": "monetaryItemType", "nsuri": "http://www.mecinc.com/20260331", "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedSalariesWagesAndPayrollTaxes", "crdr": "credit", "calculation": { "http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails": { "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities", "weight": 1.0, "order": 3.0 } }, "presentation": [ "http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails" ], "lang": { "en-us": { "role": { "documentation": "Amount of liability assumed in business combination and recognized at acquisition date, classified as salaries, wages and payroll taxes.", "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Salaries Wages and Payroll Taxes", "negatedLabel": "Salaries, wages, and payroll taxes" } } }, "auth_ref": [] }, "mec_BusinessCombinationRecognizedIdentifiableAssetsAcquiredOperatingLeaseRightOfUseAsset": { "xbrltype": "monetaryItemType", "nsuri": "http://www.mecinc.com/20260331", "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredOperatingLeaseRightOfUseAsset", "crdr": "debit", "calculation": { "http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails": { "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets", "weight": 1.0, "order": 6.0 } }, "presentation": [ "http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails" ], "lang": { "en-us": { "role": { "documentation": "Amount of operating lease right of use asset acquired in business combination and recognized at acquisition date.", "label": "Business Combination Recognized Identifiable Assets Acquired Operating Lease Right Of Use Asset", "terseLabel": "Operating lease assets" } } }, "auth_ref": [] }, "mec_BusinessCombinationRecognizedLiabilityAssumedLeaseLiabilitiesCurrent": { "xbrltype": "monetaryItemType", "nsuri": "http://www.mecinc.com/20260331", "localname": "BusinessCombinationRecognizedLiabilityAssumedLeaseLiabilitiesCurrent", "crdr": "credit", "calculation": { "http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails": { "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities", "weight": 1.0, "order": 2.0 } }, "presentation": [ "http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails" ], "lang": { "en-us": { "role": { "documentation": "Amount of current lease liabilities assumed in business combination and recognized at acquisition date.", "label": "Business Combination, Recognized Liability Assumed, Lease Liabilities, Current", "negatedLabel": "Lease liabilities, current" } } }, "auth_ref": [] }, "mec_BusinessCombinationRecognizedLiabilityAssumedLeaseLiabilitiesNonCurrent": { "xbrltype": "monetaryItemType", "nsuri": "http://www.mecinc.com/20260331", "localname": "BusinessCombinationRecognizedLiabilityAssumedLeaseLiabilitiesNonCurrent", "crdr": "credit", "calculation": { "http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails": { "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities", "weight": 1.0, "order": 6.0 } }, "presentation": [ "http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails" ], "lang": { "en-us": { "role": { "documentation": "Amount of non-current lease liabilities assumed in business combination and recognized at acquisition date.", "label": "Business Combination, Recognized Liability Assumed, Lease Liabilities, Non-current", "negatedLabel": "Lease liabilities, non-current" } } }, "auth_ref": [] }, "us-gaap_BusinessCombinationsAbstract": { "xbrltype": "stringItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "BusinessCombinationsAbstract", "lang": { "en-us": { "role": { "label": "Acquisition" } } }, "auth_ref": [] }, "us-gaap_BusinessDescriptionAndAccountingPoliciesTextBlock": { "xbrltype": "textBlockItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "BusinessDescriptionAndAccountingPoliciesTextBlock", "presentation": [ "http://www.mecinc.com/role/DisclosureBasisOfPresentation" ], "lang": { "en-us": { "role": { "label": "Business Description and Accounting Policies [Text Block]", "terseLabel": "Basis of presentation", "documentation": "The entire disclosure for the business description and accounting policies concepts. Business description describes the nature and type of organization including but not limited to organizational structure as may be applicable to holding companies, parent and subsidiary relationships, business divisions, business units, business segments, affiliates and information about significant ownership of the reporting entity. Accounting policies describe all significant accounting policies of the reporting entity." } } }, "auth_ref": [ "r1015" ] }, "us-gaap_CapitalExpendituresIncurredButNotYetPaid": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "CapitalExpendituresIncurredButNotYetPaid", "crdr": "credit", "presentation": [ "http://www.mecinc.com/role/StatementCondensedConsolidatedStatementsOfCashFlows" ], "lang": { "en-us": { "role": { "label": "Capital Expenditures Incurred but Not yet Paid", "terseLabel": "Non-cash property, plant and equipment", "documentation": "Future cash outflow to pay for purchases of fixed assets that have occurred." } } }, "auth_ref": [ "r12", "r13", "r14" ] }, "us-gaap_CashAndCashEquivalentsAtCarryingValue": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "CashAndCashEquivalentsAtCarryingValue", "crdr": "debit", "calculation": { "http://www.mecinc.com/role/StatementCondensedConsolidatedBalanceSheets": { "parentTag": "us-gaap_AssetsCurrent", "weight": 1.0, "order": 1.0 } }, "presentation": [ "http://www.mecinc.com/role/StatementCondensedConsolidatedBalanceSheets" ], "lang": { "en-us": { "role": { "label": "Cash and Cash Equivalents, at Carrying Value", "terseLabel": "Cash and cash equivalents", "documentation": "Amount of cash and cash equivalent. Cash includes, but is not limited to, currency on hand, demand deposit with financial institution, and account with general characteristic of demand deposit. Cash equivalent includes, but is not limited to, short-term, highly liquid investment that is both readily convertible to known amount of cash and so near maturity that it presents insignificant risk of change in value because of change in interest rate." } } }, "auth_ref": [ "r10", "r128", "r734" ] }, "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations", "crdr": "debit", "presentation": [ "http://www.mecinc.com/role/StatementCondensedConsolidatedStatementsOfCashFlows" ], "lang": { "en-us": { "role": { "label": "Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents, Including Disposal Group and Discontinued Operations", "periodEndLabel": "Cash and cash equivalents at end of period", "periodStartLabel": "Cash and cash equivalents at beginning of period", "documentation": "Amount of cash and cash equivalent, and cash and cash equivalent restricted to withdrawal or usage; including, but not limited to, discontinued operation. Cash includes, but is not limited to, currency on hand, demand deposit with financial institution, and account with general characteristic of demand deposit. Cash equivalent includes, but is not limited to, short-term, highly liquid investment that is both readily convertible to known amount of cash and so near maturity that it presents insignificant risk of change in value because of change in interest rate." } } }, "auth_ref": [ "r10", "r62", "r157" ] }, "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect", "crdr": "debit", "calculation": { "http://www.mecinc.com/role/StatementCondensedConsolidatedStatementsOfCashFlows": { "parentTag": null, "weight": null, "order": null, "root": true } }, "presentation": [ "http://www.mecinc.com/role/StatementCondensedConsolidatedStatementsOfCashFlows" ], "lang": { "en-us": { "role": { "label": "Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents, Period Increase (Decrease), Including Exchange Rate Effect", "totalLabel": "Net increase (decrease) in cash and cash equivalents", "documentation": "Amount of increase (decrease) in cash and cash equivalent, and cash and cash equivalent restricted to withdrawal or usage; including effect from exchange rate change and including, but not limited to, discontinued operation. Cash includes, but is not limited to, currency on hand, demand deposit with financial institution, and account with general characteristic of demand deposit. Cash equivalent includes, but is not limited to, short-term, highly liquid investment that is both readily convertible to known amount of cash and so near maturity that it presents insignificant risk of change in value because of change in interest rate." } } }, "auth_ref": [ "r0", "r62" ] }, "ecd_ChangedPeerGroupFnTextBlock": { "xbrltype": "textBlockItemType", "nsuri": "http://xbrl.sec.gov/ecd/2025", "localname": "ChangedPeerGroupFnTextBlock", "presentation": [ "http://xbrl.sec.gov/ecd/role/PvpDisclosure" ], "lang": { "en-us": { "role": { "label": "Changed Peer Group, Footnote [Text Block]", "terseLabel": "Changed Peer Group, Footnote" } } }, "auth_ref": [ "r913" ] }, "ecd_ChngInFrValAsOfVstngDtOfPrrYrEqtyAwrdsVstdInCvrdYrMember": { "xbrltype": "domainItemType", "nsuri": "http://xbrl.sec.gov/ecd/2025", "localname": "ChngInFrValAsOfVstngDtOfPrrYrEqtyAwrdsVstdInCvrdYrMember", "presentation": [ "http://xbrl.sec.gov/ecd/role/PvpDisclosure" ], "lang": { "en-us": { "role": { "label": "Change in Fair Value as of Vesting Date of Prior Year Equity Awards Vested in Covered Year [Member]", "terseLabel": "Change in Fair Value as of Vesting Date of Prior Year Equity Awards Vested in Covered Year" } } }, "auth_ref": [ "r910" ] }, "ecd_ChngInFrValOfOutsdngAndUnvstdEqtyAwrdsGrntdInPrrYrsMember": { "xbrltype": "domainItemType", "nsuri": "http://xbrl.sec.gov/ecd/2025", "localname": "ChngInFrValOfOutsdngAndUnvstdEqtyAwrdsGrntdInPrrYrsMember", "presentation": [ "http://xbrl.sec.gov/ecd/role/PvpDisclosure" ], "lang": { "en-us": { "role": { "label": "Year-over-Year Change in Fair Value of Equity Awards Granted in Prior Years That are Outstanding and Unvested [Member]", "terseLabel": "Year-over-Year Change in Fair Value of Equity Awards Granted in Prior Years That are Outstanding and Unvested" } } }, "auth_ref": [ "r908" ] }, "dei_CityAreaCode": { "xbrltype": "normalizedStringItemType", "nsuri": "http://xbrl.sec.gov/dei/2025", "localname": "CityAreaCode", "presentation": [ "http://www.mecinc.com/role/DocumentDocumentAndEntityInformation" ], "lang": { "en-us": { "role": { "label": "City Area Code", "terseLabel": "City Area Code", "documentation": "Area code of city" } } }, "auth_ref": [] }, "ecd_CoSelectedMeasureAmt": { "xbrltype": "decimalItemType", "nsuri": "http://xbrl.sec.gov/ecd/2025", "localname": "CoSelectedMeasureAmt", "presentation": [ "http://xbrl.sec.gov/ecd/role/PvpDisclosure" ], "lang": { "en-us": { "role": { "label": "Company Selected Measure Amount", "terseLabel": "Company Selected Measure Amount" } } }, "auth_ref": [ "r914" ] }, "ecd_CoSelectedMeasureName": { "xbrltype": "normalizedStringItemType", "nsuri": "http://xbrl.sec.gov/ecd/2025", "localname": "CoSelectedMeasureName", "presentation": [ "http://xbrl.sec.gov/ecd/role/PvpDisclosure" ], "lang": { "en-us": { "role": { "label": "Company Selected Measure Name", "terseLabel": "Company Selected Measure Name" } } }, "auth_ref": [ "r914" ] }, "mec_CommercialVehicleMember": { "xbrltype": "domainItemType", "nsuri": "http://www.mecinc.com/20260331", "localname": "CommercialVehicleMember", "presentation": [ "http://www.mecinc.com/role/DisclosureRevenueRecognitionScheduleOfDisaggregationOfRevenueByEndMarketDetails" ], "lang": { "en-us": { "role": { "documentation": "Commercial Vehicle.", "label": "Commercial Vehicle [Member]", "terseLabel": "Commercial vehicle" } } }, "auth_ref": [] }, "us-gaap_CommitmentsAndContingencies": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "CommitmentsAndContingencies", "crdr": "credit", "presentation": [ "http://www.mecinc.com/role/StatementCondensedConsolidatedBalanceSheets" ], "lang": { "en-us": { "role": { "label": "Commitments and Contingencies", "terseLabel": "Commitments and contingencies (see Note 9)", "documentation": "Represents the caption on the face of the balance sheet to indicate that the entity has entered into (1) purchase or supply arrangements that will require expending a portion of its resources to meet the terms thereof, and (2) is exposed to potential losses or, less frequently, gains, arising from (a) possible claims against a company's resources due to future performance under contract terms, and (b) possible losses or likely gains from uncertainties that will ultimately be resolved when one or more future events that are deemed likely to occur do occur or fail to occur." } } }, "auth_ref": [ "r42", "r81", "r621", "r671" ] }, "us-gaap_CommitmentsAndContingenciesDisclosureAbstract": { "xbrltype": "stringItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "CommitmentsAndContingenciesDisclosureAbstract", "lang": { "en-us": { "role": { "label": "Commitments and contingencies." } } }, "auth_ref": [] }, "us-gaap_CommonStockNoParValue": { "xbrltype": "perShareItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "CommonStockNoParValue", "presentation": [ "http://www.mecinc.com/role/StatementCondensedConsolidatedBalanceSheetsParenthetical" ], "lang": { "en-us": { "role": { "label": "Common Stock, No Par Value", "terseLabel": "Common shares, par value", "documentation": "Face amount per share of no-par value common stock." } } }, "auth_ref": [ "r45" ] }, "us-gaap_CommonStockSharesAuthorized": { "xbrltype": "sharesItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "CommonStockSharesAuthorized", "presentation": [ "http://www.mecinc.com/role/DisclosureCommonEquityDetails", "http://www.mecinc.com/role/StatementCondensedConsolidatedBalanceSheetsParenthetical" ], "lang": { "en-us": { "role": { "label": "Common Stock, Shares Authorized", "terseLabel": "Common shares authorized, shares", "documentation": "The maximum number of common shares permitted to be issued by an entity's charter and bylaws." } } }, "auth_ref": [ "r45", "r672" ] }, "us-gaap_CommonStockSharesIssued": { "xbrltype": "sharesItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "CommonStockSharesIssued", "presentation": [ "http://www.mecinc.com/role/StatementCondensedConsolidatedBalanceSheetsParenthetical" ], "lang": { "en-us": { "role": { "label": "Common Stock, Shares, Issued", "terseLabel": "Common shares issued, shares", "documentation": "Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury). These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized. Shares issued include shares outstanding and shares held in the treasury." } } }, "auth_ref": [ "r45" ] }, "mec_CommonStockSharesIssuedIncludingShareBasedCompensation": { "xbrltype": "sharesItemType", "nsuri": "http://www.mecinc.com/20260331", "localname": "CommonStockSharesIssuedIncludingShareBasedCompensation", "presentation": [ "http://www.mecinc.com/role/DisclosureCommonEquityChangesInOutstandingCommonSharesDetails" ], "lang": { "en-us": { "role": { "documentation": "Represents the information pertaining to common stock shares Issued including share based compensation.", "label": "Common Stock Shares Issued Including Share Based Compensation", "terseLabel": "Common stock issued (including share-based compensation impact)" } } }, "auth_ref": [] }, "us-gaap_CommonStockSharesOutstanding": { "xbrltype": "sharesItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "CommonStockSharesOutstanding", "presentation": [ "http://www.mecinc.com/role/DisclosureCommonEquityChangesInOutstandingCommonSharesDetails" ], "lang": { "en-us": { "role": { "label": "Common Stock, Shares, Outstanding", "periodEndLabel": "Ending balance", "periodStartLabel": "Beginning balance", "documentation": "Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation." } } }, "auth_ref": [ "r5", "r45", "r672", "r690", "r1172", "r1173" ] }, "us-gaap_CommonStockValue": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "CommonStockValue", "crdr": "credit", "calculation": { "http://www.mecinc.com/role/StatementCondensedConsolidatedBalanceSheets": { "parentTag": "us-gaap_StockholdersEquity", "weight": 1.0, "order": 1.0 } }, "presentation": [ "http://www.mecinc.com/role/StatementCondensedConsolidatedBalanceSheets" ], "lang": { "en-us": { "role": { "label": "Common Stock, Value, Issued", "terseLabel": "Common shares, no par value, 75,000,000 authorized, 22,602,432 shares issued at March 31, 2026 and 22,505,704 at December 31, 2025", "documentation": "Aggregate par or stated value of issued nonredeemable common stock (or common stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable common shares, par value and other disclosure concepts are in another section within stockholders' equity." } } }, "auth_ref": [ "r45", "r328", "r333", "r622", "r849" ] }, "ecd_CompActuallyPaidVsCoSelectedMeasureTextBlock": { "xbrltype": "textBlockItemType", "nsuri": "http://xbrl.sec.gov/ecd/2025", "localname": "CompActuallyPaidVsCoSelectedMeasureTextBlock", "presentation": [ "http://xbrl.sec.gov/ecd/role/PvpDisclosure" ], "lang": { "en-us": { "role": { "label": "Compensation Actually Paid vs. Company Selected Measure [Text Block]", "terseLabel": "Compensation Actually Paid vs. Company Selected Measure" } } }, "auth_ref": [ "r919" ] }, "ecd_CompActuallyPaidVsNetIncomeTextBlock": { "xbrltype": "textBlockItemType", "nsuri": "http://xbrl.sec.gov/ecd/2025", "localname": "CompActuallyPaidVsNetIncomeTextBlock", "presentation": [ "http://xbrl.sec.gov/ecd/role/PvpDisclosure" ], "lang": { "en-us": { "role": { "label": "Compensation Actually Paid vs. Net Income [Text Block]", "terseLabel": "Compensation Actually Paid vs. Net Income" } } }, "auth_ref": [ "r918" ] }, "ecd_CompActuallyPaidVsOtherMeasureTextBlock": { "xbrltype": "textBlockItemType", "nsuri": "http://xbrl.sec.gov/ecd/2025", "localname": "CompActuallyPaidVsOtherMeasureTextBlock", "presentation": [ "http://xbrl.sec.gov/ecd/role/PvpDisclosure" ], "lang": { "en-us": { "role": { "label": "Compensation Actually Paid vs. Other Measure [Text Block]", "terseLabel": "Compensation Actually Paid vs. Other Measure" } } }, "auth_ref": [ "r920" ] }, "ecd_CompActuallyPaidVsTotalShareholderRtnTextBlock": { "xbrltype": "textBlockItemType", "nsuri": "http://xbrl.sec.gov/ecd/2025", "localname": "CompActuallyPaidVsTotalShareholderRtnTextBlock", "presentation": [ "http://xbrl.sec.gov/ecd/role/PvpDisclosure" ], "lang": { "en-us": { "role": { "label": "Compensation Actually Paid vs. Total Shareholder Return [Text Block]", "terseLabel": "Compensation Actually Paid vs. Total Shareholder Return" } } }, "auth_ref": [ "r917" ] }, "us-gaap_CompensationAndRetirementDisclosureAbstract": { "xbrltype": "stringItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "CompensationAndRetirementDisclosureAbstract", "lang": { "en-us": { "role": { "label": "Retirement plans" } } }, "auth_ref": [] }, "us-gaap_CompensationRelatedCostsGeneralTextBlock": { "xbrltype": "textBlockItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "CompensationRelatedCostsGeneralTextBlock", "presentation": [ "http://www.mecinc.com/role/DisclosureDeferredCompensation" ], "lang": { "en-us": { "role": { "label": "Compensation Related Costs, General [Text Block]", "terseLabel": "Deferred compensation", "documentation": "The entire disclosure for compensation costs, including compensated absences accruals, compensated absences liability, deferred compensation arrangements and income statement compensation items. Deferred compensation arrangements may include a description of an arrangement with an individual employee, which is generally an employment contract between the entity and a selected officer or key employee containing a promise by the employer to pay certain amounts at designated future dates, usually including a period after retirement, upon compliance with stipulated requirements. This type of arrangement is distinguished from broader based employee benefit plans as it is usually tailored to the employee. Disclosure also typically includes the amount of related compensation expense recognized during the reporting period, the number of shares (units) issued during the period under such arrangements, and the carrying amount as of the balance sheet date of the related liability." } } }, "auth_ref": [ "r366", "r367" ] }, "us-gaap_ConcentrationRiskAdditionalCharacteristic": { "xbrltype": "stringItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "ConcentrationRiskAdditionalCharacteristic", "presentation": [ "http://www.mecinc.com/role/DisclosureConcentrationOfMajorCustomersScheduleOfMajorCustomerConcentrationsDetails" ], "lang": { "en-us": { "role": { "label": "Concentration Risk, Additional Characteristic", "terseLabel": "Concentration risk percentage, name of additional characteristic", "documentation": "For an entity that discloses a concentration risk as a percentage of some financial balance or benchmark, this item identifies a second characteristic of the concentration. For example, \"Europe\" is the second characteristic in the phrase: \"net assets in Europe are 70 percent of total net assets\"." } } }, "auth_ref": [ "r1030", "r1035" ] }, "us-gaap_ConcentrationRiskBenchmarkDomain": { "xbrltype": "domainItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "ConcentrationRiskBenchmarkDomain", "presentation": [ "http://www.mecinc.com/role/DisclosureConcentrationOfMajorCustomersScheduleOfMajorCustomerConcentrationsDetails" ], "lang": { "en-us": { "role": { "label": "Concentration Risk Benchmark [Domain]", "terseLabel": "Concentration Risk Benchmark", "documentation": "The denominator in a calculation of a disclosed concentration risk percentage." } } }, "auth_ref": [ "r201", "r229", "r650", "r651", "r727", "r1030", "r1031", "r1032", "r1033", "r1034" ] }, "us-gaap_ConcentrationRiskByBenchmarkAxis": { "xbrltype": "stringItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "ConcentrationRiskByBenchmarkAxis", "presentation": [ "http://www.mecinc.com/role/DisclosureConcentrationOfMajorCustomersScheduleOfMajorCustomerConcentrationsDetails" ], "lang": { "en-us": { "role": { "label": "Concentration Risk Benchmark [Axis]", "terseLabel": "Sales Revenue, Net [Member]", "documentation": "Information by benchmark of concentration risk." } } }, "auth_ref": [ "r201", "r229", "r650", "r651", "r727", "r1030", "r1031", "r1032", "r1033", "r1034" ] }, "us-gaap_ConcentrationRiskByTypeAxis": { "xbrltype": "stringItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "ConcentrationRiskByTypeAxis", "presentation": [ "http://www.mecinc.com/role/DisclosureConcentrationOfMajorCustomersScheduleOfMajorCustomerConcentrationsDetails" ], "lang": { "en-us": { "role": { "label": "Concentration Risk Type [Axis]", "terseLabel": "Concentration Risk Type", "documentation": "Information by type of concentration risk, for example, but not limited to, asset, liability, net assets, geographic, customer, employees, supplier, lender." } } }, "auth_ref": [ "r201", "r229", "r650", "r651", "r727", "r1030", "r1031", "r1032", "r1033", "r1034" ] }, "us-gaap_ConcentrationRiskDisclosureTextBlock": { "xbrltype": "textBlockItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "ConcentrationRiskDisclosureTextBlock", "presentation": [ "http://www.mecinc.com/role/DisclosureConcentrationOfMajorCustomers" ], "lang": { "en-us": { "role": { "label": "Concentration Risk Disclosure [Text Block]", "terseLabel": "Concentration of major customers", "documentation": "The entire disclosure for any concentrations existing at the date of the financial statements that make an entity vulnerable to a reasonably possible, near-term, severe impact. This disclosure informs financial statement users about the general nature of the risk associated with the concentration, and may indicate the percentage of concentration risk as of the balance sheet date." } } }, "auth_ref": [ "r200", "r203", "r569", "r570", "r571", "r572", "r573", "r748", "r1029" ] }, "us-gaap_ConcentrationRiskLineItems": { "xbrltype": "stringItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "ConcentrationRiskLineItems", "presentation": [ "http://www.mecinc.com/role/DisclosureConcentrationOfMajorCustomersScheduleOfMajorCustomerConcentrationsDetails" ], "lang": { "en-us": { "role": { "label": "Concentration Risk [Line Items]", "terseLabel": "Concentration Risk [Line Items]", "documentation": "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." } } }, "auth_ref": [ "r201", "r202", "r727", "r747", "r1030", "r1031", "r1032", "r1033", "r1034" ] }, "us-gaap_ConcentrationRiskPercentage1": { "xbrltype": "percentItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "ConcentrationRiskPercentage1", "presentation": [ "http://www.mecinc.com/role/DisclosureConcentrationOfMajorCustomersScheduleOfMajorCustomerConcentrationsDetails" ], "lang": { "en-us": { "role": { "label": "Concentration Risk, Percentage", "terseLabel": "Concentration risk percentage", "documentation": "For an entity that discloses a concentration risk in relation to quantitative amount, which serves as the \"benchmark\" (or denominator) in the equation, this concept represents the concentration percentage derived from the division." } } }, "auth_ref": [ "r201", "r229", "r1030", "r1031", "r1032", "r1033", "r1034" ] }, "us-gaap_ConcentrationRiskTable": { "xbrltype": "stringItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "ConcentrationRiskTable", "presentation": [ "http://www.mecinc.com/role/DisclosureConcentrationOfMajorCustomersScheduleOfMajorCustomerConcentrationsDetails" ], "lang": { "en-us": { "role": { "label": "Concentration Risk [Table]", "terseLabel": "Concentration Risk [Table]", "documentation": "Disclosure of information about concentration risk. Includes, but is not limited to, percentage of concentration risk and benchmark serving as denominator in calculation of percentage of concentration risk." } } }, "auth_ref": [ "r201", "r202", "r727", "r747", "r1030", "r1031", "r1032", "r1033", "r1034" ] }, "us-gaap_ConcentrationRiskTypeDomain": { "xbrltype": "domainItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "ConcentrationRiskTypeDomain", "presentation": [ "http://www.mecinc.com/role/DisclosureConcentrationOfMajorCustomersScheduleOfMajorCustomerConcentrationsDetails" ], "lang": { "en-us": { "role": { "label": "Concentration Risk Type [Domain]", "terseLabel": "Concentration Risk Type", "documentation": "For an entity that discloses a concentration risk as a percentage of some financial balance or benchmark, identifies the type (for example, asset, liability, net assets, geographic, customer, employees, supplier, lender) of the concentration." } } }, "auth_ref": [ "r201", "r229", "r650", "r651", "r727", "r1030", "r1031", "r1032", "r1033", "r1034" ] }, "mec_ConsolidatedLeverageRatios": { "xbrltype": "percentItemType", "nsuri": "http://www.mecinc.com/20260331", "localname": "ConsolidatedLeverageRatios", "presentation": [ "http://www.mecinc.com/role/DisclosureDebtCreditAgreementsDetails" ], "lang": { "en-us": { "role": { "documentation": "Consolidated leverage ratios.", "label": "Consolidated Leverage Ratios", "terseLabel": "Consolidated leverage ratio" } } }, "auth_ref": [] }, "srt_ConsolidationItemsAxis": { "xbrltype": "stringItemType", "nsuri": "http://fasb.org/srt/2025", "localname": "ConsolidationItemsAxis", "presentation": [ "http://www.mecinc.com/role/DisclosureRevenueRecognitionScheduleOfDisaggregationOfRevenueByProductCategoryDetails" ], "lang": { "en-us": { "role": { "label": "Consolidation Items [Axis]", "terseLabel": "Consolidation Items", "documentation": "Information by components, eliminations, non-segment corporate-level activity and reconciling items used in consolidating a parent entity and its subsidiaries or its operating segments." } } }, "auth_ref": [ "r86", "r92", "r107", "r108", "r109", "r110", "r111", "r112", "r113", "r114", "r115", "r158", "r159", "r164", "r165", "r198", "r211", "r217", "r218", "r219", "r220", "r221", "r223", "r224", "r225", "r287", "r288", "r289", "r290", "r292", "r293", "r294", "r295", "r296", "r616", "r754", "r755", "r961", "r962", "r1068", "r1069" ] }, "srt_ConsolidationItemsDomain": { "xbrltype": "domainItemType", "nsuri": "http://fasb.org/srt/2025", "localname": "ConsolidationItemsDomain", "presentation": [ "http://www.mecinc.com/role/DisclosureRevenueRecognitionScheduleOfDisaggregationOfRevenueByProductCategoryDetails" ], "lang": { "en-us": { "role": { "label": "Consolidation Items [Domain]", "terseLabel": "Consolidation Items", "documentation": "Components, elimination, non-segment corporate-level activity and reconciling items used in consolidating a parent entity and its subsidiaries or its operating segments." } } }, "auth_ref": [ "r86", "r92", "r107", "r108", "r109", "r110", "r111", "r112", "r113", "r114", "r115", "r158", "r159", "r164", "r165", "r198", "r211", "r217", "r218", "r219", "r220", "r221", "r223", "r224", "r225", "r287", "r288", "r289", "r290", "r292", "r293", "r294", "r295", "r296", "r616", "r754", "r755", "r961", "r962", "r1068", "r1069" ] }, "mec_ConstructionAndAccessMember": { "xbrltype": "domainItemType", "nsuri": "http://www.mecinc.com/20260331", "localname": "ConstructionAndAccessMember", "presentation": [ "http://www.mecinc.com/role/DisclosureRevenueRecognitionScheduleOfDisaggregationOfRevenueByEndMarketDetails" ], "lang": { "en-us": { "role": { "documentation": "Construction & Access.", "label": "Construction And Access [Member]", "terseLabel": "Construction & access" } } }, "auth_ref": [] }, "us-gaap_ConstructionInProgressMember": { "xbrltype": "domainItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "ConstructionInProgressMember", "presentation": [ "http://www.mecinc.com/role/DisclosureSelectBalanceSheetDataScheduleOfPropertyPlantAndEquipmentDetails" ], "lang": { "en-us": { "role": { "label": "Construction in Progress [Member]", "terseLabel": "Construction in progress", "documentation": "Structure or a modification to a structure under construction. Includes recently completed structures or modifications to structures that have not been placed into service." } } }, "auth_ref": [] }, "us-gaap_ContractWithCustomerAssetAndLiabilityTableTextBlock": { "xbrltype": "textBlockItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "ContractWithCustomerAssetAndLiabilityTableTextBlock", "presentation": [ "http://www.mecinc.com/role/DisclosureRevenueRecognitionTables" ], "lang": { "en-us": { "role": { "label": "Contract with Customer, Contract Asset, Contract Liability, and Receivable [Table Text Block]", "terseLabel": "Schedule of changes in contract assets and liabilities", "documentation": "Tabular disclosure of receivable, contract asset, and contract liability from contract with customer. Includes, but is not limited to, change in contract asset and contract liability." } } }, "auth_ref": [ "r1072" ] }, "us-gaap_ContractWithCustomerAssetNetCurrent": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "ContractWithCustomerAssetNetCurrent", "crdr": "debit", "presentation": [ "http://www.mecinc.com/role/DisclosureRevenueRecognitionScheduleOfChangesInContractAssetsAndLiabilitiesDetails" ], "lang": { "en-us": { "role": { "label": "Contract with Customer, Asset, after Allowance for Credit Loss, Current", "periodEndLabel": "Contract Assets, ending balance", "periodStartLabel": "Contract Assets, beginning balance", "documentation": "Amount, after allowance for credit loss, of right to consideration in exchange for good or service transferred to customer when right is conditioned on something other than passage of time, classified as current." } } }, "auth_ref": [ "r348", "r350", "r352", "r363" ] }, "us-gaap_ContractWithCustomerAssetReclassifiedToReceivable": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "ContractWithCustomerAssetReclassifiedToReceivable", "crdr": "credit", "presentation": [ "http://www.mecinc.com/role/DisclosureRevenueRecognitionScheduleOfChangesInContractAssetsAndLiabilitiesDetails" ], "lang": { "en-us": { "role": { "label": "Contract with Customer, Asset, Reclassified to Receivable", "negatedLabel": "Net activity", "documentation": "Amount of decrease in right to consideration in exchange for good or service transferred to customer when right is conditioned on something other than passage of time from transfer to receivable due to right to consideration becoming unconditional." } } }, "auth_ref": [ "r770" ] }, "us-gaap_ContractWithCustomerLiabilityCurrent": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "ContractWithCustomerLiabilityCurrent", "crdr": "credit", "presentation": [ "http://www.mecinc.com/role/DisclosureRevenueRecognitionScheduleOfChangesInContractAssetsAndLiabilitiesDetails" ], "lang": { "en-us": { "role": { "label": "Contract with Customer, Liability, Current", "periodEndLabel": "Contract Liabilities, ending balance", "periodStartLabel": "Contract Liabilities, beginning balance", "documentation": "Amount of obligation to transfer good or service to customer for which consideration has been received or is receivable, classified as current." } } }, "auth_ref": [ "r348", "r349", "r352", "r363" ] }, "mec_ContractWithCustomerLiabilityNetActivityAmount": { "xbrltype": "monetaryItemType", "nsuri": "http://www.mecinc.com/20260331", "localname": "ContractWithCustomerLiabilityNetActivityAmount", "crdr": "credit", "presentation": [ "http://www.mecinc.com/role/DisclosureRevenueRecognitionScheduleOfChangesInContractAssetsAndLiabilitiesDetails" ], "lang": { "en-us": { "role": { "documentation": "Contract with customer liability net activity amount.", "label": "Contract With Customer Liability Net Activity Amount", "terseLabel": "Net activity" } } }, "auth_ref": [] }, "us-gaap_ContractWithCustomerLiabilityRevenueRecognized": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "ContractWithCustomerLiabilityRevenueRecognized", "crdr": "credit", "presentation": [ "http://www.mecinc.com/role/DisclosureRevenueRecognitionScheduleOfChangesInContractAssetsAndLiabilitiesDetails" ], "lang": { "en-us": { "role": { "label": "Contract with Customer, Liability, Revenue Recognized", "terseLabel": "Revenue recognized from contract liabilities", "documentation": "Amount of revenue recognized that was previously included in balance of obligation to transfer good or service to customer for which consideration from customer has been received or is due." } } }, "auth_ref": [ "r364" ] }, "us-gaap_CostOfRevenue": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "CostOfRevenue", "crdr": "debit", "calculation": { "http://www.mecinc.com/role/StatementCondensedConsolidatedStatementsOfComprehensiveIncomeLoss": { "parentTag": "us-gaap_OperatingIncomeLoss", "weight": -1.0, "order": 2.0 } }, "presentation": [ "http://www.mecinc.com/role/StatementCondensedConsolidatedStatementsOfComprehensiveIncomeLoss" ], "lang": { "en-us": { "role": { "label": "Cost of Revenue", "terseLabel": "Cost of sales", "documentation": "The aggregate cost of goods produced and sold and services rendered during the reporting period." } } }, "auth_ref": [ "r55", "r158", "r161", "r162", "r232", "r287", "r288", "r290", "r291", "r292", "r293", "r294", "r296", "r297", "r575", "r754", "r1068" ] }, "dei_CoverAbstract": { "xbrltype": "stringItemType", "nsuri": "http://xbrl.sec.gov/dei/2025", "localname": "CoverAbstract", "lang": { "en-us": { "role": { "label": "Document and Entity Information", "documentation": "Cover page." } } }, "auth_ref": [] }, "us-gaap_CreditFacilityAxis": { "xbrltype": "stringItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "CreditFacilityAxis", "presentation": [ "http://www.mecinc.com/role/DisclosureDebtCreditAgreementsDetails" ], "lang": { "en-us": { "role": { "label": "Credit Facility [Axis]", "terseLabel": "Credit Facility", "documentation": "Information by type of credit facility. Credit facilities provide capital to borrowers without the need to structure a loan for each borrowing." } } }, "auth_ref": [ "r286", "r1065" ] }, "us-gaap_CreditFacilityDomain": { "xbrltype": "domainItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "CreditFacilityDomain", "presentation": [ "http://www.mecinc.com/role/DisclosureDebtCreditAgreementsDetails" ], "lang": { "en-us": { "role": { "label": "Credit Facility [Domain]", "terseLabel": "Credit Facility", "documentation": "Type of credit facility. Credit facilities provide capital to borrowers without the need to structure a loan for each borrowing." } } }, "auth_ref": [ "r286", "r1065" ] }, "dei_CurrentFiscalYearEndDate": { "xbrltype": "gMonthDayItemType", "nsuri": "http://xbrl.sec.gov/dei/2025", "localname": "CurrentFiscalYearEndDate", "presentation": [ "http://www.mecinc.com/role/DocumentDocumentAndEntityInformation" ], "lang": { "en-us": { "role": { "label": "Current Fiscal Year End Date", "terseLabel": "Current Fiscal Year End Date", "documentation": "End date of current fiscal year in the format --MM-DD." } } }, "auth_ref": [] }, "mec_CustomerAMember": { "xbrltype": "domainItemType", "nsuri": "http://www.mecinc.com/20260331", "localname": "CustomerAMember", "presentation": [ "http://www.mecinc.com/role/DisclosureConcentrationOfMajorCustomersScheduleOfMajorCustomerConcentrationsDetails" ], "lang": { "en-us": { "role": { "documentation": "Customer A [Member]", "label": "Customer A [Member]", "terseLabel": "Customer A" } } }, "auth_ref": [] }, "mec_CustomerBMember": { "xbrltype": "domainItemType", "nsuri": "http://www.mecinc.com/20260331", "localname": "CustomerBMember", "presentation": [ "http://www.mecinc.com/role/DisclosureConcentrationOfMajorCustomersScheduleOfMajorCustomerConcentrationsDetails" ], "lang": { "en-us": { "role": { "documentation": "Customer B [Member]", "label": "Customer B [Member]", "terseLabel": "Customer B" } } }, "auth_ref": [] }, "mec_CustomerCMember": { "xbrltype": "domainItemType", "nsuri": "http://www.mecinc.com/20260331", "localname": "CustomerCMember", "presentation": [ "http://www.mecinc.com/role/DisclosureConcentrationOfMajorCustomersScheduleOfMajorCustomerConcentrationsDetails" ], "lang": { "en-us": { "role": { "documentation": "Customer C [Member]", "label": "Customer C [Member]", "terseLabel": "Customer C" } } }, "auth_ref": [] }, "us-gaap_CustomerConcentrationRiskMember": { "xbrltype": "domainItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "CustomerConcentrationRiskMember", "presentation": [ "http://www.mecinc.com/role/DisclosureConcentrationOfMajorCustomersScheduleOfMajorCustomerConcentrationsDetails" ], "lang": { "en-us": { "role": { "label": "Customer Concentration Risk [Member]", "terseLabel": "Customer Concentration Risk", "documentation": "Reflects the percentage that revenues in the period from one or more significant customers is to net revenues, as defined by the entity, such as total net revenues, product line revenues, segment revenues. The risk is the materially adverse effects of loss of a significant customer." } } }, "auth_ref": [ "r229", "r1031" ] }, "mec_CustomerRelationshipsAndContractsMember": { "xbrltype": "domainItemType", "nsuri": "http://www.mecinc.com/20260331", "localname": "CustomerRelationshipsAndContractsMember", "presentation": [ "http://www.mecinc.com/role/DisclosureSelectBalanceSheetDataScheduleOfListingOfIntangibleAssetsDetails" ], "lang": { "en-us": { "role": { "documentation": "Customer relationships and contracts.", "label": "Customer Relationships And Contracts [Member]", "terseLabel": "Customer relationships and contracts" } } }, "auth_ref": [] }, "us-gaap_CustomerRelationshipsMember": { "xbrltype": "domainItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "CustomerRelationshipsMember", "presentation": [ "http://www.mecinc.com/role/DisclosureAcquisitionAssetsAcquiredLiabilitiesAssumedDetails" ], "lang": { "en-us": { "role": { "label": "Customer Relationships [Member]", "terseLabel": "Customer relationships", "documentation": "Customer relationship that exists between an entity and its customer, for example, but not limited to, tenant relationships." } } }, "auth_ref": [ "r813", "r1046", "r1047", "r1048", "r1049", "r1051", "r1053", "r1056", "r1057" ] }, "us-gaap_DebtDisclosureAbstract": { "xbrltype": "stringItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "DebtDisclosureAbstract", "lang": { "en-us": { "role": { "label": "Debt" } } }, "auth_ref": [] }, "us-gaap_DebtDisclosureTextBlock": { "xbrltype": "textBlockItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "DebtDisclosureTextBlock", "presentation": [ "http://www.mecinc.com/role/DisclosureDebt" ], "lang": { "en-us": { "role": { "label": "Debt Disclosure [Text Block]", "terseLabel": "Debt", "documentation": "The entire disclosure for information about short-term and long-term debt arrangements, which includes amounts of borrowings under each line of credit, note payable, commercial paper issue, bonds indenture, debenture issue, own-share lending arrangements and any other contractual agreement to repay funds, and about the underlying arrangements, rationale for a classification as long-term, including repayment terms, interest rates, collateral provided, restrictions on use of assets and activities, whether or not in compliance with debt covenants, and other matters important to users of the financial statements, such as the effects of refinancing and noncompliance with debt covenants." } } }, "auth_ref": [ "r73", "r158", "r160", "r257", "r258", "r259", "r260", "r261", "r285", "r286", "r298", "r304", "r305", "r306", "r307", "r308", "r309", "r314", "r321", "r322", "r323", "r537", "r582" ] }, "us-gaap_DebtInstrumentAxis": { "xbrltype": "stringItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "DebtInstrumentAxis", "presentation": [ "http://www.mecinc.com/role/DisclosureDebtCreditAgreementsDetails", "http://www.mecinc.com/role/DisclosureDebtOtherDebtDetails" ], "lang": { "en-us": { "role": { "label": "Debt Instrument [Axis]", "terseLabel": "Debt Instrument", "documentation": "Information by type of debt instrument, including, but not limited to, draws against credit facilities." } } }, "auth_ref": [ "r6", "r35", "r36", "r79", "r80", "r299", "r300", "r301", "r302", "r303", "r305", "r310", "r311", "r312", "r313", "r315", "r316", "r317", "r318", "r319", "r320", "r763", "r764", "r765", "r766", "r767", "r847", "r1017", "r1018", "r1019", "r1022", "r1058", "r1059", "r1060", "r1124", "r1125", "r1136" ] }, "us-gaap_DebtInstrumentBasisSpreadOnVariableRate1": { "xbrltype": "percentItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "DebtInstrumentBasisSpreadOnVariableRate1", "presentation": [ "http://www.mecinc.com/role/DisclosureDebtCreditAgreementsDetails" ], "lang": { "en-us": { "role": { "label": "Debt Instrument, Basis Spread on Variable Rate", "terseLabel": "Debt instrument, basis spread on variable rate", "documentation": "Percentage points added to the reference rate to compute the variable rate on the debt instrument." } } }, "auth_ref": [] }, "mec_DebtInstrumentBasisSpreadOnVariableRateConsolidatedTotalLeverageRatio": { "xbrltype": "percentItemType", "nsuri": "http://www.mecinc.com/20260331", "localname": "DebtInstrumentBasisSpreadOnVariableRateConsolidatedTotalLeverageRatio", "presentation": [ "http://www.mecinc.com/role/DisclosureDebtCreditAgreementsDetails" ], "lang": { "en-us": { "role": { "documentation": "Percentage of Interest rate adjusted to compute the variable rate on the debt instrument depending on the current Total Leverage Ratio.", "label": "Debt Instrument, Basis Spread on Variable Rate, Consolidated Total Leverage Ratio", "terseLabel": "Consolidated total leverage ratio" } } }, "auth_ref": [] }, "us-gaap_DebtInstrumentInterestRateStatedPercentage": { "xbrltype": "percentItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "DebtInstrumentInterestRateStatedPercentage", "presentation": [ "http://www.mecinc.com/role/DisclosureDebtOtherDebtDetails" ], "lang": { "en-us": { "role": { "label": "Debt Instrument, Interest Rate, Stated Percentage", "terseLabel": "Interest rate (as a percent)", "documentation": "Contractual interest rate for funds borrowed, under the debt agreement." } } }, "auth_ref": [ "r38", "r300" ] }, "us-gaap_DebtInstrumentNameDomain": { "xbrltype": "domainItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "DebtInstrumentNameDomain", "presentation": [ "http://www.mecinc.com/role/DisclosureDebtCreditAgreementsDetails", "http://www.mecinc.com/role/DisclosureDebtOtherDebtDetails" ], "lang": { "en-us": { "role": { "label": "Debt Instrument, Name [Domain]", "terseLabel": "Debt Instrument, Name", "documentation": "The name for the particular debt instrument or borrowing that distinguishes it from other debt instruments or borrowings, including draws against credit facilities." } } }, "auth_ref": [ "r6", "r299", "r300", "r301", "r302", "r303", "r305", "r310", "r311", "r312", "r313", "r315", "r316", "r317", "r318", "r319", "r320", "r763", "r764", "r765", "r766", "r767", "r847", "r1017", "r1018", "r1019", "r1022", "r1058", "r1059", "r1060", "r1124", "r1125", "r1136" ] }, "us-gaap_DebtInstrumentPeriodicPayment": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "DebtInstrumentPeriodicPayment", "crdr": "debit", "presentation": [ "http://www.mecinc.com/role/DisclosureDebtOtherDebtDetails" ], "lang": { "en-us": { "role": { "label": "Debt Instrument, Periodic Payment", "terseLabel": "Annual installment", "documentation": "Amount of the required periodic payments including both interest and principal payments." } } }, "auth_ref": [ "r6", "r32" ] }, "us-gaap_DebtLongtermAndShorttermCombinedAmount": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "DebtLongtermAndShorttermCombinedAmount", "crdr": "credit", "presentation": [ "http://www.mecinc.com/role/DisclosureDebtOtherDebtDetails" ], "lang": { "en-us": { "role": { "label": "Debt, Long-Term and Short-Term, Combined Amount", "terseLabel": "Balance outstanding", "documentation": "Represents the aggregate of total long-term debt, including current maturities and short-term debt." } } }, "auth_ref": [] }, "us-gaap_DeferredBonusAndProfitSharingArrangementIndividualContractTypeOfDeferredCompensationDomain": { "xbrltype": "domainItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "DeferredBonusAndProfitSharingArrangementIndividualContractTypeOfDeferredCompensationDomain", "presentation": [ "http://www.mecinc.com/role/DisclosureDeferredCompensationAdditionalInformationDetails" ], "lang": { "en-us": { "role": { "label": "Deferred Bonus and Profit Sharing Arrangement, Individual Contract, Type of Deferred Compensation [Domain]", "terseLabel": "Deferred Bonus and Profit Sharing Arrangement, Individual Contract, Type of Deferred Compensation", "documentation": "Deferred compensation that is not equivalent to a defined benefit pension plan or a defined benefit other postretirement benefit plan. Includes, but is not limited to, employment contracts with one or more selected officers or key employees. Excludes equity-based compensation plans, defined benefit pension plans and defined benefit other postretirement benefit plans." } } }, "auth_ref": [ "r25", "r76" ] }, "mec_DeferredCompensationArrangementWithIndividualAmountOfCompensationDeferred": { "xbrltype": "monetaryItemType", "nsuri": "http://www.mecinc.com/20260331", "localname": "DeferredCompensationArrangementWithIndividualAmountOfCompensationDeferred", "crdr": "debit", "presentation": [ "http://www.mecinc.com/role/DisclosureDeferredCompensationAdditionalInformationDetails" ], "lang": { "en-us": { "role": { "documentation": "The amount of compensation deferred during the period pertaining to the deferred compensation arrangement.", "label": "Deferred Compensation Arrangement with Individual, Amount Of Compensation Deferred", "terseLabel": "Amount of compensation deferred" } } }, "auth_ref": [] }, "mec_DeferredCompensationArrangementWithIndividualAnnualShortTermCashIncentivePercentage": { "xbrltype": "percentItemType", "nsuri": "http://www.mecinc.com/20260331", "localname": "DeferredCompensationArrangementWithIndividualAnnualShortTermCashIncentivePercentage", "presentation": [ "http://www.mecinc.com/role/DisclosureDeferredCompensationAdditionalInformationDetails" ], "lang": { "en-us": { "role": { "documentation": "Deferred compensation arrangement with individual annual short term cash incentive percentage.", "label": "Deferred Compensation Arrangement With Individual Annual Short Term Cash Incentive Percentage", "terseLabel": "Annual short term cash incentive percentage" } } }, "auth_ref": [] }, "us-gaap_DeferredCompensationArrangementWithIndividualCashAwardsGrantedPercentage": { "xbrltype": "percentItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "DeferredCompensationArrangementWithIndividualCashAwardsGrantedPercentage", "presentation": [ "http://www.mecinc.com/role/DisclosureDeferredCompensationAdditionalInformationDetails" ], "lang": { "en-us": { "role": { "label": "Deferred Compensation Arrangement with Individual, Cash Awards Granted, Percentage", "terseLabel": "Deferred compensation arrangements, awards granted percentage", "documentation": "Commitment made to pay deferred cash remuneration expressed as a percentage of the individual's base salary." } } }, "auth_ref": [] }, "us-gaap_DeferredCompensationArrangementWithIndividualCompensationExpense": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "DeferredCompensationArrangementWithIndividualCompensationExpense", "crdr": "debit", "calculation": { "http://www.mecinc.com/role/StatementCondensedConsolidatedStatementsOfComprehensiveIncomeLoss": { "parentTag": "us-gaap_OperatingIncomeLoss", "weight": -1.0, "order": 4.0 } }, "presentation": [ "http://www.mecinc.com/role/DisclosureDeferredCompensationAdditionalInformationDetails", "http://www.mecinc.com/role/StatementCondensedConsolidatedStatementsOfComprehensiveIncomeLoss" ], "lang": { "en-us": { "role": { "label": "Deferred Compensation Arrangement with Individual, Compensation Expense", "terseLabel": "Bonuses and deferred compensation", "verboseLabel": "Deferred compensation plan expense (credit)", "documentation": "The compensation expense recognized during the period pertaining to the deferred compensation arrangement." } } }, "auth_ref": [ "r30", "r76" ] }, "us-gaap_DeferredCompensationArrangementWithIndividualDescription": { "xbrltype": "stringItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "DeferredCompensationArrangementWithIndividualDescription", "presentation": [ "http://www.mecinc.com/role/DisclosureDeferredCompensationAdditionalInformationDetails" ], "lang": { "en-us": { "role": { "label": "Deferred Compensation Arrangement with Individual, Description", "terseLabel": "Description of deferred compensation arrangements", "documentation": "Description of the deferred compensation arrangement, including fixed amounts and determinable awards, or the method for determining payments and awards, the timing of such payments and awards, and any requisite service or performance criteria, as of the balance sheet date." } } }, "auth_ref": [ "r28", "r29" ] }, "us-gaap_DeferredCompensationArrangementWithIndividualDistributionPaid": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "DeferredCompensationArrangementWithIndividualDistributionPaid", "crdr": "credit", "presentation": [ "http://www.mecinc.com/role/DisclosureDeferredCompensationAdditionalInformationDetails" ], "lang": { "en-us": { "role": { "label": "Deferred Compensation Arrangement with Individual, Distribution Paid", "terseLabel": "Deferred compensation, distributions paid", "documentation": "Amount of distribution made to individual in accordance with deferred compensation arrangement." } } }, "auth_ref": [] }, "us-gaap_DeferredCompensationArrangementWithIndividualExcludingShareBasedPaymentsAndPostretirementBenefitsByTypeOfDeferredCompensationAxis": { "xbrltype": "stringItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "DeferredCompensationArrangementWithIndividualExcludingShareBasedPaymentsAndPostretirementBenefitsByTypeOfDeferredCompensationAxis", "presentation": [ "http://www.mecinc.com/role/DisclosureDeferredCompensationAdditionalInformationDetails" ], "lang": { "en-us": { "role": { "label": "Deferred Bonus and Profit Sharing Arrangements, Individual Contracts, Type of Deferred Compensation [Axis]", "terseLabel": "Deferred Bonus and Profit Sharing Arrangements, Individual Contracts, Type of Deferred Compensation", "documentation": "Information by type of deferred compensation that is not equivalent to a defined benefit pension plan or a defined benefit other postretirement benefit plan. Includes, but is not limited to, employment contracts with one or more selected officers or key employees. Excludes equity-based compensation plans, defined benefit pension plans and defined benefit other postretirement benefit plans." } } }, "auth_ref": [ "r25", "r76" ] }, "us-gaap_DeferredCompensationArrangementWithIndividualExcludingShareBasedPaymentsAndPostretirementBenefitsLineItems": { "xbrltype": "stringItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "DeferredCompensationArrangementWithIndividualExcludingShareBasedPaymentsAndPostretirementBenefitsLineItems", "presentation": [ "http://www.mecinc.com/role/DisclosureDeferredCompensationAdditionalInformationDetails" ], "lang": { "en-us": { "role": { "label": "Deferred Compensation Arrangement with Individual, Excluding Share-Based Payments and Postretirement Benefits [Line Items]", "verboseLabel": "Deferred compensation", "documentation": "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." } } }, "auth_ref": [] }, "us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis": { "xbrltype": "stringItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis", "presentation": [ "http://www.mecinc.com/role/DisclosureEmployeeStockOwnershipPlanAdditionalInformationDetails" ], "lang": { "en-us": { "role": { "label": "Equity-Based Arrangements, Individual Contracts, Type of Deferred Compensation [Axis]", "terseLabel": "Equity-Based Arrangements, Individual Contracts, Type of Deferred Compensation", "documentation": "Information by type of deferred compensation related to equity-based payment arrangements. Includes, but is not limited to, employment contracts with one or more selected officers or key employees. Excludes broad group equity-based compensation plans, defined benefit pension plans, defined benefit other postretirement benefit plans and other deferred compensation that is not equivalent to a defined benefit pension plan or a defined benefit other postretirement benefit plan." } } }, "auth_ref": [ "r31" ] }, "us-gaap_DeferredCompensationCashBasedArrangementsLiabilityCurrent": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "DeferredCompensationCashBasedArrangementsLiabilityCurrent", "crdr": "credit", "presentation": [ "http://www.mecinc.com/role/DisclosureDeferredCompensationAdditionalInformationDetails" ], "lang": { "en-us": { "role": { "label": "Deferred Compensation Cash-Based Arrangements, Liability, Current", "terseLabel": "Deferred compensation cash-based arrangements liability, Current", "documentation": "Aggregate carrying value as of the balance sheet date of the liabilities for deferred compensation arrangements payable within one year (or the normal operating cycle, if longer). Represents currently earned compensation under cash arrangements (such as a profit-sharing plan, rabbi trust, and employee contract--excluding equity-based arrangements) that is not actually paid until a later date." } } }, "auth_ref": [ "r26", "r27" ] }, "us-gaap_DeferredCompensationCashbasedArrangementsLiabilityClassifiedNoncurrent": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "DeferredCompensationCashbasedArrangementsLiabilityClassifiedNoncurrent", "crdr": "credit", "calculation": { "http://www.mecinc.com/role/StatementCondensedConsolidatedBalanceSheets": { "parentTag": "us-gaap_Liabilities", "weight": 1.0, "order": 4.0 } }, "presentation": [ "http://www.mecinc.com/role/DisclosureDeferredCompensationAdditionalInformationDetails", "http://www.mecinc.com/role/StatementCondensedConsolidatedBalanceSheets" ], "lang": { "en-us": { "role": { "label": "Deferred Compensation Cash-Based Arrangements, Liability, Classified, Noncurrent", "terseLabel": "Deferred compensation, less current portion", "verboseLabel": "Deferred compensation cash-based arrangements liability, Non current", "documentation": "Aggregate carrying value as of the balance sheet date of the liabilities for deferred compensation arrangements payable after one year (or the normal operating cycle, if longer). Represents currently earned compensation under cash arrangements (such as a profit-sharing plan, rabbi trust, and employee contract--excluding equity-based arrangements) that is not actually paid until a later date." } } }, "auth_ref": [] }, "us-gaap_DeferredCompensationLiabilityAbstract": { "xbrltype": "stringItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "DeferredCompensationLiabilityAbstract", "lang": { "en-us": { "role": { "label": "Deferred compensation" } } }, "auth_ref": [] }, "mec_DeferredCompensationNonCash": { "xbrltype": "monetaryItemType", "nsuri": "http://www.mecinc.com/20260331", "localname": "DeferredCompensationNonCash", "crdr": "debit", "calculation": { "http://www.mecinc.com/role/StatementCondensedConsolidatedStatementsOfCashFlows": { "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities", "weight": 1.0, "order": 9.0 } }, "presentation": [ "http://www.mecinc.com/role/StatementCondensedConsolidatedStatementsOfCashFlows" ], "lang": { "en-us": { "role": { "documentation": "Represents Deferred Compensation Non Cash.", "label": "Deferred Compensation Non Cash", "terseLabel": "Deferred compensation" } } }, "auth_ref": [] }, "us-gaap_DeferredCompensationShareBasedPaymentsMember": { "xbrltype": "domainItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "DeferredCompensationShareBasedPaymentsMember", "presentation": [ "http://www.mecinc.com/role/DisclosureFairValueOfFinancialInstrumentsAssetsAndLiabilitiesAtFairValueDetails" ], "lang": { "en-us": { "role": { "label": "Deferred Compensation, Share-Based Payments [Member]", "terseLabel": "Deferred compensation liability", "documentation": "Deferred compensation arrangements (such as stock or unit options and share or unit awards) that are equity-based payments with individual employees. The arrangements are generally based on employment contracts between the entity and one or more selected officers or key employees, and contain a promise by the employer to pay certain amounts or benefits at designated future dates, upon compliance with stipulated requirements. This type of arrangement is distinguished from broader based employee benefit plans as it is usually tailored to the employee. Other \"sub-members\" can be added as necessary." } } }, "auth_ref": [] }, "us-gaap_DeferredCosts": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "DeferredCosts", "crdr": "debit", "presentation": [ "http://www.mecinc.com/role/DisclosureDebtCreditAgreementsDetails" ], "lang": { "en-us": { "role": { "label": "Deferred Costs, Noncurrent", "terseLabel": "Deferred Costs, long-term", "documentation": "Amount of deferred cost, excluding capitalized cost related to contract with customer; classified as noncurrent." } } }, "auth_ref": [ "r77", "r965" ] }, "us-gaap_DeferredCostsCurrent": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "DeferredCostsCurrent", "crdr": "debit", "presentation": [ "http://www.mecinc.com/role/DisclosureDebtCreditAgreementsDetails" ], "lang": { "en-us": { "role": { "label": "Deferred Costs, Current", "terseLabel": "Deferred costs short-term", "documentation": "Sum of the carrying amounts as of the balance sheet date of deferred costs capitalized at the end of the reporting period that are expected to be charged against earnings within one year or the normal operating cycle, if longer." } } }, "auth_ref": [ "r966" ] }, "us-gaap_DeferredCostsCurrentAndNoncurrent": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "DeferredCostsCurrentAndNoncurrent", "crdr": "debit", "presentation": [ "http://www.mecinc.com/role/DisclosureDebtCreditAgreementsDetails" ], "lang": { "en-us": { "role": { "label": "Deferred Costs", "terseLabel": "Deferred financing costs", "documentation": "The carrying amount of deferred costs." } } }, "auth_ref": [] }, "us-gaap_DeferredIncomeTaxLiabilitiesNet": { "xbrltype": "monetaryItemType", "nsuri": "http://fasb.org/us-gaap/2025", "localname": "DeferredIncomeTaxLiabilitiesNet", "crdr": "credit", "calculation": { "http://www.mecinc.com/role/StatementCondensedConsolidatedBalanceSheets": { "parentTag": "us-gaap_Liabilities", "weight": 1.0, "order": 5.0 } }, "presentation": [ "http://www.mecinc.com/role/StatementCondensedConsolidatedBalanceSheets" ], "lang": { "en-us": { "role": { "label": "Deferred Income Tax Liabilities, Net", "terseLabel": "Deferred income tax liability",