v3.24.1.1.u2
Revenue - Schedule of Disaggregation of Revenue (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Apr. 30, 2024
Apr. 30, 2023
Apr. 30, 2024
Apr. 30, 2023
Disaggregation of Revenue [Line Items]        
Revenue from contract with customer (percent) 100.00% 100.00% 100.00% 100.00%
Revenue $ 92,532 $ 91,242 $ 298,086 $ 302,901
Lease income 300   2,200  
Bulk and Grape Sales        
Disaggregation of Revenue [Line Items]        
Revenue     700 700
Shipping and Handling        
Disaggregation of Revenue [Line Items]        
Revenue $ 1,200 $ 300 $ 2,400 $ 1,400
Wholesale — Distributors        
Disaggregation of Revenue [Line Items]        
Revenue from contract with customer (percent) 60.40% 68.60% 66.60% 68.90%
Wholesale - California direct to trade        
Disaggregation of Revenue [Line Items]        
Revenue from contract with customer (percent) 16.00% 17.50% 16.90% 17.40%
DTC        
Disaggregation of Revenue [Line Items]        
Revenue from contract with customer (percent) 23.60% 13.90% 16.50% 13.70%