Summary of Significant Accounting Policies | Summary of Significant Accounting Policies There have been no material changes to the Company's significant accounting policies during the nine months ended September 30, 2019 , as compared to those disclosed in the Annual Report other than adoption of the new lease accounting standard effective January 1, 2019 (See Note 6, “Leases”). Use of Estimates The preparation of the consolidated financial statements in conformity with U.S. GAAP requires management to make estimates and judgments that affect the reported amounts of assets, liabilities, revenues and expenses and the disclosure of contingent assets and liabilities in the Company’s consolidated financial statements and accompanying notes as of the date of the consolidated financial statements. Some of those judgments can be subjective and complex, and therefore, actual results could differ materially from those estimates under different assumptions or conditions. Segment Reporting Operating segments are identified as components of an enterprise about which discrete financial information is available for evaluation by the chief operating decision-maker (CODM) in making decisions regarding resource allocation and assessing performance. The Company’s current product offering consists primarily of insulin pumps, disposable cartridges and infusion sets for the storage and delivery of insulin. The Company views its operations and manages its business as one segment as key operating decisions and resource allocations are made by the CODM using consolidated financial data. Accounts Receivable The Company grants credit to various customers in the ordinary course of business and is paid directly by customers who use the products, distributors and third-party insurance payors. The Company maintains an allowance for doubtful accounts for potential credit losses. Provisions are made based on historical experience, assessment of specific risk, review of outstanding invoices, and various assumptions and estimates that are believed to be reasonable under the circumstances. Uncollectible accounts are written off against the allowance after appropriate collection efforts have been exhausted and when it is deemed that a balance is uncollectible. Fair Value of Financial Instruments The Company believes the carrying amounts of cash and cash equivalents, accounts receivable, accounts payable, accrued expenses, and employee-related liabilities are reasonable estimates of their fair values because of the short-term nature of these assets and liabilities. Short-term investments are carried at fair value. The Company believes the fair value of its operating lease liabilities at September 30, 2019 approximated their carrying value, based on the borrowing rates that were available for loans with similar terms as of that date. The estimated fair value of certain of the Company’s common stock warrants was determined using a Black-Scholes pricing model as of September 30, 2019 and December 31, 2018 (see Note 5, “Fair Value Measurements”). Revenue Recognition Revenue is generated primarily from sales of insulin pumps, disposable cartridges and infusion sets to individual customers and third-party distributors that resell the products to insulin-dependent diabetes customers. In January 2018, the Company adopted the Revenue from Contracts with Customers Standard which superseded existing revenue guidance under U.S. GAAP and International Financial Reporting Standards. Pursuant to the Revenue from Contracts with Customers Standard’s core principle, subsequent to January 1, 2018, the Company recognizes revenue when it transfers promised goods or services to customers in an amount that reflects the consideration to which the Company expects to be entitled in exchange for those goods or services. The Company elected to implement this new standard utilizing the modified retrospective method. Under this approach, the Company applied the new standard to all new contracts initiated on or after the effective date, and for contracts which had remaining obligations as of the effective date the Company recorded an adjustment to the opening balance of accumulated deficit. The accounting for the significant majority of the Company’s revenues was not impacted by the new guidance. On January 1, 2018, the Company recorded a net reduction to accumulated deficit in the amount of $149,000 , to reflect the impact of the accounting change. Prior to the implementation of this new standard, revenue was recognized when persuasive evidence of an arrangement existed, delivery had occurred and title passed, the price was fixed or determinable, and collectability was reasonably assured. The Company considers the individual deliverables in its product offering as separate performance obligations. The transaction price is determined based on the consideration expected to be received, based either on the stated value in contractual arrangements or the estimated cash to be collected in non-contracted arrangements. The Company allocates the consideration to the individual performance obligations and recognizes the consideration based on when the performance obligation is satisfied, considering whether or not this occurs at a point in time or over time. Generally, insulin pumps, cartridges, infusion sets and accessories are deemed performance obligations that are satisfied at a point in time when the customer obtains control of the promised good, which is upon delivery, while access to the complementary products, such as the t:connect cloud-based data management application and the Tandem Device Updater, are considered performance obligations satisfied over the typical four-year warranty period of the insulin pumps. There is no standalone value for these complementary products. Therefore, the Company determines their value by applying the expected cost plus a margin approach and then allocates the residual to the insulin pumps. At September 30, 2019 and December 31, 2018 , $7.6 million and $3.8 million , respectively, were recorded as deferred revenue for these performance obligations that are satisfied over time. Additionally, the Company offers a 30 -day right of return to its customers from the date of shipment of any of its insulin pumps, provided a physician’s confirmation of the medical reason for the return is received. Estimated allowances for sales returns are based on historical returned quantities as compared to pump shipments in those same periods of return. The return rate is then applied to the sales of the current period to establish a reserve at the end of the period. The return rates used in the reserve are adjusted for known or expected changes in the marketplace when appropriate. The allowance for sales returns is recorded as a reduction of revenue and an increase in deferred revenue in the period in which the related sale is recorded. The amount recorded on the Company’s balance sheets for allowance for sales returns was $0.2 million and $0.3 million at September 30, 2019 and December 31, 2018 , respectively. Actual product returns have not differed materially from estimated amounts reserved in the accompanying condensed consolidated financial statements. Warranty Reserve The Company generally provides a four-year warranty on its insulin pumps to end user customers and may replace any pumps that do not function in accordance with the product specifications. Insulin pumps returned to the Company may be refurbished and redeployed. Additionally, the Company offers a six-month warranty on disposable cartridges and infusion sets. Estimated warranty costs are recorded at the time of shipment. Warranty costs are estimated based on the current expected product replacement cost and expected replacement rates based on historical experience. The Company evaluates the reserve quarterly and makes adjustments when appropriate. Changes to the actual replacement rates or the expected product replacement cost could have a material impact on the Company’s estimated warranty reserve. As of September 30, 2019 and December 31, 2018 , the warranty reserve was $16.1 million and $9.1 million , respectively. The following table provides a reconciliation of the change in product warranty liabilities from December 31, 2018 through September 30, 2019 (in thousands): Balance at December 31, 2018 $ 9,138 Provision for warranties issued during the period 13,790 Settlements made during the period (7,443 ) Increases in warranty estimates 607 Balance at September 30, 2019 $ 16,092 Current portion $ 5,963 Non-current portion 10,129 Total $ 16,092 Stock-Based Compensation Stock-based compensation cost is measured at the grant date based on the estimated fair value of the award, and the portion that is ultimately expected to vest is recognized as compensation expense over the requisite service period on a straight-line basis. The Company estimates the fair value of stock options issued under the Company’s Amended and Restated 2013 Stock Incentive Plan (2013 Plan), and the fair value of the employees’ purchase rights under the Company’s 2013 Employee Stock Purchase Plan (ESPP), using the Black-Scholes option-pricing model on the date of grant. The Black-Scholes option-pricing model requires the use of assumptions about a number of variables, including stock price volatility, expected term, dividend yield and risk-free interest rate. For awards that vest based on the achievement of service conditions, the Company recognizes expense using the straight-line method less estimated forfeitures based on historical experience. Net Loss Per Share Basic net loss per share is calculated by dividing the net loss by the weighted average number of shares of common stock that were outstanding for the period, without consideration of common stock equivalents. Diluted net loss per share is calculated in accordance with the treasury stock method and reflects the potential dilution that would occur if outstanding securities or other contracts to issue common stock were exercised or converted to common stock. Dilutive common stock equivalents are comprised of warrants, potential awards granted pursuant to the ESPP, and stock options outstanding under the Company’s equity incentive plans. For warrants that are recorded as a liability in the accompanying balance sheets, the calculation of diluted net loss per share requires that, to the extent the average market price of the underlying shares for the reporting period exceeds the exercise price of the warrants and the presumed exercise of the warrants is dilutive to loss per share for the period, an adjustment be made to net loss used in the calculation to remove the change in fair value of the warrants from the numerator for the period. Likewise, an adjustment to the denominator is required to reflect the related dilutive shares, if any, under the treasury stock method. For all periods presented other than the three months ended September 30, 2019, there is no difference in the number of shares used to calculate basic and diluted shares outstanding due to the Company’s net loss position. For the three months ended September 30, 2019, the net loss used in the calculation of diluted net loss per share was increased by $2.3 million to remove the decrease in fair value of common stock warrants based on the dilutive effect of assumed exercise, and the denominator was increased by 394,433 shares calculated under the treasury stock method. Potentially dilutive securities not included in the calculation of diluted net loss per share (because inclusion would be anti-dilutive) are as follows (in thousands, in common stock equivalent shares): Three Months Ended Nine Months Ended 2019 2018 2019 2018 Warrants to purchase common stock 293 710 710 710 Options to purchase common stock 6,234 5,155 5,868 3,031 Awards granted under the ESPP 134 61 45 24 6,661 5,926 6,623 3,765 Recent Accounting Pronouncements In June 2016, the Financial Accounting Standards Board (FASB) issued Accounting Standards Update (ASU) No. 2016-13, Financial Instruments – Credit Losses (Topic 326): Measurement of Credit Losses on Financial Instruments, which modifies the measurement and recognition of credit losses for most financial assets and certain other instruments. The new standard requires the use of forward-looking expected credit loss models based on historical experience, current conditions, and reasonable and supportable forecasts that affect the collectability of the reported amount, which may result in earlier recognition of credit losses under the new standard. The new standard also requires that credit losses related to available-for-sale debt securities be recorded as an allowance through net income (loss) rather than reducing the carrying amount under the current, other-than-temporary-impairment model. The standard is effective for public business entities for annual periods beginning after December 15, 2019, and interim periods within those years. The Company plans to implement the new standard in the first quarter of 2020, and is in the process of reviewing its credit loss models to assess the impact of the adoption of the standard on its consolidated financial statements. In August 2018, the FASB issued ASU No. 2018-13, Fair Value Measurement: Disclosure Framework – Changes to the Disclosure Requirements for Fair Value Measurement , which adds and modifies certain disclosure requirements for fair value measurements. Under the new guidance, entities will no longer be required to disclose the amount of and reasons for transfers between Level 1 and Level 2 of the fair value hierarchy, or valuation processes for Level 3 fair value measurements. However, public companies will be required to disclose the range and weighted average of significant unobservable inputs used to develop Level 3 fair value measurements, and related changes in unrealized gains and losses included in other comprehensive income. The updated guidance is effective for annual periods beginning after December 15, 2019, and interim periods within those periods, with early adoption permitted. The Company is in the process of assessing the impact of the adoption of the updated guidance on its consolidated financial statements, as well as whether to early adopt the new standard. In August 2018, the FASB issued ASU No. 2018-15, Customer's Accounting for Implementation Costs Incurred in a Cloud Computing Arrangement That Is a Service Contract , which changes the accounting for implementation costs incurred in a cloud computing arrangement that is a service contract. The updated guidance aligns the requirements for capitalizing implementation costs incurred in a hosting arrangement with the requirements for capitalizing implementation costs incurred to develop or obtain internal-use software. The implementation costs should be presented as a prepaid asset on the balance sheets and expensed over the term of the hosting arrangement. The updated guidance is effective for annual periods beginning after December 15, 2019, and interim periods within those periods, with early adoption permitted. The Company is in the process of assessing the impact of the adoption of the updated guidance on its consolidated financial statements. |