XML 68 R58.htm IDEA: XBRL DOCUMENT v3.25.3
Deferred compensation - Additional Information (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2025
Sep. 30, 2024
Sep. 30, 2025
Sep. 30, 2024
Dec. 31, 2024
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 $ 1,397   $ 1,397   $ 251
Deferred compensation cash-based arrangements liability, Non current 4,672   4,672   $ 4,719
Deferred compensation plan (Income) expense 2,221 $ 2,076 7,071 $ 10,010  
Deferred compensation, distributions paid     253 286  
Deferred Profit Sharing          
Deferred compensation          
Deferred compensation plan (Income) expense 281 204 591 489  
Employees          
Deferred compensation          
Amount of compensation deferred $ 87 $ 96 $ 762 $ 544