Summary of Significant Accounting Policies | Summary of Significant Accounting Policies Segment information The Company operates as one operating segment. The Company’s chief operating decision maker is its Chief Executive Officer, who reviews consolidated financial information for purposes of making operating decisions, assessing financial performance, and allocating resources. Revenue recognition The Company derives its revenue primarily from subscription services and professional services. Revenue is recognized when control of these services is transferred to the Company ’ s customers, in an amount that reflects the consideration the Company expects to be entitled to in exchange for those services, net of any sales taxes. The Company determines revenue recognition through 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; and • recognition of revenue when, or as, the Company satisfies a performance obligation. Subscription revenue Subscription revenue primarily consists of fees from customers for access to the Company’s cloud-based platform . S ubscription revenue is recognized on a ratable basis over the subscription contract term, beginning on the date the access to the Company ’ s platform is provided, as no implementation work is required, if consideration the Company is entitled to receive is probable of collection. S ubscription contracts generally have terms of one year or one month, are billed in advance, and are non-cancelable. The subscription arrangements do not allow the customer the contractual right to take possession of the platform; as such, the arrangements are considered to be service contracts. Certain of the Company ’ s subscription contracts contain performance guarantees related to service continuity. To date, refunds related to such guarantees have been immaterial in all periods presented. Professional services revenue Professional services revenue primarily includes revenue recognized from fees for consulting and training services. The Company’s consulting services consist of platform configuration and use case optimization, and are primarily invoiced on a time and materials basis, monthly in arrears. Services revenue is recognized over time, as service hours are delivered. Smaller consulting engagements are, on occasion, provided for a fixed fee. These smaller consulting arrangements are typically of short duration (less than three months). In these cases, revenue is recognized over time, based on the proportion of hours of work performed, compared to the total hours expected to complete the engagement. Configuration and use case optimization services do not result in significant customization or modification of the software platform or user interface. Training services are billed in advance, on a fixed-fee basis, and revenue is recognized after the training program is delivered, or after the customer’s right to receive training services expires. Associated out-of-pocket travel expenses related to the delivery of professional services are typically reimbursed by the customer. Out-of-pocket expense reimbursements are recognized as revenue at the point in time, or as the distinct performance obligation to which they relate is delivered. Out-of-pocket expenses are recognized as cost of professional services as incurred. On occasion, the Company sells its subscriptions to third-party resellers. The price at which the Company sells to the reseller is typically discounted, as compared to the price at which the Company would sell to an end customer, in order to enable the reseller to realize a margin on the eventual sale to the end customer. As the Company retains a fixed amount of the contract from the reseller, and does not have visibility into the pricing provided by the reseller to the end customer, the revenue is recorded net of any reseller margin. Contracts with multiple performance obligations Some of the Company’s contracts with customers contain multiple performance obligations. The Company accounts for individual performance obligations separately, as they have been determined to be distinct, i.e., the services are separately identifiable from other items in the arrangement and the customer can benefit from them on its own or with other resources that are readily available to the customer. The transaction price is allocated to the distinct performance obligations on a relative stand-alone selling price basis. Stand-alone selling prices are determined based on the prices at which the Company separately sells subscription, consulting, and training services, and based on t he Company’s overall pricing objectives, taking into consideration market conditions, value of t he Company’s contracts, the types of offerings sold, customer demographics, and other factors. Accounts receivable Accounts receivable are primarily comprised of trade receivables that are recorded at the invoice amount, net of an allowance for doubtful accounts. Subscription fees billed in advance of the related subscription term represent contract liabilities and are presented as accounts receivable and deferred revenues upon establishment of the unconditional right to invoice, typically upon signing of the non-cancelable service agreement. Our typical payment terms provide for customer payment within 30 days of the date of the contract. The allowance for doubtful accounts is based on the Company’s assessment of the collectability of accounts by considering the composition of the accounts receivable aging and historical trends on collectability. Amounts deemed uncollectible are recorded to the allowance for doubtful accounts in the consolidated balance sheets with an offsetting decrease in related deferred revenue and a reduction of revenue or charge to general and administrative expense in the statements of operations . During the year ended January 31, 2020 , activity related to the Company’s provision for doubtful accounts was as follows (in thousands): Balance at January 31, 2018 $ 457 Write-offs (849 ) Additions, net 1,626 Balance at January 31, 2019 1,234 Write-offs (1,629 ) Additions, net 3,384 Balance at January 31, 2020 $ 2,989 Activity related to the Company’s provision for doubtful accounts during the year ended January 31, 2018 was as follows (in thousands): Balance at January 31, 2017 $ 104 Additions, net of write-offs 353 Balance at January 31, 2018 $ 457 Deferred revenue Deferred revenue is recorded for subscription services contracts upon establishment of unconditional right to payment under a non-cancelable contract before transferring the related services to the customer. Deferred revenue for such services is amortized into revenue over time, as those subscription services are delivered. Similarly, the Company records deferred revenue for fixed-fee professional services upon establishment of an unconditional right to payment under a non-cancelable contract. Deferred revenue for training services is recognized as revenue upon delivery of training services or upon expiration of customer’s right to receive such services. Deferred revenue for consulting services is recognized as hours of service are delivered to the customer. Deferred commissions The majority of sales commissions earned by the Company ’s sales force are considered incremental and recoverable costs of obtaining a contract with a customer. Sales commissions are paid on initial contracts and on any upsell contracts with a customer. No sales commissions are paid on customer renewals. Sales commissions are deferred and then amortized on a straight-line basis over a period of benefit that the Company has determined to be three years. The Company determined the period of benefit by taking into consideration its customer contracts, expected customer life, the expected life of its technology, and other factors. Amortization expense is included in sales and marketing expenses in the accompanying statements of operations. Overhead allocations The Company allocates shared costs, such as facilities (including rent, utilities, and depreciation on equipment shared by all departments), and information technology costs to all departments based on headcount. As such, allocated shared costs are reflected in each cost of revenue and operating expense category. Cash, cash equivalents, and short-term investments The Company considers all highly liquid investments with an original maturity of three months or less from date of purchase to be cash equivalents. Investments with terms greater than three months but less than or equal to twelve months are included in short-term investments. Interest income earned on cash, cash equivalents, and short-term investments is recorded in interest income in the accompanying statements of operations. Restricted cash Restricted cash as of January 31, 2020 primarily consisted of $0.9 million related to security deposits for the Company’s Bellevue, Boston, London, and Edinburgh leases. Restricted cash as of January 31, 2019 consisted of $1.8 million related to collateral for irrevocable letters of credit (entered into during the year ended January 31, 2019) for additional office space in Bellevue, and $0.8 million primarily related to security deposits for the Company’s Bellevue, Boston, London, and Edinburgh leases. Restricted cash as of January 31, 2018 consisted of $2.4 million related to collateral for irrevocable letters of credit and $0.5 million related to security deposits. The letters of credit that were outstanding as of January 31, 2018 were still in effect as of January 31, 2020; however, the requirement to maintain $2.4 million in collateral for those letters of credit was removed during the year ended January 31, 2019, and the restricted cash balance was reduced by this amount. Cash as reported on the consolidated statements of cash flows includes the aggregate amounts of cash and cash equivalents and restricted cash as shown on the consolidated balance sheets. Cash as reported on the consolidated statements of cash flows consists of the following (in thousands): January 31, 2020 2019 2018 Cash and cash equivalents $ 515,924 $ 213,085 $ 58,158 Restricted cash 865 2,620 2,901 Total cash, cash equivalents, and restricted cash shown in the consolidated statements of cash flows $ 516,789 $ 215,705 $ 61,059 Property and equipment Property and equipment are recorded at cost, net of accumulated depreciation and amortization. Depreciation is computed using the straight-line method over the following estimated useful lives: Computer equipment 3 years Computer software 3 years Furniture and fixtures 5-7 years Leasehold improvements are amortized over the shorter of the expected useful lives of the assets or the related lease term. Maintenance and repairs that do not improve or extend the lives of the respective assets are expensed as incurred. Internal-use software development costs The Company capitalizes certain qualifying costs incurred during the application development stage in connection with the development of internal-use software. Costs related to preliminary project activities and post-implementation activities are expensed in research and development (“R&D”) as incurred. R&D expenses consist primarily of employee-related costs, hardware- and software-related costs, costs of outside services used to supplement our internal staff, and overhead allocations. Internal-use software costs of $8.1 million were capitalized in the year ended January 31, 2020 , of which $5.8 million related to costs incurred during the application development stage of software development for the Company’s platform to which subscriptions are sold. Internal-use software costs of $3.5 million were capitalized in the year ended January 31, 2019 , of which $1.5 million related to costs incurred during the application development stage of software development for the Company’s platform to which subscriptions are sold. Capitalized software development costs are included within property and equipment, net on the balance sheets, and are amortized over the estimated useful life of the software, which is typically three years . The related amortization expense is recognized in the consolidated statements of comprehensive loss within the function that receives the benefit of the developed software. Amortization expense of capitalized internal-use software costs totaled $2.3 million , $1.0 million and $0.2 million for the years ended January 31, 2020 , 2019 and 2018, respectively. The Company evaluates the useful lives of these assets and tests for impairment whenever events or changes in circumstances occur that could impact the recoverability of these assets. Business combinations When we acquire a business, the purchase price is allocated to the net tangible and identifiable intangible assets acquired based on their estimated fair values. Any residual purchase price is recorded as goodwill. The allocation of the purchase price requires management to make significant estimates in determining the fair values of assets acquired and liabilities assumed, especially with respect to intangible assets. 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. During the measurement period, which may be up to one year from the acquisition date, adjustments to the fair value of these tangible and intangible assets acquired and liabilities assumed may be recorded, with the corresponding offset to goodwill. Upon the conclusion of the measurement period or final determination of the fair value of assets acquired or liabilities assumed, whichever comes first, any subsequent adjustments are recorded to our consolidated statements of operations. Goodwill & Acquired Intangible Assets The Company evaluates goodwill for impairment at the reporting unit level on an annual basis (September 1), or whenever events or changes in circumstances indicate that impairment may exist. When evaluating goodwill for impairment, the Company may first perform a qualitative assessment to determine whether it is more likely than not that a reporting unit is impaired. If the Company does not perform a qualitative assessment, or if the Company determines that it is not more likely than not that the fair value of the reporting unit exceeds its carrying amount, the Company calculates the estimated fair value of the reporting unit. Fair value is the price a willing buyer would pay for the reporting unit and is typically calculated using a discounted cash flow model. If the carrying amount of the reporting unit exceeds the estimated fair value, an impairment charge is recorded to reduce the carrying value to the estimated fair value. Acquired intangible assets consist of identifiable intangible assets, primarily software technology and customer relationships, resulting from our acquisitions. Intangible assets are recorded at fair value on the date of acquisition and amortized over their estimated useful lives. Impairment of long-lived assets Long-lived assets, such as property and equipment and intangible assets, are reviewed for impairment whenever events or changes in circumstances indicate that the carrying amount of an asset group may not be recoverable. Recoverability of an asset group is measured by comparing the carrying amount to the estimated undiscounted future cash flows expected to be generated. If the carrying amount exceeds the undiscounted cash flows, the assets are determined to be impaired and an impairment charge is recognized as the amount by which the carrying amount exceeds its fair value. No impairments of long-lived assets were recorded during any of the periods presented. Leases We determine if an arrangement is a lease at inception, and leases are classified at commencement as either operating or finance leases. Right-of-use (“ROU”) assets and lease liabilities are recognized at commencement date based on the present value of the future minimum lease payments over the lease term. ROU assets also include any lease payments made. Operating lease ROU assets are presented separately in long-term assets and finance lease ROU assets are included in property and equipment, net on our consolidated balance sheets. As our operating leases do not provide an implicit rate, we use our incremental borrowing rate based on information available at the commencement date in determining the present value of future payments. This rate is an estimate of the collateralized borrowing rate we would incur on our future lease payments over a similar term based on the information available at commencement date. Our lease terms may include options to extend or terminate the lease when it is reasonably certain that we will exercise that option. At January 31, 2020 , we did not include any options to extend leases in our lease terms as we were not reasonably certain to exercise them. The Company’s lease agreements do not contain residual value guarantees or covenants. We utilize certain practical expedients and policy elections available under the lease accounting standard. Leases with a term of one year or less are not recognized on our consolidated balance sheets; we recognize lease expense for these leases on a straight-line basis over the lease term. Additionally, we have elected to include non-lease components with lease components for contracts containing real estate leases for the purpose of calculating lease right-of-use assets and liabilities, to the extent that they are fixed. Non-lease components that are not fixed are expensed as incurred as variable lease payments. Our real estate operating leases typically include non-lease components such as common-area maintenance costs. ROU assets are subject to evaluation for impairment or disposal on a basis consistent with other long-lived assets. Self-funded health insurance In December 2017, the Company elected to partially self-fund its health insurance plan. To reduce its risk related to high-dollar claims, the Company maintains individual and aggregate stop-loss insurance. The Company estimates its exposure for claims incurred but not paid at the end of each reporting period and uses historical claims data to estimate its self-insurance liability. As of January 31, 2020 and 2019 , the Company’s net self-insurance reserve estimate was $0.9 million and $0.8 million , respectively, included in other accrued liabilities in the accompanying consolidated balance sheets. Advertising expenses Advertising and marketing costs are expensed as incurred, and are included in sales and marketing expense in the statements of operations. Advertising and marketing expenses, inclusive of lead generation costs, we re $35.5 million , $20.6 million , and $14.8 million for the years ended January 31, 2020 , 2019 , and 2018 , respec tively. Deferred offering costs Deferred offering costs of $3.4 million , primarily consisting of legal, accounting, and other fees related to the IPO, were offset against proceeds upon the closing of the IPO on May 1, 2018. Deferred offering costs of $0.9 million were offset against proceeds upon the closing of the follow-on offering on June 14, 2019. Convertible preferred stock warrant liability The Company classified its warrant to purchase convertible preferred stock as a liability. The Company adjusted the carrying value of the warrant liability to fair value at the end of each reporting period utilizing the Black-Scholes option pricing model. The convertible preferred stock warrant liability was included on the Company’s consolidated balance sheets and its revaluation was recorded as an expense in other income (expense), net for the fiscal years ended 2018 and 2019. Upon the closing of the IPO on May 1, 2018, the related warrant liability was reclassified to additional paid-in capital. Share-based compensation The Company measures and recognizes compensation expense for all share-based awards granted to employees and directors, based on the estimated fair value of the award on the date of grant. Expense is recognized on a straight-line basis over the vesting period of the award based on the estimated portion of the award that is expected to vest. The Company uses the Black-Scholes option pricing model to measure the fair value of stock option awards when they are granted. The Company makes several estimates in determining share-based compensation and these estimates generally require significant analysis and judgment to develop. Income taxes Income taxes are accounted for using the asset and liability method. Under this method, the Company recognizes deferred tax assets and liabilities for the expected future tax consequences of temporary differences between the carrying amounts and the tax basis of assets and liabilities. Deferred tax assets and liabilities are measured using the enacted tax rates expected to apply to taxable income in the years in which the temporary differences are expected to be recovered or settled. The Company records a valuation allowance to reduce deferred tax assets to an amount for which realization is more likely than not. The Company evaluates and accounts for uncertain tax positions using a two-step approach. The first step is to evaluate if the weight of available evidence indicates that it is more likely than not that the tax position will be sustained in an audit. The second step is to measure the tax benefit as the largest amount that is more than 50% likely to be realized upon ultimate settlement. The Company reflects interest and penalties related to income tax liabilities as a component of income tax expense. Concentrations of risk and significant customers Financial instruments that potentially subject the Company to concentrations of credit risk are primarily cash, cash equivalents, short-term investments, and accounts receivable. The Company maintains its cash accounts with financial institutions where deposits, at times, exceed the Federal Deposit Insurance Corporation (“FDIC”) limits. No individual customers represented more than 10% of accounts receivable as of the years ended January 31, 2020 or 2019 . No individual customers represented more than 10% of revenue for the years ended January 31, 2020 , 2019 , or 2018. Net loss per share Prior to the IPO, holders of t he Company’s convertible preferred stock participated in dividends with holders of t he Company’s common stock, but they were not contractually required to share in net losses. Accordingly, during those periods of income, the Company was required to use the two-class method of calculating earnings per share. The two-class method requires that earnings per share be calculated separately for each class of security. As t he Company incurred losses during the periods presented, t he Company used the methods described below to calculate net loss per share. The Company calculates basic net loss per share by dividing net loss attributable to common shareholders by the weighted-average number of the Company’s common stock shares outstanding during the respective period. Net loss attributable to common shareholders is net loss minus convertible preferred stock dividends declared, of which there were none during the periods presented. The Company calculates diluted net loss per share using the treasury stock and if-converted methods, which consider the potential impacts of outstanding stock options, restricted stock units (“RSUs”), shares issuable pursuant to our Employee Stock Purchase Plan (“ESPP”), warrants, and convertible preferred stock. Under these methods, the numerator and denominator of the net loss per share calculation are adjusted for these securities if the impact of doing so increases net loss per share. During the periods presented, the impact is to decrease net loss per share and therefore the Company is precluded from adjusting its calculation for these securities. As a result, diluted net loss per share is calculated using the same formula as basic net loss per share. Recently adopted accounting pronouncements We adopted Accounting Standard Update (“ASU”) 2016-02, Leases - Topic 842 (“ASC 842”) on February 1, 2019 using the optional transition method described in ASU 2018-11, Leases - Targeted Improvements . Under the optional transition method, we recognized the cumulative effect of initially applying the guidance as an adjustment to the operating lease ROU assets and operating lease liabilities on our consolidated balance sheet on February 1, 2019 without retrospective application to comparative periods. The new lease standard requires lessees to recognize ROU assets and lease liabilities on the balance sheet for operating leases, and also requires additional quantitative and qualitative disclosures to enable users of the financial statements to assess the amount, timing, and uncertainty of cash flows arising from leases. In adopting ASC 842, we utilized certain practical expedients available under the standard. These practical expedients include waiving reassessment of conclusions reached under the previous lease standard as to whether contracts contain leases and not recording ROU assets or lease liabilities for leases with terms of 12 months or less. As a result of implementing this guidance, we recognized a $53.4 million net operating ROU asset and a $55.3 million operating lease liability, inclusive of $1.9 million previously classified as deferred rent, in our consolidated balance sheet as of February 1, 2019. The adoption of ASC 842 did not have an impact on our accumulated deficit on our consolidated balance sheet as of February 1, 2019 and is not expected to have a material impact on our consolidated statements of operations and comprehensive loss. See Note 12, Leases, for additional information regarding our leases. Recent accounting pronouncements not yet adopted In June 2016, the FASB issued ASU 2016-13, including subsequent amendments, Measurement of Credit Losses on Financial Instruments (Topic 326) (“ASU 2016-13”) and has modified the standard thereafter, which modifies the accounting methodology for most financial instruments. The guidance establishes a new “expected loss model” that requires entities to estimate current expected credit losses on financial instruments by using all practical and relevant information. Additionally, any expected credit losses are to be reflected as allowances rather than reductions in the amortized cost of available-for-sale debt securities. This guidance is effective for interim and annual periods beginning after December 15, 2019, and early adoption is permitted. The Company does not expect the adoption of this standard to have a material effect on our consolidated financial statements. In August 2018, the FASB issued ASU 2018-15, Intangibles - Goodwill and Other-Internal-Use Software (“ASU 2018-15”) , which aligns the requirements for capitalizing implementation costs incurred in a hosting arrangement that is a service contract with the requirements for capitalizing implementation costs incurred to develop or obtain internal-use software. This guidance is effective for interim and annual reporting periods beginning after December 15, 2019, and early adoption is permitted. The Company does not expect adoption of this ASU to have a material effect on the Company’s consolidated financial statements. In December 2019, the FASB issued ASU 2019-12, Income Taxes (Topic 740) (“ASU 2019-12”), which simplifies certain aspects of accounting for income taxes. The guidance is effective for interim and annual reporting periods beginning after December 15, 2020, and early adoption is permitted. The Company does not expect adoption of this ASU to have a material effect on the Company’s consolidated financial statements. |