| | | | | | | | | | | | | | | | | | | | | |
<?xml version="1.0" encoding="windows-1252"?> |
<FilingSummary> |
| <Version> 3.21.2 </Version> |
| <ProcessingTime/> |
| <ReportFormat> html </ReportFormat> |
| <ContextCount> 277 </ContextCount> |
| <ElementCount> 466 </ElementCount> |
| <EntityCount> 1 </EntityCount> |
| <FootnotesReported> false </FootnotesReported> |
| <SegmentCount> 98 </SegmentCount> |
| <ScenarioCount> 0 </ScenarioCount> |
| <TuplesReported> false </TuplesReported> |
| <UnitCount> 9 </UnitCount> |
| <MyReports> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R1.htm </HtmlFileName> |
| | | <LongName> 0001001 - Document - Cover </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/Cover </Role> |
| | | <ShortName> Cover </ShortName> |
| | | <MenuCategory> Cover </MenuCategory> |
| | | <Position> 1 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R2.htm </HtmlFileName> |
| | | <LongName> 1001002 - Statement - Consolidated Statements of Financial Position </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/ConsolidatedStatementsofFinancialPosition </Role> |
| | | <ShortName> Consolidated Statements of Financial Position </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 2 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R3.htm </HtmlFileName> |
| | | <LongName> 1003003 - Statement - Consolidated Statements of Operations </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/ConsolidatedStatementsofOperations </Role> |
| | | <ShortName> Consolidated Statements of Operations </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 3 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R4.htm </HtmlFileName> |
| | | <LongName> 1005004 - Statement - Consolidated Statements of Changes in Equity </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/ConsolidatedStatementsofChangesinEquity </Role> |
| | | <ShortName> Consolidated Statements of Changes in Equity </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 4 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R5.htm </HtmlFileName> |
| | | <LongName> 1006005 - Statement - Consolidated Statements of Cash Flows </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/ConsolidatedStatementsofCashFlows </Role> |
| | | <ShortName> Consolidated Statements of Cash Flows </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 5 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R6.htm </HtmlFileName> |
| | | <LongName> 1402401 - Statement - Consolidated Statements of Financial Position (Parenthetical) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/ConsolidatedStatementsofFinancialPositionParenthetical </Role> |
| | | <ShortName> Consolidated Statements of Financial Position (Parenthetical) </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 6 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R7.htm </HtmlFileName> |
| | | <LongName> 1404402 - Statement - Consolidated Statements of Operations (Parenthetical) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/ConsolidatedStatementsofOperationsParenthetical </Role> |
| | | <ShortName> Consolidated Statements of Operations (Parenthetical) </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 7 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R8.htm </HtmlFileName> |
| | | <LongName> 2101101 - Disclosure - Description of business </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/Descriptionofbusiness </Role> |
| | | <ShortName> Description of business </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 8 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R9.htm </HtmlFileName> |
| | | <LongName> 2103102 - Disclosure - Basis of presentation and significant accounting policies </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/Basisofpresentationandsignificantaccountingpolicies </Role> |
| | | <ShortName> Basis of presentation and significant accounting policies </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 9 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R10.htm </HtmlFileName> |
| | | <LongName> 2108103 - Disclosure - Revenue </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/Revenue </Role> |
| | | <ShortName> Revenue </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 10 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R11.htm </HtmlFileName> |
| | | <LongName> 2112104 - Disclosure - Acquisition </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/Acquisition </Role> |
| | | <ShortName> Acquisition </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 11 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R12.htm </HtmlFileName> |
| | | <LongName> 2116105 - Disclosure - Inventories </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/Inventories </Role> |
| | | <ShortName> Inventories </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 12 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R13.htm </HtmlFileName> |
| | | <LongName> 2120106 - Disclosure - Property and equipment </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/Propertyandequipment </Role> |
| | | <ShortName> Property and equipment </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 13 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R14.htm </HtmlFileName> |
| | | <LongName> 2124107 - Disclosure - Goodwill and other intangible assets </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/Goodwillandotherintangibleassets </Role> |
| | | <ShortName> Goodwill and other intangible assets </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 14 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R15.htm </HtmlFileName> |
| | | <LongName> 2129108 - Disclosure - Accounts payable and accrued expenses </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/Accountspayableandaccruedexpenses </Role> |
| | | <ShortName> Accounts payable and accrued expenses </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 15 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R16.htm </HtmlFileName> |
| | | <LongName> 2134109 - Disclosure - Debt </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/Debt </Role> |
| | | <ShortName> Debt </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 16 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R17.htm </HtmlFileName> |
| | | <LongName> 2139110 - Disclosure - Derivative instruments </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/Derivativeinstruments </Role> |
| | | <ShortName> Derivative instruments </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 17 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R18.htm </HtmlFileName> |
| | | <LongName> 2146111 - Disclosure - Fair value measurements </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/Fairvaluemeasurements </Role> |
| | | <ShortName> Fair value measurements </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 18 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R19.htm </HtmlFileName> |
| | | <LongName> 2149112 - Disclosure - Income taxes </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/Incometaxes </Role> |
| | | <ShortName> Income taxes </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 19 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R20.htm </HtmlFileName> |
| | | <LongName> 2154113 - Disclosure - Employee benefit plans </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/Employeebenefitplans </Role> |
| | | <ShortName> Employee benefit plans </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 20 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R21.htm </HtmlFileName> |
| | | <LongName> 2156114 - Disclosure - Commitment and contingencies </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/Commitmentandcontingencies </Role> |
| | | <ShortName> Commitment and contingencies </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 21 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R22.htm </HtmlFileName> |
| | | <LongName> 2160115 - Disclosure - Equity-based compensation </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/Equitybasedcompensation </Role> |
| | | <ShortName> Equity-based compensation </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 22 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R23.htm </HtmlFileName> |
| | | <LongName> 2166116 - Disclosure - Related party transactions </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/Relatedpartytransactions </Role> |
| | | <ShortName> Related party transactions </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 23 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R24.htm </HtmlFileName> |
| | | <LongName> 2168117 - Disclosure - Casualty gain </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/Casualtygain </Role> |
| | | <ShortName> Casualty gain </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 24 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R25.htm </HtmlFileName> |
| | | <LongName> 2170118 - Disclosure - Earnings per share </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/Earningspershare </Role> |
| | | <ShortName> Earnings per share </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 25 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R26.htm </HtmlFileName> |
| | | <LongName> 2204201 - Disclosure - Basis of presentation and significant accounting policies (Policies) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/BasisofpresentationandsignificantaccountingpoliciesPolicies </Role> |
| | | <ShortName> Basis of presentation and significant accounting policies (Policies) </ShortName> |
| | | <MenuCategory> Policies </MenuCategory> |
| | | <Position> 26 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R27.htm </HtmlFileName> |
| | | <LongName> 2305301 - Disclosure - Basis of presentation and significant accounting policies (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/BasisofpresentationandsignificantaccountingpoliciesTables </Role> |
| | | <ShortName> Basis of presentation and significant accounting policies (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.duckhornportfolio.com/role/Basisofpresentationandsignificantaccountingpolicies </ParentRole> |
| | | <Position> 27 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R28.htm </HtmlFileName> |
| | | <LongName> 2309302 - Disclosure - Revenue (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/RevenueTables </Role> |
| | | <ShortName> Revenue (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.duckhornportfolio.com/role/Revenue </ParentRole> |
| | | <Position> 28 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R29.htm </HtmlFileName> |
| | | <LongName> 2313303 - Disclosure - Acquisition (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/AcquisitionTables </Role> |
| | | <ShortName> Acquisition (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.duckhornportfolio.com/role/Acquisition </ParentRole> |
| | | <Position> 29 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R30.htm </HtmlFileName> |
| | | <LongName> 2317304 - Disclosure - Inventories (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/InventoriesTables </Role> |
| | | <ShortName> Inventories (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.duckhornportfolio.com/role/Inventories </ParentRole> |
| | | <Position> 30 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R31.htm </HtmlFileName> |
| | | <LongName> 2321305 - Disclosure - Property and equipment (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/PropertyandequipmentTables </Role> |
| | | <ShortName> Property and equipment (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.duckhornportfolio.com/role/Propertyandequipment </ParentRole> |
| | | <Position> 31 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R32.htm </HtmlFileName> |
| | | <LongName> 2325306 - Disclosure - Goodwill and other intangible assets (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/GoodwillandotherintangibleassetsTables </Role> |
| | | <ShortName> Goodwill and other intangible assets (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.duckhornportfolio.com/role/Goodwillandotherintangibleassets </ParentRole> |
| | | <Position> 32 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R33.htm </HtmlFileName> |
| | | <LongName> 2330307 - Disclosure - Accounts payable and accrued expenses (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/AccountspayableandaccruedexpensesTables </Role> |
| | | <ShortName> Accounts payable and accrued expenses (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.duckhornportfolio.com/role/Accountspayableandaccruedexpenses </ParentRole> |
| | | <Position> 33 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R34.htm </HtmlFileName> |
| | | <LongName> 2335308 - Disclosure - Debt (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/DebtTables </Role> |
| | | <ShortName> Debt (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.duckhornportfolio.com/role/Debt </ParentRole> |
| | | <Position> 34 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R35.htm </HtmlFileName> |
| | | <LongName> 2340309 - Disclosure - Derivative instruments (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/DerivativeinstrumentsTables </Role> |
| | | <ShortName> Derivative instruments (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.duckhornportfolio.com/role/Derivativeinstruments </ParentRole> |
| | | <Position> 35 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R36.htm </HtmlFileName> |
| | | <LongName> 2347310 - Disclosure - Fair value measurements (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/FairvaluemeasurementsTables </Role> |
| | | <ShortName> Fair value measurements (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.duckhornportfolio.com/role/Fairvaluemeasurements </ParentRole> |
| | | <Position> 36 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R37.htm </HtmlFileName> |
| | | <LongName> 2350311 - Disclosure - Income taxes (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/IncometaxesTables </Role> |
| | | <ShortName> Income taxes (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.duckhornportfolio.com/role/Incometaxes </ParentRole> |
| | | <Position> 37 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R38.htm </HtmlFileName> |
| | | <LongName> 2357312 - Disclosure - Commitment and contingencies (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/CommitmentandcontingenciesTables </Role> |
| | | <ShortName> Commitment and contingencies (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.duckhornportfolio.com/role/Commitmentandcontingencies </ParentRole> |
| | | <Position> 38 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R39.htm </HtmlFileName> |
| | | <LongName> 2361313 - Disclosure - Equity-based compensation (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/EquitybasedcompensationTables </Role> |
| | | <ShortName> Equity-based compensation (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.duckhornportfolio.com/role/Equitybasedcompensation </ParentRole> |
| | | <Position> 39 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R40.htm </HtmlFileName> |
| | | <LongName> 2371314 - Disclosure - Earnings per share (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/EarningspershareTables </Role> |
| | | <ShortName> Earnings per share (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.duckhornportfolio.com/role/Earningspershare </ParentRole> |
| | | <Position> 40 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R41.htm </HtmlFileName> |
| | | <LongName> 2402403 - Disclosure - Description of business (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/DescriptionofbusinessDetails </Role> |
| | | <ShortName> Description of business (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.duckhornportfolio.com/role/Descriptionofbusiness </ParentRole> |
| | | <Position> 41 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R42.htm </HtmlFileName> |
| | | <LongName> 2406404 - Disclosure - Basis of presentation and significant accounting policies - Narrative (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/BasisofpresentationandsignificantaccountingpoliciesNarrativeDetails </Role> |
| | | <ShortName> Basis of presentation and significant accounting policies - Narrative (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.duckhornportfolio.com/role/BasisofpresentationandsignificantaccountingpoliciesTables </ParentRole> |
| | | <Position> 42 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R43.htm </HtmlFileName> |
| | | <LongName> 2407405 - Disclosure - Basis of presentation and significant accounting policies - Schedule of Concentration Risk by Customer (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/BasisofpresentationandsignificantaccountingpoliciesScheduleofConcentrationRiskbyCustomerDetails </Role> |
| | | <ShortName> Basis of presentation and significant accounting policies - Schedule of Concentration Risk by Customer (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 43 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R44.htm </HtmlFileName> |
| | | <LongName> 2410406 - Disclosure - Revenue - Disaggregation of Revenue (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/RevenueDisaggregationofRevenueDetails </Role> |
| | | <ShortName> Revenue - Disaggregation of Revenue (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 44 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R45.htm </HtmlFileName> |
| | | <LongName> 2411407 - Disclosure - Revenue - Schedule of Change in Contract Liabilities (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/RevenueScheduleofChangeinContractLiabilitiesDetails </Role> |
| | | <ShortName> Revenue - Schedule of Change in Contract Liabilities (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 45 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R46.htm </HtmlFileName> |
| | | <LongName> 2414408 - Disclosure - Acquisition - Narrative (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/AcquisitionNarrativeDetails </Role> |
| | | <ShortName> Acquisition - Narrative (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 46 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R47.htm </HtmlFileName> |
| | | <LongName> 2415409 - Disclosure - Acquisition - Summary of Consideration Transferred and the Fair Value of Assets and Liabilities Acquired (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/AcquisitionSummaryofConsiderationTransferredandtheFairValueofAssetsandLiabilitiesAcquiredDetails </Role> |
| | | <ShortName> Acquisition - Summary of Consideration Transferred and the Fair Value of Assets and Liabilities Acquired (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 47 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R48.htm </HtmlFileName> |
| | | <LongName> 2418410 - Disclosure - Inventories - Schedule of Inventories (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/InventoriesScheduleofInventoriesDetails </Role> |
| | | <ShortName> Inventories - Schedule of Inventories (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 48 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R49.htm </HtmlFileName> |
| | | <LongName> 2419411 - Disclosure - Inventories - Narrative (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/InventoriesNarrativeDetails </Role> |
| | | <ShortName> Inventories - Narrative (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 49 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R50.htm </HtmlFileName> |
| | | <LongName> 2422412 - Disclosure - Property and equipment - Schedule of Property and Equipment (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/PropertyandequipmentScheduleofPropertyandEquipmentDetails </Role> |
| | | <ShortName> Property and equipment - Schedule of Property and Equipment (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 50 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R51.htm </HtmlFileName> |
| | | <LongName> 2423413 - Disclosure - Property and equipment - Narrative (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/PropertyandequipmentNarrativeDetails </Role> |
| | | <ShortName> Property and equipment - Narrative (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 51 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R52.htm </HtmlFileName> |
| | | <LongName> 2426414 - Disclosure - Goodwill and other intangible assets - Narrative (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/GoodwillandotherintangibleassetsNarrativeDetails </Role> |
| | | <ShortName> Goodwill and other intangible assets - Narrative (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 52 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R53.htm </HtmlFileName> |
| | | <LongName> 2427415 - Disclosure - Goodwill and other intangible assets - Schedule of Intangible Assets (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/GoodwillandotherintangibleassetsScheduleofIntangibleAssetsDetails </Role> |
| | | <ShortName> Goodwill and other intangible assets - Schedule of Intangible Assets (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 53 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R54.htm </HtmlFileName> |
| | | <LongName> 2428416 - Disclosure - Goodwill and other intangible assets - Schedule of Future Amortization Expense (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/GoodwillandotherintangibleassetsScheduleofFutureAmortizationExpenseDetails </Role> |
| | | <ShortName> Goodwill and other intangible assets - Schedule of Future Amortization Expense (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 54 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R55.htm </HtmlFileName> |
| | | <LongName> 2431417 - Disclosure - Accounts payable and accrued expenses - Schedule of Accounts Payable (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/AccountspayableandaccruedexpensesScheduleofAccountsPayableDetails </Role> |
| | | <ShortName> Accounts payable and accrued expenses - Schedule of Accounts Payable (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 55 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R56.htm </HtmlFileName> |
| | | <LongName> 2432418 - Disclosure - Accounts payable and accrued expenses - Schedule of Accrued Liabilities (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/AccountspayableandaccruedexpensesScheduleofAccruedLiabilitiesDetails </Role> |
| | | <ShortName> Accounts payable and accrued expenses - Schedule of Accrued Liabilities (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 56 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R57.htm </HtmlFileName> |
| | | <LongName> 2433419 - Disclosure - Accounts payable and accrued expenses - Narrative (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/AccountspayableandaccruedexpensesNarrativeDetails </Role> |
| | | <ShortName> Accounts payable and accrued expenses - Narrative (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 57 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R58.htm </HtmlFileName> |
| | | <LongName> 2436420 - Disclosure - Debt - Schedule of Long Term Debt (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/DebtScheduleofLongTermDebtDetails </Role> |
| | | <ShortName> Debt - Schedule of Long Term Debt (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 58 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R59.htm </HtmlFileName> |
| | | <LongName> 2437421 - Disclosure - Debt - Narrative (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/DebtNarrativeDetails </Role> |
| | | <ShortName> Debt - Narrative (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 59 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R60.htm </HtmlFileName> |
| | | <LongName> 2438422 - Disclosure - Debt - Schedule of Long Term Debt Repayment (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/DebtScheduleofLongTermDebtRepaymentDetails </Role> |
| | | <ShortName> Debt - Schedule of Long Term Debt Repayment (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 60 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R61.htm </HtmlFileName> |
| | | <LongName> 2441423 - Disclosure - Derivative instruments - Interest Rate Swaps (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/DerivativeinstrumentsInterestRateSwapsDetails </Role> |
| | | <ShortName> Derivative instruments - Interest Rate Swaps (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 61 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R62.htm </HtmlFileName> |
| | | <LongName> 2442424 - Disclosure - Derivative instruments - Narrative (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/DerivativeinstrumentsNarrativeDetails </Role> |
| | | <ShortName> Derivative instruments - Narrative (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 62 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R63.htm </HtmlFileName> |
| | | <LongName> 2443425 - Disclosure - Derivative instruments - Total Notional Amount (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/DerivativeinstrumentsTotalNotionalAmountDetails </Role> |
| | | <ShortName> Derivative instruments - Total Notional Amount (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 63 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R64.htm </HtmlFileName> |
| | | <LongName> 2444426 - Disclosure - Derivative instruments - Estimated Fair Value and Classification of Derivative Instruments on the Condensed Consolidated Statements of Financial Position (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/DerivativeinstrumentsEstimatedFairValueandClassificationofDerivativeInstrumentsontheCondensedConsolidatedStatementsofFinancialPositionDetails </Role> |
| | | <ShortName> Derivative instruments - Estimated Fair Value and Classification of Derivative Instruments on the Condensed Consolidated Statements of Financial Position (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 64 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R65.htm </HtmlFileName> |
| | | <LongName> 2445427 - Disclosure - Derivative instruments - Amounts and Classification of the Gains and Losses in the Condensed Consolidated Statements of Operations (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/DerivativeinstrumentsAmountsandClassificationoftheGainsandLossesintheCondensedConsolidatedStatementsofOperationsDetails </Role> |
| | | <ShortName> Derivative instruments - Amounts and Classification of the Gains and Losses in the Condensed Consolidated Statements of Operations (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 65 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R66.htm </HtmlFileName> |
| | | <LongName> 2448428 - Disclosure - Fair value measurements - Assets and Liabilities Measured on a Recurring Basis (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/FairvaluemeasurementsAssetsandLiabilitiesMeasuredonaRecurringBasisDetails </Role> |
| | | <ShortName> Fair value measurements - Assets and Liabilities Measured on a Recurring Basis (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 66 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R67.htm </HtmlFileName> |
| | | <LongName> 2451429 - Disclosure - Income taxes - Provision (Benefit) for Income Taxes (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/IncometaxesProvisionBenefitforIncomeTaxesDetails </Role> |
| | | <ShortName> Income taxes - Provision (Benefit) for Income Taxes (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 67 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R68.htm </HtmlFileName> |
| | | <LongName> 2452430 - Disclosure - Income taxes - Schedule of Deferred Tax Assets and Liabilities (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/IncometaxesScheduleofDeferredTaxAssetsandLiabilitiesDetails </Role> |
| | | <ShortName> Income taxes - Schedule of Deferred Tax Assets and Liabilities (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 68 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R69.htm </HtmlFileName> |
| | | <LongName> 2453431 - Disclosure - Income taxes - Effective Income Tax Rate Reconciliation (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/IncometaxesEffectiveIncomeTaxRateReconciliationDetails </Role> |
| | | <ShortName> Income taxes - Effective Income Tax Rate Reconciliation (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 69 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R70.htm </HtmlFileName> |
| | | <LongName> 2455432 - Disclosure - Employee benefit plans - Narrative (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/EmployeebenefitplansNarrativeDetails </Role> |
| | | <ShortName> Employee benefit plans - Narrative (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 70 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R71.htm </HtmlFileName> |
| | | <LongName> 2458433 - Disclosure - Commitment and contingencies - Narrative (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/CommitmentandcontingenciesNarrativeDetails </Role> |
| | | <ShortName> Commitment and contingencies - Narrative (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 71 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R72.htm </HtmlFileName> |
| | | <LongName> 2459434 - Disclosure - Commitment and contingencies - Future Minimum Payments for Operating Leases (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/CommitmentandcontingenciesFutureMinimumPaymentsforOperatingLeasesDetails </Role> |
| | | <ShortName> Commitment and contingencies - Future Minimum Payments for Operating Leases (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 72 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R73.htm </HtmlFileName> |
| | | <LongName> 2462435 - Disclosure - Equity-based compensation - Narrative (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/EquitybasedcompensationNarrativeDetails </Role> |
| | | <ShortName> Equity-based compensation - Narrative (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 73 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R74.htm </HtmlFileName> |
| | | <LongName> 2463436 - Disclosure - Equity-based compensation - Activity for Awards (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/EquitybasedcompensationActivityforAwardsDetails </Role> |
| | | <ShortName> Equity-based compensation - Activity for Awards (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 74 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R75.htm </HtmlFileName> |
| | | <LongName> 2464437 - Disclosure - Equity-based compensation - Valuation Assumptions (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/EquitybasedcompensationValuationAssumptionsDetails </Role> |
| | | <ShortName> Equity-based compensation - Valuation Assumptions (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 75 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R76.htm </HtmlFileName> |
| | | <LongName> 2465438 - Disclosure - Equity-based compensation - Stock Option Activity (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/EquitybasedcompensationStockOptionActivityDetails </Role> |
| | | <ShortName> Equity-based compensation - Stock Option Activity (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 76 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R77.htm </HtmlFileName> |
| | | <LongName> 2467439 - Disclosure - Related party transactions - Narrative (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/RelatedpartytransactionsNarrativeDetails </Role> |
| | | <ShortName> Related party transactions - Narrative (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 77 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R78.htm </HtmlFileName> |
| | | <LongName> 2469440 - Disclosure - Casualty gain - Narrative (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/CasualtygainNarrativeDetails </Role> |
| | | <ShortName> Casualty gain - Narrative (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 78 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R79.htm </HtmlFileName> |
| | | <LongName> 2472441 - Disclosure - Earnings per share - Reconciliation of Basic and Diluted Income Per Share (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/EarningspershareReconciliationofBasicandDilutedIncomePerShareDetails </Role> |
| | | <ShortName> Earnings per share - Reconciliation of Basic and Diluted Income Per Share (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 79 </Position> |
| | | </Report> |
| | <Report instance="napa-20210731.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R80.htm </HtmlFileName> |
| | | <LongName> 2473442 - Disclosure - Earnings per share - Narrative (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.duckhornportfolio.com/role/EarningspershareNarrativeDetails </Role> |
| | | <ShortName> Earnings per share - Narrative (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 80 </Position> |
| | | </Report> |
| | <Report> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <LongName> All Reports </LongName> |
| | | <ReportType> Book </ReportType> |
| | | <ShortName> All Reports </ShortName> |
| | | </Report> |
| | </MyReports> |
| <InputFiles> |
| | <File doctype="10-K" original="napa-20210731.htm"> napa-20210731.htm </File> |
| | <File> napa-20210731.xsd </File> |
| | <File> napa-20210731_cal.xml </File> |
| | <File> napa-20210731_def.xml </File> |
| | <File> napa-20210731_lab.xml </File> |
| | <File> napa-20210731_pre.xml </File> |
| | <File> q4fy21-exhibit1018.htm </File> |
| | <File> q4fy21-exhibit211.htm </File> |
| | <File> q4fy21-exhibit231.htm </File> |
| | <File> q4fy21-exhibit311.htm </File> |
| | <File> q4fy21-exhibit312.htm </File> |
| | <File> q4fy21-exhibit321.htm </File> |
| | <File> q4fy21-exhibit42.htm </File> |
| | </InputFiles> |
| <SupplementalFiles> |
| | <File> napa-20210731_g1.jpg </File> |
| | </SupplementalFiles> |
| <BaseTaxonomies> |
| | <BaseTaxonomy> http://xbrl.sec.gov/country/2021 </BaseTaxonomy> |
| | <BaseTaxonomy> http://xbrl.sec.gov/currency/2021 </BaseTaxonomy> |
| | <BaseTaxonomy> http://fasb.org/srt/2021-01-31 </BaseTaxonomy> |
| | <BaseTaxonomy> http://xbrl.sec.gov/dei/2021 </BaseTaxonomy> |
| | <BaseTaxonomy> http://fasb.org/us-gaap/2021-01-31 </BaseTaxonomy> |
| | </BaseTaxonomies> |
| <HasPresentationLinkbase> true </HasPresentationLinkbase> |
| <HasCalculationLinkbase> true </HasCalculationLinkbase> |
| </FilingSummary> |