XML 69 R59.htm IDEA: XBRL DOCUMENT v3.24.2.u1
Deferred compensation - Additional Information (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2024
Jun. 30, 2023
Jun. 30, 2024
Jun. 30, 2023
Dec. 31, 2023
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     50.00%    
Annual short term cash incentive     100.00%    
Deferred compensation plan (Income) expense $ 4,133 $ 2,688 $ 7,933 $ 5,690  
Deferred compensation cash-based arrangements liability, Current 241   241   $ 289
Deferred compensation cash-based arrangements liability, Non current 4,315   4,315   $ 3,816
Deferred compensation, distributions paid     286 17,562  
Deferred Profit Sharing [Member]          
Deferred compensation          
Deferred compensation plan (Income) expense 53 169 285 729  
Employees [Member]          
Deferred compensation          
Deferred compensation plan (Income) expense $ 83 $ 80 $ 447 $ 316