Summary of Significant Accounting Policies | 2. Summary of Significant Accounting Policies Basis of Presentation The accompanying consolidated financial statements have been prepared in conformity with generally accepted accounting principles in the United States of America ("U.S. GAAP" or "GAAP"). Principles of Consolidation The consolidated financial statements include the accounts of the Company and its wholly owned subsidiaries. All intercompany balances and transactions have been eliminated in consolidation. Fiscal Year The Company’s fiscal year ends on January 31. References to fiscal 2024, for example, refer to the fiscal year ended January 31, 2024. Foreign Currency Transactions The functional currency of the Company’s foreign subsidiaries is the U.S. dollar. Transactions denominated in currencies other than the functional currency are remeasured at the average exchange rate in effect during the reporting period. At the end of each reporting period all monetary assets and liabilities of the Company’s subsidiaries are remeasured at the current U.S. dollar exchange rate at the end of the reporting period. Non monetary assets and liabilities denominated in foreign currencies have been remeasured into U.S. dollar using historical exchange rates. Remeasurement gains and losses are included within other income, net in the accompanying consolidated statements of operations. Remeasurement gains and losses were not material to the consolidated financial statements for fiscal 2024, fiscal 2023, and fiscal 2022. Use of Estimates The preparation of consolidated financial statements in accordance with GAAP 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 consolidated financial statements, and the reported amounts of income and expense during the reporting period. Such management estimates include, but are not limited to, the determination of standalone selling prices of the Company’s performance obligations, the estimated period of benefit of deferred contract acquisition costs, the fair value of share-based awards, capitalization of software development costs, discount rates used to measure operating leases, valuation of acquired intangible assets and goodwill, and the valuation allowance on deferred tax assets and uncertain tax positions. These estimates are based on information available as of the date of the consolidated financial statements; therefore, actual results could differ from those estimates. Cash and Cash Equivalents The Company considers all highly liquid investments with an original maturity of three months or less when purchased to be cash equivalents. Accounts Receivable and Allowance for Doubtful Accounts Trade Accounts receivable primarily consists of amounts billed currently due from customers. The Company’s accounts receivable are subject to collection risk. Gross accounts receivable are reduced for this risk by an allowance for doubtful accounts. This allowance is for estimated losses resulting from the inability of the Company’s customers to make required payments. The Company determines the need for an allowance for doubtful accounts based upon various factors, including past collection experience, credit quality of the customer, age of the receivable balance, and current economic conditions, as well as specific circumstances arising with individual customers. The allowance for credit losses reflects the Company’s best estimate of probable losses inherent in the Company’s receivables portfolio. Activity related to the Company’s allowance for doubtful accounts was as follows (in thousands): Year Ended January 31, 2024 2023 2022 Beginning balance $ 13 $ 20 $ 36 Bad debt expense — — 14 Write-offs, net of recoveries (13) (7) (30) Ending balance $ — $ 13 $ 20 When management determines a balance is uncollectible and the Company no longer actively pursues collection of the receivable, both the gross accounts receivable and the full allowance on that receivable are written off. Concentrations of Credit Risk and Significant Customers Financial instruments that potentially subject the Company to concentrations of credit risk consist primarily of cash and cash equivalents, and trade accounts receivable. Although the Company deposits its cash with multiple financial institutions, the deposits, at times, may exceed federally insured limits. The Company invests its excess cash in highly-rated money market funds. The Company extends credit to customers in the normal course of business. The Company monitors for uncollectible accounts on an ongoing basis. There were no customers that individually exceeded 10% of the Company’s revenue for fiscal 2024, fiscal 2023, and fiscal 2022. As of January 31, 2024 and 2023, one cloud service provider marketplace represented 20% and 11%, respectively, of accounts receivable, net. As of January 31, 2023, one customer represented 11%, of accounts receivable, net and no customer represented 10% or more of accounts receivable, net as of January 31, 2024. Property and Equipment, net Property and equipment are stated at cost. Depreciation is calculated using the straight-line method over the estimated useful lives of the assets, generally ranging from three Revenue Recognition The Company generates revenue primarily from software subscriptions and, to a lesser extent, professional services and other revenue. The software subscriptions are currently predominantly self-managed by users and customers who deploy it across public, private, and hybrid cloud environments. The Company also offers the HashiCorp Cloud Platform, or HCP, our fully-managed cloud platform for multiple products. Subscription revenue. The Company generates revenue primarily from subscriptions which include licenses of proprietary features, support and maintenance revenue, and cloud-hosted services. Our contracts for self-managed software consist of term licenses that provide the customer with a right to use the software for a fixed term commencing upon delivery to the customer, bundled with support and maintenance for the term of the license period. Support and maintenance (collectively referred to as Support Revenue in the consolidated statements of operations) are not sold on a stand-alone basis. Our self-managed Subscription Revenue is disaggregated into License Revenue and Support Revenue in the consolidated statement of operations. The Company does not have observable standalone sales to determine the Standalone Selling Price, or SSP, for its licenses or its support as they are not sold separately. The Company developed a model to estimate relative SSP for each performance obligation using an “expected cost-plus margin” approach. This model uses observable data points to develop the main assumptions including the estimated useful life of the intellectual property and appropriate margins. Cloud-hosted services are provided on a subscription basis and give customers access to our cloud solutions, which include related customer support. Subscription revenue on self-managed software includes both upfront revenue recognized when the license is delivered as well as revenue recognized ratably over the contract period for support and maintenance. The substantial majority of our revenue is recognized ratably over the subscription term. Revenue on committed cloud-hosted services is recognized ratably when we satisfy the performance obligation over the contract period, whereas revenue from non-committed, pay-as-you-go cloud-hosted services are recognized when usage occurs. The Company generates subscription revenue from contracts with typical durations ranging from one Professional services and other revenue . Professional services and other revenue consists of revenue from professional services, training services, which are predominantly sold on a fixed-fee basis and any other services provided to our customers. Revenue for professional services, training services and other is recognized as these services are delivered. Professional services are services utilized by some of our self-managed customers to accelerate the deployment of our products. Support and maintenance revenue and cloud-hosted services make up the majority of our revenue and are typically recognized ratably over the terms of our subscription contracts. Therefore, a substantial portion of the revenue that we report in each period is attributable to the recognition of deferred revenue relating to agreements that we entered into during previous periods. Consequently, increases or decreases in new sales or renewals in any one period may not be immediately reflected as revenue for that period. Any downturn in sales, however, may negatively affect our revenue in future periods. Accordingly, the effect of downturns in sales and market acceptance of our products, and potential changes in our rate of renewals, may not be fully reflected in our results of operations until future periods. The Company recognizes revenue when its customer obtains control of promised goods or services in an amount that reflects the consideration that the Company expects to receive in exchange for those goods or services. In determining the appropriate amount of revenue to be recognized as it fulfills its obligations under each of its agreements, the Company performs the following steps: (i) identification of the contract with a customer; The Company contracts with its customers typically through order forms or purchase orders which in most cases are governed by master sales agreements. At contract inception the Company evaluates whether two or more contracts should be combined and accounted for as a single contract and identifies the different performance obligations accordingly. (ii) determination of whether the promised goods or services are performance obligations; Performance obligations promised in a contract are identified based on the products and services that will be transferred to the customer that are both capable of being distinct and distinct in the context of the contract. The Company’s self-managed subscriptions include both an obligation to provide the customer with the right to use its proprietary software, as well as an obligation to provide support (on both open-source and proprietary software) and maintenance. Support is contractually mandatory in order for the customer to legally use the proprietary software. Certain arrangements with customers include a renewal option that is separately evaluated for a material right. The Company’s cloud-hosted services products provide access to hosted software as well as support, which the Company considers to be a single performance obligation. Professional services and other are not integral to the functionality of the subscription services and are generally distinct from the other performance obligations. The Company has concluded that its contracts with customers do not contain warranties that give rise to a separate performance obligation. (iii) measurement of the transaction price; The transaction price is determined based on the consideration to which the Company expects to be entitled in exchange for transferring services and products to the customer. The Company records revenue net of any value added or sales tax. Variable consideration is included in the transaction price if, in the Company’s judgment, it is probable that a significant future reversal of cumulative revenue under the contract will not occur. None of the Company’s contracts contain a significant financing component. (iv) allocation of the transaction price to the performance obligations; and The Company measures the transaction price with reference to the standalone selling price, or SSP, of the various performance obligations inherent within a contract. Management determines the SSP based on an observable standalone selling price when it is available, as well as other factors, including the price charged to customers, discounting practices, and overall pricing objectives, while maximizing observable inputs. The Company does not have observable SSP for its licenses or its support as they are not sold separately. The Company developed a model to estimate relative SSP for each performance obligation using an “expected cost-plus margin” approach. This model uses observable data points to develop the main assumptions including the estimated useful life of the intellectual property and appropriate margins. If a contract contains a single performance obligation, the entire transaction price is allocated to the single performance obligation. For contracts that contain multiple performance obligations, the Company allocates the transaction price to each performance obligation based on their relative SSP. The Company also considers if there are any additional material rights inherent in a contract, and if so, the Company allocates a portion of the transaction price to such rights based on its relative SSP. For the Company’s contracts with customers which include a material right of renewal each month, the Company uses the practical alternative to allocate value to the future optional renewal of software and related mandatory support services. As the Company expects renewals over the full contractually stated term, the entire transaction price is allocated evenly to each monthly renewal option. (v) recognition of revenue when the Company satisfies each performance obligation. Revenue is recognized at the time the related performance obligation is satisfied by transferring the promised product or service to the customer. The Company’s self-managed subscriptions include both upfront revenue recognition when the license is delivered as well as revenue recognized ratably over the contract period for support and maintenance based on the stand-ready nature of these elements. When arrangements include material rights associated with monthly renewal options, the Company recognizes revenue each month equal to the allocated value of a one-month term license and one-month support and maintenance services. In the event that the customer cancels support, the customer receives a refund for the remaining contractual balance of support while any remaining nonrefundable software balance is immediately recognized as revenue. The amount of potentially refundable contractual balance is included in customer deposits within the consolidated balance sheets. Revenue on committed cloud-hosted services is recognized ratably when performance obligations are satisfied over the contract period, whereas revenue from non-committed, pay-as-you-go cloud-hosted services are recognized when usage occurs. Revenue for professional services and other is recognized as these services are delivered. Professional services and other are services utilized by some self-managed customers to accelerate the deployment of the Company’s products. The Company sells directly through its sales team and through its channel partners. Sales to channel partners are made at a discount and revenues are recorded at this discounted price once all the revenue recognition criteria above are met. Contract Balances The Company generates subscription revenue from contracts with typical stated durations ranging from one The Company receives payments from customers based upon contractual billing schedules; accounts receivable is recorded when the right to consideration becomes unconditional. Payment terms on invoiced amounts are typically 30 to 60 days. Contract assets include amounts related to the Company’s contractual right to consideration for both completed and partially completed performance obligations that may not have been invoiced. Contract assets were $3.8 million and $4.9 million as of January 31, 2024 and January 31, 2023, respectively, and are included in accounts receivable, net in the consolidated balance sheets. Contract liabilities include payments received in advance of performance under the contract and are recorded to deferred revenue and deferred revenue, non-current in the consolidated balance sheets. Customer refundable prepayments are recorded as customer deposits in the consolidated balance sheets. Deferred Contract Acquisition Costs Deferred contract acquisition costs represent costs that are incremental to the acquisition of customer contracts, which consist mainly of sales commissions and associated payroll taxes. The Company determines whether costs should be deferred based on sales compensation plans, by determining if the commissions are in fact incremental and would not have occurred absent the customer contract. Sales commissions for the renewal of a contract are not considered commensurate with the commissions paid for the acquisition of the initial contract given the substantive difference in commission rates in proportion to their respective contract values. Commissions paid upon the initial acquisition of a contract are amortized over an estimated period of benefit of five years while commissions paid for renewal contracts are amortized over the contractual term of the renewals. Amortization of deferred contract acquisition costs is recognized commensurate with the same pattern of revenue recognition and included in sales and marketing expense in the consolidated statements of operations. The Company determines the period of benefit for commissions paid for the acquisition of the initial contract by taking into consideration the expected contract term and expected renewals of customer contracts, the duration of relationships with the Company’s customers, customer retention data, the Company’s technology development lifecycle and other factors. Management periodically reviews the carrying amount of deferred contract acquisition costs to determine whether events or changes in circumstances have occurred that could impact the period of benefit of these deferred costs. Leases Leases consist of the Company’s contractual obligations that convey the right to use office spaces for a period of time in exchange for consideration. The Company determines whether a contract contains a lease at inception. Operating leases are included in operating lease right-of-use assets, operating lease liabilities and operating lease liabilities, non-current on the Company’s consolidated balance sheets. The Company currently does not have any financing leases. A right-of-use asset represents the Company’s right to use an underlying asset and a lease liability represents the Company’s obligation to make payments during the lease term. The operating lease right-of-use asset also includes any advance lease payments made and excludes lease incentives. Lease payments include fixed payments and variable payments based on an index or rate, if any, and are recognized as lease expense on a straight-line basis over the term of the lease. The lease term includes options to extend or terminate the lease when it is reasonably certain they will be exercised. Variable lease payments not based on a rate or index are expensed as incurred. Lease expense for minimum lease payments is recognized on a straight-line basis over the lease term. The Company accounts for lease components and non-lease components as a single lease component. The Company applies the practical expedient to not recognize lease assets and lease liabilities for leases with an original term of 12 months or less. The lease liability is measured as the present value of the remaining lease payments over the lease term upon the lease commencement date. The right-of-use asset is initially measured as the present value of the lease payments, adjusted for initial direct costs, prepaid lease payments and lease incentives. The discount rate used to determine the present value is the Company’s incremental borrowing rate unless the interest rate implicit in the lease is readily determinable. The Company estimates its incremental borrowing rate based on the information available at lease commencement date for collateralized borrowings in the currency in which the arrangement is denominated over a similar term. Cost of Revenue Cost of subscription revenue primarily includes personnel-related costs, such as salaries, bonuses and benefits, and stock-based compensation for employees associated with customer support and maintenance, third-party cloud infrastructure costs, amortization of internal-use software, amortization of acquired developed technology, and allocated overhead. Cost of professional services and other primarily includes personnel-related costs, such as salaries, bonuses and benefits, and stock-based compensation for employees associated with our professional services, costs of third-party contractors, and allocated overhead. Sales and Marketing Sales and marketing expenses consist primarily of personnel-related costs, such as salaries, sales commissions that are recognized as expenses over the period of benefit, bonuses, benefits, stock-based compensation, costs related to marketing programs, travel-related costs, software and subscription services dedicated for use by our sales and marketing organization and allocated overhead. Research and Development Research and development expenses consist primarily of personnel-related costs, such as salaries, bonuses, benefits, and stock-based compensation, net of capitalized amounts, contractor and professional services fees, software and subscription services dedicated for use by our research and development organization and allocated overhead. General and Administrative General and administrative expenses for administrative functions including finance, legal, and human resources, consist primarily of personnel-related costs, such as salaries, bonuses, benefits, and stock-based compensation, as well as software and subscription services, and legal and other professional fees. Capitalized Software Development Costs Capitalization of software development costs for products to be sold to third parties begins upon the establishment of technological feasibility and ceases when the product is available for general release. There is generally no significant passage of time between achievement of technological feasibility and the availability of the Company’s enterprise software for general release, and the majority of the Company’s software is open-source. Therefore, the Company has not capitalized any software costs through fiscal 2024, fiscal 2023 and fiscal 2022. All software development costs have been charged to research and development expense in the consolidated statements of operations as incurred. Costs related to software acquired, developed, or modified solely to meet the Company’s internal requirements, with no substantive plans to market such software at the time of development, or costs related to development of web-based products are capitalized. Costs incurred during the preliminary planning and evaluation stage of the project and during the post implementation operational stage are expensed as incurred. Costs incurred during the application development stage of the project are capitalized. Capitalized costs are recorded as part of property and equipment, net. Maintenance and training costs are expensed as incurred. Capitalized internal-use software is amortized on a straight-line basis over its estimated useful life, which is generally five years, and is recorded as cost of cloud-hosted services in the consolidated statements of operations. Advertising Costs Advertising costs, which are expensed when incurred, are included in sales and marketing expense in the consolidated statements of operations, and were $15.4 million, $11.1 million, and $6.3 million for fiscal 2024, fiscal 2023, and fiscal 2022, respectively. Impairment of Long-Lived Assets Long-lived assets, such as property and equipment, acquired intangible assets, and capitalized software development costs subject to amortization, are reviewed for impairment whenever events or changes in circumstances indicate that the carrying amount of the asset may not be recoverable. If circumstances require a long-lived asset be tested for possible impairment, the Company first compares undiscounted cash flows expected to be generated by the asset to its carrying value. If the carrying value of the long-lived asset is not recoverable on an undiscounted cash flow basis, an impairment is recognized to the extent that the carrying value exceeds its fair value. Fair value is determined through various valuation techniques, including discounted cash flow models, quoted market values, and third-party independent appraisals, as considered necessary. For the fiscal years presented, there were no impairment losses recognized for any long-lived assets. Business Combinations The Company recognizes identifiable assets acquired and liabilities assumed at their acquisition date fair value. Goodwill as of the acquisition date is measured as the excess of purchase consideration transferred over the net of the acquisition date fair values of the assets acquired and the liabilities assumed. While the Company uses its best estimates and assumptions as a part of the purchase price allocation process to accurately value assets acquired and liabilities assumed at the acquisition date, its estimates are inherently uncertain and subject to refinement. As a result, during the measurement period, which may be up to one year from the acquisition date, the Company records adjustments to the assets acquired and liabilities assumed, with the corresponding offset to goodwill to the extent that the Company identifies adjustments to the preliminary purchase price allocation. Upon the conclusion of the measurement period or final determination of the values of assets acquired or liabilities assumed, whichever comes first, any subsequent adjustments are recorded to the Company’s consolidated statements of operations. There has been no such adjustment as of January 31, 2024. Goodwill Goodwill represents the excess of the purchase price of an acquired business over the fair value of the underlying net identifiable tangible and intangible assets acquired and liabilities assumed. Goodwill is evaluated for impairment annually in the fourth quarter of the Company’s fiscal year, and whenever events or changes in circumstances indicate the carrying value of goodwill may not be recoverable. Triggering events that may indicate impairment include, but are not limited to, a significant adverse change in customer demand or business climate that could affect the value of goodwill, or a significant decrease in expected cash flows. As of January 31, 2024, the Company has not had any goodwill impairment. Short-term Investments The Company’s short-term investments consist of U.S. treasury securities, corporate notes and bonds, U.S. agency obligations, commercial paper, and certificates of deposit. The Company determines the appropriate classification of its short-term investments at the time of purchase and reevaluates such determination at each balance sheet date. The Company has classified and accounted for its short-term investments as available-for-sale securities. The Company may sell these securities at any time for use in its current operations or for other purposes, even prior to maturity. As a result, the Company classifies its short-term investments, including those with maturities beyond twelve months, as current assets in the consolidated balance sheets. Available-for-sale securities are recorded at fair value each reporting period, and are adjusted for amortization of premiums and accretion of discounts to maturity and such amortization and accretion are included in interest income in the consolidated statements of operations. Realized gains and losses are determined based on the specific identification method and are reported in other expense, net in the consolidated statements of operations. Unrealized gains and losses are reported as a separate component of accumulated other comprehensive income (loss) (“AOCI”) on the consolidated balance sheets until realized. For available-for-sale securities in an unrealized loss position, the Company first assesses whether it intends to sell the security or it is more likely than not that the Company will be required to sell the security before the recovery of its entire amortized cost basis. If either of these criteria is met, the security’s amortized cost basis is written down to fair value through other expense, net in the consolidated statements of operations. If neither of these criteria is met, the Company evaluates whether the decline in fair value below amortized cost is due to credit or non-credit related factors. In making this assessment, the Company considers the extent to which fair value is less than amortized cost, any changes to the rating of the security by a rating agency, and any adverse conditions specifically related to the security, among other factors. Credit related unrealized losses are recognized as an allowance for expected credit losses of available-for-sale debt securities on the consolidated balance sheets with a corresponding charge in other expense, net, net in the consolidated statements of operations. Non-credit related unrealized losses are included in accumulated other comprehensive loss. As of January 31, 2024, the Company did not identify any credit losses on short-term investments. Realized gains and losses on the sale of short-term investments are determined on a specific identification method and are recorded in other expenses, net in the consolidated statements of operations. As of January 31, 2024, the realized gains and losses on the sale of short-term investments were not material. Derivative Instruments and Hedging The Company enters into foreign currency forward contracts with certain financial institutions to mitigate the impact of foreign currency fluctuations on future cash flows and earnings. All of the Company’s foreign currency forward contracts are designated as cash flow hedges. The foreign currency forward contracts generally have maturities of 12 months or less. The Company recognizes all forward contracts as either assets or liabilities on the consolidated balance sheets at fair value. Gains and losses on each forward contract are initially reported as a component of AOCI, and subsequently reclassified into cost of revenue or operating expense in the same period, or periods, during which the hedged transaction affects earnings. The Company evaluates the effectiveness of its cash flow hedges on a quarterly basis and does not exclude any component of the changes in fair value of the derivative instruments for effectiveness testing purposes. The Company classifies cash flows related to its cash flow hedges as operating activities in its consolidated statements of cash flows. The Company has master netting agreements with each of its counterparties, which permit net settlement of multiple, separate derivative contracts with a single payment. The Company does not have collateral requirements with any of its counterparties. Although the Company is allowed to present the fair value of derivative instruments on a net basis according to master netting arrangements, the Company has elected to present its derivative instruments on a gross basis in the consolidated financial statements. Stock-Based Compensation The Company estimates the fair value of stock-based awards on the date of grant (including stock options, restricted stock units ("RSU") and ESPP participation). For awards with a service-based vesting condition, the related stock-based compensation expense is recognized over the vesting period of the entire award using the straight-line attribution method. For awards that include both a performance and service condition, the Company amortizes stock-based compensation expense on a graded vesting basis over the vesting period, after assessing the probability of achieving requisite performance. The Company recognizes forfeitures as they occur. The fair value of each RSU award is based on the fair value of the underlying common stock as of the grant date. The fair value of stock purchase right granted under the ESPP is estimated on the grant date using the Black-Scholes option pricing model. The Black-Scholes option pricing model requires the input of highly subjective assumptions, including the fair value of the underlying common stock, the expected term of the award, the expected volatility of the price of our common stock, risk-free interest rates, and the expected dividend yield of our common stock. The assumptions used to determine the fair value of the stock awards represent management’s best estimates. These estimates involve inheren |