XML 130 R115.htm IDEA: XBRL DOCUMENT v3.21.2
SEGMENT INFORMATION - Summarized Financial Information of Net Revenue by Geographical Location (Details) - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2021
Jul. 31, 2020
Segment Reporting Information [Line Items]    
Total net revenue $ 613,766 $ 782,813
United States    
Segment Reporting Information [Line Items]    
Total net revenue 448,253 524,249
Mainland China    
Segment Reporting Information [Line Items]    
Total net revenue 71,307 126,611
Other    
Segment Reporting Information [Line Items]    
Total net revenue $ 94,206 $ 131,953