v3.26.1
Related Party Transactions - Additional Information (Detail) - Axis LLC - USD ($)
$ in Millions
3 Months Ended 9 Months Ended
May 31, 2026
May 31, 2025
May 31, 2026
May 31, 2025
Related Party Transaction [Line Items]        
Percentage of ownership in entity 41.90%   41.90%  
Railcar Components        
Related Party Transaction [Line Items]        
Purchases of goods from related party $ 0.7 $ 2.0 $ 4.3 $ 6.7