XML 153 R127.htm IDEA: XBRL DOCUMENT v3.22.2
Related Party Transactions - Additional Information (Detail) - USD ($)
12 Months Ended
May 31, 2022
May 31, 2021
May 31, 2020
Related Party Transactions [Abstract]      
Net sales to affiliates $ 82,516,000 $ 41,426,000 $ 33,826,000
Purchases from affiliates 12,389,000 5,000,000 $ 2,461,000
Receivables from affiliates 3,551,000 3,891,000  
Payable to affiliates $ 12,000 $ 9,000