Segment Information - Additional information (Details)
$ in Thousands
3 Months Ended
Jan. 31, 2022
USD ($)
Segment
Jul. 31, 2021
USD ($)
Revenues from External Customers and Long-Lived Assets [Line Items]    
Number of reportable segments | Segment 1  
Long-lived assets $ 117,609 $ 131,621
U.S.    
Revenues from External Customers and Long-Lived Assets [Line Items]    
Long-lived assets $ 77,347 $ 86,468