v3.26.1
Related Party Transactions - Additional Information (Detail) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2026
May 31, 2025
May 31, 2024
Worthington Steel | Long Term Steel Supply Agreement      
Related Party Transaction [Line Items]      
Purchases from affiliates $ 137,077 $ 113,400  
Accounts payable related to purchases from related party $ 6,904 $ 9,099  
The Separation of Worthington Steel      
Related Party Transaction [Line Items]      
Direct and incremental costs     $ 31,226
Direct and incremental costs attributed to discontinued operations     $ 18,521