v3.26.1
Investments in Unconsolidated Affiliates - Additional Information (Detail) - USD ($)
$ in Thousands
9 Months Ended
Feb. 28, 2026
Oct. 16, 2025
May 31, 2025
Investments in and Advances to Affiliates [Line Items]      
Investments in unconsolidated affiliates $ 118,678   $ 129,262
ClarkDietrich      
Investments in and Advances to Affiliates [Line Items]      
Percent of ownership interest held in unconsolidated affiliates 25.00%    
Sustainable Energy Solutions      
Investments in and Advances to Affiliates [Line Items]      
Percent of ownership interest held in unconsolidated affiliates 49.00% 49.00%  
Loss on sale of equity investments $ 2,950    
WAVE      
Investments in and Advances to Affiliates [Line Items]      
Percent of ownership interest held in unconsolidated affiliates 50.00%    
Investments in unconsolidated affiliates $ 109,592   $ 103,767
Workhorse      
Investments in and Advances to Affiliates [Line Items]      
Percent of ownership interest held in unconsolidated affiliates 20.00%    
Serviacero Worthington      
Investments in and Advances to Affiliates [Line Items]      
Distributions from unconsolidated affiliates $ 105,481