XML 86 R74.htm IDEA: XBRL DOCUMENT v3.21.2
Related Party Transactions - Additional Information (Detail) - USD ($)
3 Months Ended 9 Months Ended
May 31, 2021
May 31, 2020
May 31, 2021
May 31, 2020
Related Party Transaction [Line Items]        
Carrying amount of investment in unconsolidated affiliates $ 3,200,000   $ 3,200,000  
Axis LLC        
Related Party Transaction [Line Items]        
Percentage of ownership in entity 41.90%   41.90%  
Axis LLC | Railcar Components        
Related Party Transaction [Line Items]        
Purchases of goods from related party $ 3,300,000 $ 4,300,000 $ 10,000,000.0 $ 11,500,000
Greenbrier        
Related Party Transaction [Line Items]        
Percentage of ownership in entity 40.00%   40.00%  
Greenbrier | Leasing Warehouse        
Related Party Transaction [Line Items]        
Revenue recognize from railcars sold     $ 0 $ 0