<?xml version='1.0' encoding='UTF-8'?>
<FilingSummary>
  <Version>3.7.0.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>429</ContextCount>
  <ElementCount>584</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>137</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>11</UnitCount>
  <MyReports>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>100000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>100010 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/StatementConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>100020 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/StatementConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>100030 - Statement - Consolidated Statements of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/StatementConsolidatedStatementsOfOperations</Role>
      <ShortName>Consolidated Statements of Operations</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>100040 - Statement - Consolidated Statements of Comprehensive Income (Loss)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss</Role>
      <ShortName>Consolidated Statements of Comprehensive Income (Loss)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>100050 - Statement - Consolidated Statements of Convertible Preferred Stock and Stockholders' (Deficit) Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/StatementConsolidatedStatementsOfConvertiblePreferredStockAndStockholdersDeficitEquity</Role>
      <ShortName>Consolidated Statements of Convertible Preferred Stock and Stockholders' (Deficit) Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>100060 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>100070 - Disclosure - Organization and Description of Business</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureOrganizationAndDescriptionOfBusiness</Role>
      <ShortName>Organization and Description of Business</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>100080 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>100090 - Disclosure - Net (Loss) Income Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureNetLossIncomePerShare</Role>
      <ShortName>Net (Loss) Income Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>100100 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureFairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>100110 - Disclosure - Business Combination</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureBusinessCombination</Role>
      <ShortName>Business Combination</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>100120 - Disclosure - Goodwill and Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureGoodwillAndIntangibleAssets</Role>
      <ShortName>Goodwill and Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>100130 - Disclosure - Balance Sheet Components</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureBalanceSheetComponents</Role>
      <ShortName>Balance Sheet Components</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>100140 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>100150 - Disclosure - Collaboration and Licensing Agreements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureCollaborationAndLicensingAgreements</Role>
      <ShortName>Collaboration and Licensing Agreements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>100160 - Disclosure - Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureDebt</Role>
      <ShortName>Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>100170 - Disclosure - Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureStockholdersEquity</Role>
      <ShortName>Stockholders' Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>100180 - Disclosure - Warrants</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureWarrants</Role>
      <ShortName>Warrants</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>100190 - Disclosure - Stock Incentive Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureStockIncentivePlans</Role>
      <ShortName>Stock Incentive Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>100200 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureIncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>100210 - Disclosure - 401(K) Plan</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/Disclosure401KPlan</Role>
      <ShortName>401(K) Plan</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>100220 - Disclosure - Segment Reporting</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureSegmentReporting</Role>
      <ShortName>Segment Reporting</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>100230 - Disclosure - Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureRelatedPartyTransactions</Role>
      <ShortName>Related Party Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>100240 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureSubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>100250 - Disclosure - Selected Quarterly Financial Data</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureSelectedQuarterlyFinancialData</Role>
      <ShortName>Selected Quarterly Financial Data</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>100260 - Disclosure - Organization and Description of Business (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureOrganizationAndDescriptionOfBusinessPolicies</Role>
      <ShortName>Organization and Description of Business (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>100270 - Disclosure - Net (Loss) Income Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureNetLossIncomePerShareTables</Role>
      <ShortName>Net (Loss) Income Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureNetLossIncomePerShare</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>100280 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureFairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureFairValueMeasurements</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>100290 - Disclosure - Business Combination (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureBusinessCombinationTables</Role>
      <ShortName>Business Combination (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureBusinessCombination</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>100300 - Disclosure - Goodwill and Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsTables</Role>
      <ShortName>Goodwill and Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureGoodwillAndIntangibleAssets</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>100310 - Disclosure - Balance Sheet Components (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureBalanceSheetComponentsTables</Role>
      <ShortName>Balance Sheet Components (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureBalanceSheetComponents</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>100320 - Disclosure - Commitments and Contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureCommitmentsAndContingenciesTables</Role>
      <ShortName>Commitments and Contingencies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureCommitmentsAndContingencies</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>100330 - Disclosure - Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureDebtTables</Role>
      <ShortName>Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureDebt</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>100340 - Disclosure - Stockholders' Equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureStockholdersEquityTables</Role>
      <ShortName>Stockholders' Equity (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureStockholdersEquity</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>100350 - Disclosure - Warrants (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureWarrantsTables</Role>
      <ShortName>Warrants (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureWarrants</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>100360 - Disclosure - Stock Incentive Plans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureStockIncentivePlansTables</Role>
      <ShortName>Stock Incentive Plans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureStockIncentivePlans</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>100370 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureIncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureIncomeTaxes</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>100380 - Disclosure - Segment Reporting (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureSegmentReportingTables</Role>
      <ShortName>Segment Reporting (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureSegmentReporting</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>100390 - Disclosure - Selected Quarterly Financial Data (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureSelectedQuarterlyFinancialDataTables</Role>
      <ShortName>Selected Quarterly Financial Data (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureSelectedQuarterlyFinancialData</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>100400 - Disclosure - Organization and Description of Business - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureOrganizationAndDescriptionOfBusinessAdditionalInformationDetail</Role>
      <ShortName>Organization and Description of Business - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>100410 - Disclosure - Summary of Significant Accounting Policies - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail</Role>
      <ShortName>Summary of Significant Accounting Policies - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>100420 - Disclosure - Summary of Significant Accounting Policies - Additional Information - Concentration of Credit Risk (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationConcentrationOfCreditRiskDetail</Role>
      <ShortName>Summary of Significant Accounting Policies - Additional Information - Concentration of Credit Risk (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>100430 - Disclosure - Net (Loss) Income Per Share - Computation of Basic and Diluted Net (Loss) Income Per Share (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureNetLossIncomePerShareComputationOfBasicAndDilutedNetLossIncomePerShareDetail</Role>
      <ShortName>Net (Loss) Income Per Share - Computation of Basic and Diluted Net (Loss) Income Per Share (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureNetLossIncomePerShareTables</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>100440 - Disclosure - Net (Loss) Income Per Share - Potentially Dilutive Securities Excluded from Diluted Net (Loss) Income Per Share (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureNetLossIncomePerSharePotentiallyDilutiveSecuritiesExcludedFromDilutedNetLossIncomePerShareDetail</Role>
      <ShortName>Net (Loss) Income Per Share - Potentially Dilutive Securities Excluded from Diluted Net (Loss) Income Per Share (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureNetLossIncomePerShareTables</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>100450 - Disclosure - Net (Loss) Income Per Share - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureNetLossIncomePerShareAdditionalInformationDetail</Role>
      <ShortName>Net (Loss) Income Per Share - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureNetLossIncomePerShareTables</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>100460 - Disclosure - Fair Value Measurements - Fair Value of Financial Assets and Liabilities Measured at Fair Value on Recurring Basis (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureFairValueMeasurementsFairValueOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetail</Role>
      <ShortName>Fair Value Measurements - Fair Value of Financial Assets and Liabilities Measured at Fair Value on Recurring Basis (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>100470 - Disclosure - Fair Value Measurements - Summary of Issuances, Changes in Fair Value and Classifications of Level 3 Financial Instruments (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureFairValueMeasurementsSummaryOfIssuancesChangesInFairValueAndClassificationsOfLevel3FinancialInstrumentsDetail</Role>
      <ShortName>Fair Value Measurements - Summary of Issuances, Changes in Fair Value and Classifications of Level 3 Financial Instruments (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>100480 - Disclosure - Fair Value Measurements - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureFairValueMeasurementsAdditionalInformationDetail</Role>
      <ShortName>Fair Value Measurements - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>100490 - Disclosure - Business Combination - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureBusinessCombinationAdditionalInformationDetail</Role>
      <ShortName>Business Combination - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>100500 - Disclosure - Business Combination - Schedule of Fair Values of Assets Acquired and Liabilities Assumed (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureBusinessCombinationScheduleOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetail</Role>
      <ShortName>Business Combination - Schedule of Fair Values of Assets Acquired and Liabilities Assumed (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>100510 - Disclosure - Business Combination - Summary of Noncontrolling Interest (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureBusinessCombinationSummaryOfNoncontrollingInterestDetail</Role>
      <ShortName>Business Combination - Summary of Noncontrolling Interest (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>100520 - Disclosure - Business Combination - Summary of Identified Intangible Assets Acquired at Acquisition Date (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureBusinessCombinationSummaryOfIdentifiedIntangibleAssetsAcquiredAtAcquisitionDateDetail</Role>
      <ShortName>Business Combination - Summary of Identified Intangible Assets Acquired at Acquisition Date (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>100530 - Disclosure - Business Combination - Acquisition of Allenex - Schedule of Pro Forma Results of Operations (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureBusinessCombinationAcquisitionOfAllenexScheduleOfProFormaResultsOfOperationsDetail</Role>
      <ShortName>Business Combination - Acquisition of Allenex - Schedule of Pro Forma Results of Operations (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>100540 - Disclosure - Business Combination - IMX - Schedule of Pro Forma Results of Operations (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureBusinessCombinationIMXScheduleOfProFormaResultsOfOperationsDetail</Role>
      <ShortName>Business Combination - IMX - Schedule of Pro Forma Results of Operations (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>100550 - Disclosure - Goodwill and Intangible Assets - Summary of Goodwill (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfGoodwillDetail</Role>
      <ShortName>Goodwill and Intangible Assets - Summary of Goodwill (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>100560 - Disclosure - Goodwill and Intangible Assets - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetail</Role>
      <ShortName>Goodwill and Intangible Assets - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>100570 - Disclosure - Goodwill and Intangible Assets - Summary of Intangible Assets (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfIntangibleAssetsDetail</Role>
      <ShortName>Goodwill and Intangible Assets - Summary of Intangible Assets (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>100580 - Disclosure - Goodwill and Intangible Assets - Summary of Estimated Future Amortization Expense of Intangible Assets (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureGoodwillAndIntangibleAssetsSummaryOfEstimatedFutureAmortizationExpenseOfIntangibleAssetsDetail</Role>
      <ShortName>Goodwill and Intangible Assets - Summary of Estimated Future Amortization Expense of Intangible Assets (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>100590 - Disclosure - Balance Sheet Components - Summary of Inventory (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureBalanceSheetComponentsSummaryOfInventoryDetail</Role>
      <ShortName>Balance Sheet Components - Summary of Inventory (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>100600 - Disclosure - Balance Sheet Components - Components of Property and Equipment (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureBalanceSheetComponentsComponentsOfPropertyAndEquipmentDetail</Role>
      <ShortName>Balance Sheet Components - Components of Property and Equipment (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>100610 - Disclosure - Balance Sheet Components - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureBalanceSheetComponentsAdditionalInformationDetail</Role>
      <ShortName>Balance Sheet Components - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>100620 - Disclosure - Balance Sheet Components - Components of Accrued Expenses and Other Current Liabilities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureBalanceSheetComponentsComponentsOfAccruedExpensesAndOtherCurrentLiabilitiesDetail</Role>
      <ShortName>Balance Sheet Components - Components of Accrued Expenses and Other Current Liabilities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>100630 - Disclosure - Commitments and Contingencies - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformationDetail</Role>
      <ShortName>Commitments and Contingencies - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>100640 - Disclosure - Commitments and Contingencies - Future Minimum Lease Commitments under Operating and Capital Leases (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureCommitmentsAndContingenciesFutureMinimumLeaseCommitmentsUnderOperatingAndCapitalLeasesDetail</Role>
      <ShortName>Commitments and Contingencies - Future Minimum Lease Commitments under Operating and Capital Leases (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>100660 - Disclosure - Collaboration and Licensing Agreements - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureCollaborationAndLicensingAgreementsAdditionalInformationDetail</Role>
      <ShortName>Collaboration and Licensing Agreements - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>100670 - Disclosure - Debt - Schedule of Debt (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureDebtScheduleOfDebtDetail</Role>
      <ShortName>Debt - Schedule of Debt (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>100680 - Disclosure - Debt - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureDebtAdditionalInformationDetail</Role>
      <ShortName>Debt - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>100690 - Disclosure - Debt - Schedule of Future Debt Maturities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureDebtScheduleOfFutureDebtMaturitiesDetail</Role>
      <ShortName>Debt - Schedule of Future Debt Maturities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>100710 - Disclosure - Stockholders' Equity - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureStockholdersEquityAdditionalInformationDetail</Role>
      <ShortName>Stockholders' Equity - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>100720 - Disclosure - Stockholders' Equity - Schedule of Fair Value of Warrant Valuation Assumptions (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureStockholdersEquityScheduleOfFairValueOfWarrantValuationAssumptionsDetail</Role>
      <ShortName>Stockholders' Equity - Schedule of Fair Value of Warrant Valuation Assumptions (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>100730 - Disclosure - Warrants - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureWarrantsAdditionalInformationDetail</Role>
      <ShortName>Warrants - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>100740 - Disclosure - Warrants - Outstanding Warrants To Purchase Common Stock Warrants (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureWarrantsOutstandingWarrantsToPurchaseCommonStockWarrantsDetail</Role>
      <ShortName>Warrants - Outstanding Warrants To Purchase Common Stock Warrants (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>100750 - Disclosure - Warrants - Outstanding Warrants To Purchase Common Stock Warrants (Parenthetical) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureWarrantsOutstandingWarrantsToPurchaseCommonStockWarrantsParentheticalDetail</Role>
      <ShortName>Warrants - Outstanding Warrants To Purchase Common Stock Warrants (Parenthetical) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>100760 - Disclosure - Stock Incentive Plans - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureStockIncentivePlansAdditionalInformationDetail</Role>
      <ShortName>Stock Incentive Plans - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>100770 - Disclosure - Stock Incentive Plans - Summary of Option, Unvested RSU Activity and Related Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureStockIncentivePlansSummaryOfOptionUnvestedRSUActivityAndRelatedInformationDetail</Role>
      <ShortName>Stock Incentive Plans - Summary of Option, Unvested RSU Activity and Related Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>100780 - Disclosure - Stock Incentive Plans - Schedule of Options Outstanding and Options Vested (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureStockIncentivePlansScheduleOfOptionsOutstandingAndOptionsVestedDetail</Role>
      <ShortName>Stock Incentive Plans - Schedule of Options Outstanding and Options Vested (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>100790 - Disclosure - Stock Incentive Plans - Summary of Options Outstanding Vested and Expected to Vest (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureStockIncentivePlansSummaryOfOptionsOutstandingVestedAndExpectedToVestDetail</Role>
      <ShortName>Stock Incentive Plans - Summary of Options Outstanding Vested and Expected to Vest (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>100800 - Disclosure - Stock Incentive Plans - Weighted-Average Assumptions Used to Estimated Fair Value of Share-Based Awards (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureStockIncentivePlansWeightedAverageAssumptionsUsedToEstimatedFairValueOfShareBasedAwardsDetail</Role>
      <ShortName>Stock Incentive Plans - Weighted-Average Assumptions Used to Estimated Fair Value of Share-Based Awards (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>100810 - Disclosure - Stock Incentive Plans - Summary of Expense Relating to Employee and Nonemployee Stock-Based Payment Awards from Stock Options and RSUs (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureStockIncentivePlansSummaryOfExpenseRelatingToEmployeeAndNonemployeeStockBasedPaymentAwardsFromStockOptionsAndRsusDetail</Role>
      <ShortName>Stock Incentive Plans - Summary of Expense Relating to Employee and Nonemployee Stock-Based Payment Awards from Stock Options and RSUs (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>100820 - Disclosure - Income Taxes - Summary of Income or (Loss) Before Income Taxes (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureIncomeTaxesSummaryOfIncomeOrLossBeforeIncomeTaxesDetail</Role>
      <ShortName>Income Taxes - Summary of Income or (Loss) Before Income Taxes (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>100830 - Disclosure - Income Taxes - Components of Provision for (Benefit from) Income Taxes (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureIncomeTaxesComponentsOfProvisionForBenefitFromIncomeTaxesDetail</Role>
      <ShortName>Income Taxes - Components of Provision for (Benefit from) Income Taxes (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>100840 - Disclosure - Income Taxes - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureIncomeTaxesAdditionalInformationDetail</Role>
      <ShortName>Income Taxes - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>100850 - Disclosure - Income Taxes - Schedule of Provision for Tax Differed from Amounts Computed by Applying U.S. Federal Income Tax Rate to Pretax Income (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureIncomeTaxesScheduleOfProvisionForTaxDifferedFromAmountsComputedByApplyingUSFederalIncomeTaxRateToPretaxIncomeDetail</Role>
      <ShortName>Income Taxes - Schedule of Provision for Tax Differed from Amounts Computed by Applying U.S. Federal Income Tax Rate to Pretax Income (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>100860 - Disclosure - Income Taxes - Schedule of Deferred Income Tax Assets and Liabilities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureIncomeTaxesScheduleOfDeferredIncomeTaxAssetsAndLiabilitiesDetail</Role>
      <ShortName>Income Taxes - Schedule of Deferred Income Tax Assets and Liabilities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>85</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>100870 - Disclosure - Income Taxes - Schedule of Reconciliation of Unrecognized Tax Benefits (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureIncomeTaxesScheduleOfReconciliationOfUnrecognizedTaxBenefitsDetail</Role>
      <ShortName>Income Taxes - Schedule of Reconciliation of Unrecognized Tax Benefits (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>100880 - Disclosure - 401(K) Plan - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/Disclosure401KPlanAdditionalInformationDetail</Role>
      <ShortName>401(K) Plan - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>100890 - Disclosure - Segment Reporting - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureSegmentReportingAdditionalInformationDetail</Role>
      <ShortName>Segment Reporting - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>100900 - Disclosure - Segment Reporting - Operating Results of Reportable Segments (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureSegmentReportingOperatingResultsOfReportableSegmentsDetail</Role>
      <ShortName>Segment Reporting - Operating Results of Reportable Segments (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>100910 - Disclosure - Segment Reporting - Reportable Revenues by Geographic Regions (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureSegmentReportingReportableRevenuesByGeographicRegionsDetail</Role>
      <ShortName>Segment Reporting - Reportable Revenues by Geographic Regions (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>100920 - Disclosure - Segment Reporting - Long-Lived Assets Consisting of Property and Equipment, Net by Geographic Regions (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureSegmentReportingLongLivedAssetsConsistingOfPropertyAndEquipmentNetByGeographicRegionsDetail</Role>
      <ShortName>Segment Reporting - Long-Lived Assets Consisting of Property and Equipment, Net by Geographic Regions (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>100930 - Disclosure - Related Party Transactions - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationDetail</Role>
      <ShortName>Related Party Transactions - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>100940 - Disclosure - Subsequent Events - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetail</Role>
      <ShortName>Subsequent Events - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="cdna-20161231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>100950 - Disclosure - Selected Quarterly Financial Data - Summary of Selected Quarterly Financial Data (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caredxinc.com/20161231/taxonomy/role/DisclosureSelectedQuarterlyFinancialDataSummaryOfSelectedQuarterlyFinancialDataDetail</Role>
      <ShortName>Selected Quarterly Financial Data - Summary of Selected Quarterly Financial Data (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>94</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>cdna-20161231.xml</File>
    <File>cdna-20161231.xsd</File>
    <File>cdna-20161231_cal.xml</File>
    <File>cdna-20161231_def.xml</File>
    <File>cdna-20161231_lab.xml</File>
    <File>cdna-20161231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies/>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
