Summary of Significant Accounting Policies | Summary of Significant Accounting Policies Organization and Description of Business DocuSign, Inc. (“we,” “our” or “us”) was incorporated in the State of Washington in April 2003. We merged with and into DocuSign, Inc., a Delaware corporation, in March 2015. We provide a platform that enables businesses of all sizes to digitally prepare, execute and act on agreements, thereby simplifying and accelerating the process of doing business. Basis of Presentation and Principles of Consolidation Our consolidated financial statements include those of DocuSign, Inc. and our subsidiaries, after elimination of all intercompany accounts and transactions. We have prepared the accompanying consolidated financial statements in accordance with accounting principles generally accepted in the United States of America (“U.S. GAAP”). Our fiscal year ends on January 31. References to fiscal 2019 , for example, are to the fiscal year ended January 31, 2019 . Certain prior year amounts have been reclassified to conform to current year presentation. These amounts were not material to any of the periods presented. Initial Public Offering On May 1, 2018, we completed our initial public offering, or IPO, in which we issued and sold 19.3 million shares of common stock at price to the public of $29.00 per share, including 3.3 million shares of common stock purchased by the underwriters in the full exercise of the over-allotment option granted to them. Certain of our existing stockholders sold an additional 5.6 million shares at the public offering price. We received net proceeds of $523.9 million after deducting underwriting discounts and commissions of $ 30.8 million and offering expenses of $ 5.4 million . We did not receive any proceeds from the sale of shares by our stockholders. Upon the completion of our IPO, all 100.2 million shares of our convertible preferred stock automatically converted into an aggregate of 100.4 million shares of our common stock; all our outstanding warrants to purchase shares of convertible preferred stock converted into warrants to purchase 22,468 shares of common stock with the related warrant liability of $0.8 million reclassified into additional paid-in capital; and our Amended and Restated Certificate of Incorporation was filed and went in effect authorizing a total of 500.0 million shares of common stock and 10.0 million shares of preferred stock. Follow-On Offering On September 18, 2018, we completed our follow-on offering, in which certain stockholders sold 8.1 million shares of common stock. The price per share to the public was $55.00 . We did not receive any proceeds from the sale of shares by the selling stockholders. We incurred and expensed issuance costs of $1.3 million associated with the sale of such shares. Use of Estimates The preparation of financial statements in conformity 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 financial statements and the reported amounts of revenues and expenses during the reporting period. Actual results could differ from those estimates. Significant items subject to such estimates and assumptions include those related to the allocation of revenue between recognized and deferred amounts, allowance for bad debts, goodwill, intangible assets, deferred contract acquisition costs, customer benefit period, fair value of financial instruments, valuation of stock-based compensation, valuation of common stock, f air value of the liability and equity components of the convertible notes, valuation of the build-to-suit lease, and the valuation allowance for deferred income taxes. Concentration of Credit Risk Our financial instruments that are exposed to concentrations of credit risk consist primarily of cash, cash equivalents, marketable securities and accounts receivable. Although we deposit our cash with multiple financial institutions, the deposits, at times, may exceed federally insured limits. We have not experienced any losses on our deposits of cash and cash equivalents. Cash equivalents consist of money market funds which are invested through financial institutions in the U.S. Management believes that the institutions are financially stable and, accordingly, minimal credit risk exists. No customer individually accounted for more than 10% of our revenues in the years ended January 31, 2019 , 2018 and 2017 . One of our customers accounted for 10% of our accounts receivable as of January 31, 2019 and 2018 . We perform ongoing credit evaluations of our customers, do not require collateral and maintain allowances for potential credit losses on customers’ accounts when deemed necessary. Revenue Recognition We recognize revenue when a customer obtains control of promised services. The amount of revenue recognized reflects the consideration that we expect to be entitled to receive in exchange for these services. To achieve the core principle of this new standard, we apply the following steps: 1. Identification of the contract, or contracts, with the customer We consider the terms and conditions of the contract and our customary business practices in identifying our contracts under ASC 606. We determine we have a contract with a customer when the contract is approved, we can identify each party’s rights regarding the services to be transferred, we can identify the payment terms for the services, we have determined the customer has the ability and intent to pay and the contract has commercial substance. At contract inception we evaluate whether two or more contracts should be combined and accounted for as a single contract and whether the combined or single contract includes more than one performance obligation. We apply judgment in determining the customer’s ability and intent to pay, which is based on a variety of factors, including the customer’s historical payment experience or, in the case of a new customer, credit and financial information pertaining to the customer. 2. Identification of the performance obligations in the contract Performance obligations promised in a contract are identified based on the services and the products that will be transferred to the customer that are both capable of being distinct, whereby the customer can benefit from the service either on its own or together with other resources that are readily available from third parties or from us, and are distinct in the context of the contract, whereby the transfer of the services and the products is separately identifiable from other promises in the contract. Our performance obligations consist of (i) subscription services, (ii) professional services, (iii) on-premises solutions, and (iv) maintenance and support for on-premises solutions. 3. Determination of the transaction price The transaction price is determined based on the consideration to which we expect to be entitled in exchange for transferring services to the customer. Variable consideration is included in the transaction price if, in our judgment, it is probable that a significant future reversal of cumulative revenue under the contract will not occur. None of our contracts contain a significant financing component. 4. Allocation of the transaction price to the performance obligation in the contract If the contract contains a single performance obligation, the entire transaction price is allocated to the single performance obligation. Contracts that contain multiple performance obligations require an allocation of the transaction price to each performance obligation based on a relative standalone selling price (“SSP”). 5. Recognition of the revenue when, or as, we satisfy a performance obligation Revenue is recognized at the time the related performance obligation is satisfied by transferring the control of the promised service to a customer. Revenue is recognized as control of the service is transferred to the customer, in an amount that reflects the consideration that we expect to receive in exchange for those services. We generate all our revenue from contracts with customers. Subscription Revenue We generate revenue primarily from sales of subscriptions to access our software suite and related subscriptions of our customers. Our subscription revenue is driven by our go-to-market model, which includes a combination of direct sales, partner-assisted sales and web-based self-service purchasing. Subscription arrangements with customers do not provide the customer with the right to take possession of our software operating our software suite at any time. Instead, customers are granted continuous access to our software suite over the contractual period. A time-elapsed method is used to measure progress because we transfer control evenly over the contractual period. Accordingly, the fixed consideration related to subscription revenue is generally recognized on a straight-line basis over the contract term beginning on the date access to our software suite is provided, as long as other revenue recognition criteria have been met. The typical subscription term is one to three years. Most of our contracts are non-cancelable over the contractual term. Customers typically have the right to terminate their contracts for cause if we fail to perform in accordance with the contractual terms. Some of our customers have the option to purchase additional subscription services at a stated price. These options are evaluated on a case-by-case basis but generally do not provide a material right as they are priced at or above our SSP and, as such, would not result in a separate performance obligation. Professional Services and Other Revenue Professional services and other revenue consists of fees associated with consulting and training services from assisting customers in implementing and expanding the use of our software suite. These services are distinct from subscription services. Professional services do not result in significant customization of the subscription service. Revenue from professional services provided on a time and materials basis is recognized as the services are performed. Other revenue includes amounts derived from the sale of our on-premises solutions, which are recognized upon passage of control, which occurs upon shipment of the product. The maintenance and support on the on-premises solutions is a stand-ready obligation to perform this service over the term of the arrangement and, as a result, is accounted for ratably over the term of the arrangement. Contracts with Multiple Performance Obligations Most of our contracts with customers contain multiple performance obligations that are distinct and accounted for separately. The transaction price is allocated to the separate performance obligations on a relative SSP basis. We determine SSP for all our performance obligations using observable inputs, such as standalone sales and historical contract pricing. SSP is consistent with our overall pricing objectives, taking into consideration the type of subscription services and professional and other services. SSP also reflects the amount we would charge for that performance obligation if it were sold separately in a standalone sale, and the price we would sell to similar customers in similar circumstances. Variable Consideration Revenue from sales is recorded at the net sales price, which is the transaction price, and includes estimates of variable consideration. The amount of variable consideration that is included in the transaction price is constrained and is included in the net sales price only to the extent that it is probable that a significant reversal in the amount of the cumulative revenue will not occur when the uncertainty is resolved. If our services do not meet certain service level commitments, our customers are entitled to receive service credits, and in certain cases, refunds, each representing a form of variable consideration. We have historically not experienced any significant incidents affecting the defined levels of reliability and performance as required by our subscription contracts. Accordingly, the amount of any estimated refunds related to these agreements in the consolidated financial statements is not material during the periods presented. Deferred Contract Acquisition Costs We capitalize sales commissions, certain parts of the company bonus and associated payroll taxes paid to internal sales personnel that are incremental to the acquisition of customer contracts. These costs are recorded as deferred contract acquisition costs on the consolidated balance sheets. We determine whether costs should be deferred based on our sales compensation plans, if the commissions are in fact incremental and would not have occurred absent the customer contract. Sales commissions for renewal of a subscription contract are not considered commensurate with the commissions paid for the acquisition of the initial subscription contract given the substantive difference in commission rates between new and renewal contracts. Commissions paid upon the initial acquisition of a contract are amortized over an estimated period of benefit of five years while commissions paid related to renewal contracts are amortized over an estimated period of benefit of two years. Amortization is recognized on a straight-line basis commensurate with the pattern of revenue recognition. Commissions paid on professional services are typically amortized in accordance with the associated revenue as the commissions paid on new and renewal professional services are commensurate with each other. We determine the period of benefit for commissions paid for the acquisition of the initial subscription contract by taking into consideration our initial estimated customer life and the technological life of our software suite and related significant features. We determine the period of benefit for renewal subscription contracts by considering the average contractual term for renewal contracts. Amortization of deferred contract acquisition costs is primarily included in the “Sales and marketing” expense in the consolidated statements of operations and comprehensive loss. We periodically review these deferred costs to determine whether events or changes in circumstances have occurred that could impact the period of benefit of these deferred contract acquisition costs. There were no material impairment losses recorded during the periods presented. Deferred Contract Fulfillment Costs We capitalize third-party costs to fulfill contracts with a customer in “Prepaid expenses and other current assets” and “Other assets—noncurrent” on our consolidated balance sheets. We amortize these costs consistent with the ratable revenue recognition of the performance obligations in the associated contracts. We assess these costs for impairment at the end of each reporting period. Cost of Revenue “Subscription” cost of revenue primarily consists of personnel and related costs to support our software suite, amortization expense associated with capitalized internally developed software and intangible assets, property and equipment depreciation, allocated overhead expenses, merchant processing fees and server hosting costs. “Professional services and other” cost of revenue consists primarily of personnel costs for our professional services delivery team, travel-related costs and allocated overhead. Advertising Advertising costs are expensed as incurred and are included in “Sales and marketing” expense in our consolidated statements of operations and comprehensive loss. Advertising expense was $34.1 million , $19.3 million and $23.6 million in the years ended January 31, 2019 , 2018 and 2017 . Research and Development Research and development costs are expensed as incurred and consist primarily of personnel costs, including salaries, bonuses and benefits, and stock-based compensation. They also include amortization associated with acquired intangible assets and allocated overhead. Stock-Based Compensation Compensation cost for stock-based awards issued to employees, including stock options and restricted stock units, or RSUs, is measured at fair value on the date of grant and recognized over the service period. The fair value of stock options is estimated on the date of grant using a Black-Scholes model. The fair value of RSUs is estimated on the date of grant based on the fair value of our underlying common stock. We recognize compensation expense for stock options on a straight-line basis over the requisite service period. Compensation expense for RSUs granted prior to January 31, 2018, is amortized on a graded basis over the requisite service period as long as the performance condition in the form of a specified liquidity event is probable to occur. The liquidity event condition was satisfied upon the effectiveness of our registration statement on Form S-1, or IPO Registration Statement, on April 26, 2018. On that date we recorded a cumulative stock-based compensation expense of $262.8 million using the accelerated attribution method for all the RSUs, for which the service condition has been fully satisfied as of April 26, 2018. The remaining unrecognized stock-based compensation expense related to the RSUs will be recorded over their remaining requisite service periods. RSUs granted after January 31, 2018, generally vest on the satisfaction of service-based condition only. We recognize compensation expense for such RSUs on a straight-line basis over the requisite service period. From time-to-time, we grant RSUs that also include performance-based or market-based conditions. For RSUs granted with a performance condition, we recognize expense on a graded vesting basis over the vesting period, after assessing the probability of achieving requisite performance criteria. For RSUs granted with a market condition, we use a lattice model simulation analysis which captures the impact of the vesting conditions to value the performance stock units and recognize the expense on a graded basis. We recognize compensation expense related to shares issued pursuant to the employee stock purchase plan (ESPP) on a straight-line basis over the offering period. Compensation expense is recognized net of forfeitures that are estimated at the time of grant and revised in subsequent periods if actual forfeitures differ from those estimates. In the years ended January 31, 2019 , 2018 and 2017 , total stock-based compensation expense was $411.0 million , $29.7 million and $35.4 million . Recognized tax benefits on total stock-based compensation expense, which are reflected in the "provision for income taxes" in the consolidated statements of operations and comprehensive loss, were $1.7 million in the year ended January 31, 2019 and immaterial in the years ended January 31, 2018 and 2017 . We account for equity instruments issued to non-employees at fair value of the consideration received or fair value of the equity instrument issued, whichever is more reliably measurable. The measurement date of the fair value of the equity instrument issued is the earlier of the date on which the counterparty’s performance is complete or the date on which it is probable that performance will occur. Compensation expense related to stock-based awards issued to non-employees was $1.1 million , $1.4 million and $1.3 million in the years ended January 31, 2019 , 2018 and 2017 . We capitalize stock-based compensation costs incurred as a result of qualifying internally-developed software development activities. Capitalized stock-based compensation was $1.9 million in the year ended January 31, 2019 and $0.1 million in each of the years ended January 31, 2018 and 2017 . We may elect to issue shares on the settlement dates net of the minimum statutory tax withholding requirements to be paid by us on behalf of our employees. In these instances, we record the liability for withholding amounts to be paid by us as a reduction to additional paid-in capital when paid, and include these payments as a reduction of cash flows from financing activities. Income Taxes We are subject to income taxes in the U.S. and numerous foreign jurisdictions. These foreign jurisdictions have different statutory tax rates than the U.S. We record a provision for income taxes for the anticipated tax consequences of the reported results of operations using the asset and liability method. Under this method, we recognize deferred tax assets and liabilities for the expected future tax consequences of temporary differences between the financial reporting and tax basis of assets and liabilities, as well as for 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. We record a valuation allowance to reduce our deferred tax assets to the net amount that we believe is more likely than not to be realized. We recognize tax benefits from uncertain tax positions only if we believe that it is more likely than not that the tax position will be sustained on examination by the taxing authorities based on the technical merits of the position. As we expand internationally, we will face increased complexity in determining the appropriate tax jurisdictions for revenue and expense items. As a result, we may record unrecognized tax benefits in the future. Our policy is to adjust 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 than 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 our financial condition and operating results. The provision for income taxes includes the effects of any accruals that we believe are appropriate, as well as the related net interest and penalties. We intend to indefinitely reinvest any undistributed and future earnings from our foreign operations outside of the U.S. As of January 31, 2019 , and 2018 , no provision for applicable income taxes has been provided thereon. Upon distribution of those earnings, we would be subject to withholding taxes payable to various foreign countries. As of January 31, 2019 , any foreign withholding taxes potentially payable on the undistributed earnings of our foreign subsidiaries were immaterial. Foreign Currency The functional currency of our foreign entities is generally the local currency. The functional currency of our branches is the U.S. dollar. For branches where the U.S. dollar is the functional currency, foreign currency denominated monetary assets and liabilities are re-measured into U.S. dollars at current exchange rates and foreign currency denominated nonmonetary assets and liabilities are re-measured into U.S. dollars at historical exchange rates. We recognize gains and losses from transaction adjustments within " Interest income and other income, net " in the consolidated statements of operations and comprehensive loss in the period of occurrence. We recorded a foreign currency transaction loss of $3.4 million in the year ended January 31, 2019 and a foreign currency transaction gain of $2.2 million and $2.0 million in the years ended January 31, 2018 and 2017 . We present our financial statements in U.S. dollars. Adjustments resulting from translating foreign functional currency financial statements into U.S. dollars are recorded as a separate component on our consolidated statements of comprehensive loss, net of tax. All assets and liabilities denominated in a foreign currency are translated at the exchange rate on the balance sheet date. Revenues and expenses are translated at the average exchange rate during the period. Equity transactions are translated using the historical exchange rate. Net Loss Per Share Attributable to Common Stockholders In periods when we have net income, we compute basic and diluted net loss per share in conformity with the two-class method required for participating securities. The undistributed earnings are allocated between common stock and participating securities as if all earnings had been distributed during the period presented. We consider all series of convertible preferred stock to be participating securities as the holders of such stock are entitled to receive noncumulative dividends on a pari passu basis in the event that a dividend is paid on common stock. We also consider any shares issued on the early exercise of stock options subject to repurchase to be participating securities because holders of such shares have non-forfeitable dividend rights in the event a dividend is paid on common stock. The holders of convertible preferred stock and early exercised shares do not have a contractual obligation to share in our losses. As such, our net losses in the years ended January 31, 2019 , 2018 and 2017 were not allocated to these participating securities. Basic net loss per share attributable to common stockholders is computed by dividing the net loss attributable to common stockholders by the weighted-average number of shares of common stock outstanding during the period. Diluted net loss per share attributable to common stockholders is computed by giving effect to all potential shares of common stock, including common stock underlying our convertible preferred stock, our warrants to purchase common stock, and convertible preferred stock, early exercised stock options and outstanding stock options, to the extent they are dilutive. Since we have reported net losses for all periods presented, diluted net loss per share attributable to common stockholders is the same as basic net loss per share attributable to common stockholders. Dilutive common shares are not assumed to have been issued as their effect would have been antidilutive. Cash and Cash Equivalents We consider all highly liquid investments purchased with maturities of three months or less at the date of purchase to be cash equivalents. Investments Investments consist of money market funds, commercial paper, corporate notes and bonds, as well as U.S. treasury and government agency securities. Management determines the appropriate classification of investments at the time of purchase and reevaluates such determination at each balance sheet date. Investments with original maturities of more than three months are classified as available-for-sale and are carried at fair value in the consolidated balance sheet, with all unrealized gains and losses reflected in “ Other comprehensive income (loss) ” on the consolidated balance sheets. These securities are classified as short-term or long-term based on their remaining contractual maturities. We evaluate our investments to assess whether those with unrealized loss positions are other than temporarily impaired. We consider impairments to be other than temporary if they are related to deterioration in credit risk or if it is likely we will sell the securities before the recovery of their cost basis. Realized gains and losses and declines in value judged to be other than temporary are determined based on the specific identification method and are reported in "interest income and other income, net" in the consolidated statements of operations and comprehensive loss. Restricted Cash Restricted cash primarily consists of a money market account and certificates of deposits collateralizing our operating lease agreements for office space. Fair Value of Financial Instruments We measure assets and liabilities at fair value based on an expected exit price, which represents the amount that would be received on the sale of an asset or paid to transfer a liability in an orderly transaction between market participants. As such, fair value may be based on assumptions that market participants would use in pricing an asset or liability. The authoritative guidance on fair value measurements establishes a consistent framework for measuring fair value on either a recurring or nonrecurring basis whereby inputs, used in valuation techniques, are assigned a hierarchical level. The following are the hierarchical levels of inputs to measure fair value: Level 1 Observable inputs that reflect quoted prices (unadjusted) for identical assets or liabilities in active markets. Level 2 Inputs reflect quoted prices for identical assets or liabilities in markets that are not active; quoted prices for similar assets or liabilities in active markets; inputs other than quoted prices that are observable for the assets or liabilities; or inputs that are derived principally from or corroborated by observable market data by correlation or other means. Level 3 Unobservable inputs reflecting our own assumptions incorporated in valuation techniques used to determine fair value. These assumptions are required to be consistent with market participant assumptions that are reasonably available Assets and liabilities are classified in their entirety based on the lowest level of input that is significant to the fair value measurement. Our assessment of the significance of a particular input to the fair value measurement requires judgment and may affect the placement of assets and liabilities being measured within the fair value hierarchy. The carrying values of our financial instruments, including cash and cash equivalents, accounts receivable and accounts payable approximate their respective fair values due to the short period of time to maturity, receipt or payment. Accounts Receivable, Unbilled Accounts Receivable and Allowance for Doubtful Accounts Accounts receivable primarily consist of amounts billed currently due from customers. Our 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 our customers to make required payments. It is an estimate and is regularly evaluated for adequacy by taking into consideration a combination of factors. To determine whether a provision for doubtful accounts should be recorded, we look at such factors as past collection experience, credit quality of the customer, age of the receivable balance, and current economic conditions. The allowance for doubtful accounts was $0.6 million and $0.3 million as of January 31, 2019 and 2018 . We do not have any off-balance-sheet credit exposure related to our customers. Unbilled accounts receivable represent amounts for which we have recognized revenue, pursuant to our revenue recognition policy, for professional services already performed, but billed in arrears. The unbilled accounts receivable balance was $1.5 million and $0.8 million as of January 31, 2019 and 2018 . We do not typically offer right of refund in our contracts. The allowance for doubtful accounts reflects our best estimate of probable losses inherent in our receivables portfolio determined on the basis of historical experience, specific allowances for known troubled accounts and other currently available evidence. We have not experienced significant credit losses from our accounts receivable. We perform a regular review of our customers’ payment histories and associated credit risks and do not require collateral from our customers. Changes in the allowance for doubtful accounts were not material in the years ended January 31, 2019 , 2018 and 2017 . Property and Equipment Property and equipment, including costs incurred to bring to the location and condition necessary for intended use, are recorded at cost and depreciated over their estimated useful lives using the straight-line method and the following estimated useful lives: Estimated Useful Life Computer and network equipment 2-3 years Software, including capitalized software development costs 3 years Furniture and office equipment 3-4 years Leasehold improvements Lesser of lease term and 10 years Disposals are removed at cost less accumulated depreciation, and any gain or loss from disposition is reflected in the statement of operations in the year of disposition. Additions and improvements that increase the value or extend the life of an asset are capitalized. Maintenance and repairs are expensed as incurred. We are deemed to be the owner, for accounting purposes, during the construction phase of certain long-lived assets under a build-to-suit lease arrangement because of our involvement with the construction, our exposure to any potential cost overruns or our other commitments under the arrangements. In |