Summary of Significant Accounting Policies | Summary of Significant Accounting Policies Basis of Presentation The accompanying unaudited condensed consolidated financial statements have been prepared in accordance with generally accepted accounting principles in the United States of America (“GAAP”) and applicable rules and regulations of the SEC regarding interim financial reporting, and include our accounts and those of our wholly owned subsidiaries. All intercompany balances and transactions have been eliminated upon consolidation. As permitted under those rules, certain footnotes or other financial information that are normally required by GAAP have been condensed or omitted, and accordingly the consolidated balance sheet as of December 31, 2016 has been derived from the audited consolidated financial statements at that date but does not include all of the information required by GAAP for complete financial statements. These unaudited interim condensed consolidated financial statements have been prepared on the same basis as our annual consolidated financial statements and, in the opinion of management, reflect all adjustments (consisting only of normal recurring adjustments) that are necessary for a fair statement of our consolidated financial information. The results of operations for the three and nine months ended September 30, 2017 are not necessarily indicative of the results to be expected for the year ending December 31, 2017 or for any other future interim period or year. The accompanying condensed consolidated financial statements and related financial information should be read in conjunction with the audited consolidated financial statements and the related notes thereto as of and for the year ended December 31, 2016 , included in our prospectus filed pursuant to Rule 424(b) under the Securities Act of 1933, as amended ("Securities Act"), with the SEC on March 17, 2017. Use of Estimates The preparation of condensed consolidated financial statements in conformity with GAAP requires management to make estimates and assumptions that affect the reported amounts of assets and liabilities and disclosure of contingent assets and liabilities at the date of the financial statements and the reported amounts of revenue and expenses during the reporting period. Management periodically evaluates such estimates and assumptions for continued reasonableness. In particular, we make estimates with respect to the fair value allocation of multiple elements in revenue recognition, the uncollectible accounts receivable, valuation of long-lived assets, stock-based compensation expense and income taxes. Appropriate adjustments, if any, to the estimates used are made prospectively based upon such periodic evaluation. Actual results could differ from those estimates. Restricted Cash Restricted cash at September 30, 2017 and December 31, 2016 includes $786,000 and $308,000 , respectively, which is used as collateral for letters of credit and bank guarantees issued in relation to certain leases and $0 and $364,000 , respectively, of collateral used to secure credit cards which may not be used or transferred until the restriction is released by the issuing bank. Cash as Reported in Consolidated Statements of Cash Flows Cash as reported on the consolidated statements of cash flows includes the aggregate amounts of cash and cash equivalents and the restricted cash as shown on the consolidated balance sheets. Cash as reported on the consolidated statements of cash flows consists of the following (in thousands): As of 2017 2016 Cash and cash equivalents $ 56,156 $ 46,504 Restricted cash 786 867 Cash balance in consolidated statements of cash flows $ 56,942 $ 47,371 Fair Value of Financial Instruments Assets and liabilities recorded at fair value in the financial statements are categorized based upon the level of judgment associated with the inputs used to measure their fair value. Hierarchical levels which are directly related to the amount of subjectivity associated with the inputs to the valuation of these assets or liabilities are as follows: • Level 1: Observable inputs that reflect quoted prices (unadjusted) for identical assets or liabilities in active markets. • Level 2: Observable inputs, other than Level 1 prices, such as quoted prices for similar assets or liabilities, quoted prices in markets that are not active or other inputs that are observable or can be corroborated by observable market data for substantially the full term of the assets or liabilities. • Level 3: Unobservable inputs reflecting our own assumptions incorporated in valuation techniques used to determine fair value. These assumptions are required to be consistent with market participant assumptions that are reasonably available. For certain financial instruments, including cash and cash equivalents, accounts receivable and payable, as well as certain accrued liabilities, the recorded amount approximates estimated fair value due to their relatively short maturity period. Investments consist of investments in marketable equity securities that are classified as available-for-sale and recognized at fair value using Level 1 and Level 2 inputs. Concentration of Credit and Other Risks Financial instruments that potentially subject us to concentration of credit risk consist principally of trade receivables. Our trade receivables mainly result from subscription to our software products and professional services provided to our customers that are located primarily in the United States, Western Europe, and Australia. We review the need for allowances for potential losses from these trade receivables. At September 30, 2017 and December 31, 2016 , the allowance for doubtful accounts was $707,000 and $446,000 , respectively. One customer accounted for 11% of trade receivables as of September 30, 2017 . No single customer accounted for 10% or more of trade receivables as of December 31, 2016 . No single customer accounted for 10% or more of total revenue for the three and nine months ended September 30, 2017 and 2016 . We are dependent upon third parties, such as Amazon Web Services, in order to meet the uptime and performance requirements of our customers. Revenue Recognition We recognize revenue from the following sources: (1) subscription and support revenue, which is comprised of subscription fees from customers accessing our cloud-hosted software and from term-based licenses of our software and support services; (2) professional services and other revenue, which consists primarily of fees associated with consulting and training services related to the implementation and configuration of our platform; and (3) royalty revenue from customers incorporating our software in their products. On sales through our channel partners, we recognize revenue on a “sell in” basis as our contractual relationships with our channel partners do not depend on the sale of our products and services to their customers and payment from the channel partner is not contingent on receiving payment from the end customer. The contractual relationships with our channel partners do not allow returns, rebates, or price concessions. We recognize revenue net of sales taxes and other applicable taxes when all of the following criteria are met: there is persuasive evidence of an arrangement, delivery has occurred or service has been performed, the fee is fixed or determinable, and collectability is probable. Subscription Revenue from Cloud-Hosted Software Subscription revenue from cloud-hosted software is recognized ratably over the subscription period. Subscription and Support Revenue from Software Licenses Software licenses for our enterprise software are sold with support services and are generally offered with one -year base subscription periods. The base license subscription generally entitles the end user to the technology itself and post-contract customer support consisting of a specified level of customer support bug fixes, functionality enhancements to the technology, and upgrades to new versions of the technologies, each on a when-and-if available basis, during the term of the subscription. Revenue is recorded ratably over the subscription term as we have not established vendor-specific objective evidence (“VSOE”) for such offerings. Professional Services and Other Revenue Professional services and other revenue is comprised of revenue earned for consulting and training services related to the implementation and configuration of our platform and royalty revenue. Professional services revenue is generally recognized as the services are rendered for time and material contracts, or on a proportional performance basis for fixed price contracts. The majority of our professional services contracts are on a time and materials basis and have standalone value. For professional services that are part of a multiple-element software arrangement, where VSOE of fair value does not exist for all undelivered elements, the professional services revenue is recognized over the term of the subscription. We classify reimbursements received from customers for out-of-pocket expenses as a component of revenue. We recognize income from our tradeshows as a component of revenue. Royalty revenue is comprised of royalty fees received from customers who have our products incorporated in their own products. Revenue is recognized when the sale to the end customer is reported to us. Multiple-Element Arrangements For multiple-element arrangements containing cloud hosted subscription and non-software services, we: (1) determine whether each element constitutes a separate unit of accounting; (2) determine the fair value of each element using the selling price hierarchy of VSOE of selling price, third party evidence ("TPE") of selling price or best estimated selling price ("BESP"), as applicable; and (3) allocate the total non-contingent fee to each separate unit of accounting based on the relative selling price method. An element constitutes a separate unit of accounting when the delivered item has standalone value and delivery of the undelivered element is probable and within our control. As we have been unable to establish VSOE or TPE for the elements of our arrangements, we determine BESP by considering overall pricing objectives and market conditions. Significant pricing practices taken into consideration include our discounting practices, the size and volume of our transactions, our price lists, our go-to-market strategy, historical standalone sales, and contract prices. As our go-to-market strategies evolve, the pricing practices may be modified in the future, which could result in changes in relative selling prices, including BESP, and therefore, the allocation of the selling price to an element. The consideration allocated to subscription and support is recognized as revenue over the contract period commencing when the subscription service is made available to the customer. The consideration allocated to professional services is recognized as revenue using the proportional performance method or as services are delivered for time and material contracts. The total arrangement fee for a multiple element arrangement is allocated based on the relative BESP of each element. However, since the professional services are generally completed prior to completion of delivery of subscription and support services, the revenue recognized for professional services in a given reporting period does not include fees subject to delivery of subscription and support services. This results in the recognition of revenue for professional services that is generally no greater than the contractual fees for those professional services. For multiple-element arrangements that include only software licenses and software related post-contract support, training, and/or consulting, we allocate and defer revenue for each undelivered element of these arrangements based on VSOE. As we have not yet established VSOE of fair value for our software licenses and support, we recognize revenue for these arrangements on a ratable basis over the term of the subscription product with which it is bundled. We have certain multiple element transactions that include both non-software and software elements. For these types of transactions, we allocate the total price to each separate unit of accounting based on the relative selling price method described above. For non-software elements, the revenue is recognized when revenue recognition criteria are met for each element. For subscription elements, we recognize revenue over the subscription term when revenue recognition criteria have been met. Net Loss Per Share Attributable to Common Stockholders Our basic net loss per share is calculated by dividing the net loss by the weighted-average number of shares of common stock outstanding for the period, without consideration of potentially dilutive securities. Diluted net loss per share is the same as basic net loss per share since the effect of potentially dilutive securities is anti-dilutive. The rights of the holders of Class A and Class B common stock are identical, except with respect to voting and conversion. Each share of Class A common stock is entitled to one vote per share and each share of Class B common stock is entitled to 10 votes per share. Shares of Class B common stock may be converted into Class A common stock at any time at the option of the stockholder on a one -for-one basis, and are automatically converted into Class A common stock upon sale or transfer, subject to certain limited exceptions. Shares of Class A common stock are not convertible. Significant Accounting Policies There have been no changes to our significant accounting policies described in the prospectus filed with the SEC pursuant to Rule 424(b) under the Securities Act on March 17, 2017. Recently Adopted Accounting Standards In November 2016, the Financial Accounting Standards Board (FASB) issued ASU No. 2016-18, Statement of Cash Flows (Topic 230): Restricted Cash . ASU 2016-18 requires that the statement of cash flows explains the change during the period in the total cash, cash equivalents, and restricted cash. The standard is effective for fiscal years beginning after December 15, 2017, and interim periods within those years. We have early adopted ASU 2016-18 and, accordingly, amounts generally described as restricted cash are included with cash and cash equivalents when reconciling the beginning-of-period and end-of-period total amounts shown on the accompanying consolidated statements of cash flows. We have adopted ASU 2016-18 retrospectively and have revised the prior period cash flow from investing activities, beginning cash balance, and ending cash balance to reflect the change in presentation of restricted cash. Other than the change in presentation in the accompanying consolidated statements of cash flows, the adoption of this pronouncement had no effect on our financial position, results of operations, or liquidity. In March 2016, the FASB issued ASU 2016-09 , Compensation—Stock Compensation (Topic 718): Improvements to Employee Share - Based Payment Accounting , which simplifies the accounting and reporting of share-based payment transactions, including adjustments to how excess tax benefits and a company’s payments for tax withholdings should be classified. The new standard is effective for annual periods beginning after December 15, 2016. Other than the change in presentation in the accompanying consolidated statements of cash flows, the adoption of this pronouncement had no material effect on our financial position, results of operations, or liquidity. |