XML 156 R128.htm IDEA: XBRL DOCUMENT v3.24.2
Related Party Transactions - Additional Information (Detail) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2024
May 31, 2023
Worthington Steel | Long Term Steel Supply Agreement    
Related Party Transaction [Line Items]    
Purchases from affiliates $ 65,920  
Payable 9,637  
The Separation of Worthington Steel    
Related Party Transaction [Line Items]    
Direct and incremental costs 31,226 $ 24,048
Direct and incremental costs attributed to discontinued operations $ 18,521 $ 17,514