Summary of Significant Accounting Policies | 2. Summary of Significant Accounting Policies Basis of Presentation These condensed consolidated financial statements have been prepared in accordance with U.S. GAAP. The condensed consolidated financial statements include the Company’s accounts and those of its wholly-owned subsidiaries. All intercompany accounts and transactions have been eliminated. Segments The chief operating decision maker for the Company is the Chief Executive Officer. The Chief Executive Officer reviews financial information presented on a consolidated basis, accompanied by information about revenue by geographic region, for purposes of allocating resources and evaluating financial performance. The Company has one business activity and there are no segment managers who are held accountable for operations, operating results or plans for levels or components below the consolidated unit level, other than revenue. Accordingly, the Company has determined that it has a single reportable and operating segment structure. The Company and its Chief Executive Officer evaluate performance based primarily on revenue in the geographic locations in which the Company operates. Revenue by geography is based on the billing address of the customer. The United States was the only country with revenue accounting for more than 10% of the total revenue in any of the periods presented, as follows: Three Months Ended Nine Months Ended September 30, September 30, 2018 2017 2018 2017 United States 83 % 81 % 82 % 80 % Long-lived assets and operating income located outside the United States are not material; therefore, disclosures have been limited to revenue. Foreign Currency Translation The Company’s consolidated financial statements are prepared in U.S. dollars (USD). Its foreign subsidiaries use their local currency as their functional currency and maintain their records in the local currency. Accordingly, the assets and liabilities of these subsidiaries are translated into USD using the current exchange rates in effect at the balance sheet date and equity accounts are translated into USD using historical rates. Revenues and expenses are translated using the monthly average exchange rates during the period when the transaction occurs. The resulting foreign currency translation adjustments from this process are recorded in accumulated other comprehensive income (loss) on the consolidated balance sheets. Unrealized foreign exchange gains and losses from the remeasurement of assets and liabilities denominated in currencies other than the functional currency of the reporting entity are recorded in other income (expense), net. Additionally, realized gains and losses resulting from transactions denominated in currencies other than the local currency are recorded in other income (expense), net in the condensed consolidated statements of operations and comprehensive loss. The Company recorded net unrealized and net realized foreign currency transaction gains (losses) during the periods presented as follows (in thousands): Three Months Ended Nine Months Ended September 30, September 30, 2018 2017 2018 2017 Net unrealized foreign currency gain (loss) $ (6 ) $ (223 ) $ (892 ) $ 1,092 Net realized foreign currency gain (loss) (75 ) 518 217 254 As the Company’s international operations grow, its risks associated with fluctuations in currency rates will become greater, and the Company will continue to reassess its approach to managing this risk. In addition, currency fluctuations or a weakening USD can increase the costs of the Company’s international expansion. To date, the Company has not entered into any foreign currency hedging contracts. Based on its current international structure, the Company does not plan on engaging in hedging activities in the near future. Use of Estimates The preparation of financial statements in accordance with U.S. GAAP requires management to make estimates and assumptions that affect the amounts reported in the condensed consolidated financial statements and accompanying notes. Significant accounting estimates and management judgments reflected in the condensed consolidated financial statements include items such as allowances for doubtful accounts; warranty obligations; clinical accruals; stock-based compensation; depreciation and amortization periods; inventory valuation; valuation of investments; and accounting for income taxes. Estimates are based on historical experience, where applicable, and other assumptions believed to be reasonable by the management. Actual results may differ from those estimates under different assumptions or conditions. Concentration of Credit Risk and Other Risks and Uncertainties Financial instruments that potentially subject the Company to a concentration of credit risk consist of cash, cash equivalents and investments. The majority of the Company’s cash is held by one financial institution in the United States and is in excess of federally insured limits. The Company maintained investments in money market funds that were not federally insured during the periods ended September 30, 2018 and December 31, 2017. The Company also held cash in foreign banks of approximately $3.4 million at September 30, 2018 and $4.5 million at December 31, 2017 that was not federally insured. The Company has not experienced any losses on its deposits of cash and cash equivalents. The Company’s convertible note hedge transactions, entered into in connection with the 2021 Notes, subject the Company to credit risk such that the counterparties may be unable to fulfill the terms of the transactions. The associated risk is mitigated by limiting the counterparties to major financial institutions. In the international markets in which the Company participates, the Company uses a combination of a direct sales force, sales agents and independent distributors to sell its products, while in the United States the Company utilizes a direct sales force. The Company performs ongoing credit evaluations of its direct customers and distributors, does not require collateral, and maintains allowances for potential credit losses on customer accounts when deemed necessary. During the three and nine months ended September 30, 2018 and 2017, no single customer accounted for 10% or more of the Company’s revenue. As of September 30, 2018 and December 31, 2017, no single customer accounted for 10% or more of the accounts receivable balance. The Company is subject to risks common to medical device companies, including, but not limited to, new technological innovations, dependence on key personnel, protection of proprietary technology, compliance with government regulations, product liability, manufacturing quality and scaling, continued reimbursement from third-party payors, There can be no assurance that the Company’s products or services will continue to be accepted in its existing marketplaces, nor can there be any assurance that any future products or services can be developed or manufactured at an acceptable cost and with appropriate performance characteristics, or that such products or services will be successfully marketed, if at all. The Company may choose to raise additional funds to further enhance its research and development efforts, for product expansion opportunities or to acquire a new business or products that are complementary to its business. There can be no assurance that such financing will be available or will be at terms acceptable by the Company. Fair Value of Financial Instruments The carrying amounts of certain of the Company’s financial instruments, including cash equivalents, short-term investments, accounts receivable, accounts payable and accrued liabilities, approximate fair value due to their relatively short maturities. Cash and Cash Equivalents The Company considers all highly-liquid investments purchased with an original maturity of three months or less at the date of purchase to be cash equivalents. Cash and cash equivalents include money market funds in the amount of $8.2 million and $30.3 million as of September 30, 2018 and December 31, 2017, respectively. At September 30, 2018 and December 31, 2017, the Company’s cash equivalents were held at institutions in the United States and include deposits in a money market fund which was unrestricted as to withdrawal or use. Restricted Cash Restricted cash as of September 30, 2018 and December 31, 2017 consists of a letter of credit of $0.6 million representing collateral for the Company’s Redwood City, California building lease pursuant to an agreement dated March 5, 2015. Restricted cash additionally includes certificates of deposit of $0.2 million as of December 31, 2017, collateralizing payment of charges related to the Company’s credit cards. Investment Securities The Company classifies its investment securities as available-for-sale. Those investments with original maturities greater than three months at the date of purchase and remaining maturities of less than 12 months are considered short-term investments. Those investments with remaining maturities greater than 12 months at the date of purchase are also classified as short-term investments as management considers them to be available for current operations if needed. The Company’s investment securities classified as available-for-sale are recorded at fair value. Unrealized gains and losses, deemed temporary in nature, are reported as a separate component of accumulated comprehensive income (loss). A decline in the fair value of any security below cost that is deemed other than temporary results in a charge to earnings and the corresponding establishment of a new cost basis for the security. Premiums (discounts) are amortized (accreted) over the life of the related security as an adjustment to yield using the straight-line interest method. Dividend and interest income are recognized when earned. Realized gains and losses are included in earnings and are derived using the specific identification method for determining the cost of securities sold. Inventories Inventories are stated at the lower of cost to purchase or manufacture the inventory or the net realizable value of such inventory. Cost is determined using the standard cost method which approximates the first-in, first-out basis. Net realizable value is determined as the estimated selling prices in the ordinary course of business, less reasonably predictable costs of completion, disposal and transportation. The Company regularly reviews inventory quantities in consideration of actual loss experiences, projected future demand and remaining shelf life to record a provision for excess and obsolete inventory when appropriate. The Company writes down inventory that has become obsolete, inventory that has a cost basis in excess of its expected net realizable value, and inventory that is in excess of expected requirements. The estimate of excess quantities is subjective and primarily dependent on the Company’s estimates of future demand for a particular product. If the estimate of future demand is inaccurate based on actual sales, the Company may increase the write down for excess inventory for that component and record a charge to inventory impairment in the accompanying consolidated statements of operations and comprehensive loss. The Company periodically evaluates the carrying value of inventory on hand for potential excess amounts over demand using the same lower of cost or net realizable value approach that has been used to value inventory. The Company also periodically evaluates inventory quantities in consideration of actual loss experience. In addition, the Company determines at times that there may be certain inventory that does not meet its product requirements. As a result of these evaluations, the Company recognized total write downs of $0.5 million and $0.3 million for the three months ended September 30, 2018 and 2017, respectively, and $0.9 million and $3.7 million of its inventories for the nine months ended September 30, 2018 and 2017, respectively. The Company’s estimation of the future demand for any given particular component of the Senza product may vary and may result in changes in estimates of inventory values in any particular period. Shipping and Handling Costs The Company has made the accounting policy election under ASC 606 to account for shipping and handling costs as a fulfillment activity. These costs are accrued when the related revenue is recognized. Revenue Recognition The Company has revenue arrangements that generally consist of a single performance obligation, although, in some instances, revenue arrangements may consist of two performance obligations. The Company recognizes revenue at the point in time when it transfers control of promised goods to its customers. Revenue is measured as the amount of consideration it expects to receive in exchange for transferring goods. See Note 3 for further discussion on Revenue Recognition. Allowance for Doubtful Accounts The Company makes estimates of the collectability of accounts receivable. In doing so, the Company analyzes historical bad debt trends, customer credit worthiness, current economic trends and changes in customer payment patterns when evaluating the adequacy of the allowance for doubtful accounts. Warranty Obligations The Company provides a limited one- to five-year warranty and warrants that its products will operate substantially in conformity with product specifications. The Company records an estimate for the provision for warranty claims in cost of revenue when the related revenues are recognized. This estimate is based on historical and anticipated rates of warranty claims, the cost per claim and the number of units sold. The Company regularly assesses the adequacy of its recorded warranty obligations and adjusts the amounts as necessary. Property and Equipment Property and equipment are stated at cost less accumulated depreciation and amortization. Depreciation of property and equipment, other than leasehold improvements, is computed using the straight-line method over the assets’ estimated useful lives of three to five years. Leasehold improvements are amortized on a straight-line basis over the shorter of the estimated useful life of the asset or the life of the lease. Upon retirement or sale, the cost and related accumulated depreciation are removed from the consolidated balance sheet and the resulting gain or loss is reflected in operations. Maintenance and repairs are charged to operations as incurred. Impairment of Long-Lived Assets The Company reviews long-lived assets for impairment whenever events or changes in circumstances indicate that the carrying amount of an asset or asset group might not be recoverable. When such an event occurs, management determines whether there has been impairment by comparing the anticipated undiscounted future net cash flows to the related asset group’s carrying value. If an asset is considered impaired, the asset is written down to fair value, which is based either on discounted cash flows or appraised value, depending on the nature of the asset. There were no impairment charges or changes in estimated useful lives recorded through September 30, 2018. Income Taxes During the three and nine months ended September 30, 2018 and 2017, the Company calculated its interim tax provision to record taxes incurred on a discrete basis due to the variability of taxable income in the jurisdictions in which it operates. The provision for income taxes for the three and nine months ended September 30, 2018 and 2017 is primarily comprised of foreign and state taxes based upon income earned during the period with no tax benefit recorded for the loss jurisdictions. The Company records uncertain tax positions on the basis of a two-step process whereby (1) a determination is made as to whether it is more likely than not that the tax positions will be sustained based on the technical merits of the position and (2) for those tax positions that meet the more-likely-than-not recognition threshold, the Company recognizes the largest amount of tax benefit that is greater than 50% likely to be realized upon ultimate settlement with the related tax authority. The Company’s policy is to recognize interest and penalties related to income taxes as a component of income tax expense. No interest or penalties related to income taxes have been recognized in the statements of operations and comprehensive loss for the three and nine months ended September 30, 2018 and 2017. On December 22, 2017, the 2017 Tax Cuts and Jobs Act (the 2017 Tax Act) was enacted into law. The 2017 Tax Act contains several key tax law changes, including a reduction of the corporate income tax rate to 21% effective January 1, 2018, and a one-time mandatory transition tax on accumulated foreign earnings, among others. Consistent with guidance issued by the SEC, which provides for a measurement period of one year from the enactment date to finalize the accounting for effects of the 2017 Tax Act, as of December 31, 2017, the Company has made a reasonable estimate of the effects on its existing deferred taxes and related disclosures and the one-time transition tax. Due to its taxable losses and its federal valuation allowance position, the Company did not recognize any income tax expense or benefit as a result of the 2017 Tax Act. During the nine months ended September 30, 2018, the Company did not make any adjustments to its provisional amounts included in its consolidated financial statements for the year ended December 31, 2017. The Company will continue to complete its analysis of these provisional amounts, which are still subject to change during the measurement period, and anticipates further guidance on accounting interpretations from the FASB and application of the law from the Department of the Treasury. The accounting is expected to be completed when the 2017 U.S. corporate income tax return is filed in the fourth quarter of 2018. At September 30, 2018, the Company has not yet determined its policy election with respect to whether to record deferred taxes for basis differences expected to reverse as a result of the global intangible low-taxed income (GILTI) provisions in future periods or use the period cost method. The Company has, however, considered the potential effects of GILTI in estimating its tax provision for 2018. Due to its forecasted taxable losses for 2018 and its federal valuation allowance position, the Company is not forecasting any income tax expense or benefit as a result of the GILTI provisions. Comprehensive Income (Loss) Comprehensive income (loss) represents all changes in the stockholders’ equity except those resulting from distributions to stockholders. The Company’s changes in unrealized gains and losses on available-for-sale investment securities and foreign currency translation adjustments represent the components of other comprehensive income (loss) that are excluded from the reported net loss and have been presented in the consolidated statements of operations and comprehensive loss. Research and Development Research and development costs, including new product development, regulatory compliance and clinical research, are charged to operations as incurred in the consolidated statements of operations and comprehensive loss. Such costs include personnel-related costs, including stock-based compensation, supplies, services, depreciation, facilities and information services, clinical trial and related clinical manufacturing expenses, fees paid to investigative sites and other indirect costs. Stock-Based Compensation The Company accounts for stock-based compensation arrangements with employees in accordance with Accounting Standards Codification (ASC) 718, Compensation - Stock Compensation. In March 2016, the Financial Accounting Standards Board (FASB) issued Accounting Standards Update (ASU) No. 2016-09, Stock Compensation (Topic 718): Improvements to Employee Shared-Based Payment Accounting The Company’s determination of the fair value of stock options on the date of grant utilizes the Black-Scholes option-pricing model, and is impacted by its common stock price as well as changes in assumptions regarding a number of highly complex and subjective variables. These variables include, but are not limited to, the expected term that options will remain outstanding, the expected common stock price volatility over the term of the option awards, risk-free interest rates and expected dividends. Changes in the assumptions can materially affect the fair value and ultimately how much stock-based compensation expense is recognized. The fair value of stock options is recognized over the period during which an optionee is required to provide services in exchange for the option award, known as the requisite service period (usually the vesting period), on a straight-line basis. Stock-based compensation expense recognized at fair value includes the impact of estimated forfeitures. 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. The Company estimates the fair value of the rights to purchase shares by employees under the Employee Stock Purchase Plan using the Black-Scholes option pricing formula. The Employee Stock Purchase Plan provides for consecutive six-month offering periods and the Company uses its own historical volatility data in the valuation. Equity instruments issued to non-employees are recorded at their fair value on the measurement date and are subject to periodic adjustments as the underlying equity instruments vest. The fair value of options granted to consultants is expensed when vested. The Company accounts for stock-based compensation for the restricted stock units at their fair value, based on the closing market price of the Company’s common stock on the grant date. These costs are recognized on a straight-line basis over the requisite service period, which is generally the vesting term of four years. The Company also issues stock options and restricted stock units with vesting based upon completion of performance goals. The fair value for these performance-based awards is recognized over the period during which the goals are to be achieved. Stock-based compensation expense recognized at fair value includes the impact of estimated probability that the goals would be achieved, which is assessed prior to the requisite service period for the specific goals. Upon adoption of ASU 2016-09 as described above, excess tax benefits or deficiencies from share-based award activity are reflected in the consolidated statements of operations as a component of the provision for income taxes, whereas they were previously recognized as additional paid-in capital. Net Loss per Share of Common Stock Basic net loss per common share is calculated by dividing net loss by the weighted average number of common shares outstanding during the period, without consideration for potentially dilutive securities. Diluted net loss per share is computed by dividing net loss by the weighted average number of common shares and potentially dilutive securities outstanding for the period. For purposes of the diluted net loss per share calculation, the Company’s restricted stock units and options to purchase shares of common stock are considered to be potentially dilutive securities. Because the Company has reported a net loss in all periods presented, diluted net loss per common share is the same as basic net loss per common share for those periods. Recent Accounting Pronouncements In February 2016, the FASB issued ASU No. 2016-02, Leases (Topic 842) Codification Improvements to Topic 842, Leases Leases (Topic 842): Targeted Improvements) reviewed its lease portfolio and has initially assessed the potential accounting impact for some of its significant lease arrangements In March 2017, the FASB issued ASU No. 2017-08, Receivables – Nonrefundable Fees and Other Costs (Subtopic 310-20): Premium Amortization on Purchased Callable Debt Securities. In February 2018, the FASB issued ASU No. 2018-02, Income Statement – Reporting Comprehensive Income (Topic 220). In March 2018, the FASB issued ASU No. 2018-05, Income Taxes (Topic 740) In June 2018, the FASB issued ASU No. 2018-07, Compensation-Stock Compensation (Topic 718), Improvements to Nonemployee Share-based Payments |