CONSOLIDATED STATEMENTS OF COMPREHENSIVE LOSS - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2019 |
Dec. 31, 2018 |
Dec. 31, 2017 |
|
| Statement of Comprehensive Income [Abstract] | |||
| Net loss | $ (105,828) | $ (87,164) | $ (10,748) |
| Other comprehensive income (loss): | |||
| Change in unrealized gain (loss) on investments, net of tax | 118 | 49 | (17) |
| Other comprehensive income (loss) | 118 | 49 | (17) |
| Comprehensive loss | $ (105,710) | $ (87,115) | $ (10,765) |
CONSOLIDATED STATEMENTS OF REDEEMABLE CONVERTIBLE PREFERRED STOCK AND STOCKHOLDERS' EQUITY (DEFICIT) (Parenthetical) $ in Thousands |
12 Months Ended |
|---|---|
|
Dec. 31, 2018
USD ($)
| |
| Issuance costs | $ 0 |
| Redeemable convertible preferred stock | |
| Issuance costs | $ 25 |
Organization and Basis of Presentation |
12 Months Ended |
|---|---|
Dec. 31, 2019 | |
| Organization, Consolidation and Presentation of Financial Statements [Abstract] | |
| Organization and Basis of Presentation | Organization and Basis of Presentation Organization and Description of Business Cloudflare, Inc. (the Company, Cloudflare, we, us, or our) has built a global cloud platform that delivers a broad range of network services to businesses of all sizes and geographies, making them more secure, enhancing the performance of their business-critical applications, and eliminating the cost and complexity of managing individual network hardware. Cloudflare provides businesses with a scalable, easy-to-use, unified control plane to deliver security, performance, and reliability across their on-premise, hybrid, cloud, and SaaS applications. The Company was incorporated in Delaware in July 2009. The Company is headquartered in San Francisco, California. Basis of Presentation and Principles of Consolidation The accompanying consolidated financial statements and accompanying notes have been prepared in conformity with accounting principles generally accepted in the United States (U.S. GAAP) and include the accounts of the Company and its wholly-owned subsidiaries. All intercompany balances and transactions have been eliminated in consolidation. The Company’s fiscal year ends on December 31. Initial Public Offering In September 2019, the Company completed an IPO in which it issued and sold 40,250,000 shares of Class A common stock, which included 5,250,000 shares sold pursuant to the exercise by the underwriters of an option to purchase additional shares, at the public offering price of $15.00 per share. The Company received net proceeds of $570.5 million from sales of its shares in the IPO, after deducting underwriting discounts and commissions, but before deducting offering costs of $5.5 million. The net proceeds included proceeds of $74.4 million, net of underwriters' discounts and commissions, from the exercise of the underwriters' option to purchase an additional 5,250,000 shares of the Company's Class A common stock. Upon completion of the IPO, 31,381,152 shares of redeemable convertible preferred stock were automatically converted into an equal number of shares of Class A common stock, 134,276,690 shares of redeemable convertible preferred stock were automatically converted into an equal number of shares of Class B common stock, outstanding warrants to purchase shares of redeemable convertible preferred stock were automatically converted into outstanding warrants to purchase shares of Class B common stock, and 15,198,587 shares of Class B common stock held by former employees were automatically converted into an equal number of shares of Class A common stock. Deferred Offering Costs Deferred offering costs are capitalized and consist of fees and expenses incurred in connection with the sale of the Company's Class A common stock in the IPO, including the legal, accounting, printing and other IPO-related costs. As of December 31, 2018, the Company had not incurred such costs. During 2019, the Company capitalized $5.5 million of offering costs. In September 2019, upon completion of the IPO, the Company reclassified $5.5 million of offering costs into stockholders' equity (deficit) as a reduction of the net proceeds received from the IPO. During the year ended December 31, 2019, the Company paid $5.3 million of the deferred offering costs. Use of Estimates The preparation of consolidated financial statements in conformity with U.S. GAAP requires management to make estimates and assumptions that affect the amounts reported and disclosed in the consolidated financial statements and accompanying notes to the consolidated financial statements. Such estimates include, but are not limited to, deferred contract acquisitions costs, the period of benefit generated from the Company’s deferred contract acquisition costs, the capitalization and estimated useful life of internal-use software, useful lives of property and equipment, the valuation and recognition of stock-based compensation expense, uncertain tax positions, and the recognition and measurement of current and deferred income tax assets and liabilities. Management bases these estimates and assumptions on historical experience and on various other assumptions that are believed to be reasonable. Actual results could differ materially from these estimates.
|
Summary of Significant Accounting Policies |
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 31, 2019 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Accounting Policies [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Summary of Significant Accounting Policies | Summary of Significant Accounting Policies Concentrations of Risks The Company’s revenue is reliant on its customers utilizing Internet-based services. These services can be prone to rapid changes in technology and government regulation. If the Company were unable to keep pace with customers’ needs and continue to improve its technological capabilities, or if another firm were to introduce competitive products, or a government jurisdiction were to enact legislation detrimental to the Company’s business, such an event or events could adversely affect the Company’s operating results. The Company serves its customers from co-location facilities located in various cities and countries around the world. The Company has internal procedures to restore services in the event of disasters at its current co-location facilities. Even with these procedures for disaster recovery in place, the Company’s services could be significantly interrupted during the implementation of restoration procedures. The Company’s financial instruments that are exposed to concentrations of credit risk consist primarily of cash, cash equivalents, available-for-sale securities, and accounts receivable. Although the Company maintains cash deposits, cash equivalent balances, and available-for-sale securities with multiple financial institutions, the deposits, at times, may exceed federally insured limits. Cash and cash equivalents may be withdrawn or redeemed on demand. The Company believes that the financial institutions that hold its cash and cash equivalents are financially sound and, accordingly, minimal credit risk exists with respect to these balances. The Company also maintains investments in U.S. treasury securities, U.S. government agency securities, commercial paper, and corporate bonds that carry high credit ratings and accordingly, minimal credit risk exists with respect to these balances. Cash equivalents consist of money market funds, commercial paper, and corporate bonds which are invested through financial institutions in the United States. The Company’s accounts receivable are derived from net revenue to customers located throughout the world. The Company grants credit to its customers in the normal course of business. For the years ended December 31, 2019, 2018, and 2017, no customer accounted for more than 10% of the Company’s revenue. No customer represented 10% or more of accounts receivable, net as of December 31, 2019 and 2018. Revenue Recognition In accordance with Accounting Standards Codification (ASC) Topic 606, Revenue From Contracts With Customers (ASC 606), revenue is recognized when a customer obtains control of promised services. Refer to Note 3 to these consolidated financial statements for additional information. Accounts Receivable and Allowance Accounts receivable are recorded at the invoiced amount and are non-interest bearing. Accounts receivable are stated at their net realizable value, net of a sales allowance and an allowance for doubtful accounts. Credit is extended to customers based on an evaluation of their financial condition and other factors. The Company establishes a sales allowance at the time of revenue recognition based on its history of adjustments and credits provided to customers. In determining the necessary allowance for doubtful accounts, the Company considers the current aging and financial condition of its customers, the amount of receivables in dispute, and current payment patterns. Accounts receivable are written off against the allowance when management determines a balance is uncollectible and the Company no longer actively pursues collection of the receivable. The Company does not have any off-balance-sheet credit exposure related to its customers. Cost of Revenue Cost of revenue consists primarily of expenses that are directly related to providing the Company's service to its paying customers. These expenses include expenses related to operating in co-location facilities, network and bandwidth costs, depreciation of the Company's equipment located in co-location facilities, certificate authority services costs for paying customers, related overhead costs, the amortization of the Company's capitalized internal-use software, and the amortization of acquired developed technologies. Cost of revenue also includes employee-related costs, including salaries, bonuses, benefits, and stock-based compensation for employees whose primary responsibilities relate to supporting the Company's paying customers and delivering paid customer support. Other costs included in cost of revenue include credit card fees related to processing customer transactions and allocated overhead costs. Research and Development The Company charges costs related to research, design, and development of products to research and development expense in the consolidated statements of operations as incurred. Research and development expenses support the Company's efforts to add new features to its existing offerings and to ensure the security, performance, and reliability of its global cloud platform. The majority of the Company's research and development expenses result from employee-related costs, including salaries, bonuses and benefits, consulting costs, depreciation of equipment used in research and development, and allocated overhead costs. Advertising Expense Advertising costs are charged to sales and marketing expense in the consolidated statements of operations as incurred. Advertising expense for the years ended December 31, 2019, 2018, and 2017 was $18.8 million, $10.4 million, and $5.9 million, respectively. Stock-based Compensation The Company measures and recognizes stock-based compensation expense based on the grant date fair value of the awards. The grant date fair value of stock options is estimated using the Black-Scholes option pricing model. The grant date fair value of restricted stock units (RSUs) is estimated based on the fair value of the Company's underlying common stock. The grant date fair value and the stock-based compensation expense related to purchase rights issued under the 2019 Employee Stock Purchase Plan (ESPP) is estimated using the Black-Scholes option pricing model and is based on the estimated number of awards as of the beginning of the offering period, respectively. The Black-Scholes option pricing model requires the use of highly subjective assumptions, including the award’s expected term, the fair value of the underlying common stock, the expected volatility of the price of the common stock, risk-free interest rates, and the expected dividend yield of the common stock. The assumptions used to determine the fair value of the stock-based awards are management’s best estimates and involve inherent uncertainties and the application of judgment. The expected term represents the period that the Company’s stock-based awards are expected to be outstanding. As the Company does not have sufficient historical experience for determining the expected term of the stock option awards granted, it has based its expected term on the simplified method available under U.S. GAAP. Stock-based compensation expense for awards with service-based vesting only is recognized on a straight-line basis over the requisite service period of the awards, which is generally four years. The Company accounts for forfeitures as they occur. Prior to the IPO, the fair value of the Company's common stock for financial reporting purposes was determined considering numerous objective and subjective factors and required judgment to determine the fair value of common stock as of each grant date. Subsequent to the IPO, the Company determines the fair value using the market closing price of its Class A common stock on the date of grant. The Company granted qualified event options (QE Options) and qualified event restricted stock units (QE RSUs) to employees and contractors which vest on the satisfaction of both a service-based condition and a performance condition. For QE Options, the performance condition was deemed satisfied upon the Company's Class A common stock being listed on a public exchange. For QE Options, the service-based condition is satisfied by rendering service from the date of grant through the qualifying event, as well as a -year vesting period commencing with the qualifying event. For QE RSUs, the performance condition was deemed satisfied upon the effective date of the Company's registration statement on Form S-1 filed with the SEC in connection with the IPO. The QE RSUs have a service-based vesting condition satisfied over a -year vesting period. Awards which contain both service-based and performance conditions are recognized using the accelerated attribution method once the performance condition is probable of occurring. The listing of equity securities event and effectiveness of a registration statement event are not deemed probable until consummated. In connection with the Company’s IPO, the Company recognized $21.0 million of cumulative stock-based compensation expense for the QE Options for the service period rendered from the date of grant through the equity securities listing date and for the QE RSUs that vested in connection with the effective date of the Company's registration statement on Form S-1 and began recording the remaining unrecognized stock-based compensation expense over the remainder of the requisite service period. Income Taxes The Company accounts for income taxes using the asset and liability method. Deferred income taxes are recognized by applying the enacted statutory tax rates applicable to future years to differences between the carrying amounts of existing assets and liabilities and their respective tax bases and net operating loss and tax credit carryforwards. The effect on deferred tax assets and liabilities of a change in tax rates is recognized in the period that includes the enactment date. The measurement of deferred tax assets is reduced, if necessary, by a valuation allowance to amounts that are more likely than not to be realized. The Company recognizes tax benefits from uncertain tax positions only if it believes 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. Foreign Currency Remeasurement The Company's functional currency of its foreign subsidiaries is the U.S. dollar. The monetary assets and liabilities that are denominated in a currency other than the U.S. dollar of the Company's foreign subsidiaries are remeasured into U.S. dollars at the exchange rate on the balance sheet date, while nonmonetary items are remeasured at historical rates. Revenue and expenses are remeasured at average exchange rates during the period. Transaction gains and losses that arise from exchange rate fluctuations on transactions denominated in a currency other than the functional currency are included in other income (expense), net in the consolidated statements of operations. The Company recognized remeasurement losses of $0.2 million and $0.3 million for the years ended December 31, 2019 and 2018, respectively and a remeasurement gain of $0.2 million for the year ended December 31, 2017. Cash and Cash Equivalents Cash and cash equivalents consist of highly liquid investments with an original maturity from the date of purchase of 90 days or less. Available-for-sale securities The Company’s available-for-sale securities consist of U.S. treasury securities, U.S. government agency securities, commercial paper, and corporate bonds. The Company has designated all securities held by it as available-for-sale and therefore, such securities are reported at fair value, with unrealized gains and losses recorded in accumulated other comprehensive loss on the consolidated balance sheets. For securities sold prior to maturity, the cost of securities sold is based on the specific identification method. Realized gains and losses on the sale of available-for-sale securities are recorded in other income (expense), net in the consolidated statements of operations. Historically, securities with original maturities greater than three months and remaining maturities less than one year were classified as marketable securities; and securities with remaining maturities greater than one year were classified as long-term investments. Effective as of December 31, 2019, all securities are classified within current assets as such securities can be liquidated to fund current operations without penalty. Other-than-temporary impairment All of the Company’s investments are subject to a periodic impairment review. The Company recognizes an impairment charge when a decline in the fair value of its investments below the cost basis is determined to be other-than-temporary. Factors considered in determining whether a loss is temporary include the extent and length of time the investment’s fair value has been lower than its cost basis, the financial condition and near-term prospects of the investee, the extent of the loss related to credit of the issuer, the expected cash flows from the security, the Company’s intent to sell the security, and whether or not the Company will be required to sell the security prior to the expected recovery of the investment’s amortized cost basis. No such impairment charges were recorded during the years ended December 31, 2019, 2018, and 2017. Fair Value Measurements The carrying value of the Company’s financial instruments, including cash equivalents, available-for-sale securities, accounts receivable, accounts payable, and accrued expenses, approximates fair value due to their short-term nature. Property and Equipment Property and equipment are stated at cost, net of accumulated depreciation. Depreciation is computed on a straight-line basis over the estimated useful lives of the assets, which is generally as follows:
Expenditures for maintenance and repairs are expensed as incurred. Build-to-Suit Leases The Company capitalizes construction in progress and records a corresponding long-term liability for build-to-suit lease agreements where the Company is considered the accounting owner during the construction period. For the building under build-to-suit lease arrangements where the Company has taken occupancy, the Company determined that it continued to be the deemed owner of this building. This is principally due to the Company’s significant investment in tenant improvements. As a result, the building is being depreciated over the useful life. At occupancy, the long-term construction obligations are considered long-term finance lease obligations. Assets capitalized under build-to-suit leases were $13.0 million as of December 31, 2019 and 2018. Depreciation expense for these assets was $0.4 million for the years ended December 31, 2019, 2018, and 2017. Capitalized Internal-Use Software Development Costs Certain development costs related to the Company’s global cloud platform during the application development stage are capitalized. Costs incurred in the preliminary stages of development are analogous to research and development activities and are expensed as incurred. The preliminary stage includes such activities as conceptual formulation of alternatives, evaluation of alternatives, determination of existence of needed technology, and final selection of alternatives. Once the application development stage is reached, internal and external costs are capitalized until the software is substantially complete and ready for its intended use. Capitalized costs are recorded as part of property and equipment, net. Capitalized internal-use software is amortized on a straight-line basis over its estimated useful life, which is generally three years, and is recorded as cost of revenue in the consolidated statements of operations. Capitalization of costs associated with the development of software for internal-use totaled $16.0 million, $9.6 million, and $4.0 million for the years ended December 31, 2019, 2018, and 2017, respectively. Amortization expense for capitalized internal-use software totaled $6.7 million, $3.3 million, and $1.0 million for the years ended December 31, 2019, 2018, and 2017, respectively. Business Combinations The Company includes the results of operations of the businesses that the Company acquires from the date of acquisition. The fair value of the assets acquired and liabilities assumed is based on their estimated fair values as of the respective date of acquisition. The excess purchase price over the fair value of the net assets acquired and liabilities assumed is recorded as goodwill. Determining the fair value of assets acquired and liabilities assumed requires significant judgment and estimates including the selection of valuation methodologies, future expected cash flows, discount rates, and useful lives. The Company’s estimates of fair value are based on assumptions believed to be reasonable, but which are inherently uncertain and, as a result, actual results may differ from estimates. During the measurement period, not to exceed one year from the date of acquisition, the Company may record adjustments to the assets acquired and liabilities assumed with a corresponding offset to goodwill. At the conclusion of the measurement period, or final determination of the values of assets acquired or liabilities assumed, whichever comes first, any subsequent adjustments are reflected in the consolidated statements of operations. When the Company issues payments or grants of equity to selling stockholders in connection with an acquisition, the Company evaluates whether the payments or awards are compensatory. This evaluation includes whether cash payments or stock award vesting is contingent on the continued employment of the selling stockholder beyond the acquisition date. If continued employment is required for the cash to be paid or stock awards to vest, the award is treated as compensation for post-acquisition services and is recognized as compensation expense. Transaction costs associated with business combinations are expensed as incurred, and are included in general and administrative expense in the Company’s consolidated statements of operations. Goodwill and Intangible Assets Goodwill represents the excess of the purchase price of an acquired business over the fair value of the net tangible and identifiable intangible assets acquired. The carrying amount of goodwill is reviewed for impairment at least annually, in the fourth quarter, or whenever events or changes in circumstances indicate that the carrying value may not be recoverable. At December 31, 2019 and 2018, the Company had a single operating segment and reporting unit structure. As part of the annual goodwill impairment test, the Company first performs a qualitative assessment to determine whether further impairment testing is necessary. If, as a result of the qualitative assessment, it is more likely than not that the fair value of the reporting unit is less than its carrying amount, the quantitative impairment test will be required. If the Company has determined it necessary to perform a quantitative impairment assessment, the Company will compare the fair value of the reporting unit with its carrying amount and recognize an impairment charge for the amount by which the carrying amount exceeds the reporting unit’s fair value, limited to the total amount of goodwill of the reporting unit. The Company did not recognize any goodwill impairment charges for any of the periods presented. Intangible assets are carried at cost, net of accumulated amortization. Intangible assets are amortized on a straight-line basis over their estimated useful lives. The Company estimates the useful life by estimating the expected period of economic benefit. The estimated useful life of the Company’s acquired developed technology intangible assets is two years. Indefinite lived intangibles are assessed annually for impairment, which includes an assessment of whether there were any triggering events that required an impairment assessment of the Company’s definite lived intangible assets, and whether it was more likely than not that the Company’s indefinite lived intangible asset was impaired. The Company’s indefinite lived intangible asset arose from an asset acquisition in November 2017. As a result of acquiring assets the Company recognized $0.3 million of in-process research and development. The Company began amortizing the in-process research and development as developed technology in 2018. The Company performed an evaluation for impairment and determined there was no impairment for the years ended December 31, 2019, 2018, and 2017. Impairment of Long-Lived Assets The Company evaluates long-lived assets, which include depreciable tangible assets, for impairment whenever events or changes in circumstances indicate that the carrying value of long-lived assets may not be recoverable. The recoverability of these assets is measured by comparing the carrying amounts to the future undiscounted cash flows these assets are expected to generate. The Company recognizes an impairment in the event the carrying amount of such assets exceeds the fair value attributable to such assets. There were no events or changes in circumstances that indicated the long-lived assets were impaired during any of the periods presented. Operating Leases The Company recognizes rent expense on a straight-line basis over the non-cancelable term of the operating lease. The difference between rent expense and rent paid is recorded as deferred rent in accrued expenses and other current liabilities and other noncurrent liabilities on the consolidated balance sheets. Legal Contingencies The Company accrues a liability for an estimated loss for legal contingencies if the potential loss from any claim or legal proceeding is considered probable, and the amount can be reasonably estimated. The Company believes there are no legal proceedings pending that could have, individually or in the aggregate, a material adverse effect on its results of operations or financial condition. Redeemable Convertible Preferred Stock Warrant Liability Warrants to purchase shares of the Company’s redeemable convertible preferred stock were classified as noncurrent liabilities on the consolidated balance sheets at fair value upon issuance because the underlying shares of redeemable convertible preferred stock were redeemable at the option of the holders upon the occurrence of certain deemed liquidation events considered not solely within the Company’s control. The warrants were subject to remeasurement to fair value at each balance sheet date and any change in fair value was recognized as a component of other income (expense), net, in the consolidated statements of operations. Net Loss per Share Attributable to Common Stockholders Basic and diluted net loss per share attributable to common stockholders is presented in conformity with the two-class method required for multiple classes of common stock and participating securities. The Company considers its previously outstanding redeemable convertible preferred stock to be participating securities. The Company also considers any shares issued on the early exercise of stock options subject to repurchase to be participating securities because holders of such shares have nonforfeitable dividend rights in the event a dividend is paid on common stock. Under the two-class method, net income is attributed to common stockholders and participating securities based on their participation rights. The holders of the redeemable convertible preferred stock, as well as the holders of early exercised shares subject to repurchase, do not have a contractual obligation to share in the losses of the Company. As such, the Company’s net losses for the years ended December 31, 2019, 2018, and 2017 were not allocated to these participating securities. The rights, including the liquidation and dividend rights, of the Class A common stock and Class B common stock are substantially identical, other than voting rights. Accordingly, the Class A common stock and Class B common stock shared proportionately in the Company’s net losses. Prior to the completion of the IPO, there were no shares of Class A common stock issued and outstanding. Under the two-class method, 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, less shares subject to repurchase. Vested RSUs that have not been settled have been included in the appropriate common share class used to calculate basic net loss per share. Diluted net loss per share attributable to common stockholders adjusts basic net loss per share for the effect of dilutive securities, including awards under the Company's equity incentive plans. As the Company has reported losses for all periods presented, all potentially dilutive securities are antidilutive and accordingly, basic net loss per share equals diluted net loss per share. Upon completion of the IPO, all shares of redeemable convertible preferred stock then outstanding were automatically converted into an equivalent number of shares of common stock on a one-to-one basis and their carrying amount reclassified into stockholders' equity (deficit). As of December 31, 2019, there were no shares of redeemable convertible preferred stock issued and outstanding. Segment and Geographic Information The Company has one reportable and operating segment. Financial information about the Company’s operating segment and geographic areas is presented in Note 14 to these consolidated financial statements. Recent Accounting Pronouncements Recently Adopted Accounting Pronouncements In July 2017, the Financial Accounting Standards Board (FASB) issued Accounting Standards Update (ASU) No. 2017-11, Earnings Per Share (Topic 260); Distinguishing Liabilities from Equity (Topic 480); Derivatives and Hedging (Topic 815): (Part I) Accounting for Certain Financial Instruments with Down Round Features, (Part II) Replacement of the Indefinite Deferral for Mandatorily Redeemable Financial Instruments of Certain Nonpublic Entities and Certain Mandatorily Redeemable Noncontrolling Interests with a Scope Exception. This ASU reduces the complexity associated with an issuer’s accounting for certain financial instruments with characteristics of liabilities and equity. Specifically, the FASB determined that a down round feature would no longer cause a freestanding equity-linked financial instrument (or an embedded conversion option) to be accounted for as a derivative liability at fair value with changes in fair value recognized in current earnings. For public business entities, it is effective for fiscal years beginning after December 15, 2018, and interim periods therein. For all other entities, it is effective for fiscal years beginning after December 15, 2019, and interim periods within fiscal years beginning after December 15, 2019. Early adoption is permitted. The Company adopted this guidance effective September 30, 2019 using the prospective approach. The adoption of ASU 2017-11 did not have a material impact on the consolidated financial statements. In February 2018, the FASB issued ASU No. 2018-02, Income Statement—Reporting Comprehensive Income (Topic 220): Reclassification of Certain Tax Effects from Accumulated Other Comprehensive Income, which provides financial statement preparers with an option to reclassify stranded tax effects within accumulated other comprehensive income to retained earnings in each period in which the effect of the change in the U.S. federal corporate income tax rate in the Tax Cuts and Jobs Act (or portion thereof) is recorded. For all entities, it is effective for fiscal years beginning after December 15, 2018, and interim periods therein. Early adoption is permitted. The amendments in this ASU should be applied either in the period of adoption or retrospectively to each period (or periods) in which the effect of the change in the U.S. federal corporate income tax rate in the Tax Cuts and Jobs Act is recognized. The Company adopted this ASU effective January 1, 2019, noting no material impact on the Company’s consolidated financial statements. Recently Issued Accounting Pronouncements In February 2016, the FASB issued ASU 2016-02, Leases (Topic 842), and since that date, has issued several ASUs to further clarify certain aspects of ASU 2016-02 and provide entities with practical expedients that may be elected upon adoption. ASU 2016-02 introduces the recognition of right-of-use assets and lease liabilities by lessees for all leases on the consolidated balance sheets. For the consolidated statements of operations, the ASU retains the distinction between finance leases and operating leases, with the classification criteria for distinguishing between finance leases and operating leases are substantially similar to the previous lease guidance. During the transition period for this ASU, lessees and lessors are required to recognize and measure leases at either the beginning of the earliest period presented using a modified retrospective approach, or at the adoption date recognizing the cumulative effect adjustment to the opening balance of retained earnings in the period of adoption. The effective date and transition requirements of ASU 2016-02, for public business entities, is interim and annual periods beginning on or after December 15, 2018, with early adoption permitted. For all other entities, ASU 2016-02 is effective for annual periods beginning on or after December 15, 2019, and interim periods within annual periods beginning after December 15, 2020. Early adoption is permitted. The Company intends to adopt the ASU beginning January 1, 2020, and has elected to apply the alternate transition method by recording a cumulative-effect adjustment to the opening balance of retained earnings (accumulated deficit) in the period of adoption. Under the new standard, lessees will be required to record a right-of-use asset and liability for all leases, with certain exceptions, on their balance sheets. The Company is currently evaluating its lease portfolio and expects the adoption of this standard to have a material impact on its consolidated balance sheet. In August 2018, the FASB issued ASU No. 2018-15, Intangibles—Goodwill and Other—Internal-Use Software (ASC 350-40): Customer’s Accounting for Implementation Costs Incurred in a Cloud Computing Arrangement. This guidance provides that implementation costs be evaluated for capitalization using the same criteria as that used for internal-use software development costs, with amortization expense being recorded in the same income statement expense line as the hosted service costs and over the expected term of the hosting arrangement. For public business entities, it is effective for fiscal years beginning after December 15, 2019, and interim periods within those fiscal years. For all other entities, it is effective for fiscal years beginning after December 15, 2020, and interim periods beginning after December 15, 2021. Early adoption of the amendments in this update is permitted, including adoption in any interim period, for all entities. The Company is currently evaluating the potential impact of this ASU on its consolidated financial statements. In November 2019, the FASB issued ASU 2019-10, Financial Instruments—Credit Losses (Topic 326), Derivatives and Hedging (Topic 815), and Leases (Topic 842). This ASU revises, and staggers, the effective dates for various major updates that have been issued since 2014 to alleviate the burden on both larger public companies as well as private companies, smaller public companies, not-for-profit organizations, and employee benefit plans. Most notably, the amendments for Topic 326 are now effective for the Company beginning January 1, 2020. The Company is currently evaluating the impact of this ASU on its consolidated financial statements, which is not expected to be material. In December 2019, the FASB issued ASU 2019-12 (ASC Topic 740), Simplifying the Accounting for Income Taxes. This ASU simplifies accounting for income taxes by removing certain exceptions to the general principles and amending existing guidance to improve consistent application. The amendments in this update are effective for fiscal years, and interim periods within those fiscal years, beginning after December 15, 2020. Early adoption of the amendments is permitted, including adoption in any interim period for which financial statements have not yet been issued. The Company is in the process of evaluating the impact, if any, of this ASU on its consolidated financial statements.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
Revenue |
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 31, 2019 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Revenue from Contract with Customer [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Revenue | Revenue Revenue Recognition In accordance with ASC 606, revenue is recognized when a customer obtains control of promised services. The amount of revenue recognized reflects the consideration that the Company expects to be entitled to receive in exchange for these services. To achieve this standard, the Company applies the following five steps: 1. Identify the contract with a customer The Company considers the terms and conditions of the contracts and its customary business practices in identifying its contracts under ASC 606. The Company determines it has a contract with a customer when the contract is approved, the Company can identify each party’s rights regarding the services to be transferred, the Company can identify the payment terms, the Company has determined that collectibility is probable, and the contract has commercial substance. The Company applies judgment in determining that collectibility is probable, 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 relevant to the customer. 2. Identify the performance obligations in the contract Performance obligations promised in a contract are identified based on the services 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 to the Company, and are distinct in the context of the contract, whereby the transfer of the services is separately identifiable from other promises in the contract. The Company’s performance obligation primarily consists of subscription and support services, as they are provided over the same service period. 3. Determine the transaction price The transaction price is determined based on the consideration to which the Company expects to be entitled in exchange for transferring services to the customer. Usage-based variable consideration is recognized in the period it is incurred. None of the Company’s contracts contain a significant financing component. 4. Allocate the transaction price to performance obligations in the contract The subscription and support services in the Company’s contracts are considered a single performance obligation, and thus the entire transaction price is allocated to the single performance obligation. 5. Recognize revenue when or as the Company satisfies a performance obligation Revenue is recognized at the time the related performance obligation is satisfied by transferring the service to a customer. Revenue is recognized when control of the services is transferred to the Company’s customers, in an amount that reflects the consideration that the Company expects to be entitled to receive in exchange for those services. The Company generates sales directly through its sales team and through its channel partners. Revenue from sales to channel partners are recorded once all revenue recognition criteria above are met. Channel partners generally receive an order from an end-customer prior to placing an order with the Company. Payment from channel partners is not contingent on the partner’s collection from end-customers. The Company has determined that it is acting as an agent in these arrangements and records this revenue on a net basis. Subscription and Support Revenue The Company generates revenue primarily from sales to its customers of subscriptions to access its platform, together with related support services. Arrangements with customers generally do not provide the customer with the right to take possession of the Company’s software operating its global cloud platform at any time. Instead, customers are granted continuous access to the Company’s global cloud platform over the contractual period. Access to the Company’s platform and products is considered a monthly series comprising one performance obligation. A time-elapsed output method is used to measure progress because the Company transfers control evenly over the contractual period. Accordingly, the fixed consideration related to subscription and support revenue is generally recognized on a straight-line basis over the contract term beginning on the date that the Company’s service is made available to the customer. Usage-based consideration is primarily related to fees charged for the Company’s customer’s use of excess bandwidth when accessing the Company’s platform in a given period and is recognized as revenue in the period in which the usage occurs. The typical subscription and support term for the Company’s contracted customers, which consist of customers that enter into contracts for the Company's Enterprise subscription plan (and which the Company previously referred to as enterprise customers), is one year and subscription and support term lengths range from to three years. Most of the Company’s contracts with contracted customers are non-cancelable over the contractual term. Customers typically have the right to terminate their contracts for cause if the Company fails to perform in accordance with the contractual terms. For the Company’s pay-as-you-go customers, which consist of customers that sign up for the Company's Pro or Business subscription plans through the Company's website (and which the Company previously referred to as self-serve customers), subscription and support terms are typically monthly. Variable Consideration If the Company’s services do not meet certain service level commitments, its customers are entitled to receive service credits, and in certain cases, refunds, each representing a form of variable consideration. Revenue from sales is recorded at the net sales price, which is the transaction price, and includes estimates of these forms of variable consideration to the extent that a significant reversal of cumulative revenue will not occur in a future period. The Company has historically not experienced any incidents that had a material impact on its consolidated financial statements. Accordingly, any estimated refunds related to these agreements in the consolidated financial statements are not material during the periods presented. Usage-based consideration is primarily related to fees charged for the Company’s customer’s use of excess bandwidth when accessing the Company’s platform in a given period and is recognized as revenue in the period in which the usage occurs. Disaggregation of Revenue Subscription and support revenue is recognized over time and accounted for substantially all of the Company’s revenue for the years ended December 31, 2019, 2018, and 2017. The following table summarizes the revenue by region based on the billing address of customers who have contracted to use the Company’s global cloud platform:
The following table summarizes the revenue from contracts by type of customer:
Contract Balances Contract liabilities consist of deferred revenue and include payments received in advance of performance under the contract. Such amounts are recognized as revenue over the contractual period. For the years ended December 31, 2019, 2018, and 2017 the Company recognized revenue of $16.8 million, $11.9 million, and $6.6 million, respectively, that was included in the corresponding contract liability balance at the beginning of the periods presented. The Company receives payments from customers based upon contractual billing schedules; accounts receivable are recorded when the right to consideration becomes unconditional. Standard payment terms are due upon receipt. Contract assets include amounts related to the Company’s contractual right to consideration for both completed and partially completed performance obligations that have not been invoiced. Costs to Obtain and Fulfill a Contract The Company capitalizes sales commission and associated payroll taxes paid to internal sales personnel that are incremental to the acquisition of channel partner and direct customer contracts. These costs are recorded as deferred contract acquisition costs on the consolidated balance sheets. The Company determines whether costs should be deferred based on its 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 contract are not considered commensurate with the commissions paid for the acquisition of the initial contract. Commissions paid upon the initial acquisition of a contract are amortized over an estimated period of benefit of three years while commissions paid for renewal contracts are amortized over the contractual term of the renewals. Amortization of deferred contract acquisition costs is recognized on a straight-line basis commensurate with the pattern of revenue recognition and included in sales and marketing expense in the consolidated statements of operations. The Company determines the period of benefit for commissions paid for the acquisition of the initial contract by taking into consideration the expected subscription term and expected renewals of its customer contracts, the duration of its relationships with its customers, customer retention data, its technology development lifecycle, and other factors. The Company periodically reviews the carrying amount of deferred contract acquisition costs to determine whether events or changes in circumstances have occurred that could impact the period of benefit of these deferred costs. The Company did not recognize any impairment losses of deferred contract acquisition costs during the periods presented. The following table summarizes the activity of the deferred contract acquisition costs:
Remaining Performance Obligations As of December 31, 2019, the aggregate amount of the transaction price allocated to remaining performance obligations was $219.2 million. As of December 31, 2019, the Company expected to recognize 82% of its remaining performance obligations as revenue over the next 12 months and 18% of its remaining performance obligations as revenue over the next three years. Nonmonetary Transactions From time to time, the Company enters into nonmonetary arrangements. In the years ended December 31, 2019 and 2018, the Company did not participate in any significant nonmonetary transactions. In the year ended December 31, 2017, the Company participated in nonmonetary transactions with three of its customers in exchange for those customers agreeing to become vendors providing services to the Company. In accordance with ASC 606, at contract inception, the Company measures and records the transaction price for nonmonetary transactions that meet certain criteria at the estimated fair value of the non-cash consideration received from the customer; if the Company cannot reasonably estimate the fair value of the non-cash consideration, the Company will measure the consideration indirectly by reference to the standalone selling price of the goods or services promised to the customer in exchange for the consideration. Services delivered to the Company and provided by the Company are recognized as the services or capacity is delivered, which also may require estimates. The estimated fair value of the services was derived from internal margin metrics and third-party comparable pricing. Nonmonetary transaction revenue was $7.0 million for the year ended December 31, 2017. Nonmonetary transaction expense, recognized as a component of cost of revenue and of sales and marketing expense in the consolidated statements of operations, was $7.0 million for the year ended December 31, 2017. The Company concluded that one of the three arrangements was not in scope of ASC 606 and could not be recognized at fair value as the transaction did not have commercial substance. There were no significant exchanges of services under that contract during the periods presented.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Fair Value Measurements |
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 31, 2019 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fair Value Disclosures [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fair Value Measurements | Fair Value Measurements Fair value is defined as the exchange price that would be received from sale of an asset or paid to transfer a liability in the principal or most advantageous market for the asset or liability in an orderly transaction between market participants on the measurement date. Assets and liabilities measured at fair value are classified into the following categories: •Level I: Observable inputs are unadjusted quoted prices in active markets for identical assets or liabilities; •Level II: Observable inputs are quoted prices for similar assets and liabilities in active markets or inputs other than quoted prices that are observable for the assets or liabilities, either directly or indirectly through market corroboration, for substantially the full term of the financial instruments; and •Level III: Unobservable inputs that are supported by little or no market activity and that are significant to the fair value of the assets or liabilities. These inputs are based on the Company’s own assumptions used to measure assets and liabilities at fair value and require significant management judgment or estimation. The Company's cash equivalents are comprised of highly liquid money market funds, U.S. government agency securities, and commercial paper. The Company classifies money market funds within Level I of the fair value hierarchy because they are valued based on quoted market prices in active markets. The Company classifies its investments, which are comprised of U.S. treasury securities, U.S. government agency securities, commercial paper, and corporate bonds, within Level II of the fair value hierarchy because the fair value of these securities is priced by using inputs based on non-binding market consensus prices that are primarily corroborated by observable market data or quoted market prices for similar instruments. The Company recognizes transfers between levels within the fair value hierarchy, if any, at the end of each period. There were no transfers between levels during the periods presented. The following table summarizes the Company’s cash and available-for-sale securities’ amortized cost, unrealized gains (losses), and fair value by significant investment category reported as cash and cash equivalents, restricted cash, or available-for-sale securities as of December 31, 2019 and 2018.
The aggregate fair value of the Company’s money market funds approximated amortized cost and, as such, there were no unrealized gains or losses on money market funds as of December 31, 2019 and 2018. Realized gains and losses, net of tax, were not material for any of the periods presented. The amortized cost of available-for-sale investments with maturities less than one year was $450.2 million and $135.6 million as of December 31, 2019 and 2018, respectively. The amortized cost of available-for-sale investments with maturities greater than one year was $47.7 million and zero as of December 31, 2019 and 2018, respectively. As of December 31, 2019, net unrealized gains on investments were $0.1 million net of tax and were included in accumulated other comprehensive income (loss) on the consolidated balance sheets. As of December 31, 2018, net unrealized losses on investments were $0.1 million net of tax and were included in accumulated other comprehensive income (loss) on the consolidated balance sheets. The unrealized gains and losses on available-for-sale investments are related to U.S. treasury securities, U.S. government agency securities, and corporate bonds. The Company determined these unrealized losses to be temporary. Factors considered in determining whether a loss is temporary include the length of time and extent to which the investment’s fair value has been less than the cost basis, the financial condition and near-term prospects of the investee, the extent of the loss related to the credit of the issuer, the expected cash flows from the security, the Company’s intent to sell the security, and whether or not the Company will be required to sell the security before the recovery of its amortized cost. The Company classifies financial instruments in Level III of the fair value hierarchy when there is reliance on at least one significant unobservable input to the valuation model. In addition to these unobservable inputs, the valuation models for Level III financial instruments typically also rely on a number of inputs that are readily observable, either directly or indirectly. The Company’s assessment of the significance of a particular input to the fair value measurement in its entirety requires management to make judgments and consider factors specific to the asset or liability. The gains and losses presented below include changes in the fair value related to both observable and unobservable inputs. Prior to the IPO, the Company's only Level III financial instruments were its redeemable convertible preferred stock warrants. Upon the completion of the IPO, the warrant to purchase shares of Series B redeemable convertible preferred stock was converted into a warrant to purchase shares of Class B common stock. As a result, the warrant liability was remeasured and reclassified to additional paid-in capital within stockholders' equity (deficit). The following tables summarize the Company’s redeemable convertible preferred stock warrant liability measured and recorded at fair value as of December 31, 2019 and 2018:
Refer to Note 8 to these consolidated financial statements for further information on the redeemable convertible preferred stock warrants, including the assumptions used to determine their fair value and further information on the exercise of such warrants in the year ended December 31, 2019.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Balance Sheet Components |
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 31, 2019 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Organization, Consolidation and Presentation of Financial Statements [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Balance Sheet Components | Balance Sheet Components Accounts Receivable, Net Accounts receivable are recorded at the invoiced amount and are non-interest bearing. Accounts receivable are stated at their net realizable value, net of a sales allowance and an allowance for doubtful accounts. Activity in the allowance for doubtful accounts was as follows:
There was no bad debt expense or write-off of uncollectible accounts receivable for the year ended December 31, 2017. Prepaid Expenses and Other Current Assets Prepaid expenses and other current assets consisted of the following:
Property and Equipment, Net Property and equipment, net consisted of the following:
Depreciation and amortization expense on property and equipment for the years ended December 31, 2019, 2018, and 2017 was $29.4 million, $18.4 million, and $11.7 million, respectively. Acquired Intangible Assets, Net Acquired intangible assets, net consisted of the following:
The Company recorded, at the time of the acquisition, acquired in-process research and development for projects in progress that had not yet reached technological feasibility. The Company began amortizing the in-process research and development as developed technology in 2018 using the straight-line method over its estimated useful life. Amortization of acquired intangible assets for the years ended December 31, 2019, 2018, and 2017 was $0.1 million, $0.5 million, and $0.5 million, respectively. As of December 31, 2019, the estimated future amortization expense of acquired intangible assets was as follows:
Accrued Expenses and Other Current Liabilities Accrued expenses and other current liabilities consisted of the following:
Other Noncurrent Liabilities Other noncurrent liabilities consisted of the following:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Note Payable |
12 Months Ended |
|---|---|
Dec. 31, 2019 | |
| Debt Disclosure [Abstract] | |
| Note Payable | Note PayableIn July 2015 and November 2015, the Company entered into three separate Installment Purchase Agreements (the IPA Agreements) totaling $1.7 million for computer equipment and maintenance with one of its suppliers. The IPA Agreements are collateralized by the equipment purchased from the supplier and bear interest ranging from 2.9% to 5.0%. As of December 31, 2019 and 2018, the Company had zero and $0.3 million, respectively, outstanding under this facility. |
Commitments and Contingencies |
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 31, 2019 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Commitments and Contingencies Disclosure [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Commitments and Contingencies | Commitments and Contingencies Operating Leases The Company has entered into various non-cancelable operating lease agreements for certain of its offices and co-location facilities with lease periods expiring between the years ending December 31, 2019 and 2027. Certain of these arrangements have free or escalating rent payment provisions. The Company recognizes rent expense on a straight-line basis over the lease period. The difference between the rent paid and the straight-line rent is recorded as deferred rent, which is included in accrued expenses and other current liabilities and other noncurrent liabilities on the consolidated balance sheets. Rent expense was $11.2 million, $7.3 million, and $3.9 million for the years ended December 31, 2019, 2018, and 2017, respectively. Refer to the table below for the aggregate future minimum lease payments under non-cancelable operating leases as of December 31, 2019. As of December 31, 2019 and 2018, the Company had $6.7 million and $6.4 million, respectively, in restricted cash related to irrevocable standby letters of credit established according to the requirements under lease agreements. Bandwidth & Co-location Commitments The Company enters into long-term non-cancelable agreements with providers in various countries to purchase capacity, such as bandwidth and co-location space, for the Company’s global cloud platform. Bandwidth and co-location costs for paying customers are recorded as cost of revenue in the consolidated statements of operations and as sales and marketing expense in the consolidated statements of operations for free customers. Such costs totaled $37.0 million, $27.5 million, and $19.2 million for the years ended December 31, 2019, 2018, and 2017, respectively. Refer to the table below for long-term bandwidth and co-location commitments under non-cancelable contracts with various networks and Internet service providers as of December 31, 2019. Purchase Commitments Open purchase commitments are for the purchase of services under non-cancelable contracts. They are not recorded as liabilities on the consolidated balance sheet as of December 31, 2019 as the Company has not yet received the related services. Refer to the table below for purchase commitments under non-cancelable contracts with various vendors as of December 31, 2019.
(1)Open purchase commitments are for the purchase of services under non-cancelable contracts. They were not recorded as liabilities on the consolidated balance sheet as of December 31, 2019 as the Company had not yet received the related services. (2)Long-term commitments for bandwidth usage and co-location with various networks and Internet service providers. The costs for services not yet received were not recorded as liabilities on the consolidated balance sheet as of December 31, 2019. (3)Office space and equipment under non-cancelable operating leases. Total payments listed represent total minimum future lease payments. Build-to-Suit Lease Financing Obligation The Company entered into a lease whereby the Company is deemed the accounting owner under build-to-suit lease accounting. The fair value of the leased property and corresponding financing obligation are included in property and equipment, net and build-to-suit lease financing obligation, respectively, on the consolidated balance sheets as of December 31, 2019 and 2018. As of December 31, 2019, the Company’s future minimum lease payments required under this non-cancelable obligation were as follows:
The Company recognizes an increase in the fair value of the asset as additional building costs are incurred during the construction period and a corresponding increase in the build-to-suit lease financing obligation for any construction costs to be reimbursed by the landlord. As of December 31, 2019 and 2018, $10.5 million and $10.4 million, respectively, of build-to-suit lease financing obligation was included on the consolidated balance sheets. Legal Matters From time to time the Company is a party to various legal proceedings that arise in the ordinary course of business. In addition, third parties may from time to time assert claims against the Company in the form of letters and other communications. Management currently believes that there is no pending or threatened legal proceeding to which the Company is a party that is likely to have a material adverse effect on the Company’s consolidated financial statements. However, the results of legal proceedings are inherently unpredictable and if an unfavorable ruling were to occur in any of the legal proceedings there exists the possibility of a material adverse effect on the Company’s financial position, results of operations, and cash flows. The Company accrues for legal proceedings that it considers probable and for which the loss can be reasonably estimated. The Company discloses potential losses when they are reasonably possible. Legal costs incurred and expected to be incurred related to litigation matters are expensed as incurred. The Company’s platform and associated products are subject to various restrictions under U.S. export control and sanctions laws and regulations, including the U.S. Department of Commerce’s Export Administration Regulations (EAR) and various economic and trade sanctions regulations administered by the U.S. Department of the Treasury’s Office of Foreign Assets Controls (OFAC). The U.S. export control laws and U.S. economic sanctions laws include restrictions or prohibitions on the sale or supply of certain products and services to U.S. embargoed or sanctioned countries, governments, persons and entities and also require authorization for the export of certain encryption items. In addition, various countries regulate the import of certain encryption technology, including through import permitting and licensing requirements and have enacted or could enact laws that could limit the Company’s ability to distribute its platform. Although the Company takes precautions to prevent its platform and associated products from being accessed or used in violation of such laws, the Company may have inadvertently allowed its platform and associated products to be accessed or used by some customers in apparent violation of U.S. economic sanctions laws, including by users in embargoed or sanctioned countries, and the Company may have exported or allowed the download of certain software prior to making required filings with the U.S. Department of Commerce’s Bureau of Industry and Security. As a result, the Company has submitted to OFAC and to the Bureau of Industry and Security a voluntary self-disclosure concerning potential violations, and the Company has submitted a voluntary self-disclosure to the Census Bureau regarding potential violations of the Foreign Trade Regulations related to some incorrect electronic export information statements to the U.S. government for certain hardware exports, which were authorized. The voluntary self-disclosure to the Census Bureau was completed with no penalties in November 2019, while the other voluntary self-disclosures are still under review. If the Company is found to be in violation of U.S. economic sanctions or export control laws, it could result in substantial fines and penalties for the Company and for the individuals working for the Company. The Company may also be adversely affected through other penalties, reputational harm, loss of access to certain markets or otherwise. No loss has been recognized in the consolidated financial statements for this loss contingency as it is not probable a loss has been incurred and the range of a possible loss is not yet estimable. Guarantees and Indemnifications If the Company's services do not meet certain service level commitments, its contracted customers and certain of its pay-as-you-go customers are entitled to receive service credits, and in certain cases, refunds, each representing a form of variable consideration. To date, the Company has not incurred any material costs as a result of such commitments. The Company’s arrangements generally include certain provisions for indemnifying customers against liabilities if its products or services infringe a third-party’s intellectual property rights. It is not possible to determine the maximum potential amount under these indemnification obligations due to the limited history of prior indemnification claims and the unique facts and circumstances involved in each particular agreement. To date, the Company has not incurred any material costs as a result of such obligations and has not accrued any liabilities related to such obligations in the consolidated financial statements. The Company has also agreed to indemnify its directors, executive officers, and certain other employees for costs associated with any fees, expenses, judgments, fines, and settlement amounts incurred by them in any action or proceeding to which any of them are, or are threatened to be, made a party by reason of their service as a director or officer. The Company maintains director and officer insurance coverage that would generally enable it to recover a portion of any future amounts paid. The Company also may be subject to indemnification obligations by law with respect to the actions of its employees under certain circumstances and in certain jurisdictions.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Redeemable Convertible Preferred Stock |
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 31, 2019 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Temporary Equity Disclosure [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Redeemable Convertible Preferred Stock | Redeemable Convertible Preferred Stock Redeemable Convertible Preferred Stock Upon completion of the IPO, all shares of Series A, Series B, and Series C redeemable convertible preferred stock then outstanding, totaling 134,276,690 shares, were automatically converted into an equivalent number of shares of Class B common stock on a one-to-one basis and all shares of Series D redeemable convertible preferred stock outstanding, totaling 31,381,152 shares, were automatically converted into an equivalent number of shares of Class A common stock on a one-to-one basis. The carrying value of $331.5 million was reclassified into stockholders' equity (deficit). As of December 31, 2019, there were no shares of redeemable convertible preferred stock issued and outstanding. In connection with the IPO, the Company's amended and restated certificate of incorporation became effective, which authorized the issuance of 225,000,000 shares of preferred stock with a par value of $0.001 per share with rights and preferences, including voting rights, designated from time to time by the Company's Board of Directors. As of December 31, 2018, the Company's redeemable convertible preferred stock consisted of the following:
Redeemable Convertible Preferred Stock Warrants In connection with the terms of a loan and security agreement entered into by the Company in April 2011, the Company issued a warrant to purchase 59,140 shares of Series B redeemable convertible preferred stock upon execution of the agreement, an additional warrant to purchase 94,510 shares of Series B redeemable convertible preferred stock in connection with the Company’s drawdown of $1.6 million under the facility during October 2011, and a warrant to purchase 23,760 shares of Series B redeemable convertible preferred stock in connection with the final drawdown of $0.4 million in January 2012. The warrants had an exercise price of $0.34 per share. The warrants were considered a liability and carried at fair value with any changes in fair value recognized in other income (expense), net in the consolidated statements of operations. Upon completion of the IPO, the warrants to purchase Series B redeemable convertible preferred stock were automatically converted to warrants to purchase an equal number of shares of Class B common stock. As a result, the warrant liability was remeasured and reclassified to additional paid-in capital within stockholders' equity (deficit). During the years ended December 31, 2019 and 2018, the Company recorded a loss of $1.5 million and $1.2 million, respectively, related to the change in fair value of the redeemable convertible preferred stock warrants. The fair value of the redeemable convertible preferred stock warrants was determined using the following assumptions:
In the year ended December 31, 2019, the warrants were exercised and such shares were settled via the net settlement method, resulting in the issuance of 174,347 shares of the Company's Class B common stock.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Common Stock |
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 31, 2019 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Equity [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Common Stock | Common Stock The Company’s amended and restated certificate of incorporation authorizes the issuance of Class A common stock and Class B common stock. The holder of each share of Class A common stock is entitled to one vote per share, while the holder of each share of Class B common stock is entitled to 10 votes per share. As of December 31, 2019 and 2018, the Company was authorized to issue 2,250,000,000 and 550,000,000 shares of Class A common stock, respectively, and 315,000,000 and 300,000,000 shares of Class B common stock, respectively, each with a par value of $0.001 per share. There were 87,071,783 and zero shares of Class A common stock issued and outstanding as of December 31, 2019 and 2018, respectively. The number of shares of Class B common stock issued and outstanding was 213,101,364 and 91,542,243, as of December 31, 2019 and 2018, respectively. Holders of the Company’s Class A common stock and Class B common stock are entitled to dividends when, as and if, declared by the Company’s Board of Directors, subject to the rights of the holders of all classes of stock outstanding having priority rights to dividends. Any dividends paid to the holders of the Class A common stock and Class B common stock will be paid on a pro rata basis. As of December 31, 2019 and 2018, the Company had not declared any dividends. The rights of the holders of Class A and Class B common stock are identical, except with respect to voting and conversion. Shares of our Class B common stock are convertible into an equivalent number of shares of our Class A common stock and generally convert into shares of our Class A common stock upon cessation of employment or transfer, except for certain transfers described in the Company's amended and restated certificate of incorporation. Class A common stock and Class B common stock are referred to, collectively, as common stock throughout the notes to these consolidated financial statements, unless otherwise indicated. Common Stock Reserved for Future Issuance Shares of common stock reserved for future issuance, on an as-if converted basis, are as follows:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Stock-based Compensation |
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 31, 2019 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Share-based Payment Arrangement [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Stock-based Compensation | Stock-based Compensation Equity Incentive Plans In 2010, the Company's Board of Directors adopted and stockholders approved the 2010 Equity Incentive Plan (2010 Plan). The 2010 Plan is a broad-based retention program and is intended to attract and retain talented employees, directors, and non-employee consultants. The 2010 Plan provides for the granting of stock options, restricted stock, RSUs, and stock appreciation rights to employees, directors, and consultants. Incentive stock options may be granted only to employees. All other awards under the 2010 Plan, including non-qualified stock options, may be granted to employees, directors, and consultants. Except for qualifying assumptions and substitutions of options, the exercise price of an incentive stock option and non-qualified stock option shall not be less than 100% of the fair market value of such shares on the date of grant. The number of shares of common stock authorized for issuance under the 2010 Plan was 75,008,088 as of December 31, 2018. Prior to the Company's IPO, stock-based awards forfeited, canceled, or repurchased generally were returned to the pool of shares of common stock available for issuance under the 2010 Plan. The number of shares of common stock available for issuance under the 2010 Plan was zero and 13,355,967 as of December 31, 2019 and 2018, respectively. In connection with the IPO, the 2010 Plan was terminated effective immediately prior to the effectiveness of the 2019 Equity Incentive Plan (2019 Plan) and the Company ceased granting any additional awards under the 2010 Plan. All outstanding awards under the 2010 Plan at the time of the termination of the 2010 Plan remain subject to the terms of the 2010 Plan, and any shares underlying stock options that expire or terminate or are forfeited or repurchased by the Company under the 2010 Plan will be automatically transferred to the 2019 Plan. In 2019, the Company's Board of Directors adopted and stockholders approved the 2019 Plan, which became effective one business day prior to the effective date of the Company's registration statement on Form S-1 for the IPO. The 2019 Plan provides for the granting of stock options, restricted stock, RSUs, stock appreciation rights, performance shares, performance stock units, and performance awards for the Company's Class A common stock to the Company's employees, directors, and consultants. Except as otherwise indicated below, the maximum number of shares of Class A common stock that may be issued under the 2019 Plan will not exceed 66,661,953 shares of the Company's Class A common stock, which is the sum of (1) 29,335,000 new shares, plus (2) an additional number of shares of Class A common stock not to exceed 37,326,953, consisting of the total number of shares of Class A or Class B common stock subject to outstanding awards granted under the 2010 Plan that, on or after the 2019 Plan became effective, are canceled, expire, or otherwise terminate prior to exercise or settlement; are repurchased by the Company because of the failure to vest; or are forfeited, tendered to, or withheld by the Company (or not issued) to satisfy a tax withholding obligation or the payment of an exercise price, if any, as such shares become available from time to time. Stock-based awards under the 2019 Plan that expire or are forfeited, canceled, or repurchased generally are returned to the pool of shares of Class A common stock available for issuance under the 2019 Plan. In addition, the number of shares of the Company's Class A common stock reserved for issuance under the 2019 Plan will automatically increase on January 1 of each calendar year, starting on January 1, 2021 through January 1, 2029, in an amount equal to the least of (i) 29,335,000 shares, (ii) 5% of the total number of shares of Class A and Class B common stock outstanding on December 31 of the fiscal year before the date of each automatic increase, or (iii) a lesser number of shares determined by the compensation committee of the Company's Board of Directors prior to the applicable January 1. As of December 31, 2019, 1,112,681 shares of Class A common stock underlying RSUs were granted under the 2019 Plan and the number of shares of Class A common stock available for issuance under the 2019 Plan was 29,047,799. Stock Options Under the 2010 Plan and 2019 Plan, at exercise, stock option awards entitle the holder to receive one share of Class B or Class A common stock, in the case of the 2010 Plan, or one share of Class A common stock, in the case of the 2019 Plan. Stock options granted under the 2010 Plan and the 2019 Plan generally vest over a -year period and expire no more than 10 years from the date of grant. The following table summarizes the stock options activity under the 2010 Plan:
The weighted-average assumptions used to determine the fair value of stock options granted during the periods presented were as follows:
The weighted-average grant date fair value of options granted during the years ended December 31, 2019, 2018, and 2017 was $4.10, $1.38, and $0.97 per share, respectively. The aggregate intrinsic value is the difference between the exercise price of the option and the estimated fair value of the underlying common stock. Options exercisable include 15,477,903 and 20,697,847 options that were unvested as of December 31, 2019 and 2018, respectively. The total grant date fair value for vested options in the years ended December 31, 2019, 2018, and 2017 was $5.2 million, $3.4 million, and $2.3 million, respectively. As of December 31, 2019 and 2018, there was $15.8 million and $28.9 million, respectively, of unrecognized stock-based compensation expense related to unvested stock options that is expected to be recognized over a weighted-average period of 2.7 years and 3.8 years, respectively. Early Exercises of Stock Options The 2010 Plan allows for the early exercise of stock options for certain individuals as determined by the Company’s Board of Directors. Shares of common stock issued upon early exercises of unvested options are not deemed, for accounting purposes, to be issued until those shares vest according to their respective vesting schedules and accordingly, the consideration received for early exercises is initially recorded as a liability and reclassified to common stock and additional paid-in capital as the underlying awards vest. Stock options that are early exercised are subject to a repurchase option that allows the Company to repurchase any unvested shares within six months of an individual’s termination for any reason, including death and disability (or in the case of shares issued upon exercise of an option after termination, within six months of the date of exercise), at the price equal to the lower of the amount paid by the purchaser and the fair market value at the time of repurchase, except that after the IPO the repurchase price will be the amount paid by the purchaser. As of December 31, 2019 and 2018, the Company had $13.3 million and $14.3 million, respectively, recorded in liability for early exercise of unvested stock options, and the related number of unvested shares subject to repurchase was 5,945,083 and 6,737,971, respectively. Restricted Stock Units RSUs granted under the 2010 Plan generally vest upon the satisfaction of both a service-based vesting condition and a performance vesting condition, as defined below, occurring before these RSUs expire. RSUs granted under the 2019 Plan generally vest upon the satisfaction of a service-based vesting condition. The service-based vesting condition for employees under both the 2010 Plan and the 2019 Plan is typically satisfied over a -year period, subject to remaining continuously employed, which (i) in certain cases is satisfied with respect to 25% of the RSUs upon completion of one year of service measured from the vesting commencement date, and the balance being satisfied in successive equal quarterly installments over the next -year period, and (ii) in other cases is satisfied in successive equal quarterly installments over such -year period. The performance vesting condition under the 2010 Plan was deemed satisfied upon the effective date of the Company's registration statement on Form S-1 filed with the SEC in connection with the IPO. RSU activity for the year ended December 31, 2019 was as follows:
The total grant date fair value for vested RSUs for the year ended December 31, 2019 was $6.0 million, and zero for the years ended December 31, 2018 and 2017. The total stock-based compensation expense for RSUs for the year ended December 31, 2019 was $24.9 million, and zero for the years ended December 31, 2018 and 2017. As of December 31, 2019 and 2018, the total unrecognized stock-based compensation expense related to RSUs was $53.1 million and zero, respectively, that is expected to be recognized over a weighted-average period of 2.5 and zero years, respectively. 2019 Employee Stock Purchase Plan In September 2019, the Company's Board of Directors adopted and stockholders approved the 2019 Employee Stock Purchase Plan (ESPP), which became effective one business day prior to the effective date of the Company's registration statement on Form S-1 filed with the SEC in connection with the IPO. A total of 5,870,000 shares of Class A common stock were initially reserved for sale under the ESPP. The number of shares of Class A common stock reserved for issuance includes an annual increase on the first day of each fiscal year, beginning on January 1, 2021, by the least of (1) 5,870,000 shares of Class A common stock, (2) 1% of the total number of shares of Class A and Class B common stock outstanding on December 31 of the fiscal year before the date of each automatic increase; or (3) such lesser amount as the compensation committee of the Company's Board of Directors may determine prior to the applicable January 1. Generally, all regular employees, including executive officers, employed by the Company or by any of its designated subsidiaries, except for those holding 5% or more of the total combined voting power or value of all classes of common stock, may participate in the ESPP and may contribute, normally through payroll deductions, up to 10% of their eligible compensation for the purchase of Class A common stock under the ESPP. Unless otherwise determined by the compensation committee of the Board of Directors, Class A common stock will be purchased for the accounts of employees participating in the ESPP at a price per share that is the lesser of (1) 85% of the fair market value of a share of the Company's Class A common stock on the first date of an offering period, or (2) 85% of the fair market value of a share of the Company's Class A common stock on the date of purchase. The initial offering period began on September 13, 2019 and will end on May 15, 2020, with the purchase date of May 15, 2020. In addition, a second offering period began on November 15, 2019 and will also end on May 15, 2020, with a purchase date of May 15, 2020. The ESPP generally provides for -month offering periods beginning November 15 and May 15 of each year, with identical -month purchase periods. An employee cannot sell the shares of Class A common stock purchased under the ESPP until the day after the one-year anniversary of the purchase date of such shares, except for the withholding or sale of shares by the Company to meet any applicable tax withholding obligations. No employee may purchase (i) during each purchase period more than 1,500 shares of Class A common stock and (ii) shares under the ESPP at a rate in excess of $25,000 worth of the Company's Class A common stock based on the fair market value per share of the Company's Class A common stock at the beginning of an offering for each calendar year such purchase right is outstanding. As of December 31, 2019, no shares of Class A common stock have been purchased under the ESPP. As of December 31, 2019 and 2018, the total unrecognized stock-based compensation expense related to the ESPP was $1.0 million and zero, respectively, that is expected to be recognized over a weighted-average period of 0.4 and years, respectively. The weighted-average assumptions used to determine the fair value of the ESPP during the periods presented were as follows:
Stock-based Compensation Expense The following table sets forth the total stock-based compensation expense included in the Company’s consolidated statements of operations:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Net Loss per Share Attributable to Common Stockholders |
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 31, 2019 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Earnings Per Share [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Loss per Share Attributable to Common Stockholders | Net Loss per Share Attributable to Common Stockholders The following table sets forth the computation of basic and diluted net loss per share attributable to common stockholders:
Since the Company was in a loss position for all periods presented, basic net loss per share is the same as diluted net loss per share as the inclusion of all potential common shares outstanding would have been antidilutive. The potential shares of common stock that were excluded from the computation of diluted net loss per share attributable to common stockholders for the periods presented because including them would have been antidilutive are as follows:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Income Taxes |
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 31, 2019 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Income Tax Disclosure [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Income Taxes | Income Taxes The components of the Company's income (loss) before income taxes for the years ended December 31, 2019, 2018, and 2017 were as follows:
The components of the Company's provision for income taxes for the years ended December 31, 2019, 2018, and 2017 were as follows:
A reconciliation of the U.S. federal statutory rate to the Company's effective tax rate is as follows:
In 2019, the difference in the Company's effective tax rate and the U.S. federal statutory tax rate was primarily due to the recording of a full valuation allowance on the Company's U.S. deferred tax assets and income taxes from profitable jurisdictions outside of the U.S. In 2018 and 2017, the difference in the Company's effective tax rate and the U.S. federal statutory tax rate was also primarily due to the recording of a full valuation allowance on the Company's U.S. deferred tax assets and income taxes from profitable jurisdictions outside of the U.S. The components of the Company's deferred tax assets and liabilities as of December 31, 2019 and 2018 were as follows:
In determining the need for a valuation allowance, the Company weighs both positive and negative evidence in the various jurisdictions in which it operates to determine whether it is more likely than not that its deferred tax assets are recoverable. Accordingly, a full valuation allowance has been established in the U.S. and no deferred tax assets and related tax benefit have been recognized in the consolidated financial statements. There is however, no valuation allowance on the foreign jurisdictions, as the foreign entities have cumulative income and expected future income. The valuation allowance as of December 31, 2019 and 2018 was $63.5 million and $37.9 million, respectively. The net change in the valuation allowance for the years ended December 31, 2019, 2018, and 2017 was an increase of $25.6 million, an increase of $15.5 million, and a decrease of $2.5 million, respectively. The increase in the Company’s valuation allowance compared to the prior year was primarily due to an increase in U.S. deferred tax assets from an increased U.S. taxable loss. As of December 31, 2019 and 2018, the Company had net operating loss carryforwards for federal income tax purposes of $221.5 million and $122.3 million, net of uncertain tax positions, respectively. The federal net operating loss carryforwards for tax years before December 31, 2017 will expire, if not utilized, beginning in the year 2029. Under the Tax Cuts and Jobs Act (The Tax Act), the federal net operating loss carryforwards for tax years after December 31, 2017 are carried forward indefinitely but are limited to 80% of taxable income. Federal research and development tax credit carryforwards as of December 31, 2019 of $8.5 million will expire, if not utilized, beginning in the year 2029. In addition, as of December 31, 2019 and 2018, the Company had net operating loss carryforwards for state income tax purposes of $104.7 million and $89.8 million, net of uncertain tax positions, respectively. The state net operating loss carryforwards will expire, if not utilized, beginning in the year 2026. The Company had state research and development tax credit carryforwards as of December 31, 2019 of $6.5 million. The state research and development tax credits do not expire. As of December 31, 2019 and 2018, the Company had foreign tax credit carryforwards for federal income tax purposes of $1.8 million. The federal foreign tax credit carryforwards will expire, if not utilized, beginning in the year 2025. The Tax Reform Act of 1986 and similar California legislation impose substantial restrictions on the utilization of net operating losses and tax credit carryforwards in the event that there is a change in ownership as provided by Section 382 of the Internal Revenue Code and similar state provisions. Such a limitation could result in the expiration of the net operating loss carryforwards and tax credits before utilization. A reconciliation of the beginning and ending amount of the Company's total gross unrecognized tax benefits was as follows:
As of December 31, 2019, no amount of unrecognized tax benefits, if recognized, would impact the Company's effective income tax rate given the Company's full valuation allowance position. The Company does not expect any unrecognized tax benefits to be recognized within the next 12 months. The Company’s policy is to recognize interest and penalties accrued on any unrecognized tax benefits as a component of income tax expense. The Company did not recognize any income tax expense related to interest and penalties in the years ended December 31, 2019, 2018, and 2017, respectively. As of December 31, 2019, 2018, and 2017, the Company had no liabilities for interest and penalties. The Company’s significant tax jurisdictions include the U.S., Australia, Germany, Singapore, and the United Kingdom. Because of the net operating loss carryforwards, substantially all of the Company’s tax years remain open to federal and state tax examination. The Company’s foreign tax returns are open to audit under the statutes of limitations of the respective foreign countries in which the subsidiaries are located. As of December 31, 2019, no other income taxes (state or foreign) have been provided on the undistributed earnings of $18.6 million from the Company’s international subsidiaries as these earnings have been, and under current plans, will continue to be indefinitely reinvested outside of the U.S. However, if such earnings were distributed, the Company would not incur a material amount of foreign withholding taxes and U.S. taxes.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Related Party Transactions |
12 Months Ended |
|---|---|
Dec. 31, 2019 | |
| Related Party Transactions [Abstract] | |
| Related Party Transactions | Related Party TransactionsIn September 2018, certain third-party investment funds purchased 8,909,092 shares of common stock from certain of the Company’s founders for a total purchase price of $98.0 million. Since the purchasing investment funds were entities affiliated with holders of economic interests in the Company and the funds acquired shares from the founders at a price in excess of the fair value of such shares, the amount paid in excess of the fair value of the shares at the time of the purchase was recorded as stock-based compensation expense. The Company recorded $23.3 million of stock-based compensation expense to general and administrative expense in the consolidated statement of operations during the year ended December 31, 2018 related to the purchases. There were no such transactions in the year ended December 31, 2019. |
Segment and Geographic Information |
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 31, 2019 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Segment Reporting [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Segment and Geographic Information | Segment and Geographic Information The Company’s chief operating decision maker (CODM) is its CEO, COO, and CFO. Collectively, the CODM reviews financial information presented on a consolidated basis for purposes of allocating resources and evaluating financial performance. The Company has no segment managers who are held accountable by the CODM for operations, operating results, and planning for levels or components below the consolidated unit level. Accordingly, the Company has determined it has a single operating segment. Refer to Note 3 to these consolidated financial statements for revenue by geography. The Company’s property and equipment, net, by geographic area were as follows:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subsequent Events |
12 Months Ended |
|---|---|
Dec. 31, 2019 | |
| Subsequent Events [Abstract] | |
| Subsequent Events | Subsequent EventsOn January 1, 2020, the Company acquired S2 Systems Corporation, a company based in Kirkland, Washington that has developed patented browser isolation technology, for approximately $39.2 million. The purchase accounting for this acquisition is in progress. |
Summary of Significant Accounting Policies (Policies) |
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 31, 2019 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Accounting Policies [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Basis of Presentation | The accompanying consolidated financial statements and accompanying notes have been prepared in conformity with accounting principles generally accepted in the United States (U.S. GAAP) and include the accounts of the Company and its wholly-owned subsidiaries. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Principles of Consolidation | All intercompany balances and transactions have been eliminated in consolidation. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fiscal Period | The Company’s fiscal year ends on December 31. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Deferred Offering Costs | Deferred offering costs are capitalized and consist of fees and expenses incurred in connection with the sale of the Company's Class A common stock in the IPO, including the legal, accounting, printing and other IPO-related costs. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Use of Estimates | The preparation of consolidated financial statements in conformity with U.S. GAAP requires management to make estimates and assumptions that affect the amounts reported and disclosed in the consolidated financial statements and accompanying notes to the consolidated financial statements. Such estimates include, but are not limited to, deferred contract acquisitions costs, the period of benefit generated from the Company’s deferred contract acquisition costs, the capitalization and estimated useful life of internal-use software, useful lives of property and equipment, the valuation and recognition of stock-based compensation expense, uncertain tax positions, and the recognition and measurement of current and deferred income tax assets and liabilities. Management bases these estimates and assumptions on historical experience and on various other assumptions that are believed to be reasonable. Actual results could differ materially from these estimates. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Concentration of Risks | The Company’s revenue is reliant on its customers utilizing Internet-based services. These services can be prone to rapid changes in technology and government regulation. If the Company were unable to keep pace with customers’ needs and continue to improve its technological capabilities, or if another firm were to introduce competitive products, or a government jurisdiction were to enact legislation detrimental to the Company’s business, such an event or events could adversely affect the Company’s operating results. The Company serves its customers from co-location facilities located in various cities and countries around the world. The Company has internal procedures to restore services in the event of disasters at its current co-location facilities. Even with these procedures for disaster recovery in place, the Company’s services could be significantly interrupted during the implementation of restoration procedures. The Company’s financial instruments that are exposed to concentrations of credit risk consist primarily of cash, cash equivalents, available-for-sale securities, and accounts receivable. Although the Company maintains cash deposits, cash equivalent balances, and available-for-sale securities with multiple financial institutions, the deposits, at times, may exceed federally insured limits. Cash and cash equivalents may be withdrawn or redeemed on demand. The Company believes that the financial institutions that hold its cash and cash equivalents are financially sound and, accordingly, minimal credit risk exists with respect to these balances. The Company also maintains investments in U.S. treasury securities, U.S. government agency securities, commercial paper, and corporate bonds that carry high credit ratings and accordingly, minimal credit risk exists with respect to these balances. Cash equivalents consist of money market funds, commercial paper, and corporate bonds which are invested through financial institutions in the United States. The Company’s accounts receivable are derived from net revenue to customers located throughout the world. The Company grants credit to its customers in the normal course of business.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Revenue Recognition | In accordance with Accounting Standards Codification (ASC) Topic 606, Revenue From Contracts With Customers (ASC 606), revenue is recognized when a customer obtains control of promised services. Refer to Note 3 to these consolidated financial statements for additional information. In accordance with ASC 606, revenue is recognized when a customer obtains control of promised services. The amount of revenue recognized reflects the consideration that the Company expects to be entitled to receive in exchange for these services. To achieve this standard, the Company applies the following five steps: 1. Identify the contract with a customer The Company considers the terms and conditions of the contracts and its customary business practices in identifying its contracts under ASC 606. The Company determines it has a contract with a customer when the contract is approved, the Company can identify each party’s rights regarding the services to be transferred, the Company can identify the payment terms, the Company has determined that collectibility is probable, and the contract has commercial substance. The Company applies judgment in determining that collectibility is probable, 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 relevant to the customer. 2. Identify the performance obligations in the contract Performance obligations promised in a contract are identified based on the services 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 to the Company, and are distinct in the context of the contract, whereby the transfer of the services is separately identifiable from other promises in the contract. The Company’s performance obligation primarily consists of subscription and support services, as they are provided over the same service period. 3. Determine the transaction price The transaction price is determined based on the consideration to which the Company expects to be entitled in exchange for transferring services to the customer. Usage-based variable consideration is recognized in the period it is incurred. None of the Company’s contracts contain a significant financing component. 4. Allocate the transaction price to performance obligations in the contract The subscription and support services in the Company’s contracts are considered a single performance obligation, and thus the entire transaction price is allocated to the single performance obligation. 5. Recognize revenue when or as the Company satisfies a performance obligation Revenue is recognized at the time the related performance obligation is satisfied by transferring the service to a customer. Revenue is recognized when control of the services is transferred to the Company’s customers, in an amount that reflects the consideration that the Company expects to be entitled to receive in exchange for those services. The Company generates sales directly through its sales team and through its channel partners. Revenue from sales to channel partners are recorded once all revenue recognition criteria above are met. Channel partners generally receive an order from an end-customer prior to placing an order with the Company. Payment from channel partners is not contingent on the partner’s collection from end-customers. The Company has determined that it is acting as an agent in these arrangements and records this revenue on a net basis. Subscription and Support Revenue The Company generates revenue primarily from sales to its customers of subscriptions to access its platform, together with related support services. Arrangements with customers generally do not provide the customer with the right to take possession of the Company’s software operating its global cloud platform at any time. Instead, customers are granted continuous access to the Company’s global cloud platform over the contractual period. Access to the Company’s platform and products is considered a monthly series comprising one performance obligation. A time-elapsed output method is used to measure progress because the Company transfers control evenly over the contractual period. Accordingly, the fixed consideration related to subscription and support revenue is generally recognized on a straight-line basis over the contract term beginning on the date that the Company’s service is made available to the customer. Usage-based consideration is primarily related to fees charged for the Company’s customer’s use of excess bandwidth when accessing the Company’s platform in a given period and is recognized as revenue in the period in which the usage occurs. The typical subscription and support term for the Company’s contracted customers, which consist of customers that enter into contracts for the Company's Enterprise subscription plan (and which the Company previously referred to as enterprise customers), is one year and subscription and support term lengths range from to three years. Most of the Company’s contracts with contracted customers are non-cancelable over the contractual term. Customers typically have the right to terminate their contracts for cause if the Company fails to perform in accordance with the contractual terms. For the Company’s pay-as-you-go customers, which consist of customers that sign up for the Company's Pro or Business subscription plans through the Company's website (and which the Company previously referred to as self-serve customers), subscription and support terms are typically monthly. Variable Consideration If the Company’s services do not meet certain service level commitments, its customers are entitled to receive service credits, and in certain cases, refunds, each representing a form of variable consideration. Revenue from sales is recorded at the net sales price, which is the transaction price, and includes estimates of these forms of variable consideration to the extent that a significant reversal of cumulative revenue will not occur in a future period. The Company has historically not experienced any incidents that had a material impact on its consolidated financial statements. Accordingly, any estimated refunds related to these agreements in the consolidated financial statements are not material during the periods presented. Usage-based consideration is primarily related to fees charged for the Company’s customer’s use of excess bandwidth when accessing the Company’s platform in a given period and is recognized as revenue in the period in which the usage occurs. Disaggregation of Revenue Subscription and support revenue is recognized over time and accounted for substantially all of the Company’s revenue for the years ended December 31, 2019, 2018, and 2017. Contract Balances Contract liabilities consist of deferred revenue and include payments received in advance of performance under the contract. Such amounts are recognized as revenue over the contractual period. For the years ended December 31, 2019, 2018, and 2017 the Company recognized revenue of $16.8 million, $11.9 million, and $6.6 million, respectively, that was included in the corresponding contract liability balance at the beginning of the periods presented. The Company receives payments from customers based upon contractual billing schedules; accounts receivable are recorded when the right to consideration becomes unconditional. Standard payment terms are due upon receipt. Contract assets include amounts related to the Company’s contractual right to consideration for both completed and partially completed performance obligations that have not been invoiced. Costs to Obtain and Fulfill a Contract The Company capitalizes sales commission and associated payroll taxes paid to internal sales personnel that are incremental to the acquisition of channel partner and direct customer contracts. These costs are recorded as deferred contract acquisition costs on the consolidated balance sheets. The Company determines whether costs should be deferred based on its 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 contract are not considered commensurate with the commissions paid for the acquisition of the initial contract. Commissions paid upon the initial acquisition of a contract are amortized over an estimated period of benefit of three years while commissions paid for renewal contracts are amortized over the contractual term of the renewals. Amortization of deferred contract acquisition costs is recognized on a straight-line basis commensurate with the pattern of revenue recognition and included in sales and marketing expense in the consolidated statements of operations. The Company determines the period of benefit for commissions paid for the acquisition of the initial contract by taking into consideration the expected subscription term and expected renewals of its customer contracts, the duration of its relationships with its customers, customer retention data, its technology development lifecycle, and other factors. The Company periodically reviews the carrying amount of deferred contract acquisition costs to determine whether events or changes in circumstances have occurred that could impact the period of benefit of these deferred costs.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Accounts Receivable and Allowance | Accounts receivable are recorded at the invoiced amount and are non-interest bearing. Accounts receivable are stated at their net realizable value, net of a sales allowance and an allowance for doubtful accounts. Credit is extended to customers based on an evaluation of their financial condition and other factors. The Company establishes a sales allowance at the time of revenue recognition based on its history of adjustments and credits provided to customers. In determining the necessary allowance for doubtful accounts, the Company considers the current aging and financial condition of its customers, the amount of receivables in dispute, and current payment patterns. Accounts receivable are written off against the allowance when management determines a balance is uncollectible and the Company no longer actively pursues collection of the receivable. The Company does not have any off-balance-sheet credit exposure related to its customers. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Cost of Revenue | Cost of revenue consists primarily of expenses that are directly related to providing the Company's service to its paying customers. These expenses include expenses related to operating in co-location facilities, network and bandwidth costs, depreciation of the Company's equipment located in co-location facilities, certificate authority services costs for paying customers, related overhead costs, the amortization of the Company's capitalized internal-use software, and the amortization of acquired developed technologies. Cost of revenue also includes employee-related costs, including salaries, bonuses, benefits, and stock-based compensation for employees whose primary responsibilities relate to supporting the Company's paying customers and delivering paid customer support. Other costs included in cost of revenue include credit card fees related to processing customer transactions and allocated overhead costs. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Research and Development | The Company charges costs related to research, design, and development of products to research and development expense in the consolidated statements of operations as incurred. Research and development expenses support the Company's efforts to add new features to its existing offerings and to ensure the security, performance, and reliability of its global cloud platform. The majority of the Company's research and development expenses result from employee-related costs, including salaries, bonuses and benefits, consulting costs, depreciation of equipment used in research and development, and allocated overhead costs. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Advertising Expense | Advertising costs are charged to sales and marketing expense in the consolidated statements of operations as incurred. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Stock-based Compensation | The Company measures and recognizes stock-based compensation expense based on the grant date fair value of the awards. The grant date fair value of stock options is estimated using the Black-Scholes option pricing model. The grant date fair value of restricted stock units (RSUs) is estimated based on the fair value of the Company's underlying common stock. The grant date fair value and the stock-based compensation expense related to purchase rights issued under the 2019 Employee Stock Purchase Plan (ESPP) is estimated using the Black-Scholes option pricing model and is based on the estimated number of awards as of the beginning of the offering period, respectively. The Black-Scholes option pricing model requires the use of highly subjective assumptions, including the award’s expected term, the fair value of the underlying common stock, the expected volatility of the price of the common stock, risk-free interest rates, and the expected dividend yield of the common stock. The assumptions used to determine the fair value of the stock-based awards are management’s best estimates and involve inherent uncertainties and the application of judgment. The expected term represents the period that the Company’s stock-based awards are expected to be outstanding. As the Company does not have sufficient historical experience for determining the expected term of the stock option awards granted, it has based its expected term on the simplified method available under U.S. GAAP. Stock-based compensation expense for awards with service-based vesting only is recognized on a straight-line basis over the requisite service period of the awards, which is generally four years. The Company accounts for forfeitures as they occur. Prior to the IPO, the fair value of the Company's common stock for financial reporting purposes was determined considering numerous objective and subjective factors and required judgment to determine the fair value of common stock as of each grant date. Subsequent to the IPO, the Company determines the fair value using the market closing price of its Class A common stock on the date of grant. The Company granted qualified event options (QE Options) and qualified event restricted stock units (QE RSUs) to employees and contractors which vest on the satisfaction of both a service-based condition and a performance condition. For QE Options, the performance condition was deemed satisfied upon the Company's Class A common stock being listed on a public exchange. For QE Options, the service-based condition is satisfied by rendering service from the date of grant through the qualifying event, as well as a -year vesting period commencing with the qualifying event. For QE RSUs, the performance condition was deemed satisfied upon the effective date of the Company's registration statement on Form S-1 filed with the SEC in connection with the IPO. The QE RSUs have a service-based vesting condition satisfied over a -year vesting period. Awards which contain both service-based and performance conditions are recognized using the accelerated attribution method once the performance condition is probable of occurring. The listing of equity securities event and effectiveness of a registration statement event are not deemed probable until consummated. In connection with the Company’s IPO, the Company recognized $21.0 million of cumulative stock-based compensation expense for the QE Options for the service period rendered from the date of grant through the equity securities listing date and for the QE RSUs that vested in connection with the effective date of the Company's registration statement on Form S-1 and began recording the remaining unrecognized stock-based compensation expense over the remainder of the requisite service period.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Income Taxes | The Company accounts for income taxes using the asset and liability method. Deferred income taxes are recognized by applying the enacted statutory tax rates applicable to future years to differences between the carrying amounts of existing assets and liabilities and their respective tax bases and net operating loss and tax credit carryforwards. The effect on deferred tax assets and liabilities of a change in tax rates is recognized in the period that includes the enactment date. The measurement of deferred tax assets is reduced, if necessary, by a valuation allowance to amounts that are more likely than not to be realized.The Company recognizes tax benefits from uncertain tax positions only if it believes 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. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Foreign Currency Remeasurement | The Company's functional currency of its foreign subsidiaries is the U.S. dollar. The monetary assets and liabilities that are denominated in a currency other than the U.S. dollar of the Company's foreign subsidiaries are remeasured into U.S. dollars at the exchange rate on the balance sheet date, while nonmonetary items are remeasured at historical rates. Revenue and expenses are remeasured at average exchange rates during the period. Transaction gains and losses that arise from exchange rate fluctuations on transactions denominated in a currency other than the functional currency are included in other income (expense), net in the consolidated statements of operations. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Cash and Cash Equivalents | Cash and cash equivalents consist of highly liquid investments with an original maturity from the date of purchase of 90 days or less. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Available-for-sale securities and Other-than-temporary impairment | The Company’s available-for-sale securities consist of U.S. treasury securities, U.S. government agency securities, commercial paper, and corporate bonds. The Company has designated all securities held by it as available-for-sale and therefore, such securities are reported at fair value, with unrealized gains and losses recorded in accumulated other comprehensive loss on the consolidated balance sheets. For securities sold prior to maturity, the cost of securities sold is based on the specific identification method. Realized gains and losses on the sale of available-for-sale securities are recorded in other income (expense), net in the consolidated statements of operations. Historically, securities with original maturities greater than three months and remaining maturities less than one year were classified as marketable securities; and securities with remaining maturities greater than one year were classified as long-term investments. Effective as of December 31, 2019, all securities are classified within current assets as such securities can be liquidated to fund current operations without penalty. All of the Company’s investments are subject to a periodic impairment review. The Company recognizes an impairment charge when a decline in the fair value of its investments below the cost basis is determined to be other-than-temporary. Factors considered in determining whether a loss is temporary include the extent and length of time the investment’s fair value has been lower than its cost basis, the financial condition and near-term prospects of the investee, the extent of the loss related to credit of the issuer, the expected cash flows from the security, the Company’s intent to sell the security, and whether or not the Company will be required to sell the security prior to the expected recovery of the investment’s amortized cost basis. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fair Value Measurements | The carrying value of the Company’s financial instruments, including cash equivalents, available-for-sale securities, accounts receivable, accounts payable, and accrued expenses, approximates fair value due to their short-term nature. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Property and Equipment | Property and equipment are stated at cost, net of accumulated depreciation. Depreciation is computed on a straight-line basis over the estimated useful lives of the assets, which is generally as follows:
Expenditures for maintenance and repairs are expensed as incurred.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Built-to-Suit Leases | The Company capitalizes construction in progress and records a corresponding long-term liability for build-to-suit lease agreements where the Company is considered the accounting owner during the construction period. For the building under build-to-suit lease arrangements where the Company has taken occupancy, the Company determined that it continued to be the deemed owner of this building. This is principally due to the Company’s significant investment in tenant improvements. As a result, the building is being depreciated over the useful life. At occupancy, the long-term construction obligations are considered long-term finance lease obligations. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Capitalized Internal-Use Software Development Costs | Certain development costs related to the Company’s global cloud platform during the application development stage are capitalized. Costs incurred in the preliminary stages of development are analogous to research and development activities and are expensed as incurred. The preliminary stage includes such activities as conceptual formulation of alternatives, evaluation of alternatives, determination of existence of needed technology, and final selection of alternatives. Once the application development stage is reached, internal and external costs are capitalized until the software is substantially complete and ready for its intended use. Capitalized costs are recorded as part of property and equipment, net. Capitalized internal-use software is amortized on a straight-line basis over its estimated useful life, which is generally three years, and is recorded as cost of revenue in the consolidated statements of operations. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Business Combinations | The Company includes the results of operations of the businesses that the Company acquires from the date of acquisition. The fair value of the assets acquired and liabilities assumed is based on their estimated fair values as of the respective date of acquisition. The excess purchase price over the fair value of the net assets acquired and liabilities assumed is recorded as goodwill. Determining the fair value of assets acquired and liabilities assumed requires significant judgment and estimates including the selection of valuation methodologies, future expected cash flows, discount rates, and useful lives. The Company’s estimates of fair value are based on assumptions believed to be reasonable, but which are inherently uncertain and, as a result, actual results may differ from estimates. During the measurement period, not to exceed one year from the date of acquisition, the Company may record adjustments to the assets acquired and liabilities assumed with a corresponding offset to goodwill. At the conclusion of the measurement period, or final determination of the values of assets acquired or liabilities assumed, whichever comes first, any subsequent adjustments are reflected in the consolidated statements of operations. When the Company issues payments or grants of equity to selling stockholders in connection with an acquisition, the Company evaluates whether the payments or awards are compensatory. This evaluation includes whether cash payments or stock award vesting is contingent on the continued employment of the selling stockholder beyond the acquisition date. If continued employment is required for the cash to be paid or stock awards to vest, the award is treated as compensation for post-acquisition services and is recognized as compensation expense. Transaction costs associated with business combinations are expensed as incurred, and are included in general and administrative expense in the Company’s consolidated statements of operations.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Goodwill and Intangible Assets | Goodwill represents the excess of the purchase price of an acquired business over the fair value of the net tangible and identifiable intangible assets acquired. The carrying amount of goodwill is reviewed for impairment at least annually, in the fourth quarter, or whenever events or changes in circumstances indicate that the carrying value may not be recoverable. At December 31, 2019 and 2018, the Company had a single operating segment and reporting unit structure. As part of the annual goodwill impairment test, the Company first performs a qualitative assessment to determine whether further impairment testing is necessary. If, as a result of the qualitative assessment, it is more likely than not that the fair value of the reporting unit is less than its carrying amount, the quantitative impairment test will be required. If the Company has determined it necessary to perform a quantitative impairment assessment, the Company will compare the fair value of the reporting unit with its carrying amount and recognize an impairment charge for the amount by which the carrying amount exceeds the reporting unit’s fair value, limited to the total amount of goodwill of the reporting unit. The Company did not recognize any goodwill impairment charges for any of the periods presented. Intangible assets are carried at cost, net of accumulated amortization. Intangible assets are amortized on a straight-line basis over their estimated useful lives. The Company estimates the useful life by estimating the expected period of economic benefit. The estimated useful life of the Company’s acquired developed technology intangible assets is two years. Indefinite lived intangibles are assessed annually for impairment, which includes an assessment of whether there were any triggering events that required an impairment assessment of the Company’s definite lived intangible assets, and whether it was more likely than not that the Company’s indefinite lived intangible asset was impaired. The Company’s indefinite lived intangible asset arose from an asset acquisition in November 2017.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Impairment of Long-Lived Assets | The Company evaluates long-lived assets, which include depreciable tangible assets, for impairment whenever events or changes in circumstances indicate that the carrying value of long-lived assets may not be recoverable. The recoverability of these assets is measured by comparing the carrying amounts to the future undiscounted cash flows these assets are expected to generate. The Company recognizes an impairment in the event the carrying amount of such assets exceeds the fair value attributable to such assets. There were no events or changes in circumstances that indicated the long-lived assets were impaired during any of the periods presented. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Operating Leases | The Company recognizes rent expense on a straight-line basis over the non-cancelable term of the operating lease. The difference between rent expense and rent paid is recorded as deferred rent in accrued expenses and other current liabilities and other noncurrent liabilities on the consolidated balance sheets. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Legal Contingencies | The Company accrues a liability for an estimated loss for legal contingencies if the potential loss from any claim or legal proceeding is considered probable, and the amount can be reasonably estimated. The Company believes there are no legal proceedings pending that could have, individually or in the aggregate, a material adverse effect on its results of operations or financial condition. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Redeemable Convertible Preferred Stock Warrant Liability | Warrants to purchase shares of the Company’s redeemable convertible preferred stock were classified as noncurrent liabilities on the consolidated balance sheets at fair value upon issuance because the underlying shares of redeemable convertible preferred stock were redeemable at the option of the holders upon the occurrence of certain deemed liquidation events considered not solely within the Company’s control. The warrants were subject to remeasurement to fair value at each balance sheet date and any change in fair value was recognized as a component of other income (expense), net, in the consolidated statements of operations. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Loss per Share Attributable to Common Stockholders | Basic and diluted net loss per share attributable to common stockholders is presented in conformity with the two-class method required for multiple classes of common stock and participating securities. The Company considers its previously outstanding redeemable convertible preferred stock to be participating securities. The Company also considers any shares issued on the early exercise of stock options subject to repurchase to be participating securities because holders of such shares have nonforfeitable dividend rights in the event a dividend is paid on common stock. Under the two-class method, net income is attributed to common stockholders and participating securities based on their participation rights. The holders of the redeemable convertible preferred stock, as well as the holders of early exercised shares subject to repurchase, do not have a contractual obligation to share in the losses of the Company. As such, the Company’s net losses for the years ended December 31, 2019, 2018, and 2017 were not allocated to these participating securities. The rights, including the liquidation and dividend rights, of the Class A common stock and Class B common stock are substantially identical, other than voting rights. Accordingly, the Class A common stock and Class B common stock shared proportionately in the Company’s net losses. Prior to the completion of the IPO, there were no shares of Class A common stock issued and outstanding. Under the two-class method, 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, less shares subject to repurchase. Vested RSUs that have not been settled have been included in the appropriate common share class used to calculate basic net loss per share. Diluted net loss per share attributable to common stockholders adjusts basic net loss per share for the effect of dilutive securities, including awards under the Company's equity incentive plans. As the Company has reported losses for all periods presented, all potentially dilutive securities are antidilutive and accordingly, basic net loss per share equals diluted net loss per share. Upon completion of the IPO, all shares of redeemable convertible preferred stock then outstanding were automatically converted into an equivalent number of shares of common stock on a one-to-one basis and their carrying amount reclassified into stockholders' equity (deficit).
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Segment and Geographic Information | The Company has one reportable and operating segment. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Recent Accounting Pronouncements | Recently Adopted Accounting Pronouncements In July 2017, the Financial Accounting Standards Board (FASB) issued Accounting Standards Update (ASU) No. 2017-11, Earnings Per Share (Topic 260); Distinguishing Liabilities from Equity (Topic 480); Derivatives and Hedging (Topic 815): (Part I) Accounting for Certain Financial Instruments with Down Round Features, (Part II) Replacement of the Indefinite Deferral for Mandatorily Redeemable Financial Instruments of Certain Nonpublic Entities and Certain Mandatorily Redeemable Noncontrolling Interests with a Scope Exception. This ASU reduces the complexity associated with an issuer’s accounting for certain financial instruments with characteristics of liabilities and equity. Specifically, the FASB determined that a down round feature would no longer cause a freestanding equity-linked financial instrument (or an embedded conversion option) to be accounted for as a derivative liability at fair value with changes in fair value recognized in current earnings. For public business entities, it is effective for fiscal years beginning after December 15, 2018, and interim periods therein. For all other entities, it is effective for fiscal years beginning after December 15, 2019, and interim periods within fiscal years beginning after December 15, 2019. Early adoption is permitted. The Company adopted this guidance effective September 30, 2019 using the prospective approach. The adoption of ASU 2017-11 did not have a material impact on the consolidated financial statements. In February 2018, the FASB issued ASU No. 2018-02, Income Statement—Reporting Comprehensive Income (Topic 220): Reclassification of Certain Tax Effects from Accumulated Other Comprehensive Income, which provides financial statement preparers with an option to reclassify stranded tax effects within accumulated other comprehensive income to retained earnings in each period in which the effect of the change in the U.S. federal corporate income tax rate in the Tax Cuts and Jobs Act (or portion thereof) is recorded. For all entities, it is effective for fiscal years beginning after December 15, 2018, and interim periods therein. Early adoption is permitted. The amendments in this ASU should be applied either in the period of adoption or retrospectively to each period (or periods) in which the effect of the change in the U.S. federal corporate income tax rate in the Tax Cuts and Jobs Act is recognized. The Company adopted this ASU effective January 1, 2019, noting no material impact on the Company’s consolidated financial statements. Recently Issued Accounting Pronouncements In February 2016, the FASB issued ASU 2016-02, Leases (Topic 842), and since that date, has issued several ASUs to further clarify certain aspects of ASU 2016-02 and provide entities with practical expedients that may be elected upon adoption. ASU 2016-02 introduces the recognition of right-of-use assets and lease liabilities by lessees for all leases on the consolidated balance sheets. For the consolidated statements of operations, the ASU retains the distinction between finance leases and operating leases, with the classification criteria for distinguishing between finance leases and operating leases are substantially similar to the previous lease guidance. During the transition period for this ASU, lessees and lessors are required to recognize and measure leases at either the beginning of the earliest period presented using a modified retrospective approach, or at the adoption date recognizing the cumulative effect adjustment to the opening balance of retained earnings in the period of adoption. The effective date and transition requirements of ASU 2016-02, for public business entities, is interim and annual periods beginning on or after December 15, 2018, with early adoption permitted. For all other entities, ASU 2016-02 is effective for annual periods beginning on or after December 15, 2019, and interim periods within annual periods beginning after December 15, 2020. Early adoption is permitted. The Company intends to adopt the ASU beginning January 1, 2020, and has elected to apply the alternate transition method by recording a cumulative-effect adjustment to the opening balance of retained earnings (accumulated deficit) in the period of adoption. Under the new standard, lessees will be required to record a right-of-use asset and liability for all leases, with certain exceptions, on their balance sheets. The Company is currently evaluating its lease portfolio and expects the adoption of this standard to have a material impact on its consolidated balance sheet. In August 2018, the FASB issued ASU No. 2018-15, Intangibles—Goodwill and Other—Internal-Use Software (ASC 350-40): Customer’s Accounting for Implementation Costs Incurred in a Cloud Computing Arrangement. This guidance provides that implementation costs be evaluated for capitalization using the same criteria as that used for internal-use software development costs, with amortization expense being recorded in the same income statement expense line as the hosted service costs and over the expected term of the hosting arrangement. For public business entities, it is effective for fiscal years beginning after December 15, 2019, and interim periods within those fiscal years. For all other entities, it is effective for fiscal years beginning after December 15, 2020, and interim periods beginning after December 15, 2021. Early adoption of the amendments in this update is permitted, including adoption in any interim period, for all entities. The Company is currently evaluating the potential impact of this ASU on its consolidated financial statements. In November 2019, the FASB issued ASU 2019-10, Financial Instruments—Credit Losses (Topic 326), Derivatives and Hedging (Topic 815), and Leases (Topic 842). This ASU revises, and staggers, the effective dates for various major updates that have been issued since 2014 to alleviate the burden on both larger public companies as well as private companies, smaller public companies, not-for-profit organizations, and employee benefit plans. Most notably, the amendments for Topic 326 are now effective for the Company beginning January 1, 2020. The Company is currently evaluating the impact of this ASU on its consolidated financial statements, which is not expected to be material. In December 2019, the FASB issued ASU 2019-12 (ASC Topic 740), Simplifying the Accounting for Income Taxes. This ASU simplifies accounting for income taxes by removing certain exceptions to the general principles and amending existing guidance to improve consistent application. The amendments in this update are effective for fiscal years, and interim periods within those fiscal years, beginning after December 15, 2020. Early adoption of the amendments is permitted, including adoption in any interim period for which financial statements have not yet been issued. The Company is in the process of evaluating the impact, if any, of this ASU on its consolidated financial statements.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
Summary of Significant Accounting Policies (Tables) |
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 31, 2019 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Accounting Policies [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Property and Equipment | Property and equipment are stated at cost, net of accumulated depreciation. Depreciation is computed on a straight-line basis over the estimated useful lives of the assets, which is generally as follows:
Property and equipment, net consisted of the following:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Revenue (Tables) |
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 31, 2019 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Revenue from Contract with Customer [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Disaggregation of Revenue | The following table summarizes the revenue by region based on the billing address of customers who have contracted to use the Company’s global cloud platform:
The following table summarizes the revenue from contracts by type of customer:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Summary of Deferred Contract Acquisition Costs | The following table summarizes the activity of the deferred contract acquisition costs:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Fair Value Measurements (Tables) |
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 31, 2019 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Fair Value Disclosures [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Fair Value by Significant Investment Category | The following table summarizes the Company’s cash and available-for-sale securities’ amortized cost, unrealized gains (losses), and fair value by significant investment category reported as cash and cash equivalents, restricted cash, or available-for-sale securities as of December 31, 2019 and 2018.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Redeemable Convertible Preferred Stock Warrant Liability Measured and Recorded at Fair Value | The following tables summarize the Company’s redeemable convertible preferred stock warrant liability measured and recorded at fair value as of December 31, 2019 and 2018:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Balance Sheet Components (Tables) |
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 31, 2019 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Organization, Consolidation and Presentation of Financial Statements [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Activity in Allowance for Doubtful Accounts | Activity in the allowance for doubtful accounts was as follows:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Prepaid Expenses and Other Current Assets | Prepaid expenses and other current assets consisted of the following:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Property and Equipment, Net | Property and equipment are stated at cost, net of accumulated depreciation. Depreciation is computed on a straight-line basis over the estimated useful lives of the assets, which is generally as follows:
Property and equipment, net consisted of the following:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Acquired Intangible Assets, Net | Acquired intangible assets, net consisted of the following:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Estimated Future Amortization Expense of Acquired Intangible Assets | As of December 31, 2019, the estimated future amortization expense of acquired intangible assets was as follows:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Accrued Expenses | Accrued expenses and other current liabilities consisted of the following:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Other Current Liabilities | Accrued expenses and other current liabilities consisted of the following:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Other Noncurrent Liabilities | Other noncurrent liabilities consisted of the following:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Commitment and Contingencies (Tables) |
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 31, 2019 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Commitments and Contingencies Disclosure [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Purchase Commitments | Refer to the table below for purchase commitments under non-cancelable contracts with various vendors as of December 31, 2019.
(1)Open purchase commitments are for the purchase of services under non-cancelable contracts. They were not recorded as liabilities on the consolidated balance sheet as of December 31, 2019 as the Company had not yet received the related services. (2)Long-term commitments for bandwidth usage and co-location with various networks and Internet service providers. The costs for services not yet received were not recorded as liabilities on the consolidated balance sheet as of December 31, 2019. (3)Office space and equipment under non-cancelable operating leases. Total payments listed represent total minimum future lease payments.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Future Minimum Lease Payments Required Under Build-to-Suit Leases | As of December 31, 2019, the Company’s future minimum lease payments required under this non-cancelable obligation were as follows:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Redeemable Convertible Preferred Stock (Tables) |
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 31, 2019 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Temporary Equity Disclosure [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Shares of Redeemable Convertible Preferred Stock and Liquidation Preferences | As of December 31, 2018, the Company's redeemable convertible preferred stock consisted of the following:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Fair Value Assumptions | The fair value of the redeemable convertible preferred stock warrants was determined using the following assumptions:
In the year ended December 31, 2019, the warrants were exercised and such shares were settled via the net settlement method, resulting in the issuance of 174,347 shares of the Company's Class B common stock.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Common Stock (Tables) |
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 31, 2019 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Equity [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Common Stock Reserved for Future Issuance | Shares of common stock reserved for future issuance, on an as-if converted basis, are as follows:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Stock-based Compensation (Tables) |
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 31, 2019 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Share-based Payment Arrangement [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Stock-based Awards | The following table summarizes the stock options activity under the 2010 Plan:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Assumptions Used to Determine the Fair Value of Stock Options Granted | The weighted-average assumptions used to determine the fair value of stock options granted during the periods presented were as follows:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Restricted Stock Units Activity | RSU activity for the year ended December 31, 2019 was as follows:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Fair Value Assumptions for Employee Stock Purchase Plan | The weighted-average assumptions used to determine the fair value of the ESPP during the periods presented were as follows:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Stock-based Compensation Expense | The following table sets forth the total stock-based compensation expense included in the Company’s consolidated statements of operations:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Net Loss per Share Attributable to Common Stockholders (Tables) |
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 31, 2019 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Earnings Per Share [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Computation of Basic and Diluted Net Loss per Share Attributable to Common Stockholders | The following table sets forth the computation of basic and diluted net loss per share attributable to common stockholders:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Potential Shares of Common Stock Excluded from Computation of Basic and Diluted Net Loss per Share Attributable to Common Stockholders | The potential shares of common stock that were excluded from the computation of diluted net loss per share attributable to common stockholders for the periods presented because including them would have been antidilutive are as follows:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Income Taxes (Tables) |
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 31, 2019 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Income Tax Disclosure [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Components of Income (Loss) Before Income Taxes | The components of the Company's income (loss) before income taxes for the years ended December 31, 2019, 2018, and 2017 were as follows:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Components of Provision for Income Taxes | The components of the Company's provision for income taxes for the years ended December 31, 2019, 2018, and 2017 were as follows:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Reconciliation of U.S. Federal Statutory Rate to Effective Tax Rate | A reconciliation of the U.S. federal statutory rate to the Company's effective tax rate is as follows:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Components of Deferred Tax Assets and Liabilities | The components of the Company's deferred tax assets and liabilities as of December 31, 2019 and 2018 were as follows:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Reconciliation of Gross Unrecognized Tax Benefits | A reconciliation of the beginning and ending amount of the Company's total gross unrecognized tax benefits was as follows:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Segment and Geographic Information (Tables) |
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 31, 2019 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Segment Reporting [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of Property and Equipment, Net by Geographic Area | The Company’s property and equipment, net, by geographic area were as follows:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Summary of Significant Accounting Policies - Schedule of Useful Lives of Property and Equipment (Details) |
12 Months Ended |
|---|---|
Dec. 31, 2019 | |
| Servers—network infrastructure | |
| Property, Plant and Equipment [Line Items] | |
| Useful Lives | 4 years |
| Buildings | |
| Property, Plant and Equipment [Line Items] | |
| Useful Lives | 30 years |
| Office and computer equipment | |
| Property, Plant and Equipment [Line Items] | |
| Useful Lives | 2 years |
| Office furniture | |
| Property, Plant and Equipment [Line Items] | |
| Useful Lives | 3 years |
| Software | |
| Property, Plant and Equipment [Line Items] | |
| Useful Lives | 3 years |
Revenue - Additional Information (Details) |
12 Months Ended | ||
|---|---|---|---|
|
Dec. 31, 2019
USD ($)
arrangement
|
Dec. 31, 2018
USD ($)
arrangement
|
Dec. 31, 2017
USD ($)
arrangement
|
|
| Disaggregation of Revenue [Line Items] | |||
| Subscription and support term length | 1 year | ||
| Revenue recognized | $ 16,800,000 | $ 11,900,000 | $ 6,600,000 |
| Amortization period | 3 years | ||
| Impairment losses of deferred contract acquisition costs | $ 0 | $ 0 | $ 0 |
| Exchange of Respective Services | |||
| Disaggregation of Revenue [Line Items] | |||
| Number of nonmonetary transaction arrangements | arrangement | 0 | 0 | 3 |
| Nonmonetary transaction revenue | $ 7,000,000.0 | ||
| Nonmonetary transaction expense | $ 7,000,000.0 | ||
| Number of nonmonetary transaction arrangements not in scope of ASC 606 | arrangement | 1 | ||
| Minimum | |||
| Disaggregation of Revenue [Line Items] | |||
| Subscription and support term length | 1 year | ||
| Maximum | |||
| Disaggregation of Revenue [Line Items] | |||
| Subscription and support term length | 3 years | ||
Revenue - Deferred Contract Acquisition Costs (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2019 |
Dec. 31, 2018 |
Dec. 31, 2017 |
|
| Capitalized Contract Cost [Roll Forward] | |||
| Beginning balance | $ 15,940 | $ 10,765 | $ 5,744 |
| Capitalization of contract acquisition costs | 20,065 | 12,235 | 8,976 |
| Amortization of deferred contract acquisition costs | (10,821) | (7,060) | (3,955) |
| Ending balance | $ 25,184 | $ 15,940 | $ 10,765 |
Fair Value Measurements - Narrative (Details) - USD ($) |
Dec. 31, 2019 |
Dec. 31, 2018 |
|---|---|---|
| Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | ||
| Amortized cost of available-for-sale investments with maturities less than one year | $ 450,200,000 | $ 135,600,000 |
| Amortized cost of available-for-sale investments with maturities greater than one year | 47,700,000 | 0 |
| Net unrealized gains (losses) on investments, net of tax | 100,000 | (100,000) |
| Money market funds | ||
| Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | ||
| Unrealized gain | 0 | 0 |
| Unrealized loss | $ 0 | $ 0 |
Balance Sheet Components - Activity in Allowance for Doubtful Accounts (Details) - USD ($) |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2019 |
Dec. 31, 2018 |
Dec. 31, 2017 |
|
| Accounts Receivable, Allowance for Credit Loss [Roll Forward] | |||
| Beginning balance | $ 160,000 | $ 0 | |
| Provision for bad debt | 2,488,000 | 1,080,000 | $ 0 |
| Write-off of uncollectible accounts receivable | (2,115,000) | (920,000) | 0 |
| Ending balance | $ 533,000 | $ 160,000 | $ 0 |
Balance Sheet Components - Prepaid Expenses and Other Current Assets (Details) - USD ($) $ in Thousands |
Dec. 31, 2019 |
Dec. 31, 2018 |
|---|---|---|
| Organization, Consolidation and Presentation of Financial Statements [Abstract] | ||
| Prepaid expenses | $ 10,913 | $ 5,581 |
| Deposits | 2,773 | 2,635 |
| Other | 3,308 | 1,157 |
| Total prepaid expenses and other current assets | $ 16,994 | $ 9,373 |
Balance Sheet Components - Acquired Intangible Assets, Net (Details) - USD ($) $ in Thousands |
Dec. 31, 2019 |
Dec. 31, 2018 |
|---|---|---|
| Finite-Lived Intangible Assets [Line Items] | ||
| Gross Carrying Amount | $ 250 | $ 250 |
| Accumulated Amortization | 219 | 94 |
| Net Book Value | 31 | 156 |
| Developed technology | ||
| Finite-Lived Intangible Assets [Line Items] | ||
| Gross Carrying Amount | 250 | 250 |
| Accumulated Amortization | 219 | 94 |
| Net Book Value | $ 31 | $ 156 |
Balance Sheet Components - Amortization Expense and Estimated Future Amortization Expense of Acquired Intangible Assets, Net (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2019 |
Dec. 31, 2018 |
Dec. 31, 2017 |
|
| Organization, Consolidation and Presentation of Financial Statements [Abstract] | |||
| Amortization of acquired intangible assets | $ 100 | $ 500 | $ 500 |
| Year ending December 31, 2020 | 31 | ||
| Net Book Value | $ 31 | $ 156 | |
Balance Sheet Components - Accrued Expenses and Other Current Liabilities (Details) - USD ($) $ in Thousands |
Dec. 31, 2019 |
Dec. 31, 2018 |
|---|---|---|
| Organization, Consolidation and Presentation of Financial Statements [Abstract] | ||
| Accrued compensation and benefits | $ 14,970 | $ 7,075 |
| Accrued expenses | 5,331 | 4,072 |
| Customer refunds and credits | 3,328 | 2,336 |
| Accrued co-location and bandwidth | 2,696 | 1,119 |
| Other | 1,989 | 1,097 |
| Total accrued expenses and other current liabilities | $ 28,314 | $ 15,699 |
Balance Sheet Components - Other Noncurrent Liabilities (Details) - USD ($) $ in Thousands |
Dec. 31, 2019 |
Dec. 31, 2018 |
|---|---|---|
| Organization, Consolidation and Presentation of Financial Statements [Abstract] | ||
| Accrued taxes | $ 4,862 | $ 4,137 |
| Deferred rent | 2,342 | 1,659 |
| Other | 2,599 | 908 |
| Total other noncurrent liabilities | $ 9,803 | $ 6,704 |
Note Payable - Narrative (Details) - Notes Payable - IPA Agreements |
Dec. 31, 2019
USD ($)
|
Dec. 31, 2018
USD ($)
|
Nov. 30, 2015
USD ($)
supplier
installment_purchase_agreement
|
|---|---|---|---|
| Line of Credit Facility [Line Items] | |||
| Number of IPA agreements | installment_purchase_agreement | 3 | ||
| Face amount | $ 1,700,000 | ||
| Number of suppliers | supplier | 1 | ||
| Amount outstanding | $ 0 | $ 300,000 | |
| Minimum | |||
| Line of Credit Facility [Line Items] | |||
| Interest rate | 2.90% | ||
| Maximum | |||
| Line of Credit Facility [Line Items] | |||
| Interest rate | 5.00% |
Commitment and Contingencies - Narrative (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2019 |
Dec. 31, 2018 |
Dec. 31, 2017 |
|
| Commitments and Contingencies Disclosure [Abstract] | |||
| Rent expense | $ 11,200 | $ 7,300 | $ 3,900 |
| Restricted cash related to irrevocable standby letters of credit | 6,700 | 6,400 | |
| Cost and expenses related to bandwidth and other co-location commitments | 37,000 | 27,500 | $ 19,200 |
| Build-to-suit lease financing obligation | $ 10,506 | $ 10,443 | |
Commitment and Contingencies - Schedule of Purchase Commitments (Details) $ in Thousands |
Dec. 31, 2019
USD ($)
|
|---|---|
| Open Purchase Agreements | |
| Total payments due, purchase agreements | $ 13,684 |
| 2020 | 2,430 |
| 2021 | 2,400 |
| 2022 | 1,810 |
| 2023 | 1,377 |
| 2024 | 685 |
| Thereafter | 4,982 |
| Bandwidth and Co-Location Commitments | |
| Total payments due, bandwidth and co-location commitments | 32,776 |
| 2020 | 18,517 |
| 2021 | 9,515 |
| 2022 | 3,099 |
| 2023 | 1,260 |
| 2024 | 384 |
| Thereafter | 1 |
| Operating Lease Obligations | |
| Total payments due, operating leases | 51,359 |
| 2020 | 11,385 |
| 2021 | 11,329 |
| 2022 | 8,746 |
| 2023 | 5,499 |
| 2024 | 4,096 |
| Thereafter | 10,304 |
| Total Purchase Commitments | |
| Total payments due, purchase commitments | 97,819 |
| 2020 | 32,332 |
| 2021 | 23,244 |
| 2022 | 13,655 |
| 2023 | 8,136 |
| 2024 | 5,165 |
| Thereafter | $ 15,287 |
Commitment and Contingencies - Build-to-Suit Lease Financing Obligation (Details) $ in Thousands |
Dec. 31, 2019
USD ($)
|
|---|---|
| Build-to-Suit Lease | |
| 2020 | $ 2,673 |
| 2021 | 2,753 |
| 2022 | 2,355 |
| Total minimum lease payments | $ 7,781 |
Redeemable Convertible Preferred Stock - Schedule of Fair Value Assumptions of Redeemable Convertible Preferred Stock Warrants (Details) |
Dec. 31, 2018 |
|---|---|
| Remaining contractual life (in years) | |
| Class of Stock [Line Items] | |
| Redeemable convertible preferred stock warrant, measurement input, term | 2 years 3 months 18 days |
| Expected volatility | |
| Class of Stock [Line Items] | |
| Redeemable convertible preferred stock warrant, measurement input | 0.392 |
| Risk-free interest rate | |
| Class of Stock [Line Items] | |
| Redeemable convertible preferred stock warrant, measurement input | 0.025 |
| Expected dividend rate | |
| Class of Stock [Line Items] | |
| Redeemable convertible preferred stock warrant, measurement input | 0 |
Common Stock - Narrative (Details) |
Dec. 31, 2019
vote
$ / shares
shares
|
Dec. 31, 2018
$ / shares
shares
|
|---|---|---|
| Class A common stock | ||
| Class of Stock [Line Items] | ||
| Common stock, number of votes per share | vote | 1 | |
| Common stock, shares authorized (in shares) | 2,250,000,000 | 550,000,000 |
| Common stock, par value (in dollars per share) | $ / shares | $ 0.001 | $ 0.001 |
| Common stock, shares issued (in shares) | 87,071,783 | 0 |
| Common stock, shares outstanding (in shares) | 87,071,783 | 0 |
| Class B common stock | ||
| Class of Stock [Line Items] | ||
| Common stock, number of votes per share | vote | 10 | |
| Common stock, shares authorized (in shares) | 315,000,000 | 300,000,000 |
| Common stock, par value (in dollars per share) | $ / shares | $ 0.001 | $ 0.001 |
| Common stock, shares issued (in shares) | 213,101,364 | 91,542,243 |
| Common stock, shares outstanding (in shares) | 213,101,364 | 91,542,243 |
Common Stock - Schedule of Common Stock Reserved for Future Issuance (Details) - shares shares in Thousands |
Dec. 31, 2019 |
Dec. 31, 2018 |
|---|---|---|
| Class of Stock [Line Items] | ||
| Shares of common stock reserved (in shares) | 63,284 | 204,278 |
| 2010 Plan | ||
| Class of Stock [Line Items] | ||
| Shares of common stock reserved (in shares) | 0 | 13,356 |
| 2019 Plan | ||
| Class of Stock [Line Items] | ||
| Shares of common stock reserved (in shares) | 29,048 | 0 |
| Options | ||
| Class of Stock [Line Items] | ||
| Shares of common stock reserved (in shares) | 21,191 | 25,087 |
| Restricted Stock Units (RSUs) | ||
| Class of Stock [Line Items] | ||
| Shares of common stock reserved (in shares) | 7,175 | 0 |
| ESPP | ||
| Class of Stock [Line Items] | ||
| Shares of common stock reserved (in shares) | 5,870 | 0 |
| Redeemable convertible preferred stock warrants outstanding | ||
| Class of Stock [Line Items] | ||
| Shares of common stock reserved (in shares) | 0 | 177 |
| Redeemable convertible preferred stock | ||
| Class of Stock [Line Items] | ||
| Shares of common stock reserved (in shares) | 0 | 165,658 |
Stock-based Compensation - Schedule of Assumptions Used to Determine the Fair Value of Stock Options Granted (Details) - Options |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2019 |
Dec. 31, 2018 |
Dec. 31, 2017 |
|
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | |||
| Expected term (in years) | 6 years 2 months 12 days | 6 years 6 months | 6 years 6 months |
| Expected volatility | 40.30% | 43.50% | 45.80% |
| Risk-free interest rate | 2.30% | 2.90% | 2.10% |
| Dividend yield | 0.00% | 0.00% | 0.00% |
Stock-based Compensation - Schedule of Restricted Stock Units Activity (Details) - Restricted Stock Units (RSUs) shares in Thousands |
12 Months Ended |
|---|---|
|
Dec. 31, 2019
$ / shares
shares
| |
| RSUs | |
| Granted (in shares) | shares | 7,578 |
| Vested (in shares) | shares | (668) |
| Forfeited (in shares) | shares | (402) |
| Unvested, ending balance (in shares) | shares | 6,508 |
| Vested and not yet released (in shares) | shares | 667 |
| Outstanding at end of period (in shares) | shares | 7,175 |
| Weighted-Average Grant Date Fair Value | |
| Granted (in dollars per share) | $ / shares | $ 10.78 |
| Vested (in dollars per share) | $ / shares | 8.93 |
| Forfeited (in dollars per share) | $ / shares | 9.13 |
| Unvested, weighted average grant date fair value, ending balance (in dollars per share) | $ / shares | 11.08 |
| Vested and not yet released, weighted-average grant date fair value (in dollars per share) | $ / shares | 8.93 |
| Outstanding at end of period, weighted-average grant date fair value (in dollars per share) | $ / shares | $ 10.88 |
Stock-based Compensation - Schedule of Fair Value Assumptions for Employee Stock Purchase Plan (Details) - ESPP |
12 Months Ended |
|---|---|
Dec. 31, 2019 | |
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | |
| Expected term (in years) | 8 months 12 days |
| Risk-free interest rate | 1.80% |
| Expected volatility | 35.50% |
| Dividend yield | 0.00% |
Stock-based Compensation - Schedule of Stock-based Compensation Expense (Details) - USD ($) $ in Thousands |
1 Months Ended | 12 Months Ended | ||
|---|---|---|---|---|
Sep. 30, 2019 |
Dec. 31, 2019 |
Dec. 31, 2018 |
Dec. 31, 2017 |
|
| Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
| Total stock-based compensation expense | $ 21,000 | $ 36,627 | $ 27,347 | $ 2,755,000 |
| Cost of revenue | ||||
| Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
| Total stock-based compensation expense | 716 | 119 | 47,000 | |
| Sales and marketing | ||||
| Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
| Total stock-based compensation expense | 8,709 | 979 | 488,000 | |
| Research and development | ||||
| Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
| Total stock-based compensation expense | 13,037 | 1,532 | 969,000 | |
| General and administrative | ||||
| Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
| Total stock-based compensation expense | $ 14,165 | $ 24,717 | $ 1,251,000 | |
Income Taxes - Components of Income (Loss) Before Income Taxes (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2019 |
Dec. 31, 2018 |
Dec. 31, 2017 |
|
| Income Tax Disclosure [Abstract] | |||
| Domestic | $ (117,401) | $ (87,615) | $ (11,633) |
| Foreign | 12,688 | 1,528 | 1,918 |
| Loss before income taxes | $ (104,713) | $ (86,087) | $ (9,715) |
Income Taxes - Components of Provision for Income Taxes (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2019 |
Dec. 31, 2018 |
Dec. 31, 2017 |
|
| Current expense (benefit): | |||
| Federal | $ 391 | $ 402 | $ 699 |
| State | 29 | 42 | 23 |
| Foreign | 325 | 248 | 446 |
| Total current provision for income taxes | 745 | 692 | 1,168 |
| Deferred expense (benefit): | |||
| Federal | 0 | (1) | 1 |
| State | 0 | 0 | 0 |
| Foreign | 370 | 386 | (136) |
| Total deferred provision for income taxes | 370 | 385 | (135) |
| Total provision for income taxes | $ 1,115 | $ 1,077 | $ 1,033 |
Income Taxes - Reconciliation of Effective Tax Rate (Details) |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2019 |
Dec. 31, 2018 |
Dec. 31, 2017 |
|
| Income Tax Disclosure [Abstract] | |||
| Expected benefit at U.S. federal statutory rate | 21.00% | 21.00% | 34.00% |
| State income taxes, net of federal tax benefits | 0.00% | 0.00% | (0.20%) |
| Foreign income or losses taxed at different rates | 0.60% | (1.30%) | 2.10% |
| Stock-based compensation | (1.20%) | (5.50%) | 2.10% |
| Change in valuation allowance | (20.50%) | (14.00%) | (36.50%) |
| Withholding taxes | (0.40%) | (0.50%) | (7.20%) |
| Transition tax | 0 | 0 | (0.033) |
| Miscellaneous permanent items | (0.60%) | (1.00%) | (1.60%) |
| Total provision for income taxes | (1.10%) | (1.30%) | (10.60%) |
Income Taxes - Components of Deferred Tax Assets and Liabilities (Details) - USD ($) $ in Thousands |
Dec. 31, 2019 |
Dec. 31, 2018 |
|---|---|---|
| Deferred tax assets: | ||
| Net operating loss carryforwards | $ 53,536 | $ 31,701 |
| Tax credit carryforwards | 11,969 | 8,699 |
| Accrued expenses and reserves | 168 | 1,069 |
| Fixed assets | 85 | 0 |
| Stock-based compensation | 6,852 | 0 |
| Unrealized loss on investments | 43 | 617 |
| Other | 1,703 | 1,062 |
| Gross deferred tax assets | 74,356 | 43,148 |
| Valuation allowance | (63,487) | (37,924) |
| Total deferred tax assets | 10,869 | 5,224 |
| Deferred tax liabilities: | ||
| Capitalized internal-use software | (4,668) | (3,111) |
| Deferred commissions | (5,487) | (493) |
| Fixed assets | (1,228) | (1,269) |
| Stock-based compensation | 0 | (514) |
| Unrealized gain on investments | (32) | (13) |
| Total deferred tax liabilities | (11,415) | (5,400) |
| Net deferred tax assets (liabilities) | $ (546) | $ (176) |
Income Taxes - Reconciliation of Gross Unrecognized Tax Benefits (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2019 |
Dec. 31, 2018 |
Dec. 31, 2017 |
|
| Reconciliation of Unrecognized Tax Benefits, Excluding Amounts Pertaining to Examined Tax Returns [Roll Forward] | |||
| Balance as of the beginning of the period | $ 2,549 | $ 2,247 | $ 1,153 |
| Decreases for tax positions related to the prior year | (120) | (613) | 0 |
| Additions for tax positions related to the current year | 1,311 | 915 | 1,094 |
| Balance as of the end of the period | $ 3,740 | $ 2,549 | $ 2,247 |
Related Party Transactions (Details) - Affiliated Entity - Purchase of Common Stock from Founders - USD ($) |
1 Months Ended | 12 Months Ended | |
|---|---|---|---|
Sep. 30, 2018 |
Dec. 31, 2019 |
Dec. 31, 2018 |
|
| Related Party Transaction [Line Items] | |||
| Number of shares purchased (in shares) | 8,909,092 | ||
| Purchase price | $ 98,000,000.0 | ||
| Stock-based compensation expense recorded | $ 0 | $ 23,300,000 | |
Segment and Geographic Information - Narrative (Details) |
12 Months Ended |
|---|---|
|
Dec. 31, 2019
segment
| |
| Segment Reporting [Abstract] | |
| Number of operating segments | 1 |
Segment and Geographic Information - Schedule of Property and Equipment, Net by Geographic Area (Details) - USD ($) $ in Thousands |
Dec. 31, 2019 |
Dec. 31, 2018 |
|---|---|---|
| Segment Reporting Information [Line Items] | ||
| Property and equipment, net | $ 101,466 | $ 73,210 |
| United States | ||
| Segment Reporting Information [Line Items] | ||
| Property and equipment, net | 59,688 | 46,012 |
| Rest of the world | ||
| Segment Reporting Information [Line Items] | ||
| Property and equipment, net | $ 41,778 | $ 27,198 |
Subsequent Events (Details) $ in Millions |
Jan. 01, 2020
USD ($)
|
|---|---|
| Subsequent Event | S2 Systems Corporation | |
| Subsequent Event [Line Items] | |
| Consideration transferred | $ 39.2 |