Summary of Significant Accounting Policies | 2. Summary of Significant Accounting Policies Liquidity The Company has incurred significant losses in each fiscal year since its incorporation in 2006, and management expects such losses to continue in the future. The Company incurred net losses of $ 12,944 and $ 14,051 for 2021 and 2020, respectively. As of December 31, 2021, the Company had an accumulated deficit of $ 304,107 . The Company had cash, cash equivalents and restricted cash of $ 47,057 as of December 31, 2021. Management expects to incur additional losses and experience negative operating cash flows in the future. The Company’s ability to achieve its business objectives and to continue to meet its obligations is dependent upon maintaining a certain level of liquidity, which could be impacted by several factors, including the extent of customer acceptance and adoption of its new MarinOne platform and other market conditions and the ongoing effects of the novel coronavirus (COVID-19) pandemic. The global outbreak of COVID-19 has disrupted economic markets and the full economic impact, duration, and spread of COVID-19 is uncertain at this time and difficult to predict considering the rapidly evolving landscape. Since mid-March 2020, some of the Company’s customers have reduced the amount of digital advertising spend that they manage using the Company’s products, which has had an adverse effect on the Company’s results of operations, and some of the Company’s customers have requested extended payment terms, reduced fees or fee waivers, early contract terminations and other forms of contract relief. Although the Company has pursued, and expects to continue to pursue, additional sources of liquidity, including additional equity and debt financing, there is no assurance that any additional financing will be available on acceptable terms, or at all. During the third quarter of 2020 , the Company commenced a restructuring plan that included a global reduction-in-force and other cost saving actions to reduce its operating expenses and address the impact of the COVID-19 pandemic on its business (the “2020 Restructuring Plan”). The 2020 Restructuring Plan is expected to ultimately result in the reduction of the Company’s global workforce by approximately 60 employees, approximately half of which are located outside of the United States. The planned workforce reductions were substantially completed during 2020. The Company’s ability to continue as a going concern is substantially dependent upon its ability to improve customer retention rates, increase new bookings, and further reduce its expenses. In May 2020, the Company entered into a loan agreement with Harvest Small Business Finance, LLC as the lender (“Lender”) for a loan in an aggregate principal amount of $ 3,320 (the “Loan”) pursuant to the Paycheck Protection Program (the “PPP”) under the Coronavirus Aid, Relief, and Economic Security (CARES) Act and implemented by the U.S. Small Business Administration (the “SBA”). An aggregate principal amount of $ 3,117 of the Loan was forgiven in January 2022 and the Company repaid the remaining outstanding balance of approximately $ 200 in February 2022. For the year ended December 31, 2020, the Company sold 2,726 shares of its common stock under this equity distribution agreement and received proceeds of $ 7,500 , net of offering costs of $ 463 , at a weighted average sales price of $ 2.92 per share. For the year ended December 31, 2019, the Company sold 658 shares of its common stock under this equity distribution agreement and received proceeds of $ 1,643 , net of offering costs of $ 210 , at a weighted average sales price of $ 2.82 per share. During February 2021, the Company sold an additional 1,186 shares of its common stock under the equity distribution agreement and received proceeds of $ 3,025 , net of offering costs of $ 157 , at a weighted average sales price of $ 2.68 per share. There are currently no additional amounts available to be sold under this equity distribution agreement. In July 2021, the Company entered into a new equity distribution agreement with JMP Securities under which it could sell shares of its common stock up to an aggregate gross sales price of $ 40,000 through an at-the-market offering program administered by JMP Securities. In July 2021, the Company sold 4,316 shares of its common stock under this July 2021 equity distribution agreement and received proceeds of $ 38,800 , net of offering costs of $ 1,200 , at a weighted average price of $ 9.27 per share, which exhausted all securities available for sale under this July 2021 equity distribution agreement. In August 2021, the Company filed a new shelf registration statement on Form S-3 with the SEC, which was declared effective by the SEC on August 19, 2021 and provides that the Company may offer its common stock, preferred stock, debt securities, warrants, subscription rights and units having an aggregate offering price of up to $ 100,000 . As part of this new 2021 registration statement, the Company entered into a third equity distribution agreement with JMP Securities and established a new $ 50,000 “at-the-market” securities offering facility, pursuant to which it may be able to issue and sell shares of its common stock. The Company has not yet sold any shares under this August 2021 equity distribution agreement and no assurances can be provided as to if or when the Company may be able to sell any shares or the terms of any such sales. In accordance with the SEC’s Instruction I.B.6 of Registration Statement on Form S-3, the Company is adjusting the maximum aggregate market value of the securities that may be sold pursuant to this current "at-the-market" securities offering facility from $ 50,000 to approximately $ 22,800 based on the estimated market capitalization of the Company on the date the Company files this Annual Report until such time when the Company is eligible to conduct such offering in accordance with Instruction I.B.1 of the Registration Statement on Form S-3. 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 revenue credits, the carrying value of long-lived assets, the useful lives of long-lived assets, and the accounting for income taxes. 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 negative cash flows; the highly competitive environment in which the Company operates; the ability to maintain and increase usage rates of the Company’s platform and the ability for the Company to increase demand for its solutions. Since March 2020, the Company has undertaken measures to protect its employees and customers in response to the COVID-19 pandemic. There can be no assurance that these measures will be effective, however, or that the Company can adopt them without adversely affecting its business operations. In addition, the COVID-19 pandemic has created and may continue to create significant uncertainty in global financial markets, which may decrease technology spending, depress demand for the Company’s platform and harm the Company’s business and results of operations. As of the date of issuance of these consolidated financial statements, the extent to which the COVID-19 pandemic may impact the Company’s financial condition, liquidity, or results of operations is uncertain. The Company is not aware of any specific event or circumstance that would require it to update its estimates, judgments or revise the carrying value of its assets or liabilities. These estimates may change, as new events occur and additional information is obtained, and are recognized in the consolidated financial statements as soon as they become known. Actual results could differ from those estimates and any such differences may be material to the Company’s financial statements. 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 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, 2021 and 2020 , accounts receivable from one long-term strategic agreement with Google (see Note 3) accounted for 39 % and 34 %, respectively, of the Company's total accounts receivable, net. Revenues, net from the same long-term strategic agreement accounted for 35 % and 31 % of tota l revenues, net for the years ended December 31, 2021 and 2020 , respectively. Cash and Cash Equivalents and Restricted Cash 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 have original maturity dates of less than three months from the date of their respective purchases. Cash equivalents were $ 44,930 and $ 12,386 as of December 31, 2021 and 2020, respectively. Restricted cash consists of deposits held with a financial institution to secure the Company’s non-cancelable leases for its corporate headquarters in San Francisco (see Note 11). Fair Value of Financial Instruments The Company’s financial instruments, including 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 outstanding lease liabilities approximates fair value as well. The Company’s note payable approximates fair value primarily due to its relatively short-term nature and lack of significant change in interest rates since it was funded. 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. Allowances 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 performs a regular review of its customers’ payment histories and associated credit risks and it generally does not require collateral from its customers. When collection of an outstanding balance is no longer probable, the Company will either partially or fully write-off the balance against the allowance for doubtful accounts. 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 for the periods presented. Years Ended December 31, 2021 2020 Balances at beginning of year $ 1,236 $ 1,559 Reductions to expense ( 131 ) ( 177 ) Write-offs and other deductions ( 319 ) ( 146 ) Balances at end of year $ 786 $ 1,236 From time to time, the Company provides revenue credits to customers. These typically relate to customer disputes and billing adjustments and are recorded as a reduction of revenues, net. Reserves for these revenue credits are accounted for as variable consideration under authoritative revenue recognition guidance (see Note 3) and are estimated based on historical credit activity. As of December 31, 2021 and 2020, the Company recorded an allowance for potential customer revenue credits in the amount of $ 131 and $ 437 , 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. 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. Development phase costs generally inc lude salaries and personnel costs and third-party contractor expenses associated with software development, configuration and coding. 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 2021 and 2020, the Company capitalized $ 1,290 and $ 1,869 of costs related to internally developed software, respectively. Amortization of capitalized costs related to internally developed software was $ 2,356 and $ 2,984 for 2021 and 2020, respectively. As of December 31, 2021 and 2020, unamortized internally developed software costs, including construction in progress, totaled $ 3,029 and $ 4,008 , respectively. Amortization of internally developed software is reflected in cost of revenues. Costs associated with minor enhancements and maintenance are expensed as incurred. 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 loss is recognized only if the carrying value of a long-lived asset or asset group is not recoverable and exceeds its fair value. The carrying value of a long-lived asset or asset group 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 in 2021 or 2020 . Leases The Company has operating leases for corporate offices worldwide and for space at a data center. Additionally, the Company leases computer equipment through various finance leases. New contractual arrangements are evaluated at inception to determine if the contract is or contains a lease. For any contracts that are or contain a lease, the Company determines the appropriate classification of each identified lease as operating or finance. For all identified leases, the Company records the related lease liabilities and right-of-use (“ROU”) assets based on the future minimum lease payments over the lease term, which only includes options to renew the lease if it is reasonably certain that the Company will exercise that option. For leases with original terms of 12 months or less, the Company recognizes the lease expense as incurred and does not recognize lease liabilities and ROU assets. Lease liabilities are measured based on the future minimum lease payments discounted over the lease term. The Company uses the discount rate implicit in the lease whenever that rate is readily determinable. For leases where no such rate is determinable, the Company uses its incremental borrowing rate, or the rate of interest that Company would have to pay to borrow an amount equal to the lease payments, on a collateralized basis over a similar term and in a similar economic environment. Current and non-current operating lease liabilities are presented on the consolidated balance sheet, while current finance lease liabilities are included in accrued expenses and other current liabilities, and non-current finance lease liabilities are included in other long-term liabilities on the consolidated balance sheets. ROU assets are measured based on the associated lease liabilities, adjusted for any lease incentives such as tenant improvement allowances. ROU assets for operating leases are presented as non-current assets on the consolidated balance sheet, while ROU assets for finance leases are included within property and equipment, net. For operating leases, the Company recognizes the expense for lease payments on straight-line basis over the lease term. See Note 11 for further discussion on the Company’s leases. 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 eCommerce advertising. The Company also generates revenues from strategic agreements with certain leading publishers. Under these strategic agreements, the Company receives consideration based on a percentage of the search advertising spend that customers manage on its platform. Revenues are recognized when control of these services is transferred to the Company’s customers, in an amount that reflects the consideration the Company expects to be entitled to in exchange for those services. See Note 3 for further discussion on the Company's revenues. 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, indirect 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. 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. Fair values of stock option awards are determined on the date of grant using the Black-Scholes option-pricing model. In applying this 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, actual and projected stock option exercise behaviors and risk-free interest rate. For stock option and RSU 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. See Note 9 and Note 10 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 consist of personnel costs, including salaries, stock-based compensation expense, benefits and bonuses, as well as non-personnel costs such as professional fees payable to third-party development resources, amortization of intangible assets 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 comprehensive loss. Advertising and promotion expense totaled $ 221 and $ 90 for 2021 and 2020 , respectively. Sales Taxes Sales and other taxes collected from customers and remitted to governmental authorities are presented on a net basis and thus excluded from revenues. Foreign Currency For international subsidiaries whose functional currency is not the U.S. Dollar, we re-measure 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 for eign exchange transactions as a component of other income, net. Aggregate foreign currency gains (losses) included in determining net loss were $( 21 ) and $( 21 ) for 2021 and 2020 , 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 uncertain tax positions 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 Company recognizes interest and penalties related to uncertain tax positions as income tax expense, though such amounts were no t material in 2021 or 2020. The Company does not expect that changes in the liability for uncertain tax positions for the next twelve months will have a material impact on the Company’s consolidated financial position or results of operations. Paycheck Protection Program (PPP) Loan The Company accounts for its PPP Loan as debt under the guidance in Accounting Standards Codification 470, Debt. As such, the outstanding amount is reflected as a note payable in the Company’s consolidated balance sheet, the proceeds are reflected under financing activities in the Company’s consolidated statement of cash flows and interest expense is accrued and recognized in the Company’s statement of operations. The forgiveness of a $ 3,117 of the PPP Loan amount in January 2022 will be reflected as a gain on debt extinguishment in the Company’s statement of operations. See also Note 7. Recently Adopted Accounting Pronouncements In December 2019, the Financial Accounting Standards Board, (“FASB”), issued Accounting Standards Update, (“ASU”) 2019-12, Income Taxes – Simplifying the Accounting for Income Taxes, which simplifies the accounting for income taxes by clarifying and amending existing guidance related to the recognition of franchise tax, the evaluation of a step-up in the tax basis of goodwill and the effects of enacted changes in tax laws or rates in the effective tax rate computation, among other clarifications. The Company adopted ASU 2019-12 on January 1, 2021 , and there was no material impact on its consolidated financial statements as a result of adoption. Recent Accounting Pronouncements Not Yet Effective In June 2016, the FASB issued ASU 2016-13, Financial Instruments – Credit Losses – Measurement of Credit Losses on Financial Instruments (Topic 326), which changes the impairment model for most financial assets and certain other financial instruments to require the use of a new forward-looking “expected loss” model that will generally result in earlier recognition of allowances for losses. This ASU will also require disclosure of more information related to these items. As the Company meets the SEC’s definition of a “smaller reporting company”, ASU 2016-13 is effective for annual periods beginning after December 15, 2022 and interim periods within those fiscal years, with early adoption permitted. The Company is currently assessing the impact this ASU will have on its consolidated financial statements. |