XML 54 R45.htm IDEA: XBRL DOCUMENT v3.22.2.2
Derivatives - Schedule of Gain Loss From Derivatives Not Designated As Hedging Instruments Statements of Financial Performance And Location (Detail) - USD ($)
$ in Thousands
3 Months Ended
Aug. 31, 2022
Aug. 31, 2021
Not Designated as Hedging Instrument [Member] | Forward Contracts [Member] | Other income (expense)    
Schedule of Gain Loss From Derivatives Not Designated As Hedging Instruments Statements of Financial Performance And Location [Line Items]    
Foreign currency forward contracts $ 882 $ 521