XML 41 R31.htm IDEA: XBRL DOCUMENT v3.22.2
SIGNIFICANT ACCOUNTING POLICIES - Fair Value of Financial Instruments (Detail) - Fair Value, Recurring - USD ($)
$ in Thousands
May 31, 2022
Aug. 31, 2021
Defined Benefit Plan Disclosure [Line Items]    
Acquisition-related contingent consideration obligations $ 0 $ 3,217
Level 1    
Defined Benefit Plan Disclosure [Line Items]    
Acquisition-related contingent consideration obligations 0 0
Level 2    
Defined Benefit Plan Disclosure [Line Items]    
Acquisition-related contingent consideration obligations 0 0
Level 3    
Defined Benefit Plan Disclosure [Line Items]    
Acquisition-related contingent consideration obligations 0 3,217
Cash and cash equivalents    
Defined Benefit Plan Disclosure [Line Items]    
Assets, fair value disclosure 42,353 36,984
Cash and cash equivalents | Level 1    
Defined Benefit Plan Disclosure [Line Items]    
Assets, fair value disclosure 42,353 36,984
Cash and cash equivalents | Level 2    
Defined Benefit Plan Disclosure [Line Items]    
Assets, fair value disclosure 0 0
Cash and cash equivalents | Level 3    
Defined Benefit Plan Disclosure [Line Items]    
Assets, fair value disclosure 0 0
Short-term investments    
Defined Benefit Plan Disclosure [Line Items]    
Assets, fair value disclosure 79,801 86,484
Short-term investments | Level 1    
Defined Benefit Plan Disclosure [Line Items]    
Assets, fair value disclosure 79,801 86,484
Short-term investments | Level 2    
Defined Benefit Plan Disclosure [Line Items]    
Assets, fair value disclosure 0 0
Short-term investments | Level 3    
Defined Benefit Plan Disclosure [Line Items]    
Assets, fair value disclosure $ 0 $ 0