XML 40 R35.htm IDEA: XBRL DOCUMENT v3.23.4
Cash and Marketable Securities - Additional Information (Detail) - USD ($)
$ in Thousands
6 Months Ended
Nov. 30, 2023
May 31, 2023
Restricted Cash and Cash Equivalents Items [Line Items]    
Cash and cash equivalents $ 205,765 $ 163,240
Marketable securities, maturity period 90 days  
Minimum    
Restricted Cash and Cash Equivalents Items [Line Items]    
Marketable securities, maturity period 91 days  
Maximum    
Restricted Cash and Cash Equivalents Items [Line Items]    
Marketable securities, maturity period 2 years