<?xml version='1.0' encoding='UTF-8'?>
<FilingSummary>
  <Version>3.10.0.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>157</ContextCount>
  <ElementCount>207</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>53</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>9</UnitCount>
  <MyReports>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>00090 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>00100 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/StatementConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>00105 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/StatementConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>00200 - Statement - Consolidated Statements of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/StatementConsolidatedStatementsOfOperations</Role>
      <ShortName>Consolidated Statements of Operations</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>00300 - Statement - Consolidated Statements of Comprehensive Income (Loss)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss</Role>
      <ShortName>Consolidated Statements of Comprehensive Income (Loss)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>00305 - Statement - Consolidated Statements of Comprehensive Income (Loss) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/StatementConsolidatedStatementsOfComprehensiveIncomeLossParenthetical</Role>
      <ShortName>Consolidated Statements of Comprehensive Income (Loss) (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>00400 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/StatementConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>10101 - Disclosure - Organization and Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureOrganizationAndSummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>10201 - Disclosure - Revenues</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureRevenues</Role>
      <ShortName>Revenues</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>10301 - Disclosure - Net Income (Loss) Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureNetIncomeLossPerShare</Role>
      <ShortName>Net Income (Loss) Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>10401 - Disclosure - Cash and Cash Equivalents, and Marketable Securities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureCashAndCashEquivalentsAndMarketableSecurities</Role>
      <ShortName>Cash and Cash Equivalents, and Marketable Securities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>10501 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureFairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>10601 - Disclosure - Collaboration and Commercial Technology Licensing Agreements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureCollaborationAndCommercialTechnologyLicensingAgreements</Role>
      <ShortName>Collaboration and Commercial Technology Licensing Agreements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>10701 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>10801 - Disclosure - Stock-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureStockBasedCompensation</Role>
      <ShortName>Stock-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>10901 - Disclosure - Segment Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureSegmentInformation</Role>
      <ShortName>Segment Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>11001 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureIncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>11101 - Disclosure - Restructuring Costs</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureRestructuringCosts</Role>
      <ShortName>Restructuring Costs</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>20102 - Disclosure - Organization and Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureOrganizationAndSummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.genomichealth.com/role/DisclosureOrganizationAndSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>19</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>30203 - Disclosure - Revenue (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureRevenueTables</Role>
      <ShortName>Revenue (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.genomichealth.com/role/DisclosureRevenues</ParentRole>
      <Position>20</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>30303 - Disclosure - Net Income (Loss) Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureNetIncomeLossPerShareTables</Role>
      <ShortName>Net Income (Loss) Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.genomichealth.com/role/DisclosureNetIncomeLossPerShare</ParentRole>
      <Position>21</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>30403 - Disclosure - Cash and Cash Equivalents, and Marketable Securities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureCashAndCashEquivalentsAndMarketableSecuritiesTables</Role>
      <ShortName>Cash and Cash Equivalents, and Marketable Securities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.genomichealth.com/role/DisclosureCashAndCashEquivalentsAndMarketableSecurities</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>30503 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureFairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.genomichealth.com/role/DisclosureFairValueMeasurements</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>30703 - Disclosure - Commitments and Contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureCommitmentsAndContingenciesTables</Role>
      <ShortName>Commitments and Contingencies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.genomichealth.com/role/DisclosureCommitmentsAndContingencies</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>30803 - Disclosure - Stock-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureStockBasedCompensationTables</Role>
      <ShortName>Stock-Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.genomichealth.com/role/DisclosureStockBasedCompensation</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>30901 - Disclosure - Segment Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureSegmentInformationTables</Role>
      <ShortName>Segment Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.genomichealth.com/role/DisclosureSegmentInformation</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>40101 - Disclosure - Organization and Summary of Significant Accounting Policies (Principles of Consolidation) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureOrganizationAndSummaryOfSignificantAccountingPoliciesPrinciplesOfConsolidationDetails</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies (Principles of Consolidation) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.genomichealth.com/role/DisclosureOrganizationAndSummaryOfSignificantAccountingPoliciesPolicies</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>40102 - Disclosure - Organization and Summary of Significant Accounting Policies (Concentration of Risk) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureOrganizationAndSummaryOfSignificantAccountingPoliciesConcentrationOfRiskDetails</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies (Concentration of Risk) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.genomichealth.com/role/DisclosureOrganizationAndSummaryOfSignificantAccountingPoliciesPolicies</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>40103 - Disclosure - Organization and Summary of Significant Accounting Policies (Investments in Privately Held Companies) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureOrganizationAndSummaryOfSignificantAccountingPoliciesInvestmentsInPrivatelyHeldCompaniesDetails</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies (Investments in Privately Held Companies) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.genomichealth.com/role/DisclosureOrganizationAndSummaryOfSignificantAccountingPoliciesPolicies</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>40104 - Disclosure - Organization and Summary of Significant Accounting Policies (Impairment) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureOrganizationAndSummaryOfSignificantAccountingPoliciesImpairmentDetails</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies (Impairment) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.genomichealth.com/role/DisclosureOrganizationAndSummaryOfSignificantAccountingPoliciesPolicies</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>40105 - Disclosure - Organization and Summary of Significant Accounting Policies (Recently Issued Accounting Pronouncements) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureOrganizationAndSummaryOfSignificantAccountingPoliciesRecentlyIssuedAccountingPronouncementsDetails</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies (Recently Issued Accounting Pronouncements) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.genomichealth.com/role/DisclosureOrganizationAndSummaryOfSignificantAccountingPoliciesPolicies</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>40201 - Disclosure - Revenue (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureRevenueDetails</Role>
      <ShortName>Revenue (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.genomichealth.com/role/DisclosureRevenueTables</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>40202 - Disclosure - Revenue Recognition (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureRevenueRecognitionDetails</Role>
      <ShortName>Revenue Recognition (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>40203 - Disclosure - Disaggregation of Revenue (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureDisaggregationOfRevenueDetails</Role>
      <ShortName>Disaggregation of Revenue (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>40301 - Disclosure - Net Income (Loss) Per Share (Calculation) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureNetIncomeLossPerShareCalculationDetails</Role>
      <ShortName>Net Income (Loss) Per Share (Calculation) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.genomichealth.com/role/DisclosureNetIncomeLossPerShareTables</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>40302 - Disclosure - Net Income (Loss) Per Share (Dilutive stock awards excluded) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureNetIncomeLossPerShareDilutiveStockAwardsExcludedDetails</Role>
      <ShortName>Net Income (Loss) Per Share (Dilutive stock awards excluded) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.genomichealth.com/role/DisclosureNetIncomeLossPerShareTables</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>40401 - Disclosure - Cash and Cash Equivalents, and Marketable Securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureCashAndCashEquivalentsAndMarketableSecuritiesDetails</Role>
      <ShortName>Cash and Cash Equivalents, and Marketable Securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.genomichealth.com/role/DisclosureCashAndCashEquivalentsAndMarketableSecuritiesTables</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>40402 - Disclosure - Cash and Cash Equivalents, and Marketable Securities (Available-for-sale Securities) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureCashAndCashEquivalentsAndMarketableSecuritiesAvailableForSaleSecuritiesDetails</Role>
      <ShortName>Cash and Cash Equivalents, and Marketable Securities (Available-for-sale Securities) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.genomichealth.com/role/DisclosureCashAndCashEquivalentsAndMarketableSecuritiesTables</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>40403 - Disclosure - Cash and Cash Equivalents, and Marketable Securities (Available-For-Sale Marketable Securities with Unrealized losses) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureCashAndCashEquivalentsAndMarketableSecuritiesAvailableForSaleMarketableSecuritiesWithUnrealizedLossesDetails</Role>
      <ShortName>Cash and Cash Equivalents, and Marketable Securities (Available-For-Sale Marketable Securities with Unrealized losses) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.genomichealth.com/role/DisclosureCashAndCashEquivalentsAndMarketableSecuritiesTables</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>40404 - Disclosure - Cash and Cash Equivalents, and Marketable Securities (ASU 2016-01 and Biocartis) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureCashAndCashEquivalentsAndMarketableSecuritiesAsu201601AndBiocartisDetails</Role>
      <ShortName>Cash and Cash Equivalents, and Marketable Securities (ASU 2016-01 and Biocartis) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.genomichealth.com/role/DisclosureCashAndCashEquivalentsAndMarketableSecuritiesTables</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>40405 - Disclosure - Cash and Cash Equivalents, and Marketable Securities (Invitae) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureCashAndCashEquivalentsAndMarketableSecuritiesInvitaeDetails</Role>
      <ShortName>Cash and Cash Equivalents, and Marketable Securities (Invitae) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.genomichealth.com/role/DisclosureCashAndCashEquivalentsAndMarketableSecuritiesTables</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>40501 - Disclosure - Fair Value Measurements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureFairValueMeasurementsDetails</Role>
      <ShortName>Fair Value Measurements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.genomichealth.com/role/DisclosureFairValueMeasurementsTables</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>40502 - Disclosure - Fair Value Measurements (Cleveland Diagnostics) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureFairValueMeasurementsClevelandDiagnosticsDetails</Role>
      <ShortName>Fair Value Measurements (Cleveland Diagnostics) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.genomichealth.com/role/DisclosureFairValueMeasurementsTables</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>40601 - Disclosure - Collaboration and Commercial Technology Licensing Agreements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureCollaborationAndCommercialTechnologyLicensingAgreementsDetails</Role>
      <ShortName>Collaboration and Commercial Technology Licensing Agreements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.genomichealth.com/role/DisclosureCollaborationAndCommercialTechnologyLicensingAgreements</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>40602 - Disclosure - Collaboration and Commercial Technology Licensing Agreements (Epic) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureCollaborationAndCommercialTechnologyLicensingAgreementsEpicDetails</Role>
      <ShortName>Collaboration and Commercial Technology Licensing Agreements (Epic) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.genomichealth.com/role/DisclosureCollaborationAndCommercialTechnologyLicensingAgreements</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>40603 - Disclosure - Collaboration and Commercial Technology Licensing Agreements (Biocartis) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureCollaborationAndCommercialTechnologyLicensingAgreementsBiocartisDetails</Role>
      <ShortName>Collaboration and Commercial Technology Licensing Agreements (Biocartis) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.genomichealth.com/role/DisclosureCollaborationAndCommercialTechnologyLicensingAgreements</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>40604 - Disclosure - Collaboration and Commercial Technology Licensing Agreements (Cleveland Diagnostics) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureCollaborationAndCommercialTechnologyLicensingAgreementsClevelandDiagnosticsDetails</Role>
      <ShortName>Collaboration and Commercial Technology Licensing Agreements (Cleveland Diagnostics) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.genomichealth.com/role/DisclosureCollaborationAndCommercialTechnologyLicensingAgreements</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>40701 - Disclosure - Commitments and Contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureCommitmentsAndContingenciesDetails</Role>
      <ShortName>Commitments and Contingencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.genomichealth.com/role/DisclosureCommitmentsAndContingenciesTables</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>40802 - Disclosure - Stock-Based Compensation (Stock Option Activity) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureStockBasedCompensationStockOptionActivityDetails</Role>
      <ShortName>Stock-Based Compensation (Stock Option Activity) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.genomichealth.com/role/DisclosureStockBasedCompensationTables</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>40803 - Disclosure - Stock-Based Compensation (RSU Activity) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureStockBasedCompensationRsuActivityDetails</Role>
      <ShortName>Stock-Based Compensation (RSU Activity) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.genomichealth.com/role/DisclosureStockBasedCompensationTables</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>40804 - Disclosure - Stock-Based Compensation (Employee Stock Purchase Plan) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureStockBasedCompensationEmployeeStockPurchasePlanDetails</Role>
      <ShortName>Stock-Based Compensation (Employee Stock Purchase Plan) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.genomichealth.com/role/DisclosureStockBasedCompensationTables</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>40805 - Disclosure - Stock-Based Compensation (Employee Stock-Based Compensation Expense) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureStockBasedCompensationEmployeeStockBasedCompensationExpenseDetails</Role>
      <ShortName>Stock-Based Compensation (Employee Stock-Based Compensation Expense) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.genomichealth.com/role/DisclosureStockBasedCompensationTables</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>40901 - Disclosure - Segment Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureSegmentInformationDetails</Role>
      <ShortName>Segment Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.genomichealth.com/role/DisclosureSegmentInformationTables</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>41001 - Disclosure - Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureIncomeTaxesDetails</Role>
      <ShortName>Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.genomichealth.com/role/DisclosureIncomeTaxes</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>41002 - Disclosure - Income Taxes (Tax Cuts and Jobs Acts) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureIncomeTaxesTaxCutsAndJobsActsDetails</Role>
      <ShortName>Income Taxes (Tax Cuts and Jobs Acts) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.genomichealth.com/role/DisclosureIncomeTaxes</ParentRole>
      <Position>55</Position>
    </Report>
    <Report instance="ghdx-20180630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>41101 - Disclosure - Restructuring Costs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.genomichealth.com/role/DisclosureRestructuringCostsDetails</Role>
      <ShortName>Restructuring Costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.genomichealth.com/role/DisclosureRestructuringCosts</ParentRole>
      <Position>56</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>ghdx-20180630.xml</File>
    <File>ghdx-20180630.xsd</File>
    <File>ghdx-20180630_cal.xml</File>
    <File>ghdx-20180630_def.xml</File>
    <File>ghdx-20180630_lab.xml</File>
    <File>ghdx-20180630_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy>http://fasb.org/us-gaap/2017-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/country/2017-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2014-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
