Description of Business and Summary of Significant Accounting Policies | Description of Business and Summary of Significant Accounting Policies Five9, Inc. and its wholly-owned subsidiaries (the “Company”) is a provider of cloud software for contact centers. The Company was incorporated in Delaware in 2001 and is headquartered in San Ramon, California. The Company has offices in Europe and Asia, which primarily provide research, development, sales, marketing, and client support services. Basis of Presentation The accompanying consolidated financial statements have been prepared in accordance with generally accepted accounting principles in the United States (“GAAP”) and applicable rules and regulations of the Securities and Exchange Commission (“SEC”) regarding annual financial reporting. All intercompany transactions and balances have been eliminated in consolidation. Certain prior period amounts included in the consolidated financial statements have been reclassified to conform to the current period presentation. Use of Estimates The preparation of consolidated financial statements in accordance with GAAP requires management to make estimates and assumptions that affect the reported amounts of assets and liabilities and disclosure of contingent assets and liabilities at the date of the consolidated financial statements and the reported amounts of revenue and expenses during the reporting period. The significant estimates made by management affect revenue and related reserves. Management periodically evaluates such estimates and they are adjusted prospectively based upon such periodic evaluation. Actual results could differ from those estimates. Foreign Currency The functional currency of the Company’s foreign subsidiaries is the U.S. dollar. For these subsidiaries, the monetary assets and liabilities are re-measured into U.S. dollars at the current exchange rate as of the balance sheet date, and all non-monetary assets and liabilities are re-measured into U.S. dollars at historical exchange rates. Revenues are primarily denominated in U.S dollars. Expenses are converted using average rates in effect on a monthly basis. Exchange gains and losses resulting from foreign currency transactions were not significant in any period and are reported in “Other income (expense), net” in the consolidated statements of operations and comprehensive loss. Cash and Cash Equivalents The Company’s cash and cash equivalents consist of highly liquid investments with maturities of three months or less at the time of purchase. The Company’s cash equivalents consist of investments in money market funds, U.S. treasury securities, U.S. agency securities and commercial paper. Marketable Investments The Company’s marketable investments consist of U.S agency securities and government sponsored securities, U.S. treasury securities, certificates of deposit, municipal bonds, corporate bonds and commercial paper. The Company determines the appropriate classification of its investments in marketable investments at the time of purchase and re-evaluates such designation at each balance sheet date. The Company’s marketable investments have been classified and accounted for as available-for-sale. Marketable investments are carried at fair value. Concentration Risks Financial instruments, which potentially subject the Company to significant concentrations of credit risk, consist primarily of cash and cash equivalents, marketable investments and accounts receivable. A significant portion of the Company’s cash and cash equivalents is held at three large reputable financial institutions. Total cash and cash equivalents in excess of insured limits were $81.0 million and $68.3 million as of December 31, 2018 and 2017 , respectively. The Company has not experienced any losses in such accounts. As of December 31, 2018 and 2017 , no single client represented more than 10% of accounts receivable . For the years ended December 31, 2018 , 2017 and 2016 , no single client represented more than 10% of revenue . Allowance for Doubtful Accounts The Company records a provision for doubtful accounts based on historical experience and a detailed assessment of the collectability of its accounts receivable. In estimating the allowance for doubtful accounts, management considers, among other factors, the aging of the accounts receivable, historical write-offs and the creditworthiness of each client. If circumstances change, such as higher-than-expected defaults or an unexpected material adverse change in a major client’s ability to meet its financial obligations, the Company’s estimate of the recoverability of the amounts due could be reduced by a material amount. The following table presents the changes in the allowance for doubtful accounts (in thousands): Year Ended December 31, 2018 2017 2016 Balance, beginning of period $ 33 $ 12 $ 15 Add: bad debt expense 90 95 75 Less: write-offs, net of recoveries (111 ) (74 ) (78 ) Balance, end of period $ 12 $ 33 $ 12 Property and Equipment, Net Property and equipment is stated at cost less accumulated depreciation and amortization, and is depreciated using the straight-line method over the estimated useful lives of the assets as follows: Asset Category Estimated Useful Lives Computer and network equipment 3 to 5 years Computer software 3 years Development costs 1 to 5 years Furniture and fixtures 7 years Leasehold improvements Shorter of useful life or lease term Maintenance and repairs are charged to expense as incurred, and improvements and betterments are capitalized. When assets are retired or otherwise disposed of, the cost and accumulated depreciation and amortization are removed from the consolidated balance sheet and any resulting gain or loss is reflected in the consolidated statements of operations and comprehensive loss in the period realized. The Company evaluates the recoverability of property and equipment for possible impairment whenever events or circumstances indicate that the carrying amount of such assets or asset groups may not be recoverable. Recoverability of these assets is measured by a comparison of the carrying amounts to the future undiscounted cash flows the assets or asset groups are expected to generate. If such evaluation indicates that the carrying amount of the assets or asset groups is not recoverable, the carrying amount of such assets or asset groups is reduced to fair value. No impairment losses have been recognized in any of the periods presented. Goodwill and Intangible Assets The Company records goodwill when the consideration paid in a business combination exceeds the fair value of the net tangible assets and the identified intangible assets acquired. Goodwill is not amortized, but instead is required to be tested for impairment annually and whenever events or changes in circumstances indicate that the carrying value of goodwill may exceed its fair value. The Company performs testing for impairment of goodwill in its fourth quarter, or as events occur or circumstances change that would more likely than not reduce the fair value of the Company’s single reporting unit below its carrying amount. A qualitative assessment is first made to determine whether it is necessary to perform the two-step quantitative goodwill impairment test. This initial qualitative assessment includes, among other things, consideration of: (i) market capitalization of the Company, (ii) past, current and projected future earnings and equity; (iii) recent trends and market conditions; and (iv) valuation metrics involving similar companies that are publicly-traded and acquisitions of similar companies, if available. If this initial qualitative assessment indicates that it is more likely than not that impairment exists, a second analysis will be performed, involving a comparison between the estimated fair values of the Company’s reporting unit with its respective carrying amount including goodwill. If the carrying value exceeds estimated fair value, there is an indication of potential impairment, and a third analysis is performed to measure the amount of impairment. The third analysis involves calculating an implied fair value of goodwill by measuring the excess of the estimated fair value of the reporting unit over the aggregate estimated fair values of the individual assets less liabilities. If the carrying value of goodwill exceeds the implied fair value of goodwill, an impairment charge is recorded for the excess. Intangible assets, consisting of acquired developed technology, domain names and customer relationships, are carried at cost less accumulated amortization. All intangible assets have been determined to have definite lives and are amortized on a straight-line basis over their estimated remaining economic lives, ranging from five to seven years. Amortization expense related to developed technology is included in cost of revenue. Amortization expense related to customer relationships is included in sales and marketing expense. Amortization expense related to domain names is included in general and administrative expense. Intangible assets are reviewed for impairment whenever events or changes in circumstances indicate an asset’s carrying value may not be recoverable. Revenue Recognition Revenue is recognized when control of the promised services are transferred to customers in an amount that reflects the consideration that the Company expects to receive in exchange for those services. The Company generates all of its revenue from contracts with customers. In contracts with multiple performance obligations, it identifies each performance obligation and evaluates whether the performance obligations are distinct within the context of the contract at contract inception. Performance obligations that are not distinct at contract inception are combined. The Company allocates the transaction price to each distinct performance obligation proportionately based on the estimated standalone selling price for each performance obligation. The Company then looks to how services are transferred to the customer in order to determine the timing of revenue recognition. Most services provided under the Company’s agreements result in the transfer of control over time. The Company’s revenue consists of subscription services and related usage as well as professional services. The Company charges clients subscription fees, usually billed on a monthly basis, for access to the Company’s VCC solution. The subscription fees are primarily based on the number of agent seats, as well as the specific VCC functionalities and applications deployed by the client. Agent seats are defined as the maximum number of named agents allowed to concurrently access the VCC cloud platform. Clients typically have more named agents than agent seats. Multiple named agents may use an agent seat, though not simultaneously. Substantially all of the Company’s clients purchase both subscriptions and related telephony usage. A small percentage of the Company’s clients subscribe to its platform but purchase telephony usage directly from a wholesale telecommunications service provider. The Company does not sell telephony usage on a stand-alone basis to any client. The related usage fees are based on the volume of minutes used for inbound and outbound client interactions. The Company also offers bundled plans, generally for smaller deployments, whereby the client is charged a single monthly fixed fee per agent seat that includes both subscription and unlimited usage in the contiguous 48 states and, in some cases, Canada. Professional services revenue is derived primarily from VCC implementations, including application configuration, system integration, optimization, education and training services. Clients are not permitted to take possession of the Company’s software. The Company offers monthly, annual and multiple-year contracts to its clients, generally with 30 days’ notice required for changes in the number of agent seats and sometimes with a minimum number of agent seats required. Larger clients typically choose annual contracts, which generally include an implementation and ramp period of several months. Fixed subscription fees (including bundled plans) are generally billed monthly in advance, while related usage fees are billed in arrears. Support activities include technical assistance for the Company’s solution and upgrades and enhancements to the VCC cloud platform on a when-and-if-available basis, which are not billed separately. The Company generally requires advance deposits from its clients based on estimated usage when such usage is not billed as part of a bundled plan. Any unused portion of the deposit is refundable to the client upon termination of the arrangement, provided all amounts due have been paid. All fees, except usage deposits, are non-refundable. Professional services are primarily billed on a fixed-fee basis and are performed by the Company directly or, alternatively, clients may also choose to perform these services themselves or engage their own third-party service providers. Revenue for professional services is recognized over time, as services are performed. The estimation of variable consideration for each performance obligation requires the Company to make subjective judgments resulting in estimated variable consideration that is included in the transaction fee. This is done to the extent that it is probable, in the Company’s judgment, that a significant reversal in the amount of cumulative revenue recognized under the contract will not occur. The Company estimates the variable consideration in order to allocate the overall transaction fee on a relative stand-alone selling price basis to its multiple performance obligations. This requires the estimate of unit quantities, especially during the initial ramp period of the contract, during which the Company bills under an ‘actual usage’ model for subscription-related services. The Company recognizes revenue on fixed fee professional services performance obligations based on the proportion of labor hours expended compared to the total hours expected to complete the related performance obligation. The determination of the total labor hours expected to complete the performance obligations involves judgment, which influences the initial stand-alone selling price estimate as well as the timing of professional services revenue recognition, although this is typically resolved in a short time frame. When a contract with a customer is signed, the Company assesses whether collection of the fees under the arrangement is probable. The Company assesses collection based on a number of factors, including past transaction history and the creditworthiness of the client. The Company maintains a revenue reserve for potential credits to be issued in accordance with service level agreements or for other revenue adjustments. Deferred Revenue Deferred revenue consists of billings or payments received from clients for subscription service, usage and professional services in advance of revenue recognition and is recognized in accordance with the Company’s revenue recognition policy discussed above. The Company generally invoices its clients monthly in advance for subscription services. Accordingly, the deferred revenue balance does not represent the total contract value of sales arrangements. Cost of Revenue Cost of revenue consists primarily of personnel costs, including stock-based compensation, fees that the Company pays to telecommunications providers for usage, Universal Service Fund and related funds, or USF, contributions and other regulatory costs, depreciation and related expenses of the servers and equipment, costs to build out and maintain co-location data centers, and allocated office and facility costs and amortization of acquired technology. Personnel costs include those associated with support of the Company’s solution, clients and data center operations, as well as with providing professional services. Data center costs include costs to build out and setup, as well as co-location fees for the right to place the Company’s servers in data centers owned by third parties. Research and Development Research and development expenses consist primarily of salary and related expenses, including stock-based compensation, for personnel related to the development of improvements and expanded features for our services, as well as quality assurance, testing, product management and allocated overhead. Research and development costs are expensed as incurred except for internal use software development costs that qualify for capitalization. The Company reviews development costs incurred for internal-use software in the application development stage and assesses costs for capitalization. Advertising Costs The Company primarily advertises its services through the web and in conjunction with partners. Advertising costs are expensed as incurred and were $12.2 million , $11.4 million and $10.7 million for the years ended December 31, 2018 , 2017 and 2016 , respectively. Commissions Commissions consist of variable compensation earned by sales personnel and referral fees the Company pays to third parties. Under Accounting Standard Codification 605 - Revenue Recognition (“ASC 605”), all sales commissions associated with the acquisition or renewal of a client contract were recognized as sales and marketing expense as incurred. On January 1, 2018, the Company adopted Accounting Standard Codification 606 - Revenue from Contracts with Customers (“ASC 606”). In connection with the adoption of ASC 606, the Company also adopted ASC 340-40, Other Assets and Deferred Costs - Contracts with Customers (“ASC 340-40”), which requires the deferral of incremental costs of obtaining a contract with a customer. Collectively, the Company refers to ASC 606 and ASC 340-40 as the “new standard.” Under the new standard, the Company defers all incremental commission costs to obtain the contract, and amortizes these costs over a period of benefit determined to be five years. See Note 2 for more information. Commission expense was $10.3 million , $14.0 million and $10.2 million for the years ended December 31, 2018 , 2017 and 2016 , respectively. The Company’s sales commission expense under ASC 606 decreased by approximately $7.7 million in 2018 as compared to 2017. Stock-Based Compensation All stock-based compensation granted to employees and non-employee directors is measured as the grant date fair value of the award. The Company estimates the fair value of stock options and purchase rights under the Company’s Equity Incentive Plans and the 2014 Employee Stock Purchase Plan, or ESPP, respectively, using the Black-Scholes option-pricing model. The fair value of restricted stock awards is equal to the fair value of the Company’s common stock on the date of grant. Compensation expense is recognized net of forfeitures using the straight-line method over the service period, which is generally the vesting period. Income Taxes The Company accounts for income taxes using the asset and liability method. Deferred tax assets and liabilities are recognized for the estimated future tax consequences attributable to differences between the financial statement carrying amounts of existing assets and liabilities and their respective tax basis. Deferred tax assets and liabilities are measured using enacted tax rates in effect for the year in which those temporary differences are expected to be recovered or settled. The effect on deferred tax assets and liabilities of a change in tax rates is recognized in operations in the period that includes the enactment date. The Company records a valuation allowance to reduce its deferred tax assets to the amount of future tax benefit that is more likely than not to be realized. As of December 31, 2018 and 2017 , the Company recorded a full valuation allowance against the net deferred tax assets because of its history of operating losses in the United States. The Company classifies interest and penalties on unrecognized tax benefits as income tax expense. Comprehensive loss Comprehensive loss consists of net loss, unrealized gains or losses on available-for-sale marketable investments and the effects of foreign currency translation adjustments. The Company presents comprehensive loss as part of the consolidated statements of operations. The changes in the accumulated balances of the components of other comprehensive loss were not material for the periods presented. Net Income (Loss) Per Share Basic net income (loss) per share is calculated by dividing net income (loss) by the weighted average number of shares of common stock outstanding during the period, and excludes any dilutive effects of employee stock-based awards and warrants. Diluted net income (loss) per share is computed giving effect to all potentially dilutive common shares, including common stock issuable upon exercise of stock options and warrants, vesting of restricted stock units and purchases under the ESPP. In periods of net loss, all potentially issuable shares of common stock are excluded from the diluted net loss per share computation because they are anti-dilutive. Therefore, basic and diluted net loss per share are the same for all years presented in the Company’s consolidated statements of operations and comprehensive loss. Indemnification Certain of the Company’s agreements with clients include provisions for indemnification against liabilities if the Company’s solution infringes a third-party’s intellectual property rights. To date, the Company has not incurred any material costs as a result of such indemnification provisions and the Company has not accrued any liabilities related to such obligations in the consolidated financial statements as of December 31, 2018 and 2017 . Segment Information The Company has determined that its Chief Executive Officer is its chief operating decision maker. The Company’s Chief Executive Officer reviews financial information presented on a consolidated basis for purposes of assessing performance and making decisions on how to allocate resources. Accordingly, the Company has determined that it operates in a single reportable segment. Recently Adopted Accounting Pronouncements In March 2016, the Financial Accounting Standards Board (the “FASB”) issued Accounting Standard Update (“ASU”) No. 2016-09, Compensation-Stock Compensation (Topic 718): Improvements to Employee Share-Based Payment Accounting . This ASU simplifies several aspects of the accounting for share-based payment transactions, including the accounting for income taxes, forfeitures, and statutory tax withholding requirements, as well as classification in the statement of cash flows. The guidance was effective for the Company beginning in the first quarter of 2017. Accordingly, commencing in January 2017, the Company accounted for forfeitures as they occurred, rather than by estimating expected forfeitures. The net effect of this change was recognized as a $0.2 million reduction to accumulated deficit in the consolidated financial statements. Upon adoption of the new standard, all excess tax benefits and tax deficiencies (including tax benefits of dividends on share-based payment awards) are recognized as income tax expense or benefit in the income statement. The tax effects of exercised or vested awards are treated as discrete items in the reporting period in which they occur. The Company also recognizes excess tax benefits regardless of whether the benefit reduces taxes payable in the current period. The Company applied the modified retrospective adoption approach beginning January 1, 2017 and prior periods have not been adjusted. As a result, the Company established a net operating loss deferred tax asset of $5.3 million to account for prior period excess tax benefits through retained earnings, however an offsetting valuation allowance of $5.3 million was also established through retained earnings because it is not more likely than not that the deferred tax asset will be realized due to historical and expected future losses, such that there is no impact on the Company’s consolidated financial statements. In May 2014, the FASB issued ASU 2014-09, Revenue from Contracts with Customers: Topic 606, amending revenue recognition guidance and requiring more detailed disclosures to enable users of financial statements to understand the nature, amount, timing, and uncertainty of revenue and cash flows arising from contracts with customers. ASU 2014-09 also includes Subtopic 340-40, Other Assets and Deferred Costs - Contracts with Customers , which requires the deferral of incremental costs of obtaining a contract with a customer. The Company adopted ASU 2014-09 and its related amendments (collectively “ASC 606”) effective on January 1, 2018 using the modified retrospective method. See Note 2 for disclosure on the impact of adopting this standard. Recent Accounting Pronouncements Not Yet Effective In June 2016, the FASB issued ASU No. 2016-13, Financial Instruments—Credit Losses (Topic 326): Measurement of Credit Losses on Financial Instruments , which requires measurement and recognition of expected credit losses for certain types of financial assets held. ASU 2016-13 is effective for the Company in its first quarter of 2020, and earlier adoption is permitted beginning in the first quarter of 2019. The Company is currently evaluating the impact of ASU 2016-13 on its consolidated financial statements. In February 2016, the FASB issued ASU No. 2016-02, Leases (Topic 842) and issued subsequent amendments to the initial guidance in 2017 and 2018 within ASU 2017-13, ASU 2018-01, ASU 2018-10, ASU 2018-11 and ASU 2018-20 (collectively, “Topic 842”). Under the new guidance, a lessee will be required to recognize assets and liabilities for both finance, or capital, and operating leases with lease terms of more than 12 months. The ASU also will require disclosures to help investors and other financial statement users better understand the amount, timing, and uncertainty of cash flows arising from leases. Lessor accounting will remain largely unchanged from current GAAP. In transition, lessees and lessors are required to recognize and measure leases at the beginning of the earliest period presented using a modified retrospective approach that includes a number of optional practical expedients that entities may elect to apply. The Company will adopt Topic 842 using the modified retrospective method on January 1, 2019. The Company will elect the available practical expedients that it will apply and implement internal controls to enable the preparation of financial information upon adoption. The most significant impact will be the recognition of right-of use (ROU) assets and lease liabilities for operating leases, while the Company’s accounting for capital leases remained substantially unchanged. Adoption of Topic 842 will result in the recognition of ROU assets of $7.0 million to $10.0 million , and offsetting lease liabilities for operating leases of $7.0 million to $10.0 million , as of January 1, 2019. In August 2018, the FASB issued ASU 2018-15, Intangibles—Goodwill and Other—Internal-Use Software (Subtopic 350-40): Customer’s Accounting for Implementation Costs Incurred in a Cloud Computing Arrangement That Is a Service Contract (“ASU 2018-15”), which clarifies the accounting for implementation costs in cloud computing arrangements. ASU 2018-15 is effective for the Company in the first quarter of fiscal 2020. Early adoption is permitted. The Company is currently evaluating the impact this guidance will have on its consolidated financial statements. There are several other new accounting pronouncements issued by the FASB, which the Company will adopt. However, the Company does not believe any of those accounting pronouncements will have a material impact on its consolidated financial position, operating results or statements of cash flows. |