Basis of Presentation - Additional Information (Detail) - USD ($) $ in Thousands |
3 Months Ended | |||
|---|---|---|---|---|
Aug. 31, 2026 |
Aug. 31, 2025 |
May 31, 2026 |
Feb. 01, 2024 |
|
| Significant Accounting Policies [Line Items] | ||||
| Allowance for doubtful accounts | $ 1,290 | $ 1,310 | ||
| Halo | ||||
| Significant Accounting Policies [Line Items] | ||||
| Percent of controlling interest by the Company | 80.00% | |||
| Worthington Steel | Long-term Steel Supply Agreement | ||||
| Significant Accounting Policies [Line Items] | ||||
| Purchases from affiliates | 33,850 | $ 37,036 | ||
| Accounts payable related to purchases from related party | $ 8,782 | $ 6,904 | ||