v3.25.2
Document and Entity Information - shares
6 Months Ended
Jun. 30, 2025
Aug. 01, 2025
Document and Entity Information    
Document Type 10-Q  
Document Quarterly Report true  
Document Period End Date Jun. 30, 2025  
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,317,825
Entity Central Index Key 0001766368  
Current Fiscal Year End Date --12-31  
Document Fiscal Year Focus 2025  
Document Fiscal Period Focus Q2  
Amendment Flag false