Summary of Significant Accounting Policies | Summary of Significant Accounting Policies Basis of Presentation The Company's financial statements have been prepared in accordance with accounting principles generally accepted in the United States ("U.S. GAAP"). The financial statements include the accounts of the Company and its former wholly-owned subsidiary, which was dissolved in June 2015. For periods prior to the subsidiary dissolution, all intercompany accounts and transactions were eliminated in consolidation. Use of Estimates The preparation of financial statements in conformity with U.S. GAAP requires management to make estimates and assumptions that affect the reported amounts of assets and liabilities and disclosure of contingent assets and liabilities as of the date of the financial statements and the reported amounts of revenue and expenses during the reporting period. Significant items subject to such estimates include: revenue recognition; the useful lives of property and equipment; the recoverability of long-lived assets; the estimation of the fair value of intangible assets; stock options; income tax uncertainties, including a valuation allowance for deferred tax assets; and contingencies. The Company bases these estimates on historical and anticipated results, trends, and various other assumptions that the Company believes are reasonable under the circumstances, including assumptions as to future events. These estimates form the basis for making judgments about the carrying values of assets and liabilities and recorded revenue and expenses that are not readily apparent from other sources. Actual results could differ from those estimates and assumptions. Liquidity The Company has incurred net losses since its inception and expects to incur additional losses in 2018 and in future years. As of December 31, 2017 , the Company had an accumulated deficit of $211.1 million . The Company may never achieve revenue sufficient to offset its expenses. The Company believes its cash and cash equivalents of $33.9 million as of December 31, 2017 and its revenue from sales in 2018 will be sufficient to meet its anticipated cash requirements through at least March 2019. In November 2017, the Company entered into a loan and security agreement and drew down a term loan advance of $25.0 million of which the entire amount was used to pay the outstanding balance of the Company's previous long-term debt as discussed in Note 7 - Debt. If the Company is not able to generate revenue to finance its cash requirements, the Company will need to finance future cash needs primarily through public or private equity offerings, debt financings, borrowings or strategic collaborations or licensing arrangements. If the Company is not able to secure additional funding when needed, on acceptable terms, it may have to delay, reduce the scope of or eliminate one or more research and development programs or selling and marketing initiatives which may have a material adverse effect on the Company's business, results of operations, financial condition and/or its ability to fund its scheduled obligations on a timely basis or at all. Concentrations of Credit Risk and Other Risks and Uncertainties The majority of the Company's cash and cash equivalents are deposited with one major financial institution in the United States. Deposits in this institution may exceed the amount of insurance provided on such deposits. The Company has not experienced any losses on its deposits of cash and cash equivalents. Several of the components of the Company's sample collection kit and test reagents are obtained from single-source suppliers. If these single-source suppliers fail to satisfy the Company's requirements on a timely basis, it could suffer delays in being able to deliver its diagnostic solutions, a possible loss of revenue, or incur higher costs, any of which could adversely affect its operating results. The Company is also subject to credit risk from its accounts receivable related to its sales. The Company does not perform evaluations of customers' financial condition and does not require collateral. Through December 31, 2017 , most of the Company's revenue have been derived from the sale of Afirma. To date, Afirma has been delivered primarily to physicians in the United States. The Company's third-party payers in excess of 10% of revenue and their related revenue as a percentage of total revenue were as follows: Year Ended December 31, 2017 2016 2015 Medicare 26 % 27 % 26 % UnitedHealthcare 14 % 12 % 14 % 40 % 39 % 40 % The Company's significant third-party payers in excess of 10% of accounts receivable and their related accounts receivable balance as a percentage of total accounts receivable were as follows: December 31, 2017 2016 Medicare 22 % 18 % Cash Equivalents Cash equivalents consist of short-term, highly liquid investments with original maturities of three months or less from the date of purchase. Cash equivalents consist of amounts invested in a money market account primarily consisting of U.S. Treasury reserves. Restricted Cash The Company had deposits of $120,000 included in current assets as of December 31, 2016 , pledged for corporate cards. There was no such restricted amount as of December 31, 2017 . The Company also had deposits of $603,000 included in long-term assets as of December 31, 2017 and December 31, 2016 , restricted from withdrawal and held by a bank in the form of collateral for an irrevocable standby letter of credit held as security for the lease of the Company's South San Francisco facility. Supplies Inventory Supplies inventory consists of test reagents and other consumables primarily used in the sample collection kits and in cytopathology and genomic classifier test processing, and are valued at the lower of cost or market value. Cost is determined using actual costs on a first-in, first-out basis. Property and Equipment Property and equipment are stated at cost less accumulated depreciation and amortization. Depreciation is computed using the straight-line method over the estimated useful lives of the assets, generally between three and five years . Leasehold improvements are amortized using the straight-line method over the shorter of the estimated useful life of the asset or the term of the lease. Maintenance and repairs are charged to expense as incurred, and improvements and betterments are capitalized. When assets are retired or otherwise disposed of, the cost and accumulated depreciation are removed from the balance sheet and any resulting gain or loss is reflected in the statements of operations and comprehensive loss in the period realized. Finite-lived Intangible Assets Finite-lived intangible assets consists of intangible assets reclassified from indefinite-lived intangible assets, following the launch of Percepta in April 2015. The Company amortizes finite-lived intangible assets using the straight-line method over their estimated useful life. The estimated useful life of 15 years was used for the intangible asset related to the Percepta test based on management's estimate of product life, product life of other diagnostic tests and patent life. The Company tests this finite-lived intangible asset for impairment when events or circumstances indicate a reduction in the fair value below its carrying amount. There was no impairment for the years ended December 31, 2017 , 2016 or 2015 . Goodwill Goodwill, derived from the Company's acquisition of Allegro Diagnostics Corp. in September 2014, is reviewed for impairment on an annual basis or more frequently if events or circumstances indicate that it may be impaired. The Company's goodwill evaluation is based on both qualitative and quantitative assessments regarding the fair value of goodwill relative to its carrying value. The Company has determined that it operates in a single segment and has a single reporting unit associated with the development and commercialization of diagnostic products. In the event the Company determines that it is more likely than not the carrying value of the reporting unit is higher than its fair value, quantitative testing is performed comparing recorded values to estimated fair values. If impairment is present, the impairment loss is measured as the excess of the recorded goodwill over its implied fair value. The Company performs its annual evaluation of goodwill during the fourth quarter of each fiscal year. There was no impairment for the years ended December 31, 2017 , 2016 or 2015 . Fair Value of Financial Instruments The carrying amounts of certain financial instruments including cash and cash equivalents, accounts receivable, prepaid expenses and other current assets, accounts payable and accrued liabilities approximate fair value due to their relatively short maturities. See Note 5, "Fair Value Measurements" for further information on the fair value of the Company’s financial instruments. Revenue Recognition The Company recognizes revenue in accordance with the provision of ASC 954-605, Health Care Entities—Revenue Recognition ("ASC 954") . The Company's revenue is generated from the provision of diagnostic services. The service is completed upon the delivery of test results to the prescribing physician, at which time the Company bills for the service. The Company recognizes revenue related to billings for tests delivered on an accrual basis when amounts that will ultimately be realized can be reasonably estimated. The estimates of amounts that will ultimately be realized requires significant judgment by management. Until a contract has been negotiated with a commercial payer or governmental program, the Company's tests may or may not be covered by these entities' existing reimbursement policies. In addition, patients do not enter into direct agreements with the Company that commit them to pay any portion of the cost of the tests in the event that their insurance declines to reimburse the Company. The Company may bill the patient directly for these amounts in the form of co-payments and co-insurance in accordance with their insurance carrier and health plans. In the absence of contracted reimbursement or the ability to estimate the amount that will ultimately be realized for the Company's services, revenue is recognized on the cash basis. Revenue recognized for the years ended December 31, 2017 , 2016 and 2015 was as follows (in thousands of dollars): Year Ended December 31, 2017 2016 2015 Revenue recognized on the accrual basis $ 69,274 96 % $ 47,099 72 % $ 27,043 55 % Revenue recognized on the cash basis 2,679 4 % 17,986 28 % 22,460 45 % Total $ 71,953 100 % $ 65,085 100 % $ 49,503 100 % Prior to July 1, 2016, the Company believed it did not have a consistent enough payment history to accrue a significant portion of its Afirma tests delivered to customers and, as noted above, recognized revenue on the cash basis for such tests. The Company has been analyzing the amounts received for tests performed since commercialization and during the quarter ended September 30, 2016, sufficient information developed to support a reasonable estimate of the amount of revenue to accrue upon test delivery for a number of payers that had been previously recognized on the cash basis. In determining the amount to accrue for a particular test, the Company considered factors such as payer coverage, whether there is a reimbursement contract between the payer and the Company, timeliness of payment, payment as a percentage of agreed upon rate (if applicable), amount paid per test and any current developments or changes that could impact reimbursement. As a result, the Company recognized $3.5 million of incremental revenue during the quarter ended September 30, 2016 upon test delivery that previously would not have been recognized until cash was received. Tests performed prior to July 1, 2016 that did not meet the Company’s accrual criteria at the time of delivery will continue to be recognized as revenue on the cash basis. However, the Company expects the amount of revenue to be recognized on the cash basis for Afirma to decline in future periods since subsequent to September 2016 relatively few tests were performed for which a reasonable estimate of revenue to accrue was not made at the time of delivery. Cost of Revenue The components of our cost of revenue are laboratory expenses, sample collection expenses, compensation expense, license fees and royalties, depreciation and amortization, other expenses such as equipment and laboratory supplies, and allocations of facility and information technology expenses. Costs associated with performing tests are expensed as the test is processed regardless of whether and when revenue is recognized with respect to that test. Research and Development Research and development expenses include expenses incurred to develop our technology, collect clinical samples and conduct clinical studies to develop and support our products. These expenses consist of compensation expenses, direct research and development expenses such as prototype materials, laboratory supplies and costs associated with setting up and conducting clinical studies at domestic and international sites, professional fees, depreciation and amortization, other miscellaneous expenses and allocation of facility and information technology expenses. We expense all research and development costs in the periods in which they are incurred. Income Taxes The Company accounts for income taxes under the liability method. Under this method, deferred tax assets and liabilities are determined based on the difference between the financial statement and tax bases of assets and liabilities using enacted tax rates in effect for the year in which the differences are expected to affect taxable income. Valuation allowances are established when necessary to reduce deferred tax assets to the amounts expected to be realized. The Company assesses all material positions taken in any income tax return, including all significant uncertain positions, in all tax years that are still subject to assessment or challenge by relevant taxing authorities. The Company's assessment of an uncertain tax position begins with the initial determination of the position's sustainability and is measured at the largest amount of benefit that is more-likely-than-not of being realized upon ultimate settlement. As of each balance sheet date, unresolved uncertain tax positions must be reassessed, and the Company will determine whether (i) the factors underlying the sustainability assertion have changed and (ii) the amount of the recognized tax benefit is still appropriate. The recognition and measurement of tax benefits requires significant judgment. Judgments concerning the recognition and measurement of a tax benefit may change as new information becomes available. Stock-based Compensation Stock-based compensation expense for equity instruments issued to employees is measured based on the grant-date fair value of the awards. The fair value of each employee stock option is estimated on the date of grant using the Black-Scholes option-pricing model. The Company recognizes compensation costs on a straight-line basis for all employee stock-based compensation awards that are expected to vest over the requisite service period of the awards, which is generally the awards' vesting period. Forfeitures are required to be estimated at the time of grant and revised, if necessary, in subsequent periods if actual forfeitures differ from those estimates. Equity awards issued to non-employees are valued using the Black-Scholes option-pricing model and are subject to re-measurement as the underlying equity awards vest. Net Loss per Common Share Basic net loss per common share is calculated by dividing net loss attributable to common stockholders by the weighted-average number of common shares outstanding during the period, without consideration of common stock equivalents. Diluted net loss per common share is computed by dividing net loss attributable to common stockholders by the weighted-average number of common share equivalents outstanding for the period determined using the treasury stock method. Potentially dilutive securities consisting of options to purchase common stock, restricted stock units and shares subject to purchase under our employee stock purchase plan are considered to be common stock equivalents and were excluded from the calculation of diluted net loss per common share because their effect would be anti-dilutive for all periods presented. Recent Accounting Pronouncements In May 2014, the Financial Accounting Standards Board, or FASB, issued ASU 2014-09, Revenue from Contracts with Customers (Topic 606), to supersede nearly all existing revenue recognition guidance under U.S. GAAP. The core principle of ASU 2014-09 is to recognize revenues when promised goods or services are transferred to customers in an amount that reflects the consideration that is expected to be received for those goods or services. ASU 2014-09 defines a five-step process to achieve this core principle and, in doing so, it is possible more judgment and estimates may be required within the revenue recognition process than are required under existing U.S. GAAP. The Company will adopt the new revenue standard as of January 1, 2018 using the modified retrospective method. The Company has completed its assessment of the five steps of this ASU and believes that the adoption of this ASU will not result in a material cumulative catch-up adjustment under the modified retrospective method, or have a material impact on the Company's financial position or results of operations. In February 2016, the FASB issued ASU No. 2016-2, Leases . This ASU is aimed at making leasing activities more transparent and comparable, and requires substantially all leases be recognized by lessees on their balance sheet as a right-of-use asset and corresponding lease liability, including leases currently accounted for as operating leases. The ASU will be effective for interim and annual periods beginning after December 15, 2018. Entities are required to use a modified retrospective approach for leases that exist or are entered into after the beginning of the earliest comparative period in the financial statements. Full retrospective application is prohibited and early adoption is permitted. The Company is currently evaluating the potential effect of this standard on its financial statements. In March 2016, the FASB issued ASU 2016-9, Compensation - Stock Compensation , related to the tax effects of share-based awards. The ASU requires that all the tax effects of share-based awards be recorded through the income statement, thereby simplifying the current guidance that requires excess tax benefits and certain excess tax deficiencies to be recorded in equity. This ASU also permits an election for the impact of forfeitures on the recognition of expense for share-based payment awards where forfeitures can be estimated or recognized when they occur. This ASU was effective for interim and annual periods beginning after December 15, 2016. The Company adopted this ASU as of January 1, 2017 and elected to continue using its forfeiture estimation method for share-based payment awards. This ASU was adopted prospectively and the impact of adoption on the Company's financial statements was not material. In August 2016, the FASB issued ASU No. 2016-15, Statement of Cash Flows (Topic 230): Classification of Certain Cash Receipts and Cash Payments , provides specific guidance on cash flow classification issues, including classifying debt prepayment or debt extinguishment costs under financing activities in the statements of cash flows. The amendments in ASU 2016-15 are effective for interim and annual periods beginning after December 15, 2017. The ASU should be applied using a retrospective transition method, unless it is impracticable to do so for some of the issues. In such case, the amendments for those issues would be applied prospectively as of the earliest date practicable. Early adoption is permitted. This ASU was adopted retrospectively and the impact of adoption on the Company's financial statements was not material because prior period debt prepayment costs were immaterial and already included under financing activities in the statements of cash flows. In November 2016, the FASB issued ASU 2016-18, Statement of Cash Flows - Restricted Cash. This ASU requires that restricted cash and restricted cash equivalents be included with cash and cash equivalents when reconciling the beginning-of-period and end-of-period total amounts shown on the statement of cash flows. The ASU will be effective for interim and annual periods beginning after December 15, 2017. The Company does not anticipate that the adoption of this ASU will have a significant impact on its financial statements. |