XML 203 R130.htm IDEA: XBRL DOCUMENT v3.21.2
Related Party Transactions - Additional Information (Detail) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2021
May 31, 2020
May 31, 2019
Related Party Transactions [Abstract]      
Net sales to affiliates $ 41,426 $ 33,826 $ 53,125
Purchases from affiliates 5,000 2,461 $ 2,906
Receivables from affiliates 3,891 8,688  
Payable to affiliates $ 9 $ 4,736