Summary of Significant Accounting Policies | Summary of Significant Accounting Policies Segment Information The Company manages its operations and allocates resources as one operating segment. The Company’s chief operating decision maker (“CODM”) is its chief executive officer, who reviews financial information presented on a consolidated basis for purposes of making operating decisions, assessing financial performance, and allocating resources. Refer to Note 14, “Geographic Information” for information regarding the Company's long-lived assets and revenue by geography. Revenue Recognition The Company generates revenue primarily from cloud-hosted subscription fees with the majority of its revenue from such arrangements. The Company also generates an immaterial amount of revenue from term license software subscription fees. Revenue is recognized when control of these services is transferred to its customers, in an amount that reflects the consideration the Company expects to be entitled to in exchange for those services. The Company accounts for revenue contracts with customers by applying the requirements of Topic 606, which includes the following steps: • Identification of the contract, or contracts, with a customer. • Identification of the performance obligations in the contract. • Determination of the transaction price. • Allocation of the transaction price to the performance obligations in the contract. • Recognition of revenue when, or as, the Company satisfies a performance obligation Cloud-hosted software subscriptions The Company’s cloud-hosted software subscriptions allow customers to use its cloud-hosted software over the contract period without taking possession of the software. The Company’s cloud-hosted software subscription agreements generally have monthly or annual contractual terms. Revenue related to our cloud-hosted software subscriptions is recognized ratably over the related contractual term beginning on the date that the Company’s platform is made available to a customer. Access to the platform represents a series of distinct services as the Company continually provides access to, and fulfills its obligation to, the end customer over the subscription term. The series of distinct services represents a single performance obligation that is satisfied over time. The Company recognizes revenue ratably because the customer receives and consumes the benefits of the platform throughout the contract period. Term license software subscriptions The Company’s term license software subscriptions provide both an obligation to provide access to its on-premise software, which includes both open source and proprietary features, as well as an obligation to provide support and maintenance. The Company’s term license software subscription agreements generally have annual contractual terms. The Company accounts for the license to the software and support as two separate performance obligations. As the open source software is publicly available at no cost to the customer, the Company has determined that there is no value to be assigned to the open source software in the term license software subscription arrangements. The proprietary software license represents a promise to provide a license to use functional intellectual property that is recognized at a point in time on the date access to the software is made available to the customer and the term license software subscription period has begun. The Company has concluded the support is a stand-ready performance obligation that consists of a series of distinct services that are satisfied ratably over time as the services are provided. The Company uses a time-based output method to measure progress because efforts are expended evenly throughout the period given the nature of the promise is a stand-ready service. The Company recognizes support revenue ratably, typically beginning on the start of the contractual term of the arrangement. In order to determine the stand-alone selling price, the Company conducts a periodic analysis that requires judgment and considers multiple factors that are reasonably available and maximizes the use of observable inputs that may vary over time depending upon the unique facts and circumstances related to each performance obligation. To have observable inputs, the Company requires that a substantial majority of the stand-alone selling prices for a product offering fall within a pricing range. The Company believes that this analysis results in an estimate that approximates the price that would be charged for the product offerings if they were sold separately. The Company’s cloud-hosted and term-license software subscription arrangements are generally non-cancellable and do not contain refund provisions. The Company bills for monthly cloud-hosted and term-license software subscriptions on a monthly basis and annually in advance for arrangements with terms of one year or more. The price of the cloud-hosted and term-license software subscriptions is generally fixed at contract inception and therefore, the Company’s contracts do not contain a significant amount of variable consideration. As a result, the amount of revenue recognized in the periods presented from performance obligations satisfied (or partially satisfied) in previous periods due to changes in the transaction price was not material. The Company’s revenue excludes sales and other indirect taxes. Accounts Receivable and Related Allowance Accounts receivable are recorded at the invoiced amount, net of allowances for doubtful accounts. The allowance for doubtful accounts is based upon historical loss patterns, the age of each past due invoice, and an evaluation of the potential risk of loss associated with delinquent accounts. The allowance also reflects current market conditions and reasonable and supportable forecasts of future economic conditions. As of January 31, 2021, the allowance reflects considerations related to the COVID-19 pandemic and may increase in future periods as we ascertain future impacts to our customers and business. The allowance for doubtful accounts was $1.2 million and $0.8 million as of January 31, 2021 and January 31, 2020. Activity related to the Company’s allowance for doubtful accounts was as follows: Amount (in thousands) Balance as of January 31, 2019 $ 2,360 Charged to bad debt expense 11 Write-offs, net of recoveries (1,561) Balance as of January 31, 2020 $ 810 Charged to bad debt expense 1,188 Write-offs, net of recoveries (810) Balance as of January 31, 2021 $ 1,188 Deferred Revenue The Company records contract liabilities to deferred revenue when amounts are invoiced in advance of performance. Deferred revenue consists of the unearned portion of customer billings. The Company’s payment terms generally provide for payment within 30 days of the invoice date. Amounts anticipated to be recognized within one year of the balance sheet date are recorded as deferred revenue, current; the remaining portion is recorded as deferred revenue, non-current in the consolidated balance sheets. The Company applied the practical expedient in Topic 606 and did not evaluate contracts of one year or less for the existence of a significant financing component. For contracts with terms of more than a year, the Company has determined its contracts generally do not include a significant financing component as these all relate to contracts that are billed annually in advance. The primary purpose of the Company’s invoicing terms is to provide customers with simplified and predictable ways of purchasing the Company’s cloud- hosted software subscription, not to receive financing from its customers or to provide customers with financing. Deferred Contract Costs Deferred contract costs consist of sales commissions earned by the Company’s sales force which are considered incremental and recoverable costs of obtaining a contract with a customer. The Company determined that sales commissions that are related to contract renewals are not commensurate with commissions earned on the initial contract. Accordingly, sales commissions for initial contracts are deferred and then amortized on a straight-line basis over a period of benefit that the Company has determined to be four years. The Company determined the period of benefit by taking into consideration its customer contracts, technology, and other factors. Amounts anticipated to be recognized within one year of the balance sheet date are recorded as deferred contract costs, current; the remaining portion is recorded as deferred contract costs, noncurrent in the consolidated balance sheets. Deferred contract costs are periodically reviewed for impairment. Amortization of deferred contract costs is included in sales and marketing expense in the consolidated statements of operations. Deferred contract costs on the Company’s consolidated balance sheets were $31.6 million and $25.7 million as of January 31, 2021 and 2020, respectively. Amortization expense was $11.0 million, $7.8 million, and $4.5 million for the fiscal years ended January 31, 2021, 2020, and 2019, respectively. There was no impairment loss in relation to the costs capitalized for the periods presented. The following table represents a rollforward of the Company’s deferred contract costs: Amount (in thousands) Balance as of January 31, 2019 $ 17,472 Additions to deferred contract costs 15,996 Amortization of deferred contract costs (7,780) Balance as of January 31, 2020 $ 25,688 Additions to deferred contract costs 16,876 Amortization of deferred contract costs (10,977) Balance as of January 31, 2021 $ 31,587 Concentrations of Risk and Significant Customers The Company’s financial instruments that are exposed to concentrations of credit risk consist primarily of cash and cash equivalents, held-to-maturity investments, available-for-sale investments, and accounts receivable. All of the Company’s cash and cash equivalents and investments are invested in money market funds, United States (“U.S.”) Treasury securities, commercial paper, corporate debt securities, or U.S. Government agency securities that management believes to be of high credit quality. No single customer accounted for more than 10% of the total accounts receivable balance as of January 31, 2021 or 2020. No single customer represented 10% or more of revenue for the fiscal years ended January 31, 2021, 2020, or 2019. Cost of Revenue Cost of revenue primarily consists of expenses related to providing the Company’s cloud- hosted software subscription to customers, including personnel expenses for operations and global support, payments to our third-party cloud infrastructure providers for hosting the Company’s software, payment processing fees, amortization of capitalized internal-use software costs, amortization of acquired developed technology, and allocated overhead costs for facilities, information technology, and other allocated overhead costs. Foreign Currency Remeasurement The functional currency of the Company’s international subsidiaries is the United States dollar. Accordingly, monetary balance sheet accounts are remeasured using exchange rates in effect at the balance sheet dates and non-monetary items are remeasured at historical exchange rates. Revenue and expenses are remeasured at the average exchange rates for the period. Foreign currency transaction gains and losses are included in other income, net and were not material for the fiscal years ended January 31, 2021, 2020, or 2019. Cash and Cash Equivalents Cash and cash equivalents consist of cash on hand, highly liquid investments with original maturities of three months or less from the date of purchase, and money market funds. Investments The Company’s investments are classified as available-for-sale and held-to-maturity and consist of highly liquid investments, primarily U.S. Treasury securities, commercial paper, corporate debt securities, and U.S. Government agency securities. The Company determines the appropriate classification of its investments at the time of purchase and reevaluates such designation at each balance sheet date. The Company periodically evaluates its short-term investments to assess whether those with unrealized loss positions are impaired. The Company considers various factors in determining whether to recognize an impairment charge, including the length of time the investment has been in a loss position, the extent to which the fair value is less than the Company’s cost basis, and the financial condition and near-term prospects of the investee. If the Company determines that the investment is impaired, an impairment loss is recognized in earnings equal to the difference between the investment’s amortized cost and fair value at such date. Realized gains and losses are reported in other income, net, in the consolidated statements of operations. No impairment charges have been recognized to date. Held-to-maturity The Company’s held-to-maturity investments consist of investments with maturities over three months from the date of purchase and less than 12 months from the date of the balance sheet and are classified as short-term. The Company has the ability and positive intent to hold these investments to maturity. Held-to-maturity investments are carried at amortized cost, which approximates fair value. Available-for-sale The Company classifies its available-for-sale investments, including those with stated maturities beyond twelve months, as short-term based on their highly liquid nature and because they represent the investment of cash that is available for current operations. In addition, the Company may sell these investments at any time for use in its current operations or for other purposes, even prior to maturity. The Company's available-for-sale investments are recorded at fair market value each reporting period. Unrealized gains and losses on these available-for-sale investments are reported as a separate component of accumulated other comprehensive income in the accompanying consolidated balance sheet until realized. Related Party Transactions Certain members of the Company’s Board of Directors serve as directors of, or are executive officers of, and in some cases are investors in, companies that are customers or vendors of the Company. The Company recognized revenues from the sales of its product to a related party of $1.1 million and $1.0 million in the fiscal years ended January 31, 2021, and 2020, respectively, and billings of $1.1 million in the fiscal year ended January 31, 2021 . Additionally, the Company recognized $1.2 million in expenses related to purchases and had $1.1 million in cash disbursements to these companies during the year ended January 31, 2021. Other related party transactions were not material for the fiscal years ended January 31, 2021, 2020, or 2019. Property and Equipment, Net Property and equipment, net, are stated at cost less accumulated depreciation. Depreciation is recorded using the straight-line method over the estimated useful lives of the respective assets, which is generally three Property and equipment is reviewed for impairment whenever events or changes in circumstances indicate the carrying amount of an asset may not be recoverable. Recoverability of these assets is measured by a comparison of the carrying amounts to the future undiscounted cash flows the assets are expected to generate. If property and equipment are considered impaired, the impairment to be recognized equals the amount by which the carrying value of the asset exceeds its fair value. If the estimated useful life assumption is reduced for any asset, the remaining unamortized balance would be amortized or depreciated over the revised estimated useful life. Research and Development Expense Research and development expenses consist primarily of personnel costs for the Company’s engineering, product, and design teams. Additionally, research and development expenses include contractor fees, depreciation of equipment used in research and development activities, acquisition-related expenses, and allocated overhead costs. Research and development costs are expensed as incurred. Internal-Use Software Costs The Company evaluates costs related to the development of its platform and certain projects for internal use incurred during the application development stage. Costs related to preliminary project activities and post-implementation activities are expensed as incurred and costs related to the application development stage are capitalized. Internal-use software is amortized on a straight-line basis over its estimated useful life of three years. Management evaluates the useful lives of these assets on an annual basis and tests for impairment whenever events or changes in circumstances occur that could impact the recoverability of these assets. The Company capitalized $1.0 million during the fiscal year ended January 31, 2021. No internal-use software costs were capitalized during the fiscal years ended January 31, 2020 or 2019. Business Combinations The Company applies the acquisition method of accounting for business combinations. Under this method of accounting, all assets acquired and liabilities assumed are recorded at their respective fair values at the date of the acquisition. The purchase consideration is allocated to the net tangible and identifiable intangible assets. Determining the fair value of assets acquired and liabilities assumed requires management’s judgment and often involves the use of significant estimates and assumptions. These estimates can include, but are not limited to, the cash flows that an asset is expected to generate in the future, the appropriate weighted-average cost of capital, and the cost savings expected to be derived from acquiring an asset. These estimates are inherently uncertain and unpredictable. Goodwill, Acquired Intangible Assets, and Impairment of Long-Lived Assets Goodwill. Goodwill represents the excess purchase consideration of an acquired business over the fair value of the net tangible and identifiable intangible assets. Goodwill is evaluated for impairment annually in the fourth quarter, 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 or a significant decrease in expected cash flows. No impairment charges were recorded during the fiscal years ended January 31, 2021, 2020, or 2019. Acquired Intangible Assets. Acquired intangible assets consist of identifiable intangible assets, primarily developed technology and customer relationships, resulting from the Company’s business acquisition. Intangible assets are recorded at fair value on the date of acquisition and amortized over their estimated useful lives. Impairment of Long-Lived Assets. The carrying amounts of the Company’s long-lived assets, including property and equipment, lease right-of-use assets, capitalized internal-use software, and acquired intangible assets, are reviewed for impairment whenever events or changes in circumstances indicate that the carrying value of these assets may not be recoverable or that the useful lives are shorter than originally estimated. Recoverability of these assets is measured by a comparison of the carrying amounts to the future undiscounted cash flows the assets are expected to generate. If long-lived assets are considered impaired, the impairment to be recognized equals the amount by which the carrying value of the asset exceeds its fair value. If the Company reduces the estimated useful life assumption for any asset, the remaining unamortized balance would be amortized or depreciated over the revised estimated useful life. Convertible Senior Notes The Notes are accounted for in accordance with Financial Accounting Standards Board (“FASB”) Accounting Standards Codification (“ASC”) Subtopic 470-20, Debt with Conversion and Other Options . Pursuant to ASC Subtopic 470-20, issuers of certain convertible debt instruments, such as the Notes, that have a net settlement feature and may be settled wholly or partially in cash upon conversion are required to separately account for the liability (debt) and equity (conversion option) components of the instrument. The carrying amount of the liability component of the instrument is computed by estimating the fair value of a similar liability without the conversion option using a market-based approach. The amount of the equity component is then calculated by deducting the fair value of the liability component from the principal amount of the instrument. The difference between the principal amount and the liability component represents a debt discount that is amortized to interest expense over the respective term of the Notes using the effective interest rate method. The equity component is not remeasured as long as it continues to meet the conditions for equity classification. In accounting for the issuance costs related to the Notes, the allocation of issuance costs incurred between the liability and equity components was based on their relative values. Advertising Costs Advertising costs are expensed as incurred and are included in sales and marketing expense. Advertising costs were $10.1 million, $5.1 million, and $5.1 million for the years ended January 31, 2021, 2020, and 2019, respectively. Stock-Based Compensation The Company recognizes compensation expense for all stock-based payment awards, including stock options and restricted stock units (“RSUs”), based on the estimated fair value of the award on the grant date. The Company estimates the fair value of stock options issued to employees on the date of grant using the Black-Scholes option pricing model, which is impacted by the estimated fair value of the Company’s common stock, as well as certain assumptions including the expected volatility over the term of the option awards, the expected term of the awards, risk-free interest rates and the expected dividend yield. Assumptions and estimates used in the determination of the fair value of stock options are as follows: Expected volatility —Expected volatility is a measure of the amount by which the stock price is expected to fluctuate. Since the Company does not have sufficient trading history for its common stock, it estimates the expected volatility of its stock options by taking the average historical volatility of a group of comparable publicly traded companies over a period equal to the expected life of the options. Expected term —The Company determines the expected term based on the average period the stock options are expected to remain outstanding, generally calculated as the midpoint of the stock options’ vesting term and contractual expiration period, as the Company does not have sufficient historical information to develop reasonable expectations about future exercise patterns and post-vesting employment termination behavior. Risk-free rate —The Company uses the U.S. Treasury yield for its risk-free interest rate that corresponds with the expected term. Expected dividend yield —The Company utilizes a dividend yield of zero, as it does not currently issue dividends and does not expect to in the future. Fair value of common stock Prior to the IPO, in accordance with the American Institute of Certified Public Accountants Accounting and Valuation Guide, Valuation of Privately-Held Company Equity Securities Issued as Compensation , the Company’s board of directors exercised reasonable judgment and considered numerous objective and subjective factors to determine the best estimate of fair value of the Company’s common stock, including but not limited to contemporaneous valuations of our common stock performed by independent third-party specialists; the prices, rights, preferences, and privileges of redeemable convertible preferred stock relative to those of common stock; the prices at which the Company sold shares of its common stock to third-party investors and in secondary transactions in arm’s-length transactions; the Company’s operating and financial performance; and additional relevant economic information. The Company estimates the fair value of RSUs at our stock price on the grant date. The Company estimates the fair value of shares to be issued under the ESPP on the first day of the offering period using the Black-Scholes valuation model, which is impacted by the estimated fair value of the Company’s common stock, as well as certain assumptions including the expected volatility over the term of the offering period, the expected term of the awards, risk-free interest rates and the expected dividend yield. Assumptions used in the determination of the fair value of the ESPP are the same as those used in the determination of the fair value of our stock options. The Company recognizes compensation expense for employee stock-based payment awards on a straight-line basis over the period during which an award recipient is required to provide services in exchange for the award (generally the vesting period of the award). The Company accounts for forfeitures as they occur. The fair value of each non-employee stock option is estimated at the date of grant using the Black-Scholes option pricing model and is not remeasured over the vesting term. Assumptions used in valuing non-employee stock options are generally consistent with those used for employee stock options with the exception that the expected term is over the contractual life. Income Taxes The Company accounts for income taxes using the asset and liability method. Under this method, the Company recognizes deferred income tax assets and liabilities for the expected future consequences of temporary differences between the financial reporting and tax bases of assets and liabilities, as well as for net operating loss and tax credit carryforwards. Deferred tax assets and liabilities are measured using the tax rates that are expected to apply to taxable income for the years in which those tax assets and liabilities are expected to be realized or settled. The Company recognizes the deferred income tax effects of a change in tax rates in the period of enactment. The Company records a valuation allowance to reduce its deferred tax assets to the net amount that it believes is more likely than not to be realized. The Company considers all available evidence, both positive and negative, including historical levels of income, expectations and risks associated with estimates of future taxable income and ongoing tax planning strategies in assessing the need for a valuation allowance. Realization of its deferred tax assets is dependent primarily upon future U.S. taxable income. The Company recognizes income tax benefits from uncertain tax positions only if it believes that it is more likely than not that the tax position will be sustained upon examination by the taxing authorities based on the technical merits of the position. The tax benefits recognized in the financial statements from such uncertain tax positions are then measured based on the largest benefit that has a greater than 50% likelihood of being realized upon settlement. Although the Company believes that it has adequately reserved for its uncertain tax positions (including net interest and penalties), it can provide no assurance that the final tax outcome of these matters will not be materially different. The Company makes adjustments to these reserves when facts and circumstances change, such as the closing of a tax audit or the refinement of an estimate. To the extent that the final tax outcome of these matters is different from the amounts recorded, such differences will affect the provision for income taxes in the period in which such determination is made and could have a material impact on its financial position, results of operations, and cash flows. Net Loss Per Common Share Basic net loss per share is computed by dividing net loss by the weighted-average number of shares of common stock outstanding during the period. Diluted net loss per share is computed by dividing net loss by the weighted-average number of shares of common stock outstanding during the period giving effect to all potentially dilutive securities to the extent they are dilutive. The dilutive effect of potentially dilutive securities is reflected in diluted net loss per share by application of the treasury stock method. Basic and diluted net loss per common share were the same for each period presented as the inclusion of all potential common shares outstanding would have been anti-dilutive. Recently Issued Accounting Pronouncements In August 2020, the Financial Accounting Standards Board (“FASB”) issued Accounting Standard Update No. 2020-06, Debt—Debt with Conversion Options (“Subtopic 470-20”) and Derivatives and Hedging—Contracts in Entity’s Own Equity (“Subtopic 815-40”) (“ASU 2020-06”), which simplifies the accounting for certain financial instruments with characteristics of liabilities and equity, including convertible instruments and contracts on an entity's own equity. ASU 2020-06 also improves and amends the related Earnings Per Share guidance for both Subtopics. The ASU is part of the FASB's simplification initiative, which aims to reduce unnecessary complexity in U.S. GAAP. ASU 2020-06 will be effective for annual reporting periods beginning after December 15, 2021. Early adoption is permitted, but not before annual reporting periods beginning after December 15, 2020. The Company will early adopt this ASU using the modified retrospective method beginning February 1, 2021. While the adoption remains in progress, the Company expects that the adoption will result in a decrease to our accumulated deficit as of February 1, 2021 related to the interest expense from the amortization of the debt discount. Recently Adopted Accounting Pronouncements In February 2016, the FASB issued Accounting Standards Update No. 2016-02, Leases (“Topic 842”) (“ASU 2016-0”2) , which would require lessees to recognize most leases on their balance sheets, whether operating or financing, while continuing to recognize the expenses on their income statements in a manner similar to current practice. The guidance states that a lessee would recognize a lease liability for the obligation to make lease payments and a right-to-use asset for the right to use the underlying asset for the lease term. The Company adopted the standard using the optional alternative method on a prospective basis with an effective date as of the beginning of the Company’s fiscal year, February 1, 2020, and applied it to the operating leases that existed on that date. Prior year comparative financial information was not recast under the new standard and continues to be presented under ASC 840. The Company elected to utilize the package of practical expedients available for expired or existing contracts which allowed the Company to carryforward historical assessments of (a) whether contracts are or contain leases, (b) lease classification, and (c) initial direct costs. The Company elected to apply the short-term lease exception for all leases. Under the short-term lease exception, the Company will not recognize right-of-use assets or lease liabilities for leases that, at the acquisition date, have a remaining lease term of 12 months or less. As a result of implementing this guidance, the Company recognized a net operating right-of-use asset of $29.1 million and a $35.9 million operating lease liability in its consolidated balance sheets as of February 1, 2020. The adoption of this guidance did not affect the Company’s consolidated statements of operations or consolidated statements of cash flows. Refer to Note 7, “Leases” for further information. In June 2016, the FASB issued Accounting Standards Update No. 2016-13, Financial Instruments—Credit Losses (“Topic 326”) Measurement of Credit Losses on Financial Instruments (“ASU 2016-13”), which requires an entity to utilize a new impairment model known as the current expected credit loss (“CECL”) model to estimate its lifetime “expected credit loss” and record an allowance that, when deducted from the amortized cost basis of the financial asset, presents the net amount expected to be collected on the financial asset. The CECL model is expected to result in more timely recognition of credit losses. This guidance also requires new disclosures for financial assets measured at amortized cost, loans, and available-for-sale debt securities. The Company adopted the standard as of the beginning of the Company’s fiscal year, February 1, 2020. The adoption of this guidance did not have a material impact to the co |