XML 134 R119.htm IDEA: XBRL DOCUMENT v3.22.2
Change in Non-cash Working Capital - Summary of Change in Non-cash Working Capital (Detail) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2022
May 31, 2021
May 31, 2020
Change In Non Cash Working Capital [Abstract]      
Accounts receivable $ (5,842) $ (23,512) $ (25,593)
Prepaids and other current assets 4,472 (6,772) (10,899)
Inventory (45,749) (55,205) (89,660)
Accounts payable and accrued liabilities (44,652) 14,635 47,320
Total $ (91,771) $ (70,854) $ (78,832)