XML 75 R37.htm IDEA: XBRL DOCUMENT v3.20.1
BASIS OF PRESENTATION Error Corrections and Prior Period Adjustments (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jan. 31, 2020
Oct. 31, 2019
Jan. 31, 2019
Jan. 31, 2020
Jan. 31, 2019
Jul. 31, 2019
Quantifying Misstatement in Current Year Financial Statements [Line Items]            
Operating expenses $ 38,076   $ 35,417 $ 67,580 $ 70,081  
Net loss $ (3,557)   $ (11,753) 1,235 $ (19,118)  
Restatement Adjustment            
Quantifying Misstatement in Current Year Financial Statements [Line Items]            
Accrued expenses           $ 106,300
Adjustment of Tax Related Liabilities            
Quantifying Misstatement in Current Year Financial Statements [Line Items]            
Adjustments of tax related liabilities   $ 6,400        
Operating Expense | Restatement Adjustment | Adjustment of Tax Related Liabilities            
Quantifying Misstatement in Current Year Financial Statements [Line Items]            
Operating expenses       137,700    
Net loss | Restatement Adjustment            
Quantifying Misstatement in Current Year Financial Statements [Line Items]            
Net loss       $ (60,300)