v3.26.1
Basis of Presentation - Additional Information (Detail) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Feb. 28, 2026
Feb. 28, 2025
Feb. 28, 2026
Feb. 28, 2025
May 31, 2025
Significant Accounting Policies [Line Items]          
Allowance for doubtful accounts $ 1,062   $ 1,062   $ 907
Halo          
Significant Accounting Policies [Line Items]          
Percent of controlling interest by the Company 80.00%   80.00%    
Worthington Steel | Long-term Steel Supply Agreement          
Significant Accounting Policies [Line Items]          
Purchases $ 34,607 $ 27,536 $ 103,508 $ 78,991  
Accounts payable related to purchases from related party $ 10,614   $ 10,614   $ 9,099