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% |
| X | ||||||||||
- Definition Revenue from Contract with Customer, Excluding Assessed Tax, Percentage No definition available.
|
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of lease income from operating, direct financing, and sales-type leases. Includes, but is not limited to, variable lease payments, interest income, profit (loss) recognized at commencement, and lease payments paid and payable to lessor. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount, excluding tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer. Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value added and excise. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|