Property and Equipment, net - Schedule of Property and Equipment (Details) - USD ($) $ in Thousands |
Apr. 30, 2024 |
Jul. 31, 2023 |
|---|---|---|
| Property, Plant and Equipment [Line Items] | ||
| Property and equipment, gross | $ 669,618 | $ 408,538 |
| Less: accumulated depreciation and amortization | (103,812) | (85,008) |
| Property and equipment, net | 565,806 | 323,530 |
| Land | ||
| Property, Plant and Equipment [Line Items] | ||
| Property and equipment, gross | 309,818 | 141,888 |
| Buildings and improvements | ||
| Property, Plant and Equipment [Line Items] | ||
| Property and equipment, gross | 120,196 | 92,960 |
| Machinery and equipment | ||
| Property, Plant and Equipment [Line Items] | ||
| Property and equipment, gross | 104,591 | 81,984 |
| Vineyards and improvements | ||
| Property, Plant and Equipment [Line Items] | ||
| Property and equipment, gross | 64,274 | 44,896 |
| Barrels | ||
| Property, Plant and Equipment [Line Items] | ||
| Property and equipment, gross | 51,281 | 34,944 |
| Construction in progress | ||
| Property, Plant and Equipment [Line Items] | ||
| Property and equipment, gross | $ 19,458 | $ 11,866 |