Summary of Significant Accounting Policies | Summary of Significant Accounting Policies Basis of Presentation The accompanying unaudited interim condensed consolidated financial statements and condensed footnotes have been prepared in accordance with generally accepted accounting principles in the United States of America (“U.S. GAAP”) and the applicable rules and regulations of the U.S. Securities and Exchange Commissions (the “SEC”) regarding unaudited interim financial information. In the opinion of management, the accompanying unaudited interim condensed consolidated financial statements reflect all normal recurring adjustments necessary for a fair presentation of the Company’s condensed consolidated balance sheets, statements of operations, comprehensive loss, changes in stockholders' equity, and cash flows for the interim periods presented. Certain information and footnote disclosures normally included in the consolidated financial statements in accordance with U.S. GAAP have been omitted in accordance with the rules and regulations of the SEC. Accordingly, these unaudited interim condensed consolidated financial statements and condensed footnotes should be read in conjunction with the consolidated financial statements and accompanying notes thereto included in the Company’s Form 10-K for the year ended December 31, 2018 filed with the SEC on March 19, 2019. Principles of Consolidation The unaudited interim condensed consolidated financial statements include the accounts of the Company and its wholly-owned subsidiaries. All significant inter-company balances and transactions have been eliminated in the accompanying unaudited interim condensed consolidated financial statements. Use of Estimates The preparation of the Company’s Condensed Consolidated Financial Statements in conformity with GAAP requires management to make estimates and assumptions that affect the amounts that are reported in the Condensed Consolidated Financial Statements and accompanying disclosures. Actual results could differ from those estimates. Cash and cash equivalents The Company considers cash deposits and all highly liquid investments with an original maturity of three months or less to be cash equivalents. The fair value of the Company’s cash and cash equivalents approximates their cost plus accrued interest because of the short-term nature of the instruments. Accounts Receivable The Company extends credit to customers and generally does not require any security or collateral. Accounts receivable are recorded at the invoiced amount. The Company carries its accounts receivable balances at net realizable value. Management evaluates the collectability of its accounts receivable balances on a periodic basis and determines whether to provide an allowance or if any accounts should be written down and charged to expense as bad debt. The evaluation is based on a past history of collections, current credit conditions, the length of time the account is past due and a past history of write-downs. An accounts receivable balance is considered past due if the Company has not received payments based on agreed-upon terms. Revenue Recognition The Company primarily generates revenue on a transactional basis where it is paid by a publisher each time an advertising impression is monetized on its platform based on a simple and transparent fee structure that the Company establishes with its publisher partners. The determination of whether revenue should be reported on a gross or net basis is based on an assessment of whether the Company is acting as the principal or an agent in the transaction. In determining whether the Company is acting as the principal or an agent, the Company followed the accounting guidance for principal-agent considerations. The determination of whether the Company is acting as a principal or an agent in a transaction involves judgment and is based on an evaluation of the terms of each arrangement, none of which are considered presumptive or determinative. For substantially all publisher transactions on the Company's platform, the Company reports revenue on a net basis as the Company determined that it acts as an agent for publishers and is the primary obligor in such transactions, given that: (1) another party is primarily responsible for fulfilling the contract and the Company does not have discretion in establishing prices and (2) the Company does not generally take on inventory risk. However, for certain transactions, the Company reports revenue on a gross basis, based primarily on its determination that the Company acts as the primary obligor in the delivery of advertising campaigns for buyers with respect to such transactions. Credit Facility The Company is party to a loan and security agreement, or credit facility, with Silicon Valley Bank, as lender. Pursuant to the credit facility, the Company can incur revolver borrowings up to the lesser of $25.0 million and a borrowing base equal to 80% of eligible accounts receivable. Any outstanding principal amounts borrowed under the credit facility must be paid at maturity. Interest accrues at a floating rate equal to the lender’s prime rate and is payable monthly. The Company is charged a fee of 0.35% of any unused borrowing capacity, which is payable quarterly. The credit facility also includes a letter of credit, foreign exchange and cash management facility up to the full amount of available credit. The credit facility matures in January 2020. While the Company had no outstanding borrowings under the credit facility as of June 30, 2019 and December 31, 2018 , the lender has issued standby letters of credit in favor of the landlords of our current and former headquarters and other office space totaling $3.6 million, which can be drawn down from amounts available under the credit facility. The credit facility contains customary conditions to borrowings, events of default and negative covenants, including covenants that restrict the Company's ability to dispose of assets, merge with or acquire other entities, incur indebtedness, incur encumbrances, make distributions to holders of its capital stock, make investments or engage in transactions with our affiliates. The Company is also subject to a financial covenant with respect to a minimum quick ratio, tested monthly, and Adjusted EBITDA for trailing periods which vary from three to twelve months, tested quarterly. Pursuant to an amendment to the credit facility, executed in November 2018, the Adjusted EBITDA covenant will only be tested if (i) the quick ratio falls below a certain threshold and (ii) unrestricted and unencumbered cash falls below $25.0 million. The Company's obligations under the credit facility are secured by substantially all of its assets other than its intellectual property, although the Company has agreed not to encumber any of its intellectual property without the lender’s prior written consent. Subject to certain exceptions, the Company is also required to maintain all of its cash and cash equivalents at accounts with the lender. The Company was in compliance with all covenants as of June 30, 2019 and through the date of this filing. Concentrations of Credit Risk Financial instruments that subject the Company to significant concentrations of credit risk consist primarily of cash and cash equivalents and accounts receivable. All of the Company’s cash and cash equivalents are held at financial institutions that management believes to be of high credit quality. The Company’s cash and cash equivalents may exceed federally insured limits at times. The Company has not experienced any losses on cash and cash equivalents to date. The Company determines collectability by performing ongoing credit evaluations and monitoring its customers’ accounts receivable balances. For new customers and their agents, which may be advertising agencies or other third parties, the Company performs a credit check with an independent credit agency and may check credit references to determine creditworthiness. The Company only recognizes revenue when collection is reasonably assured. During the three and six months ended June 30, 2019 , there were zero publishers that accounted for more than 10% of revenue. At June 30, 2019 , the top three Demand Side Platforms (DSPs), accounted for approximately 56% of accounts receivable in the aggregate. Legal Contingencies The Company is occasionally involved with various claims and litigation during the normal course of business. Reserves are established in connection with such matters when a loss is probable and the amount of such loss can be reasonably estimated. As of June 30, 2019 and December 31, 2018 , no reserves were recorded. The determination of probability and the estimation of the actual amount of any such loss are inherently unpredictable, and it is therefore possible that the eventual outcome of such claims and litigation could exceed the estimated reserves, if any. Based upon the Company’s experience, current information and applicable law, it generally does not believe it is reasonably probable that any proceedings or possible related claims will have a material effect on its financial statements. Regardless of the outcome, litigation can have an adverse impact on the Company because of defense and settlement costs, diversion of management resources and other factors. Stock-Based Compensation The Company accounts for stock-based compensation expense under FASB ASC 718, “Compensation—Stock Compensation,” which requires the measurement and recognition of stock-based compensation expense based on estimated fair values, for all stock-based payment awards made to employees, and FASB ASC 505-50, “Equity-Based Payments to Non-Employees,” which requires the measurement and recognition of stock-based compensation expense based on the estimated fair value of services or goods being received, for all stock-based payment awards made to other service providers and non-employees. The Company measures its stock-based payment awards based on its estimate of the fair value of such award using an option-pricing model, for stock option awards, and the fair value of the Company’s common stock on the date of grant, for restricted stock unit awards. The value of the portion of the award that is ultimately expected to vest is recognized as an expense over the requisite service periods in the Company’s consolidated statements of operations. The Company recognizes compensation expenses for the value of its stock-based payment awards, using the straight-line method, over the requisite service period of each of the awards, net of actual forfeitures.In the event of modification of the conditions on which stock-based payment awards were granted, an additional expense is recognized for any modification that increases the total fair value of the stock-based payment arrangement or is otherwise beneficial to the employee, other service provider or non-employee at the modification date. During the three months ended June 30, 2019, the Company modified certain stock awards, resulting in the recognition of stock-based compensation of $383 during the period. Recently Issued Accounting Pronouncements FASB Accounting Standards Update No. 2018-15 - Intangibles—Goodwill and Other— Internal-Use Software (Subtopic 350-40) In August 2018, Financial Accounting Standards Board, ("FASB") issued an Accounting Standards Update, ("ASU") No. 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. The amendments in this update align the requirements for capitalizing implementation costs incurred in a hosting arrangement that is a service contract with the requirements for capitalizing implementation costs incurred to develop or obtain internal-use software. The requirement is for public business entities to apply the guidance to annual reporting periods beginning after December 15, 2019 with early adoption permitted, including interim periods. The Company is currently evaluating the impact that the update will have on its condensed consolidated financial statements and related disclosures. FASB Accounting Standards Update No. 2018-13 - Fair Value Measurement (Topic 820) In August 2018, FASB issued ASU No. 2018-13 Fair Value Measurements (Topic 820): Disclosure Framework-Changes to the Disclosure Requirements for Fair Value Measurement. The amendments in the update modify the disclosure requirements on fair value measurements in Topic 820, including the removal, modification and additions of certain disclosure requirements for Level 3 fair value measurements and for transfers between Level 1 and Level 2 of the fair value hierarchy. The requirement is for all entities that are required to make disclosures about recurring or nonrecurring fair value measurements to apply the guidance to annual reporting periods beginning after December 15, 2019 with early adoption permitted for any modified or removed disclosures only. The Company does not believe adoption of this amendment will have a material impact on the Company's condensed consolidated financial statements and related disclosures. FASB Accounting Standards Update No. 2018-07 - Improvements to Nonemployee Share-Based Payment Accounting (Topic 718) In June 2018, FASB issued an ASU No. 2018-07 Compensation-Stock Compensation (Topic 718): Improvements to Nonemployee Share-Based Payment Accounting. The amendment simplifies the accounting for equity based payments to nonemployees by expanding the scope of Topic 718 to include nonemployees. Public business entities are required to apply the guidance to annual reporting periods beginning after December 15, 2018 with early adoption permitted, including interim periods. The Company has adopted this update with no material impact to the Company's condensed consolidated financial statements and related disclosures. FASB Accounting Standards Update No. 2018-02 - Income Statement - Reporting Comprehensive Income (Topic 220) In February 2018, FASB issued an ASU No. 2018-02 Income Statement - Reporting Comprehensive Income (Topic 220): Reclassification of Certain Tax Effects from Accumulated Other Comprehensive Income. The ASU allows a reclassification from accumulated other comprehensive income to retained earnings for stranded tax effects resulting from the Tax Cuts and Jobs Act. Public business entities are required to apply the guidance to annual reporting periods beginning after December 15, 2018 with early adoption permitted, including the interim periods. The Company adopted this update with no material impact to the Company's condensed consolidated financial statements and related disclosures. FASB Accounting Standards Update No. 2016-02 — Leases (Topic 842) In February 2016, the FASB issued ASU No. 2016-02, Leases, which clarifies and improves existing authoritative guidance related to leasing transactions. This ASU will require the recognition of lease assets and liabilities for operating leases with terms of more than 12 months. The presentation of leases within the consolidated statement of operations and cash flows will be substantially consistent with current accounting guidance. This update is effective for fiscal years beginning after December 15, 2018, with early adoption permitted. The Company implemented this guidance in the first quarter of 2019 using the modified retrospective transition method and will not restate comparative periods. Refer to note 9 - ASC 842 (Leases) for more information. |