Organization and Significant Accounting Policies | 1. Organization and Significant Accounting Policies Organization and Business DexCom, Inc. is a medical device company focused on the design, development and commercialization of CGM system(s) for use by people with diabetes and by healthcare providers. Unless the context requires otherwise, the terms “we,” “us,” “our,” the “company,” or “DexCom” refer to DexCom, Inc. and its subsidiaries. Basis of Presentation and Principles of Consolidation The consolidated financial statements include the accounts of DexCom, Inc. and our wholly owned subsidiaries. All significant intercompany balances and transactions have been eliminated in consolidation. We have reclassified certain amounts previously reported in our financial statements to conform to the current presentation. The functional currencies of our international subsidiaries are generally the local currencies. We translate the financial statements of our foreign subsidiaries into U.S. dollars using period-end exchange rates for assets and liabilities and average exchange rates for each period for revenue, costs and expenses. We include translation-related adjustments in comprehensive income (loss) and in accumulated other comprehensive income in the equity section of our consolidated balance sheet. Gains and losses resulting from certain intercompany transactions as well as transactions with customers and vendors that are denominated in currencies other than the functional currency of each entity give rise to foreign exchange gains or losses that we record in interest and other income, net in our consolidated statements of operations. Use of Estimates The preparation of consolidated financial statements in conformity with U.S. generally accepted accounting principles, or GAAP, requires us to make certain estimates and assumptions that affect the amounts reported in our financial statements and the disclosures made in the accompanying notes. Areas requiring significant estimates include pharmacy rebates, transaction price, net accounts receivable, excess or obsolete inventories and the valuation of inventory, and accruals for litigation contingencies. Despite our intention to establish accurate estimates and use reasonable assumptions, actual results may differ from our estimates. Fair Value Measurements The authoritative guidance establishes a fair value hierarchy that is based on the extent and level of judgment used to estimate the fair value of assets and liabilities. In general, the authoritative guidance requires us to maximize the use of observable inputs and minimize the use of unobservable inputs when measuring fair value. An asset or liability’s categorization within the fair value hierarchy is based upon the lowest level of input that is significant to the measurement of its fair value. The three levels of input defined by the authoritative guidance are as follows: Level 1—Unadjusted quoted prices that are available in active markets for identical assets or liabilities. Level 2—Inputs other than quoted prices included in Level 1 that are observable, either directly or indirectly, through correlation with market data. These include quoted prices in active markets for similar assets or liabilities; quoted prices for identical or similar assets or liabilities in markets that are not active; and inputs to valuation models or other pricing methodologies that do not require significant judgment because the inputs used in the model, such as interest rates and volatility, can be corroborated by readily observable market data for substantially the full term of the assets or liabilities. Level 3—Unobservable inputs that are supported by little or no market activity and that are significant to the determination of fair value. Level 3 assets and liabilities include those whose fair values are determined using pricing models, discounted cash flow methodologies, or similar valuation techniques and significant judgment or estimation. We carry our marketable securities at fair value. We carry our other financial instruments, such as cash and cash equivalents, accounts receivable, prepaid expenses and other current assets, accounts payable and accrued liabilities, at cost, which approximates the related fair values due to the short-term maturities of these instruments. For more information see Note 3, “Fair Value Measurements.” Cash and Cash Equivalents We consider highly liquid investments with a maturity of 90 days or less at the time of purchase to be cash equivalents. Marketable Securities We have classified our marketable securities with remaining maturity at purchase of more than three months and remaining maturities of one year or less as short-term marketable securities. We have also classified marketable securities with remaining maturities of greater than one year as short-term marketable securities based upon our ability and intent to use any and all of those marketable securities to satisfy the liquidity needs of our current operations. We calculate realized gains or losses on our marketable securities using the specific identification method. We carry our marketable debt securities at fair value with unrealized gains and losses reported as a separate component of stockholders’ equity in our consolidated balance sheets and included in comprehensive income (loss) . Realized gains and losses on marketable debt securities are included in interest and other income, net in our consolidated statements of operations. We carry our marketable equity securities at fair value with realized and unrealized gains and losses reported in income on equity investments in our consolidated statements of operations. We invest in various types of debt securities, including debt securities in government-sponsored entities, corporate debt securities, U.S. Treasury securities and commercial paper. We do not generally intend to sell these investments and it is not more likely than not that we will be required to sell the investments before recovery of their amortized cost bases, which may be at maturity. See Note 3, “Fair Value Measurements” and Note 4, “Balance Sheet Details – Short-Term Marketable Securities ” for more information on our marketable debt securities and our marketable equity securities. Accounts Receivable and Allowance for Doubtful Accounts Accounts receivable are generally recorded at the invoiced amount for Distributors and at net realizable value for Direct customers, which is determined using estimates of claim denials and historical reimbursement experience without regard to aging category. Accounts receivable are not interest bearing. We evaluate the creditworthiness of significant customers and generally do not require collateral from our customers. We maintain an allowance for doubtful accounts for potential credit losses. Uncollectable accounts are written off against the allowance after appropriate collection efforts have been exhausted and when it is deemed that a customer account is uncollectable. Generally, receivable balances greater than one year past due are deemed uncollectable. Concentration of Credit Risk and Significant Customers Financial instruments which potentially subject us to concentrations of credit risk consist primarily of cash, cash equivalents, short-term marketable securities, and accounts receivable. We limit our exposure to credit risk by placing our cash and investments with high credit quality financial institutions. We have also established guidelines regarding diversification of our investments and their maturities that are designed to maintain principal and maximize liquidity. We review these guidelines periodically and modify them to take advantage of trends in yields and interest rates and changes in our operations and financial position. The following table sets forth the percentages of total revenue or gross accounts receivable for customers that represent 10% or more of the respective amounts for the periods shown: Revenue Gross Accounts Receivable Twelve Months Ended As of December 31, 2019 2018 2017 2019 2018 Distributor A 17 % 15 % 16 % 21 % 19 % Distributor B 12 % 12 % 14 % * 15 % Distributor C 10 % * * * * * Less than 10% Inventory Inventory is valued at the lower of cost or net realizable value on a part-by-part basis that approximates first in, first out. We record adjustments to inventory for potentially excess, obsolete or scrapped goods in order to state inventory at net realizable value. Factors influencing these adjustments include inventories on hand and on order compared to estimated future usage and sales for existing and new products, as well as judgments regarding quality control testing data and assumptions about the likelihood of scrap and obsolescence. Once written down the adjustments are considered permanent and are not reversed until the related inventory is sold or disposed of. Our products require customized products and components that currently are available from a limited number of sources. We purchase certain components and materials from single sources due to quality considerations, costs or constraints resulting from regulatory requirements. Property and Equipment Property and equipment is stated at cost less accumulated depreciation. We calculate depreciation using the straight-line method over the estimated useful lives of the assets. Estimated useful lives are generally three years for computer software and hardware, four to fifteen years for machinery and equipment, and five years for furniture and fixtures. Leasehold improvements are amortized over the shorter of the estimated useful lives of the assets or the remaining lease term. We include the amortization of assets that are recorded under finance leases in depreciation expense. We review property and equipment for impairment whenever events or changes in circumstances indicate that the carrying amount of an asset may not be recoverable. We estimate the recoverability of the asset by comparing the carrying amount to the future undiscounted cash flows that we expect the asset to generate. We estimate the fair value of the asset based on the present value of future cash flows for those assets. If the carrying value of an asset exceeds its estimated fair value, we would record an impairment loss equal to the difference. Goodwill We record goodwill when the fair value of consideration transferred in a business combination exceeds the fair value of the identifiable assets acquired and liabilities assumed. Goodwill and other intangible assets that have indefinite useful lives are not amortized, but we test them annually for impairment in the fourth quarter of our fiscal year and whenever events or changes in circumstances indicate that it is more likely than not that the fair value is less than the carrying value. Events that would indicate impairment and trigger an interim impairment assessment include, but are not limited to, current economic and market conditions, including a decline in market capitalization, a significant adverse change in legal factors, business climate or operational performance of the business, and an adverse action or assessment by a regulator. We perform our goodwill impairment analysis at the reporting unit level, which aligns with DexCom’s reporting structure and the availability of discrete financial information. We perform the first step of our annual impairment analysis by either comparing a reporting unit’s estimated fair value to its carrying amount or doing a qualitative assessment of a reporting unit’s fair value from the last quantitative assessment to determine if there is potential impairment. We may do a qualitative assessment when the results of the previous quantitative test indicated the reporting unit’s estimated fair value was significantly in excess of the carrying value of its net assets and we do not believe there have been significant changes in the reporting unit’s operations that would significantly decrease its estimated fair value or significantly increase its net assets. If a quantitative assessment is performed the evaluation includes management estimates of cash flow projections based on internal future projections and/or use of a market approach by looking at market values of comparable companies. Key assumptions for these projections include revenue growth, future gross margin and operating margin growth, and weighted cost of capital and terminal growth rates. The revenue and margin growth are based on increased sales of new and existing products as we maintain investments in research and development. Additional assumed value creators may include increased efficiencies from capital spending. The resulting cash flows are discounted using a weighted average cost of capital. Operating mechanisms and requirements to ensure that growth and efficiency assumptions will ultimately be realized are also considered in the evaluation, including the timing and probability of regulatory approvals for our products to be commercialized. We also consider DexCom’s market capitalization as a part of our analysis. If the estimated fair value of a reporting unit exceeds the carrying amount of the net assets assigned to that unit, goodwill is not impaired and no further analysis is required. If the carrying value of the net assets assigned to a reporting unit exceeds the estimated fair value of the unit, we perform the second step of the impairment test. In this step we allocate the fair value of the reporting unit calculated in step one to all of the assets and liabilities of that unit, as if we had just acquired the reporting unit in a business combination. The excess of the fair value of the reporting unit over the total amount allocated to the assets and liabilities represents the implied fair value of goodwill. If the carrying amount of a reporting unit’s goodwill exceeds its implied fair value, we would record an impairment loss equal to the difference. We recorded no goodwill impairment charges for the twelve months ended December 31, 2019 , 2018 or 2017 . The change in goodwill for the twelve months ended December 31, 2017 and December 31, 2019 consisted of translation adjustments on our foreign currency denominated goodwill. The change in goodwill for the twelve months ended December 31, 2018 consisted of goodwill we recorded for acquisitions that were not significant, individually or in the aggregate, and translation adjustments on our foreign currency denominated goodwill. Intangible Assets and Other Long-Lived Assets We amortize intangible assets with a finite life, such as acquired technology, customer relationships, trade names and trademarks, on a straight-line basis over their estimated useful lives, which range from two to five years. We review intangible assets that have finite lives and other long-lived assets for impairment whenever events or changes in circumstances indicate that the carrying amount of an asset may not be recoverable. We estimate the fair value of the asset based on the present value of future cash flows for those assets. If the carrying value of an asset exceeds its estimated fair value, we would record an impairment loss equal to the difference. Income Taxes We account for income taxes under the asset and liability method, which requires the recognition of deferred tax assets and liabilities for the expected future tax consequences of events that have been included in the financial statements. The effect of a change in tax rates on deferred tax assets and liabilities is recognized in income in the period that includes the enactment date. We recognize deferred tax assets to the extent that we believe that these assets are more likely than not to be realized, which requires significant judgment. The realization of deferred tax assets is dependent, in part, upon future taxable income. In assessing whether our deferred tax assets will be realized, we consider all available evidence, both positive and negative. Such evidence includes historical earnings, future reversals of existing taxable temporary differences, estimates of future taxable income, and the feasibility of ongoing tax planning strategies. We have recorded a full valuation allowance on our net deferred tax asset balances for all periods presented because of the uncertainty related to utilization of our deferred tax assets. We record uncertain tax positions in accordance with ASC 740 on the basis of a two-step process in which (1) we determine whether it is more likely than not that the tax positions will be sustained on the basis of the technical merits of the position and (2) for those tax positions that meet the more-likely-than-not recognition threshold, we recognize the largest amount of tax benefit that is more than 50 percent likely to be realized upon ultimate settlement with the related tax authority. We file federal and state income tax returns in the United States and income tax returns in various other foreign jurisdictions with varying statutes of limitations. Due to net operating losses incurred, our income tax returns from inception to date are subject to examination by taxing authorities. We recognize interest expense and penalties related to income tax matters, including unrecognized tax benefits, as a component of income tax expense. Warranty Accrual Estimated warranty costs associated with a product are recorded at the time revenue is recognized. We estimate future warranty costs by analyzing historical warranty experience for the timing and amount of returned product, and expectations for future warranty activity based on changes and improvements to the product or process that are in place or will be in place in the future. We evaluate these estimates on at least a quarterly basis to determine the continued appropriateness of our assumptions. Loss Contingencies If the potential loss from a claim or legal proceeding is considered probable and the amount can be reasonably estimated, we record a liability and an expense for the estimated loss and disclose it in our financial statements if it is significant. If we determine that a loss is possible and the range of the loss can be reasonably determined, then we disclose the range of the possible loss. Significant judgment is required in the determination of whether a potential loss is probable, reasonably possible, or remote as well as in the determination of whether a potential exposure is reasonably estimable. Comprehensive Income (Loss) Comprehensive income (loss) consists of two elements, net income (loss) and other comprehensive income (loss) . We report all components of comprehensive income (loss) , including net income (loss) , in our financial statements in the period in which they are recognized. Total comprehensive income (loss) is defined as the change in equity during a period from transactions and other events and circumstances from non-owner sources. We report net income (loss) and the components of other comprehensive income (loss) , including foreign currency translation adjustments and unrealized gains and losses on marketable securities, net of their related tax effect to arrive at total comprehensive income (loss) . Revenue Recognition We generate our revenue from the sale of our Reusable Hardware and disposable sensors, which we refer to in this section as “Components”. We adopted ASC Topic 606 effective January 1, 2018 using the modified retrospective method. Our revenue recognition policies under ASC Topic 606 are explained below. Policy elections and practical expedients taken • We report revenue net of taxes collected from customers, which are subsequently remitted to governmental authorities; • We account for shipping and handling activities that are performed after a customer has obtained control of a good as fulfillment costs rather than as separate performance obligations; • We do not assess whether promised goods or services are performance obligations if they are immaterial in the context of the contract with the customer; and • If we expect, at contract inception, that the period between the transfer of control and corresponding payment from the customer will be one year or less, we do not adjust the amount of consideration for the effects of a significant financing component. Contracts and performance obligations We consider customer purchase orders, which in most cases are governed by agreements with distributors or third-party payors, to be contracts with a customer. For each contract, we consider the obligation to transfer Components to the customer, each of which are distinct, to be separate performance obligations. We also provide free-of-charge software, mobile applications and updates for our DexCom Share ® remote monitoring system. The standalone selling prices of our free-of-charge software, mobile applications and updates are estimated based on an expected cost plus a margin approach. Transaction price Transaction price for the Components reflects the net consideration to which we expect to be entitled. Transaction price is typically based on the contracted rates less an estimate of claim denials and historical reimbursement experience by payor, which include current and future expectations regarding reimbursement rates and payor mix. Variable consideration Rebates. We estimate reductions for rebates based on contractual arrangements, estimates of products sold subject to rebate, known events or trends and channel inventory data. Product Returns. In accordance with the terms of their distribution agreements, most distributors do not have rights of return outside of our limited warranty. The distributors typically have a limited time frame to notify us of any missing, damaged, defective or non-conforming products. We generally provide a “ 30 -day money back guarantee” program whereby first-time end-user customers may return Reusable Hardware. Product returns have historically been immaterial. Revenue recognition The timing of revenue recognition is based on the satisfaction of performance obligations. Substantially all of the performance obligations associated with our Components are satisfied at a point in time, which typically occurs at shipment of our products. Terms of direct and distributor orders are generally Freight on Board (FOB) shipping point for U.S. orders or Free Carrier (FCA) shipping point for international orders. For certain of our distributors, control transfers at delivery of the product to the customer. In cases where our free-of-charge software, mobile applications and updates are deemed to be separate performance obligations, revenue is recognized over time on a ratable basis over the estimated life of the related hardware component. Our sales of Components include an assurance-type warranty. Judgments and Estimates In determining how revenue should be recognized, a five-step process is used, which requires judgment and estimates that can have a significant impact on the amount and timing of revenue we report. These judgments and estimates include identifying performance obligations in the contract, determining whether the performance obligations are separate, allocating the transaction price to each separate performance obligation, determining the timing of revenue recognition for separate performance obligations and estimating the amount of variable consideration to include in the transaction price. Contract balances Contract balances represent amounts presented in the consolidated balance sheets when either we have transferred goods or services to the customer or the customer has paid consideration to us under the contract. These contract balances include accounts receivable and deferred revenue. Payment terms vary by contract type and type of customer and generally range from 30 to 90 days. Accounts receivable as of December 31, 2019 included unbilled accounts receivable of $3.6 million . Unbilled accounts receivable consists of revenue recognized for Components we have delivered but not yet invoiced to customers. We expect to invoice and collect all unbilled accounts receivable within twelve months. We record deferred revenue when we have entered into a contract with a customer and cash payments are received or due prior to transfer of control or satisfaction of the related performance obligation. The table below shows revenue that we recognized as a result of changes in the contract liability balances in the periods shown. Twelve Months Ended (In millions) 2019 2018 Revenue recognized in the period from: Amounts included in contract liabilities at the beginning of the period $ 2.6 $ 1.9 Our performance obligations are generally satisfied within 12 months of the initial contract date. As of December 31, 2019 , the deferred revenue balance related to performance obligations that will be satisfied after 12 months was $2.1 million . and is included in other long-term liabilities on our consolidated balance sheets. As of December 31, 2018 , we had no deferred revenue balance related to performance obligations that will be satisfied after 12 months. Deferred cost of sales Deferred cost of sales are associated with sales for which revenue recognition criteria are not met but product has shipped and released from inventory. Deferred cost of sales are included in prepaid and other current assets in our consolidated balance sheets. Incentive compensation costs We generally expense incentive compensation associated with our internal sales force when incurred because the amortization period for such costs, if capitalized, would have been one year or less. We record these costs in selling, general and administrative expense in our consolidated statement of operations. Product Shipment Costs We record the amounts we charge our customers for the shipping and handling of our products in revenue and we record the related costs as cost of sales in our statements of operations. Research and Development We expense costs of research and development as we incur them. Our research and development expenses primarily consist of engineering and research expenses related to our continuous glucose monitoring technology, clinical trials, regulatory expenses, quality assurance programs, materials and products for clinical trials. Research and development expenses primarily consist of employee compensation, including salary, fringe benefits, share-based compensation, and temporary employee expenses. We also incur significant expenses to operate our clinical trials that include clinical site reimbursement, clinical trial product, and associated travel expenses. Our research and development expenses also include fees for design services, contractors, and development materials. Our CGM systems include certain software that we develop. We expense software development costs as we incur them until technological feasibility has been established, at which time we capitalize development costs until the product is available for general release to customers. To date, our software has been available for general release concurrent with the establishment of technological feasibility and, accordingly, we have not capitalized any development costs. Advertising Costs We expense advertising costs as we incur them to selling, general and administrative expenses. Advertising expense was $31.8 million , $25.4 million and $21.9 million for the twelve months ended December 31, 2019 , 2018 and 2017 , respectively. Leases We determine if an arrangement is a lease at inception. Lease right-of-use assets represent our right to use an underlying asset for the lease term and lease liabilities represent our obligation to make lease payments arising from the lease. Operating lease right-of-use assets and liabilities are recognized at commencement date based on the present value of lease payments over the lease term. The interest rate used to determine the present value of the future lease payments is our incremental borrowing rate, because the interest rate implicit in most of our leases is not readily determinable. Our incremental borrowing rate is estimated to approximate the interest rate on a collateralized basis with similar terms and payments, and in similar economic environments. The operating lease right-of-use asset also includes any lease payments made and excludes lease incentives. We have lease agreements with lease and non-lease components, which are generally accounted for separately. Our lease terms may include options to extend or terminate the lease when it is reasonably certain that we will exercise that option. Lease expense for lease payments is recognized on a straight-line basis over the lease term. Variable lease payments that do not depend on a rate or index, payments associated with non-lease components, and costs related to leases with terms of less than 12 months are expensed as incurred. Share-Based Compensation Share-based compensation expense is measured at the grant date based on the estimated fair value of the award and is recognized straight-line over the requisite service period of the individual grants, which typically equals the vesting period. We value time-based Restricted Stock Units (“RSUs”) at the date of grant using the intrinsic value method. Certain RSUs granted to senior management vest based on the achievement of pre-established performance or market goals. We estimate the fair value of performance/market-based RSUs at the date of grant using the intrinsic value method and the probability that the specified performance criteria will be met. We update our assessment of the probability that the specified performance criteria will be achieved each quarter and adjust our estimate of the fair value of the performance-based RSUs if necessary. The Monte Carlo methodology that we use to estimate the fair value of market-based RSUs at the date of grant incorporates into the valuation the possibility that the market condition may not be satisfied. Provided that the requisite service is rendered, the total fair value of the market-based RSUs at the date of grant must be recognized as compensation expense even if the market condition is not achieved. However, the number of shares that ultimately vest can vary significantly with the performance of the specified market criteria. If any of the assumptions used change significantly, share-based compensation expense may differ materially from what we have recorded in the current period. We account for forfeitures as they occur by reversing any share-based compensation expense related to awards that will not vest. Net Income (Loss) Per Share Basic net income (loss) per share attributable to common stockholders is calculated by dividing the net income (loss) attributable to common stockholders by the weighted-average number of common shares outstanding during the period. Diluted net income (loss) per share is computed using the weighted average number of common shares outstanding during the period and, when dilutive, potential common share equivalents. Potentially dilutive common shares consist of shares issuable from stock options, unvested RSUs, warrants and the 2022 and 2023 Senior Convertible Notes. Potentially dilutive common share equivalents shares from outstanding stock options, warrants and unvested RSUs are determined using the average share price for each period under the treasury stock method. Potentially dilutive shares issuable upon conversion of our 2022 and 2023 Senior Convertible Notes are determined using the if-converted method. The following table sets forth the computation of basic and diluted net income (loss) per share for the periods shown. Twelve Months Ended (In millions) 2019 2018 2017 Net income (loss) $ 101.1 $ (127.1 ) $ (50.2 ) Net income (loss) per common share Basic $ 1.11 $ (1.44 ) $ (0.58 ) Diluted $ 1.10 $ (1.44 ) $ (0.58 ) Basic weighted average shares outstanding 91.1 88.2 86.3 Dilutive potential common stock outstanding: Stock options and employee stock purchase plan — — — Restricted stock units 1.2 — — 2023 Warrants — — — 2022 senior convertible notes — — — 2023 senior convertible notes — — — Diluted weighted average shares outstanding 92.3 88.2 86.3 In periods of net losses, we exclude potentially dilutive common shares from the computation of the diluted net loss per share for those periods as the effect would be anti-dilutive. Outstanding anti-dilutive securities not included in the diluted net income (loss) per share attributable to common stockholders calculations were as follows: Twelve Months Ended (In millions) 2019 2018 2017 Options outstanding to purchase common stock — 0.1 0.4 Unvested restricted stock units 0.2 2.7 2.7 2023 Warrants 5.2 5.2 — Senior convertible notes due 2022 4.0 4.0 4.0 Senior convertible notes due 2023 5.2 |