Basis of Presentation and Summary of Significant Accounting Policies | Basis of Presentation and Summary of Significant Accounting Policies Fiscal Year The Company’s fiscal year ends on December 31. References to fiscal year 2021, for example, refer to the fiscal year ended December 31, 2021. Basis of Presentation The accompanying consolidated financial statements have been prepared in accordance with generally accepted accounting principles in the United States of America (“GAAP”). The accompanying consolidated financial statements include the accounts of PubMatic, Inc. and its wholly-owned subsidiaries. All intercompany accounts and transactions have been eliminated in consolidation. Use of Estimates The preparation of the consolidated financial statements in conformity with GAAP requires management to make estimates and assumptions that affect the amounts of assets and liabilities reported, disclosures about contingent assets and liabilities, and reported amounts of revenue and expenses. Significant items subject to such estimates include: revenue recognition criteria, including the determination of revenue reporting as net versus gross in the Company’s revenue arrangements, internal use software development costs, stock-based compensation, and income taxes, including the valuation reserve on deferred tax assets. The Company evaluates its estimates and assumptions on an ongoing basis using historical experience and other factors and adjusts those estimates and assumptions when facts and circumstances dictate. Actual results could materially differ from those estimates and assumptions. Due to the inherent uncertainty involved in making assumptions and estimates, events and changes in circumstances arising after December 31, 2021, including those resulting from the impacts of the COVID-19 pandemic, may result in actual outcomes that differ from those contemplated by the Company’s assumptions and estimates. Concentration of Credit Risk Financial instruments that potentially subject the Company to concentration of credit risk consist principally of cash and cash equivalents, marketable securities, and accounts receivable. The Company maintains its cash and cash equivalents with financial institutions in amounts which exceed Federal Deposit Insurance Corporation limits. The Company’s investment policy limits investments to certain types of securities issued by the U.S. government and its agencies and institutions with investment-grade credit ratings and places restrictions on maturities and concentration by type and issuer. The primary objective of its investment activities is to preserve principal while maximizing income without significantly increasing risk. Cash and Cash Equivalents The Company considers all highly liquid investments with an original maturity at the date of purchase of three months or less to be cash equivalents. Marketable Securities The Company classifies marketable securities as available-for-sale at the time of purchase and reevaluates such classification at each balance sheet date. The Company may sell these securities at any time for use in current operations even if they have not yet reached maturity. As a result, the Company classifies its marketable securities, including those with maturities beyond twelve months, as current assets in the consolidated balance sheets. These marketable securities are carried at fair value and unrealized gains and losses are recorded in other comprehensive income, which is reflected as a component of stockholders’ equity. These marketable securities are assessed as to whether those with unrealized loss positions are other than temporarily impaired. The Company considers impairments to be other than temporary if they are related to deterioration in credit risk or if it is likely the securities will be sold before the recovery of their cost basis. Realized gains and losses from the sale of marketable securities and declines in value deemed to be other than temporary are determined based on the specific identification method. Realized gains and losses, and any expected credit losses, are reported in other income (expense), net in the consolidated statements of operations and comprehensive income. Fair Value of Financial Instruments Financial instruments consist of cash equivalents, marketable securities, accounts receivable, equity investment, accounts payable, and accrued liabilities. Cash equivalents, marketable securities and equity investment are remeasured at fair value at the end of every period. Accounts receivable, accounts payable and accrued liabilities are stated at their carrying value, which approximates fair value due to the short time to the expected receipt or payment. Accounts Receivable and Allowance for Credit Losses (formerly Allowance for Doubtful Accounts) Accounts receivable are recorded at the invoiced amount, are unsecured, and do not bear interest. The allowance for credit losses is based on the best estimate of the amount of probable credit losses in existing accounts receivable. The allowance for credit losses is determined based on historical collection experience and the review in each period of the status of the then outstanding accounts receivable, while taking into consideration current customer information, collection history, and other relevant data. The Company reviews the allowance for credit losses on a quarterly basis. Account balances are written off against the allowance when the Company believes it is probable the receivable will not be recovered. The following table presents the changes in the allowance for credit losses (in thousands): December 31, 2021 2020 2019 Allowance for credit losses, beginning balance $ 1,989 $ 2,051 $ 1,784 Provision — 319 3,557 Write-offs (224) (381) (3,290) Allowance for credit losses, ending balance $ 1,765 $ 1,989 $ 2,051 Property and Equipment Property and equipment, including leasehold improvements, are stated at cost, less accumulated depreciation and amortization. Depreciation is computed using the straight-line method over the estimated useful lives of the related assets, generally three years. Leasehold improvements are amortized on a straight-line basis over the shorter of the estimated useful lives of the assets or the remaining lease term. Internal Use Software Development Costs The Company capitalizes certain internal use software development costs associated with creating and enhancing internal use software related to its platform and technology infrastructure. These costs include personnel and related employee benefits expenses for employees who are directly associated with and who devote time to software projects, and external direct costs of materials and services consumed in developing or obtaining the software. Software development costs that do not meet the criteria for capitalization are expensed as incurred and recorded in technology and development expenses in the consolidated statements of operations and comprehensive income. Software development activities generally consist of three stages, (i) the planning stage, (ii) the application and infrastructure development stage, and (iii) the post implementation stage. Costs incurred in the planning and post implementation stages of software development, including costs associated with the post configuration training and repairs and maintenance of the developed technologies, are expensed as incurred. The Company capitalizes costs associated with software developed for internal use when both the preliminary project stage is completed and management has authorized further funding for the completion of the project. Costs incurred in the application and infrastructure development stages, including significant enhancements and upgrades, are capitalized. Capitalization ends once a project is substantially complete and the software and technologies are ready for their intended purpose. Internal use software development costs are amortized using a straight-line method over the estimated useful life of two Impairment of Long-Lived Assets The Company continually monitors events and changes in circumstances that could indicate that carrying amounts of its long-lived assets, including property and equipment and intangible assets may not be recoverable. When such events or changes in circumstances occur, the Company assesses the recoverability of long-lived assets by determining whether the carrying value of such assets will be recovered through their undiscounted expected future cash flows. If the future undiscounted cash flows are less than the carrying value of these assets, the Company recognizes an impairment loss based on the excess of the carrying value over the fair value of the assets. Goodwill Goodwill represents the excess of the aggregate fair value of the consideration transferred in a business combination over the fair value of the assets acquired, net of liabilities assumed. The Company tests for impairment of goodwill annually during the fourth quarter or more frequently if events or changes in circumstances indicate that the goodwill may be impaired. Events or changes in circumstances which could trigger an impairment review include a significant adverse change in legal factors or in the business climate, an adverse action or assessment by a regulator, unanticipated competition, a loss of key personnel, significant changes in the manner of the Company’s use of the acquired assets, or the strategy for the Company’s overall business, significant negative industry or economic trends, or significant underperformance relative to expected historical or projected future results of operations. The Company has not recorded any goodwill impairment to date. Equity Investment Prior to December 2021, the Company accounted for investment in non-marketable equity securities that it does not exercise significant influence using the measurement alternative in accordance with Accounting Standards Update 2016-01. Under the measurement alternative, the carrying value is measured at cost, less any impairment, plus or minus changes resulting from observable price changes in orderly transactions for identical or similar investments of the same issuer. Adjustments are determined primarily based on a market approach as of the transaction date. During December 2021, an observable transaction occurred for such investment driven by a merger with a company registered with the U.S. Securities and Exchange Commission (SEC) and determined to have an active market. Therefore, the investment has readily determinable and observable fair value as of December 31, 2021 with realized and unrealized gains and losses included in Other (income) expense, net. The Company classifies its equity investment as Other assets, non-current on the Consolidated Balance Sheets. Revenue Recognition The Company recognizes revenue through the following steps: • Identification of a contract with a customer; • Identification of the performance obligations in the contract; • Determination of the transaction price; • Allocation of the transaction price to the performance obligations in the contract; and • Recognition of revenue when or as the performance obligations are satisfied. The Company refers to its publishers, app developers, and channel partners collectively as its publishers. The Company generates revenue through the monetization of publisher ad impressions on its platform. The Company’s platform allows publishers to sell, in real time, ad impressions to buyers and provides automated inventory management and monetization tools to publishers across various device types and digital ad formats. The Company charges publishers a fee, which is typically a percentage of the value of the ad impressions monetized through the Company’s platform. The Company maintains agreements with each publisher and buyer in the form of written service agreements, which set out the terms of the relationship, including payment terms (typically ninety days or less) and access to its platform. The Company invoices buyers for publisher digital advertising inventory purchased through its platform. The Company recognizes revenue when a bid is won and a buyer purchases inventory on its platform. The Company estimates and records reductions to revenue for rebates related to supply path optimization agreements based on expected volumes during the incentive term. The determination as to whether revenue should be reported gross of amounts billed to buyers (gross basis) or net of payments to publishers (net basis) requires significant judgment, and is based on the Company’s assessment of whether it is acting as the principal or an agent in the transaction. The Company has determined that it does not act as the principal in the purchase and sale of digital advertising inventory because it does not control the advertising inventory and it does not set the price which is the result of an auction within the marketplace. Based on these and other factors, the Company reports revenue on a net basis. The Company generally invoices buyers at the end of each month for the full purchase price of ad impressions monetized in that month. Accounts receivable are recorded at the amount of gross billings for the amounts it is responsible to collect, and accounts payable are recorded at the net amount payable to publishers. Accordingly, both accounts receivable and accounts payable appear large in relation to revenue reported on a net basis. Cost of Revenue Cost of revenue consists primarily of data center co-location costs, depreciation expense related to hardware supporting the Company’s platform, amortization expense related to capitalized internal use software development costs, personnel costs, and allocated facilities costs. Personnel costs include salaries, bonuses, stock- based compensation, and employee benefit costs, and are primarily attributable to the Company’s network operations group which maintains the Company’s servers and the Company’s client operations group, which is responsible for integration of new publishers and buyers and providing customer support for existing customers. Technology and Development Costs Technology and development expenses consist primarily of personnel costs, including salaries, bonuses, stock-based compensation, and employee benefits costs, allocated facilities costs, and professional services. These expenses include costs incurred in the development, implementation and maintenance of internal use software, including platform and related infrastructure. Technology and development costs are expensed as incurred, except to the extent that such costs are associated with internal use software development that meets the criteria for capitalization. The Company amortizes internal use software development costs that relate to its revenue producing activities on its platform to cost of revenue. Advertising Costs Advertising costs are expensed as incurred and are included in sales and marketing expenses. The Company’s advertising costs recorded during the years ended December 31, 2021, 2020 and 2019 were $0.5 million, $0.5 million and $0.3 million, respectively. Stock-Based Compensation Stock-based compensation expense related to stock awards, including stock options, restricted stock units (“RSUs”), and the employee stock purchase plan (the “ESPP”), is measured based on the fair value of the awards granted and recognized as an expense on a straight-line basis over the requisite service period. The fair value of each option and ESPP award is estimated on the grant date using the Black-Scholes option pricing model. The Black-Scholes option pricing model requires the input of highly subjective assumptions, including the fair value of the underlying common stock, the expected term of the award, the expected volatility of the price of our common stock, risk-free interest rates, and the expected dividend yield of our common stock. The fair value of each RSA and RSU award is based on the fair value of the underlying common stock as of the grant date. The assumptions used to determine the fair value of the stock awards represent management’s best estimates. These estimates involve inherent uncertainties and the application of management’s judgment. We account for forfeitures as they occur instead of estimating the number of awards expected to be forfeited. For additional information regarding stock-based compensation and the assumptions used for determining the fair value of stock options and ESPP awards, refer to Note 10—Stockholders’ Equity and Equity Incentive Plans. Foreign Currency Translation The functional currency of the Company’s foreign subsidiaries is the U.S. dollar. Accordingly, all monetary assets and liabilities of these subsidiaries are remeasured at the current exchange rate at each balance sheet date, nonmonetary assets and liabilities are measured at historical rates, and revenue and expenses are remeasured at average exchange rates during the period. Transaction gains and losses are included in other income (expense), net in the accompanying consolidated statements of operations and comprehensive income. The Company’s net foreign currency (gain) losses recorded during the years ended December 31, 2021, 2020 and 2019 were $0.1 million, $0.6 million, and $0.4 million respectively. Comprehensive Income Comprehensive income is composed of two components: net income and other comprehensive gain (loss). The Company’s changes in unrealized gains and losses on available-for-sale marketable securities represent the components of other comprehensive gain (loss) that are excluded from the reported net income. Income Taxes The Company utilizes the asset and liability method under which deferred tax assets and liabilities arise from the temporary differences between the tax basis of an asset or liability and its reported amount in the consolidated financial statements, as well as from net operating loss and tax credit carryforwards. Deferred tax amounts are determined by using the tax rates expected to be in effect when the taxes will actually be paid or refunds received, as provided for under currently enacted tax law. A valuation allowance is established when necessary to reduce deferred tax assets to the amount expected to be realized. The Company recognizes the tax benefit from an uncertain tax position only if it is more likely than not that the tax position will be sustained on examination by the taxing authorities, based on the technical merits of the position. The tax benefits recognized in the consolidated financial statements from such positions are then measured based on the largest benefit that has a greater than 50% likelihood of being realized. The Company recognizes interest and penalties related to income tax matters as income tax expense. Segment Information Operating segments are components of an enterprise for which separate financial information is available and is evaluated regularly by the Company’s chief operating decision maker in deciding how to allocate resources and assessing performance. The Company’s chief operating decision maker is its Chief Executive Officer. The Chief Executive Officer reviews financial information presented on a consolidated basis, for purposes of allocating resources and evaluating financial performance. The Company has one business activity and there are no segment managers accountable for operations, operating results beyond revenue or gross profit, or plans for levels or components below the consolidated unit level. Accordingly, the Company has a single reporting segment. Concentration of Revenue and Accounts Receivable The Company defines its revenue concentration based on revenue recognized from individual publishers. For the years ended December 31, 2021, 2020 and 2019, one publisher represented 17%, 20% and 28% respectively, of the Company’s revenue. As of December 31, 2021, two buyers accounted for 29% and 19%, respectively, of accounts receivable. As of December 31, 2020, four buyers accounted for 33%, 14%, 13% and 11%, respectively, of accounts receivable. Net Income Per Share Attributable to Common Stockholders Basic and diluted net income per share attributable to Class A and Class B common stock is computed in conformity with the two-class method required for participating securities. The Company applies the two-class method to allocate earnings between common and other participating securities based on their participation rights. Prior to the conversion of preferred stock to common stock concurrent with the IPO in December 2020 and because the holders of the Company’s convertible preferred stock were entitled to participate in dividends, the Company allocated net income to common and preferred stock based on their respective rights to receive dividends, whether or not declared. Distributed and undistributed earnings allocated to participating securities are subtracted from net income in determining net income attributable to common stockholders. Basic net income per share is computed by dividing net income attributable to common stockholders by the weighted-average number of shares of our Class A and Class B common stock outstanding. The diluted net income per share attributable to common stockholders is computed by giving effect to all dilutive securities. Diluted net income per share attributable to common stockholders is computed by dividing the resulting net income attributable to common stockholders by the weighted-average number of fully diluted common shares outstanding. During the periods when there is a net loss attributable to common stockholders, potentially dilutive common stock equivalents have been excluded from the calculation of diluted net loss per share attributable to common stockholders as their effect is anti-dilutive. Recently Adopted Accounting Pronouncements In February 2016, the FASB issued ASU 2016-02, Leases (Topic 842), to increase transparency and comparability among organizations related to their leasing arrangements. This comprehensive new standard amends and supersedes existing lease accounting guidance and is intended to increase transparency and comparability among organizations by recognizing right-of-use (ROU) lease assets and lease liabilities on the balance sheet and requiring disclosure of key information about leasing arrangements. Lease expense continues to be recognized in a manner similar to legacy GAAP. The Company adopted the new lease standard on January 1, 2021 using the optional transition method to the modified retrospective approach. Under this transition provision, results for reporting periods beginning on January 1, 2021 are presented under Topic 842, while prior period amounts continue to be reported and disclosed in accordance with the Company’s historical accounting treatment under ASC Topic 840, Leases . To reduce the burden of adoption and ongoing compliance with Topic 842, a number of practical expedients and policy elections are available under the new guidance. The Company elected the "package of practical expedients" permitted under the transition guidance, which among other things, did not require reassessment of whether contracts entered into prior to adoption are or contain leases, and allowed carryforward of the historical lease classification for existing leases. The Company has not elected to adopt the “hindsight” practical expedient, and therefore will measure the ROU asset and lease liability using the remaining portion of the lease term at adoption on January 1, 2021. The Company made an accounting policy election under Topic 842 not to recognize right-of-use (ROU) assets and lease liabilities for leases with a term of twelve months or less. For all other leases, the Company recognizes ROU assets and lease liabilities based on the present value of lease payments over the lease term at the commencement date of the lease (or January 1, 2021 for existing leases upon the adoption of Topic 842). The ROU assets also include any initial direct costs incurred and lease payments made at or before the commencement date and are reduced by any lease incentives. The Company’s leases may include a non-lease component representing additional services transferred to the Company, such as common area maintenance for real estate. The Company made an accounting policy election to account for each separate lease component and the non-lease components associated with that lease component as a single lease component. As such, minimum lease payments include fixed payments for non-lease components within a lease agreement but exclude variable lease payments not dependent on an index or rate, such as common area maintenance, operating expenses, utilities, or other costs that are subject to fluctuation from period to period. Non-lease components that are variable in nature are recorded as variable lease expense in the period incurred. The Company uses its incremental borrowing rate to determine the present value of lease payments, as the Company’s leases do not have a readily determinable implicit discount rate. The incremental borrowing rate is the rate of interest the Company would have to pay to borrow on a collateralized basis over a similar term and amount in a similar economic environment. Judgement is applied in assessing factors such as Company-specific credit risk, lease term, nature and quality of the underlying collateral, currency, and economic environment in determining the incremental borrowing rate to apply to each lease. Adoption of Topic 842 resulted in the recording of ROU assets and lease liabilities related to the Company’s operating leases of approximately $2.8 million and $3.1 million, respectively, on January 1, 2021. The adoption of the new lease standard did not materially impact our consolidated net income or consolidated cash flows and did not result in a cumulative-effect adjustment to the opening balance of retained earnings. In June 2016, FASB issued ASU No. 2016-13, Financial Instruments – Credit Losses (Topic 326): Measurement of Credit Losses on Financial Instruments (ASU 2016-13). This update changes the accounting for recognizing impairments of financial assets, such that credit losses for certain types of financial instruments will be estimated based on expected losses. The update also modifies the impairment models for available-for-sale debt securities and for purchased financial assets with credit deterioration since their origination. The Company adopted ASU 2016-13 as of January 1, 2021. The standard did not have any material impact on its consolidated financial statements. In January 2017, the FASB issued ASU No. 2017-04, Intangibles—Goodwill and Other: Simplifying the Test for Goodwill Impairment (ASU 2017-04). ASU 2017-04 eliminates Step 2 from the goodwill impairment test which measures a goodwill impairment loss by comparing the implied fair value of a reporting unit’s goodwill with the carrying amount of that goodwill. Under ASU 2017-04, an entity should perform its annual or interim goodwill impairment test by comparing the fair value of the reporting unit with its carrying amount, and should recognize an impairment loss for the amount by which the carrying amount exceeds the reporting unit’s fair value, with the loss not exceeding the total amount of goodwill allocated to that reporting unit. The Company adopted ASU 2017-04 as of January 1, 2021. The standard did not have any material impact on its consolidated financial statements. In December 2019 the FASB issued ASU 2019-12—Simplifying the Accounting for Income Taxes (ASU 2019-12). ASU 2019-12 simplifies the accounting for income taxes by removing certain exceptions to general principles in Topic 740 and clarifies and amends existing guidance for clarity and consistent application.The Company adopted ASU 2019-12 as of January 1, 2021. The standard did not have a material impact on the condensed consolidated financial statements and related disclosures. |