Basis of presentation and significant accounting policies | Basis of presentation and significant accounting policies Basis of presentation The Company’s Condensed Consolidated Financial Statements are prepared in accordance with U.S. GAAP and Article 10 of the Securities and Exchange Commission’s Regulation S-X. As permitted under those rules, certain footnotes or other financial information that are normally required by U.S. GAAP may be condensed or omitted. These Condensed Consolidated Financial Statements have been prepared on the same basis as the Company's audited annual financial statements and, in the opinion of Management, reflect all adjustments, consisting only of normal recurring adjustments, which are necessary for the fair statement of the Company's financial information for the interim periods presented. These interim results are not necessarily indicative of the results to be expected for the year ending July 31, 2022, for any other interim period or for any future year. The Condensed Consolidated Financial Statements are unaudited and should be read in conjunction with the audited consolidated financial statements and related notes thereto for the year ended July 31, 2021. Principles of consolidation The Condensed Consolidated Financial Statements include the accounts of The Duckhorn Portfolio, Inc. and its subsidiaries, including a consolidated VIE of which the Company has determined it is the primary beneficiary. All intercompany balances and transactions are eliminated in consolidation. Accounting estimates The preparation of Condensed Consolidated Financial Statements requires Management to make estimates and assumptions that affect the reported amounts of assets and liabilities and disclosure of contingent assets and liabilities at the date of the Condensed Consolidated Financial Statements and the reported amounts of revenues and expenses during the reporting period. Such estimates include, but are not limited to, the following: useful lives and recoverability of long-lived assets, inventory obsolescence and reserves, capitalized indirect inventory costs, allowance for doubtful accounts receivable, calculation of accrued liabilities, customer incentive reserves, uncertain tax positions, contingent liabilities, fair value of assets and liabilities acquired in connection with business combinations, equity-based compensation and deferred revenues. Actual results could differ from those estimates. Preferred stock The Company has 100,000,000 shares of $0.01 par value preferred stock authorized, none of which are issued and outstanding. Variable interest entities The Company evaluates its ownership, contractual relationships and other interests in entities to determine the nature and extent of the interests, whether such interests are variable interests and whether the entities are VIEs in accordance with ASC 810, Consolidations. These evaluations can be complex and involve Management judgment as well as the use of estimates and assumptions based on available historical information, among other factors. Based on these evaluations, if the Company determines that it is the primary beneficiary of a VIE, the entity is consolidated into the financial statements. At October 31, 2021 and July 31, 2021, the Company's ownership percentage of the sole identified VIE was 76.2%. The VIE's net assets, were $2.4 million and $2.2 million at October 31, 2021 and July 31, 2021, respectively. The assets and liabilities, which may only be used to settle its own obligations, are primarily related to property, equipment and working capital accounts, which generally represent the amounts owned by or to the Company for the goods under current contracts. Recent accounting pronouncements As an “emerging growth company” as established by the JOBS Act, the Company is permitted to delay adoption of new or revised accounting pronouncements applicable to public companies until such pronouncements are made applicable to private companies. The Company has elected to use the adoption dates available to private companies. As a result, the Company’s financial statements may not be comparable to the financial statements of issuers who are required to comply with the effective date for new or revised accounting standards that are applicable to public companies. Recently issued accounting pronouncements not yet adopted: In February 2016, the FASB issued ASU No. 2016-02, Leases (Topic 842) , and several amendments, codified as ASC 842, which supersedes prior guidance on accounting for leases under FASB ASC 840, Leases. ASU No. 2016-02, among other provisions, (i) requires lessees to classify leases as either finance or operating leases, (ii) generally requires all leases to be recorded on the Condensed Consolidated Statements of Financial Position through the recognition of right-of-use assets and corresponding lease liabilities and (iii) expands mandatory qualitative and quantitative disclosures regarding leasing activities. The FASB issued ASU No. 2020-05, “Revenue from Contracts with Customers (Topic 606) and Leases (Topic 842) Effective dates for certain entities”, which extends the effective date for all other entities, for annual reporting periods beginning after December 15, 2021, and for interim periods within fiscal years beginning after December 15, 2022. The amended standard is effective for the Company beginning with the year ended July 31, 2023. Early adoption is permitted. The Company’s assessment of the lease standard’s impact on the Condensed Consolidated Financial Statements is ongoing, and is expected to result in the recognition of right of use assets and lease liabilities related to the Company’s operating leases. In June 2016, the FASB issued ASU No. 2016-13, Financial Instruments–Credit Losses (Topic 326), Measurement of Credit Losses on Financial Instruments, and also issued subsequent amendments to the initial guidance, collectively, ASC 326, to replace the incurred loss impairment methodology in current U.S. GAAP with a methodology that requires the reflection of expected credit losses and will also require consideration of a broader range of reasonable and supportable information to determine credit loss estimates. For many entities with financial instruments, the standard will require the use of a forward-looking expected loss model rather than the incurred loss model for recognizing credit losses, which may result in the earlier recognition of credit losses on financial instruments. This guidance will be effective for the Company beginning with the year ended July 31, 2024, with early adoption permitted. The Company is currently evaluating the impact this standard could have on the Condensed Consolidated Financial Statements. In March 2020, the FASB issued ASU No. 2020-04, Reference Rate Reform (Topic 848): Facilitation of the Effects of Reference Rate Reform on Financial Reporting (“ASU 2020-04”) , and further issued subsequent amendments to the initial guidance. In order to ease the potential burden in accounting for reference rate reform, ASU 2020-04 provides optional expedients and exceptions for applying GAAP to contracts, hedging relationships and other transactions that reference the LIBOR or another reference rate expected to be discontinued because of reference rate reform, if certain criteria are met. ASU 2020-04 applies only to contracts, hedging relationships and other transactions that reference LIBOR or another reference rate expected to be discontinued. The standard is effective immediately and may be applied prospectively through December 31, 2022. The Company is currently evaluating the impact of reference rate reform and the optional expedients provided by this standard on its contracts. In May 2021, the FASB issued ASU No. 2021-04, Earnings per Share (Topic 260), Debt - Modifications and Extinguishments (Subtopic 470-50), Compensation-Stock Compensation (Topic 718), and Derivatives and Hedging - Contracts in Entity's Own Entity (Subtopic 815-40) |