v3.25.2
Related Party Transactions - Additional Information (Detail) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2025
May 31, 2024
May 31, 2023
Worthington Steel | Long Term Steel Supply Agreement      
Related Party Transaction [Line Items]      
Purchases from affiliates $ 113,400 $ 65,920  
Accounts payable related to purchases from related party $ 9,099 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