Organization and Summary of Significant Accounting Policies | Not The Company Genomic Health, Inc. (the “Company”) is a global healthcare company that provides actionable genomic information to personalize cancer treatment decisions. The Company develops and globally commercializes genomic‑based clinical laboratory services that analyze the underlying biology of cancer, allowing physicians and patients to make individualized treatment decisions. The Company was incorporated in Delaware in August 2000. The Company’s first product, the Oncotype DX invasive breast cancer test, was launched in 2004 and is used for early stage invasive breast cancer patients to predict the likelihood of breast cancer recurrence and the likelihood of chemotherapy benefit. In January 2010, the Company launched its second product, the Oncotype DX colon cancer test, which is used to predict the likelihood of colon cancer recurrence in patients with stage II disease. The tests for invasive breast and colon cancers result in a quantitative score referred to as a Recurrence Score. In December 2011, the Company made Oncotype DX available for patients with ductal carcinoma in situ (“DCIS”), a pre‑invasive form of breast cancer. This test provides a DCIS Score that is used to predict the likelihood of local recurrence. In June 2012, the Company began offering the Oncotype DX colon cancer test for use in patients with stage III disease treated with oxaliplatin‑containing adjuvant therapy. In May 2013, the Company launched the Oncotype DX prostate cancer test, which provides a Genomic Prostate Score, or GPS, to predict disease aggressiveness in men with low risk prostate cancer and to improve treatment decisions for prostate cancer patients in conjunction with the Gleason score, or tumor grading. In July 2017, the Oncotype DX AR-V7 Nucleus Detect test, for men with metastatic castration-resistant prostate cancer, or mCRPC, became commercially available as part of a clinical utility program. Principles of Consolidation These consolidated financial statements include all the accounts of the Company and its wholly‑owned subsidiaries. The Company had two wholly-owned subsidiaries at December 31, 2017: Genomic Health International Holdings, LLC, which was established in Delaware in 2010 and supports the Company’s international sales and marketing efforts; and Oncotype Laboratories, Inc., which was established in 2012, and is inactive. Genomic Health International Holdings, LLC has nine wholly-owned subsidiaries. The functional currency for the Company’s wholly-owned subsidiaries incorporated outside the United States is the U.S. dollar. All significant intercompany balances and transactions have been eliminated. Basis of Presentation and Use of Estimates The accompanying consolidated financial statements have been prepared in accordance with accounting principles generally accepted in the United States (“GAAP”). The preparation of financial statements in conformity with GAAP requires management to make judgments, assumptions and estimates that affect the reported amounts of assets, liabilities, revenues and expenses, and related disclosures in the Company’s consolidated financial statements and accompanying notes. Actual results could differ materially from those estimates. There have been no material changes in the Company’s significant accounting policies, other than the adoption of Accounting Standards Update ("ASU") 2016-09 described below, as compared to the significant accounting policies described in the Company’s Annual Report on Form 10-K for the year ended December 31, 2016. Certain reclassifications have been made to prior period amounts to conform to the current year presentation. For the years ended December 31, 2016 and 2015, a reclassification of certain expenses from research and development to cost of product revenue was made in the consolidated statements of operations to conform to the current-year presentation. Cash Equivalents The Company considers all highly liquid investments with maturities of three months or less when purchased to be cash equivalents. Marketable Securities The Company invests in marketable securities, primarily money market funds, obligations of U.S. Government agencies and government‑sponsored entities, corporate bonds, commercial paper and equity securities. The Company considers all investments with a maturity date of less than one year as of the balance sheet date to be short‑term investments. Those investments with a maturity date greater than one year as of the balance sheet date are considered to be long‑term investments. In December 2017, the Company invested €3.4 million or $4.0 million in 270,000 shares of the common stock of Biocartis N.V. (“Biocartis”), a public company listed on the Euronext exchange. This investment was accounted for as an available-for-sale marketable security and valued at €3.0 million or $3.5 million at December 31, 2017. Unrealized gains or losses resulting from changes in the fair value of this investment will be recognized in other comprehensive income until the securities are sold. During the year ended December 31, 2017, $180,000 of unrealized losses relating to changes in the fair value of this investment were recorded in other comprehensive income. These securities are subject to a lock-up agreement which expires in December 2018. During the year ended December 31, 2017, a discount of $322,000 relating to the lock-up agreement was recognized in research and development expense, and a foreign currency revaluation gain of $7,000 was recorded in other income. Beginning in 2011, the Company made investments in various tranches of the preferred stock of Invitae Corporation (“Invitae”), which at the time was a privately-held company, such that the carrying value of this investment was $13.9 million at December 31, 2014. On February 18, 2015, Invitae completed an initial public offering of its common stock and the Company’s preferred stock investment automatically converted into 2,207,793 shares of Invitae common stock. This investment was accounted for on the cost method as an available-for-sale marketable security and valued at $18.1 million at December 31, 2015. During the year ended December 31, 2017, the Company sold its remaining shares of the common stock of Invitae for net proceeds of $10.2 million based on a cost of $6.28 per share, resulting in a realized gain of $2.8 million. During the year ended December 31, 2016, the Company sold a portion of its shares of the common stock of Invitae for proceeds of $9.7 million based on a cost of $6.28 per share, resulting in a realized gain of $3.2 million. There were no shares sold during the year ended December 31, 2015. The fair value of the remaining investment was $9.3 million at December 31, 2016. This investment, which is accounted for under the cost method, was valued at $7.3 million at December 31, 2016. Unrealized gains or losses resulting from changes in the fair value of this investment were recognized in other comprehensive income until the securities were sold. During the years ended December 31, 2017 and 2016, $1.1 million of unrealized gains, net of tax of $820,000, and $1.9 million of unrealized gains, net of tax of $727,000, respectively, related to the shares sold were reclassified out of accumulated other comprehensive income into earnings. There was no unrealized gain reclassified out of accumulated other comprehensive income into earnings during the year ended December 31, 2015. As of December 31, 2017, and 2016, respectively, all investments in marketable securities were classified as available for sale. These securities are carried at estimated fair value with unrealized gains and losses included in stockholders’ equity. Realized gains and losses and declines in value, if any, judged to be other than temporary on available‑for‑sale securities are reported in other income or expense. When securities are sold, any associated unrealized gain or loss initially recorded as a separate component of stockholders’ equity is reclassified out of stockholders’ equity on a specific‑identification basis and recorded in earnings for the period. The cost of securities sold is determined using specific identification. Fair Value of Financial Instruments The Company’s financial instruments consist principally of cash and cash equivalents, marketable securities, trade receivables and accounts payable. The carrying amounts of certain of these financial instruments, including cash and cash equivalents, trade receivables, note receivables and accounts payable, approximate fair value due to their short maturities. See Note 3, “ Fair Value Measurements ” for further information on the fair value of the Company’s financial instruments. Concentration of Risk Cash equivalents, marketable securities and trade accounts receivable are financial instruments which potentially subject the Company to concentrations of credit risk. Through December 31, 2017, no material losses had been incurred related to such credit risk. The Company is subject to credit risk from its portfolio of cash equivalents and marketable securities. The Company invests in money market funds through a major U.S. bank and is exposed to credit risk in the event of default by the financial institution to the extent of amounts recorded on the consolidated balance sheets. The Company invests in short‑term, investment‑grade debt instruments and by policy limits the amount in any one type of investment, except for securities issued or guaranteed by the U.S. government. Under its investment policy, the Company limits amounts invested in such securities by credit rating, maturity, industry group, investment type and issuer, except for securities issued by the U.S. government. The Company is not exposed to any significant concentrations of credit risk from these financial instruments. The goals of the Company’s investment policy, in order of priority, are as follows: safety and preservation of principal and diversification of risk; liquidity of investments sufficient to meet cash flow requirements; and a competitive after‑tax rate of return. The Company is also subject to credit risk from its accounts receivable related to its product sales. The Company performs evaluations of customers’ financial condition and generally does not require collateral. The majority of the Company’s accounts receivable arise from product sales in the United States. As of December 31, 2017, the substantial majority of the Company’s product revenues have been derived from sales of one product, the Oncotype DX breast cancer test. The majority of the Company’s tests to date have been delivered to physicians in the United States. All tissue-based Oncotype DX tests are processed in the Company’s clinical reference laboratory facility in Redwood City, California. Medicare accounted for 22%, 21% and 20% of the Company’s product revenues for the years ended December 31, 2017, 2016 and 2015, respectively, and represented 23% and 24% of the Company’s total accounts receivable balance as of December 31, 2017 and 2016, respectively. No other third‑party payor represented more than 10% of the Company’s product revenues or accounts receivable balances for these periods. Allowance for Doubtful Accounts The Company accrues an allowance for doubtful accounts against its accounts receivable based on estimates consistent with historical payment experience. Bad debt expense is included in general and administrative expense on the Company’s consolidated statements of operations. Accounts receivable are written off against the allowance when the appeals process is exhausted, when an unfavorable coverage decision is received or when there is other substantive evidence that the account will not be paid. The Company’s allowance for doubtful accounts as of December 31, 2017 and 2016 was $3.9 million and $4.5 million, respectively. Write‑offs for doubtful accounts of $7.2 million and $7.1 million were recorded against the allowance during the years ended December 31, 2017 and 2016, respectively. Bad debt expense was $6.8 million, $7.9 million, and $6.0 million for the years ended December 31, 2017, 2016 and 2015, respectively. Property and Equipment Property and equipment, including purchased software, are stated at cost. Depreciation is calculated using the straight‑line method over the estimated useful lives of the assets, which generally range from three to seven years. Leasehold improvements are amortized using the straight‑line method over the estimated useful lives of the assets or the remaining term of the lease, whichever is shorter. Internal-use Software Costs incurred to develop software for internal use are capitalized and amortized over the estimated useful life of the software. Costs related to maintenance of internal-use software are expensed as incurred. For the years ended December 31, 2017, 2016 and 2015, the Company capitalized $5.1 million (including $2.7 million of personnel-related expenses), $3.4 million (including $1.2 million of personnel-related expenses), and $15.1 million (including $5.9 million of personnel-related expenses), respectively, of costs associated with internal-use software development. Amortization of previously capitalized amounts was $3.2 million, $2.5 million, and $380,000 for the years ended December 31, 2017, 2016, and 2015, respectively. Intangible Assets Intangible assets with finite useful lives are recorded at cost, less accumulated amortization. Amortization is recognized over the estimated useful lives of the assets. The Company’s intangible assets with finite lives, which are related to patent licenses, are not material and are included in non‑current other assets on the Company’s consolidated balance sheets. Investments in Privately Held Companies The Company determines whether its investments in privately held companies are debt or equity based on their characteristics, in accordance with the applicable accounting guidance for such investments. The Company also evaluates the investee to determine if the entity is a variable interest entity (“VIE”) and, if so, whether the Company is the primary beneficiary of the VIE, in order to determine whether consolidation of the VIE is required in accordance with accounting guidance for consolidations. If consolidation is not required and the Company owns less than 50.1% of the voting interest of the entity, the investment is evaluated to determine if the equity method of accounting should be applied. The equity method applies to investments in common stock or in‑substance common stock where the Company exercises significant influence over the investee, typically represented by ownership of 20% or more of the voting interests of an entity. If the equity method does not apply, investments in privately held companies determined to be equity securities are accounted for using the cost method. Investments in privately held companies determined to be debt securities are accounted for as available‑for‑sale or held‑to‑maturity securities, in accordance with the applicable accounting guidance for such investments. During the years ended December 31, 2017 and 2016, the Company invested $1.4 million and $6.1 million, respectively, in the subordinated convertible promissory notes of a private company. See Note 6, “Collaboration and Commercial Technology Licensing Agreements” for additional information regarding the terms of this investment. On March 8, 2017, the subordinated convertible promissory notes were converted into preferred stock of the private company representing approximately 9% of the private entity’s voting interests, at which time the Company estimated the fair value of the subordinated convertible promissory notes to be approximately $7.1 million. The preferred stock represents a variable interest in the investee. The Company has concluded it is not the primary beneficiary and thus has not consolidated the investee pursuant to the requirements of Financial Accounting Standards Board (“FASB”) Accounting Standards Codification (“ASC”) 810. The Company determined that the Company does not have the power to direct activities of the private company that most significantly impact the private company’s economic performance. The Company will continue to assess its investment and future commitments to the investee and to the extent its relationship with the investee changes, may be required to consolidate the investee in future periods. The equity investments are accounted for using the cost method of accounting and recorded in other assets on the Company’s consolidated balance sheets. During the year ended December 31, 2017, the Company invested $2.0 million in the convertible promissory note of a private company. See Note 6, “Collaboration and Commercial Technology Licensing Agreements” for additional information regarding the terms of this investment. The Company estimated the fair value of the convertible promissory note to be approximately $1.3 million. The investment in the convertible promissory note represents a variable interest in the investee. The Company has concluded it is not the primary beneficiary and thus has not consolidated the investee pursuant to the requirements of FASB ASC 810. The Company determined that it does not have the ability to exercise significant influence over the investee company. The Company will continue to assess its investment and future commitments to the investee and to the extent its relationship with the investee changes, may be required to consolidate the investee in future periods. The convertible promissory note is accounted for as available-for-sale debt security and recorded in other assets on the Company’s consolidated balance sheets. Derivative Financial Instruments The Company hedges a portion of its foreign currency exposures related to outstanding monetary assets and liabilities using foreign currency forward contracts. The foreign currency forward contracts the Company uses to hedge the exposure are not designated as hedges, and as a result, changes in their fair value are recorded in other income (expense). As of December 31, 2017, the Company had open foreign currency forward contracts with notional amounts of $16.1 million. There were no open foreign currency forward contracts at December 31, 2016. Impairment of Long‑lived Assets The Company reviews long‑lived assets, which include property and equipment, intangible assets and investments in privately held companies, for impairment whenever events or changes in business circumstances indicate that the carrying amounts of the assets may not be fully recoverable. For property and equipment and intangible assets, an impairment loss would be recognized when estimated undiscounted future cash flows expected to result from the use of the asset and its eventual disposition are less than its carrying amount. Impairment, if any, is assessed using undiscounted cash flows. For investments in non‑marketable equity securities, evidence of impairment might include the absence of an ability to recover the carrying amount of the investment or the inability of the investee to sustain an earnings capacity which would justify the carrying amount of the investment. The Company’s assessment as to whether any impairment is other than temporary is based on its ability and intent to hold the investment and whether evidence indicating the carrying value of the investment is recoverable within a reasonable period of time outweighs evidence to the contrary. If the fair value of the investment is determined to be less than the carrying value and the decline in value is considered to be other than temporary, the asset is written down to its fair value. Income Taxes The Company uses the liability method for income taxes, whereby deferred income taxes are provided on items recognized for financial reporting purposes over different periods than for income tax purposes. Valuation allowances are provided when the expected realization of tax assets does not meet a more‑likely‑than‑not criterion. The Company accounts for uncertain income tax positions using a benefit recognition model with a two‑step approach, a more‑likely‑than‑not recognition criterion and a measurement attribute that measures the position as the largest amount of tax benefit that is greater than 50% likely of being realized upon ultimate settlement, in accordance with the accounting guidance for uncertain tax positions. If it is not more likely than not that the benefit will be sustained on its technical merits, no benefit is recorded. Uncertain tax positions that relate only to timing of when an item is included on a tax return are considered to have met the recognition threshold. The Company recognizes accrued interest and penalties related to unrecognized tax benefits in income tax expense when and if incurred. See Note 11, “Income Taxes” for additional information regarding unrecognized tax benefits. Revenue Recognition The Company derives its revenues from product sales and, to a lesser extent from contracts with biopharmaceutical and pharmaceutical companies. The majority of the Company’s historical product revenues have been derived from the sale of the Oncotype DX invasive breast cancer test. The Company generally bills third‑party payors upon generation and delivery of a patient report to the physician. As such, the Company takes assignment of benefits and the risk of collection with the third‑party payor. The Company generally bills the patient directly for amounts owed after multiple requests for payment have been denied or only partially paid by the insurance carrier. The Company pursues case‑by‑case reimbursement where medical policies are not in place or payment history has not been established. The Company’s product revenues for tests performed are recognized when the following revenue recognition criteria are met: (1) persuasive evidence that an arrangement exists; (2) delivery has occurred or services have been rendered; (3) the fee is fixed or determinable; and (4) collectability is reasonably assured. Criterion (1) is satisfied when the Company has an arrangement to pay or a contract with the payor in place addressing reimbursement for the Oncotype DX test. In the absence of such arrangements, the Company considers that criterion (1) is satisfied when a third‑party payor pays the Company for the test performed. Criterion (2) is satisfied when the Company performs the test and generates and delivers to the physician, or makes available on its web portal, a patient report. When evaluating whether the fee is fixed or determinable and collectible, the Company considers whether it has sufficient history to reliably estimate the total fee that will be received from a payor and a payor’s individual payment patterns. Determination of criteria (3) and (4) are based on management’s judgments regarding whether the fee charged for products or services delivered is fixed or determinable, and the collectability of those fees under any contract or arrangement. Based upon at least several months of payment history, the Company reviews the number of tests paid against the number of tests billed and the payor’s outstanding balance for unpaid tests to determine whether payments are being made at a consistently high percentage of tests billed and at appropriate amounts given the arrangement or contracted payment amount. The estimated accrual amounts per test, recorded upon delivery of a patient report, are calculated for each accrual payor and are based on the arrangement or contracted price adjusted for individual payment patterns resulting from co-payment amounts and excluded services in healthcare plans. The Company also reduces revenue for an estimate of amounts that qualify as patient assistance and related deductions that do not qualify for revenue recognition. When a payment received for an individual test is higher or lower than the estimated accrual amount, the Company recognizes the difference as either cash revenue, in the case of higher payments, or in the case of lower payments, a charge against either the patient assistance program and related deductions reserve or the allowance for doubtful accounts, as applicable. To the extent all criteria set forth above are not met when test results are delivered, product revenues are recognized when cash is received from the payor. The Company has exclusive distribution agreements for one or more of its Oncotype DX tests with distributors covering more than 90 countries outside of the United States. The distributor generally provides certain marketing and administrative services to the Company within its territory. As a condition of these agreements, the distributor generally pays the Company an agreed upon fee per test and the Company processes the tests. The same revenue recognition criteria described above generally apply to tests received through distributors. To the extent all criteria set forth above are not met when test results are delivered, product revenues are generally recognized when cash is received from the distributor. From time to time, the Company receives requests for refunds of payments, generally due to overpayments made by third party‑payors. Upon becoming aware of a refund request, the Company establishes an accrued liability for tests covered by the refund request until such time as the Company determines whether or not a refund is due. Accrued refunds were $87,000 and $487,000 at December 31, 2017 and 2016, respectively. Contract revenues are generally derived from studies conducted with biopharmaceutical and pharmaceutical companies. The specific methodology for revenue recognition is determined on a case‑by‑case basis according to the facts and circumstances applicable to a given contract. Under certain contracts, the Company’s input, measured in terms of full‑time equivalent level of effort or running a set of assays through its clinical reference laboratory under a contractual protocol, triggers payment obligations, and revenues are recognized as costs are incurred or assays are processed. Certain contracts have payments that are triggered as milestones are completed, such as completion of a successful set of experiments. Milestones are assessed on an individual basis and revenue is recognized when these milestones are achieved, as evidenced by acknowledgment from collaborators, provided that (1) the milestone event is substantive and its achievability was not reasonably assured at the inception of the agreement and (2) the milestone payment is non‑refundable. Where separate milestones do not meet these criteria, the Company typically defaults to a performance‑based model, such as revenue recognition following delivery of effort as compared to an estimate of total expected effort. Advance payments received in excess of revenues recognized are classified as deferred revenue until such time as the revenue recognition criteria have been met. Cost of Product Revenues Cost of product revenues includes the cost of materials, direct labor, equipment and infrastructure expenses associated with processing tissue samples (including sample accessioning, histopathology, anatomical pathology, paraffin extraction, reverse transcription polymerase chain reaction (“RT‑PCR”), quality control analyses and shipping charges to transport tissue samples) and license fees. Infrastructure expenses include allocated facility occupancy and information technology costs. Costs associated with performing the Company’s tests are recorded as tests are processed. Costs recorded for tissue sample processing and shipping charges represent the cost of all the tests processed during the period regardless of whether revenue was recognized with respect to that test. Royalties for licensed technology calculated as a percentage of product revenues and fixed annual payments relating to the launch and commercialization of the Company’s tests are recorded as license fees in cost of product revenues at the time product revenues are recognized or in accordance with other contractual obligations. Research and Development Expenses Research and development expenses are comprised of costs incurred to develop technology and carry out clinical studies and include salaries and benefits, reagents and supplies used in research and development laboratory work, infrastructure expenses, including allocated facility occupancy and information technology costs, contract services, and other outside costs. Research and development expenses also include costs related to activities performed under contracts with biopharmaceutical and pharmaceutical companies. Research and development costs are expensed as incurred. The Company enters into collaboration and clinical trial agreements with clinical collaborators and records these costs as research and development expenses. The Company records accruals for estimated study costs comprised of work performed by its collaborators under contract terms. Advance payments for goods or services that will be used or rendered for future research and development activities are deferred and capitalized and recognized as expense as the goods are delivered or the related services are performed. Stock‑based Compensation The Company uses the Black‑Scholes option valuation model, single‑option approach, which requires the use of estimates such as stock price volatility and expected option lives, as well as expected option forfeiture rates, to value employee stock‑based compensation at the date of grant, and recognizes stock‑ based compensation expense ratably over the requisite service period. Equity instruments granted to non‑employees are also valued using the Black‑Scholes option valuation model and are subject to periodic revaluation over their vesting terms. The Company did not grant any stock options to non‑employee consultants during any of the years presented. 401(k) Plan Substantially all of the Company’s employees are eligible to participate in its defined contribution plan qualified under Section 401(k) of the Internal Revenue Code. The Company contributed dollar for dollar matching of employee contributions up to a maximum of $4,000, $4,000, and $3,000 for the years ended December 31, 2017, 2016 and 2015, respectively, for each employee per year based on a full calendar year of service. The match is funded concurrently with a participant’s semi‑monthly contributions to the 401(k) Plan. The Company recorded expense for its contributions under the 401(k) Plan of $2.9 million, $3.5 million and $2.8 million for the years ended December 31, 2017, 2016 and 2015, respectively. Foreign Currency Transactions Net foreign currency transaction gains or losses are included in other income (expense), net on the Company’s consolidated statements of operations. Net foreign currency transaction gains (losses) totaled $317,000, $(782,000) and $(551,000) for the years ended December 31, 2017, 2016 and 2015, respectively. Comprehensive Gain or Loss Other comprehensive gain or loss consists of unrealized gains and losses on available‑for‑sale securities. Leases The Company enters into lease agreements for its laboratory and office facilities. These leases are classified as operating leases. Rent expense is recognized on a straight‑line basis over the term of the lease. Incentives granted under the Company’s facilities leases, including allowances to fund leasehold improvements and rent holidays, are capitalized and are recognized as reductions to rental expense on a straight‑line basis over the term of the lease. Guarantees and Indemnifications The Company, as permitted under Delaware law and in accordance with its bylaws, indemnifies its officers and directors for certain events or occurrences, subject to certain limits, while the officer or director is or was serving at the Company’s request in such capacity. The term of the indemnification period is for the officer’s or director’s lifetime. The maximum amount of potential future indemnification is unlimited; however, the Company has a directors and officers insurance policy that limits its exposure and may enable it to recover a portion of any future amounts paid. The Company believes the fair value of these indemnification agreements is minimal. Accordingly, the Company has not recorded any liabilities for these agreements as of December 31, 2017 and 2016. Recently Issued Accounting Pronouncements In May 2014, the FASB issued Accounting Standards Update (“ASU”) No. 2014-09, Revenue from Contracts with Customers (Topic 606) . Topic 606 supersedes the revenue recognition requirements in Accounting Standards Codification Topic 605, Revenue Recognition , and requires entities to rec |