Summary of Significant Accounting Policies | 2. Summary of Significant Accounting Policies Basis of Presentation The accompanying consolidated financial statements have been prepared on a going concern basis, which contemplates the realization of assets and the satisfaction of liabilities in the normal course of business. Principles of Consolidation The consolidated financial statements include the accounts of the Company and its wholly-owned subsidiaries. All intercompany accounts and transactions have been eliminated upon consolidation. Accounting Estimates The preparation of financial statements in conformity with accounting principles generally accepted in the United States (“GAAP”) requires management to make certain estimates and assumptions that affect the amounts reported in the financial statements and accompanying notes. The Company is subject to uncertainties such as the impact of future events, economic and political factors and changes in the Company’s business environment; therefore, actual results could differ from these estimates. Accordingly, the accounting estimates used in the preparation of the Company’s financial statements will change as new events occur, as more experience is acquired, as additional information is obtained and as the Company’s operating environment changes. Changes in estimates are made when circumstances warrant. Such changes in estimates and refinements in estimation methodologies are reflected in reported results of operations and if material, the effects of changes in estimates are disclosed in the notes to the consolidated financial statements. Significant estimates and assumptions by management affect the allowances for doubtful accounts and customer credits, the carrying value of long-lived assets (including goodwill and intangible assets), the useful lives of long-lived assets, the provision for income taxes and related deferred taxes, and stock-based compensation. Certain Significant Risks and Uncertainties The Company operates in a rapidly changing environment that involves a number of risks, some of which are beyond the Company’s control that could have a material adverse effect on the Company’s business, operating results, and financial condition. These risks include, among others, the Company’s: history of losses and ability to achieve profitability in the future; highly competitive environment; ability to maintain and increase usage rate of the Company’s platform; and ability to increase demand for its solutions. Concentration of Credit Risk Financial instruments that potentially subject the Company to concentrations of credit risk consist of cash, cash equivalents and accounts receivable. The Company’s cash and cash equivalents are placed with high-credit-quality financial institutions and issuers, and at times exceed federally insured limits. The Company limits its concentration of risk in cash equivalents and short-term investments by diversifying its investments among a variety of industries and issuers and by limiting the average maturity to one year or less. The Company has not experienced any loss relating to cash and cash equivalents in these accounts. The Company performs periodic credit evaluations of its customers and generally does not require collateral. As of December 31, 2015 and 2014, no single customer accounted for greater than 10% of net accounts receivable. No single customer accounted for greater than 10% of consolidated revenues, net during the years ended December 31, 2015, 2014 and 2013. Cash and Cash Equivalents The Company considers all highly liquid investments with an original or remaining maturity from the Company’s date of purchase of 90 days or less to be cash equivalents. Deposits held with financial institutions are likely to exceed the amount of insurance on these deposits. Cash equivalents consist of money market funds, which are readily convertible into cash and are stated at cost, which approximates fair market value. Cash equivalents were $25,564 and $58,027 as of December 31, 2015 and 2014, respectively. Fair Value of Financial Instruments The Company’s financial instruments, including cash equivalents, accounts receivable, accounts payable and accrued expenses are carried at cost, which approximates fair value because of the short-term nature of those instruments. Based on borrowing rates available to the Company for loans with similar terms and maturities, and in consideration of the Company’s credit risk profile, the carrying value of borrowings (Note 7) approximates fair value (Level 2 within the fair value hierarchy). The Company measures and reports certain financial assets at fair value on a recurring basis, including its investments in money market funds. The fair value hierarchy prioritizes the inputs into three broad levels: Level 1 Inputs are unadjusted quoted prices in active markets for identical assets or liabilities. Level 2 Inputs are quoted prices for similar assets and liabilities in active markets or inputs that are observable for the asset or liability, either directly or indirectly through market corroboration, for substantially the full term of the financial instrument. Level 3 Inputs are unobservable inputs based on the Company’s assumptions. A financial instrument’s level within the fair value hierarchy is based on the lowest level of input that is significant to the fair value measurement. Allowance for Doubtful Accounts and Revenue Credits The allowance for doubtful accounts reflects the Company’s best estimate of probable losses inherent in the Company’s receivables portfolio determined on the basis of historical experience, specific allowances for known troubled accounts and other currently available evidence. The Company has not experienced significant credit losses from its accounts receivable. The Company performs a regular review of its customers’ payment histories and associated credit risks and it does not require collateral from its customers. Certain contracts with advertising agencies contain sequential liability provisions, whereby the agency does not have an obligation to pay the Company until payment is received from the agency’s customers. In these circumstances, the Company evaluates the credit worthiness of the agency’s customers, in addition to the agency itself. The following are changes in the allowance for doubtful accounts during 2015, 2014 and 2013, respectively. Years Ended December 31, 2015 2014 2013 Balances at beginning of year $ 989 $ 417 $ 277 Additions to expense or against goodwill 1,652 821 359 Write-offs and other deductions (453 ) (249 ) (219 ) Balances at end of year $ 2,188 $ 989 $ 417 From time to time, the Company provides credits to customers and an allowance is made based on historical credit activity. As of December 31, 2015 and 2014, the Company recorded an allowance for potential customer credits in the amount of $2,274 and $508, respectively. Property and Equipment Property and equipment are stated at historical cost less accumulated depreciation and amortization. Depreciation and amortization are computed using the straight-line method over the estimated useful lives of the related assets. The useful lives of the property and equipment are as follows: Computer equipment 3 to 5 years Office equipment, furniture and fixtures 3 to 5 years Software 3 years Leasehold improvements Shorter of useful life or lease term Upon retirement or sale, the cost and related accumulated depreciation are removed from the balance sheet and the resulting gain or loss is reflected in operations. Major additions and improvements are capitalized while repairs and maintenance that do not extend the life of the asset are charged to operations as incurred. Depreciation and amortization expense is allocated to both cost of revenues and operating expenses. Internally Developed Software Costs incurred in the development phase are capitalized and amortized over the product’s estimated useful life, which is three years. The Company expenses all costs incurred that relate to planning and post implementation phases of development. Capitalized costs related to internally developed software under development are treated as construction in progress until the program, feature or functionality is ready for its intended use, at which time amortization commences. For 2015, 2014 and 2013, the Company capitalized $5,568, $3,146, and $3,216 of costs related to internally developed software, respectively. Amortization of capitalized costs related to internally developed software was $2,550, $1,905, and $1,156 for 2015, 2014 and 2013, respectively. As of December 31, 2015 and 2014, unamortized internally developed software costs totaled $8,495 and $5,476, respectively. Amortization of internally developed software is reflected in cost of revenues. Costs associated with minor enhancements and maintenance are expensed as incurred. Goodwill, Intangible Assets and Impairment Assessments Goodwill represents the excess of the purchase price in a business combination over the fair value of net tangible and intangible assets acquired. Intangible assets that are not considered to have an indefinite useful life are amortized over their useful lives, which range from two to six years. Estimated remaining useful lives of purchased intangible assets are evaluated to assess whether events or changes in circumstances warrant a revision to the remaining periods of amortization. In addition, the Company performs an annual goodwill impairment test during the fourth quarter of the Company’s fiscal year, and more frequently if an event or circumstances indicates that impairment may have occurred. For the purposes of impairment testing, the Company has determined that it has one reporting unit. The Company performs a two-step impairment test of goodwill whereby the fair value of the reporting unit is compared to its carrying value. If the fair value of the reporting unit exceeds the carrying value of the net assets assigned to that unit, goodwill is not considered impaired and further testing is not required. If the carrying value of the net assets assigned to the reporting unit exceeds the fair value of the reporting unit, then the Company must perform the second step of the impairment test in order to determine the implied fair value of the reporting unit’s goodwill. If the carrying value of a reporting unit’s goodwill exceeds its implied fair value, then impairment loss equal to the difference is recorded. The identification and measurement of goodwill impairment involves the estimation of the fair value of the Company. The estimate of fair value of the Company, based on the best information available as of the date of the assessment, is subjective and requires judgment, including management assumptions about expected future revenue forecasts and discount rates, changes in the overall economy, trends in the stock price and other factors. Impairment of Long-Lived Assets The Company evaluates long-lived assets, excluding goodwill, for potential impairment whenever adverse events or changes in circumstances or business climate indicate that expected undiscounted future cash flows related to such long-lived assets may not be sufficient to support the net book value of such assets. An impairment exists when the carrying value of a long-lived asset exceeds its fair value. An impairment loss is recognized only if the carrying value of a long-lived asset is not recoverable and exceeds its fair value. The carrying value of a long-lived asset is not recoverable if it exceeds the sum of the undiscounted cash flows expected to result from the use and eventual disposition of the asset. There were no such impairment losses during 2015, 2014 or 2013. Operating Leases The Company’s operating lease agreements include provisions for tenant improvement allowances, certain rent holidays and escalations in the base price of the rent payment. The Company defers tenant improvement allowances and amortizes the balance as a reduction to rent expense over the lease term. The Company records rent holidays and rent escalations on a straight-line basis over the lease term. Deferred rent is included in accrued expenses and other current liabilities, as well as other long-term liabilities in the accompanying consolidated balance sheets. Freestanding Preferred Stock Warrants Upon the consummation of the Company’s IPO, freestanding warrants related to the Company’s convertible preferred stock converted into warrants to purchase common stock. The preferred stock warrants were classified as liabilities on the Company’s consolidated balance sheet. Upon conversion, the liability recorded for the preferred stock warrants was reclassified to additional paid-in capital. When classified as liabilities, the preferred stock warrants were subject to reassessment at each balance sheet date, and any change in fair value was recognized as a component of other income (expenses), net. The Company adjusted the liability for changes in fair value until the preferred stock warrants were converted into warrants to purchase common stock. Revenue Recognition The Company generates revenues principally from subscriptions either directly with advertisers or with advertising agencies to its platform for the management of search, social and display advertising. The Company’s subscription agreements are generally one year or longer in length. The Company’s subscription fee under most contracts is variable based on the value of the advertising spend that the Company’s advertisers manage through the Company’s platform and is generally invoiced on a monthly basis. Contracts with direct advertisers and certain contracts with advertising agencies also include a minimum monthly fee that is payable over the duration of the contract. The Company’s customers do not have the right to take possession of the software supporting the application service at any time, nor do the arrangements contain general rights of return. The Company commences revenue recognition for both direct advertisers and advertising agencies when all of the following conditions are met: · persuasive evidence of an arrangement exists; · the Company’s platform is made available to the customer; · the fee is fixed or determinable, and; · collection is reasonably assured. The Company recognizes the total minimum fee for both direct advertisers and advertising agencies, where applicable, over the duration of the contract, commencing on the date that the Company’s platform is made available to the customer, provided revenues recognized do not exceed amounts that are invoiced and due. The variable fee, which is based on a percentage of the value of the advertising spend managed through the Company’s platform, is recognized once the amount is fixed or determinable, which is generally on a monthly basis concurrent with the issuance of the customer invoice. Signed contracts are used as evidence of an arrangement. The Company assesses collectability based on a number of factors such as past collection history with the customer and creditworthiness of the customer. Certain agreements with advertising agencies also contain sequential liability provisions, which provide that the agency has no obligation to pay the Company until the agency receives payment from its customers. In these circumstances, the Company evaluates the credit worthiness of the agency’s customers, in addition to the agency itself, to conclude whether or not collectability is reasonably assured. If the Company determines collectability is not reasonably assured, the Company defers the revenue recognition until collectability becomes reasonably assured. The Company applies the authoritative accounting guidance regarding revenue recognition for arrangements with multiple deliverables. Professional services and training, when sold with the Company’s platform subscription services, are accounted for separately when those services have standalone value. In determining whether professional services and training services can be accounted for separately from subscription services, the Company considers the following factors: availability of the services from other vendors; the nature of the services; the dependence of the subscription services on the customer’s decision to buy the professional services; and whether the Company sells the Company’s subscription services without professional services. If the deliverables have stand-alone value, the Company accounts for each deliverable separately and revenues are recognized for the respective deliverables as they are delivered. If one or more of the deliverables do not have stand-alone value, the deliverables that do not have stand-alone value are combined with the final deliverables within the arrangement and treated as a single unit of accounting. Revenues for arrangements treated as a single unit of accounting are recognized over the period of the contract commencing upon delivery of the final deliverable. As of December 31, 2015, the Company did not have stand-alone value for the professional services and training services. This is because the Company includes professional services and training services with the Company’s subscription services and those services are not available from other vendors. Cost of Revenues Cost of revenues primarily consists of costs related to hosting the Company’s cloud-based platform, providing implementation and ongoing customer support, data communications expenses, salaries and benefits of operations and support personnel, software license fees, costs associated with website development activities, allocated overhead, amortization expense associated with capitalized internally developed software and intangible assets and property and equipment depreciation. Stock-Based Compensation Expense Stock-based compensation expense is measured at grant date based on the fair value of the award and is expensed on a straight-line basis over the requisite service period. Fair values of stock option awards are determined on the date of grant using an option-pricing model. The Company has selected the Black-Scholes option pricing model to estimate the fair value of its stock option awards to employees and non-employees. In applying the Black-Scholes option pricing model, the Company’s determination of the fair value of the stock option award on the date of grant is affected by the Company’s fair value of its common stock, as well as assumptions regarding a number of subjective variables. These variables include, but are not limited to, the Company’s expected stock price volatility and the optionholders’ actual and projected stock option exercise and employment termination behaviors. For stock option awards with time-based vesting, the Company recognizes stock-based compensation expense over the requisite service period using the straight-line method, based on awards ultimately expected to vest. The Company estimates future forfeitures at the date of grant and revises the estimates, if necessary, in subsequent periods if actual forfeitures differ from those estimates. Restricted stock units (“RSUs”) are measured based on the fair market values of the underlying common stock on the dates of grant. Shares of common stock are issued on the vesting dates. For awards with time-based vesting, the Company recognizes stock-based compensation expense over the requisite service period using the straight-line method, based on awards ultimately expected to vest. The Company estimates future forfeitures at the date of grant and revises the estimates, if necessary, in subsequent periods if actual forfeitures differ from those estimates. Stock options issued to non-employees such as consultants are recorded at their fair value on the measurement date. The measurement of stock-based compensation is subject to periodic adjustment as the underlying equity instruments vest. The fair value of options granted to consultants is expensed when vested, and such vested outstanding options are recognized as liabilities on the accompanying consolidated balance sheets. Non-employee stock-based compensation expense was not material for all periods presented. See Note 12 for further information. Research and Development Research and development costs are expensed as incurred, except for certain internal software development costs, which may be capitalized as noted above. Research and development costs include salaries, stock-based compensation expense, benefits and other operating costs such as outside services, supplies and allocated overhead costs. Advertising and Promotion Advertising and promotional costs are expensed as incurred and included in sales and marketing expense in the accompanying consolidated statements of operations. Advertising and promotion expense totaled $1,000, $1,475, and $785 for 2015, 2014 and 2013, respectively. Foreign Currency For international subsidiaries whose functional currency is not the U.S. Dollar, we translate the monetary assets and liabilities of these subsidiaries to U.S. Dollars using rates of exchange in effect at the balance sheet date. Nonmonetary assets and liabilities are re-measured to U.S. Dollars using historical exchange rates, and other accounts are re-measured using average exchange rates in effect during each period presented. The effects of foreign currency translation adjustments are included in stockholders’ equity as a component of accumulated other comprehensive loss on the accompanying consolidated balance sheets, and related periodic movements are summarized as a line item in the consolidated statements of comprehensive loss. The Company records net gains and losses resulting from foreign exchange transactions as a component of other income (expenses), net. Aggregate foreign currency gains (losses) included in determining net loss were $256, $(490) and $(332) during 2015, 2014 and 2013, respectively. Income Taxes The Company accounts for income taxes using the asset and liability method. Under this method, deferred tax assets and liabilities are determined based on differences between the financial statement and tax basis of assets and liabilities and net operating loss and credit carryforwards using enacted tax rates in effect for the year in which the differences are expected to reverse. Valuation allowances are established when necessary to reduce deferred tax assets to the amounts expected to be realized. The Company accounts for unrecognized tax benefits using a more-likely-than-not threshold for financial statement recognition and measurement of tax positions taken or expected to be taken in a tax return. The Company establishes a liability for tax-related uncertainties based on estimates of whether, and the extent to which, additional taxes will be due. The Company records an income tax liability, if any, for the difference between the benefit recognized and measured and the tax position taken or expected to be taken on the Company’s tax returns. To the extent that the assessment of such tax positions changes, the change in estimate is recorded in the period in which the determination is made. The liability is adjusted in light of changing facts and circumstances, such as the outcome of a tax audit. The provision for income taxes includes the impact of liability provisions and changes to the liabilities that are considered appropriate. The Company recognizes interest and penalties related to unrecognized tax benefits as income tax expense. As the Company maintained a full valuation allowance against its deferred tax assets in the United States, the adjustments resulted in no additional tax expense in 2015. Based on the Company’s assessment of many factors, the Company does not expect that changes in the liability for unrecognized tax benefits for the next twelve months will have a material impact on the Company’s consolidated financial position or results of operations. Recent Accounting Pronouncements In November 2015, the Financial Accounting Standards Board (“FASB”) issued Accounting Standards Update (“ASU”) 2015-17, Income Taxes In September 2015, the FASB issued ASU 2015-16, Business Combinations In August 2014, the FASB issued ASU 2014-15, Disclosures of Uncertainties About an Entity’s Ability to Continue as a Going Concern In June 2014, the FASB issued ASU 2014-12, Accounting for Share-Based Payments When the Terms of an Award Provide That a Performance Target Could Be Achieved after the Requisite Service Period In May 2014, the FASB issued ASU 2014-09, Revenue from Contracts with Customers |