XML 41 R35.htm IDEA: XBRL DOCUMENT v3.24.1.u1
Cash and Marketable Securities - Additional Information (Detail) - USD ($)
$ in Thousands
9 Months Ended
Feb. 29, 2024
May 31, 2023
Restricted Cash and Cash Equivalents Items [Line Items]    
Cash and cash equivalents $ 161,437 $ 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