<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.23.3</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>325</ContextCount>
  <ElementCount>332</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>73</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>6</UnitCount>
  <MyReports>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>100000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>100010 - Statement - Condensed Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_StatementCondensedConsolidatedBalanceSheets</Role>
      <ShortName>Condensed Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>100030 - Statement - Condensed Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_StatementCondensedConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Condensed Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>100050 - Statement - Condensed Consolidated Statements of Operations (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_StatementCondensedConsolidatedStatementsOfOperationsUnaudited</Role>
      <ShortName>Condensed Consolidated Statements of Operations (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>100060 - Statement - Condensed Consolidated Statements of Comprehensive Income (Loss) (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/StatementCondensedConsolidatedStatementsOfComprehensiveIncomeLossUnaudited</Role>
      <ShortName>Condensed Consolidated Statements of Comprehensive Income (Loss) (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>100080 - Statement - Condensed Consolidated Statements of Stockholders' Equity (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/StatementCondensedConsolidatedStatementsOfStockholdersEquityUnaudited</Role>
      <ShortName>Condensed Consolidated Statements of Stockholders' Equity (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>100090 - Statement - Condensed Consolidated Statements of Cash Flows (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_StatementCondensedConsolidatedStatementsOfCashFlowsUnaudited</Role>
      <ShortName>Condensed Consolidated Statements of Cash Flows (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>995410 - Disclosure - Pay vs Performance Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/PvpDisclosure</Role>
      <ShortName>Pay vs Performance Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>995455 - Disclosure - Organization and Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureOrganizationAndSummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>995465 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>995475 - Disclosure - Cash, Cash Equivalents, Restricted Cash and Marketable Securities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureCashCashEquivalentsRestrictedCashAndMarketableSecurities</Role>
      <ShortName>Cash, Cash Equivalents, Restricted Cash and Marketable Securities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>995485 - Disclosure - Inventories</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/DisclosureInventories1</Role>
      <ShortName>Inventories</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>995495 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>995505 - Disclosure - Collaborative Research, Development and License Agreements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureCollaborativeResearchDevelopmentAndLicenseAgreements</Role>
      <ShortName>Collaborative Research, Development and License Agreements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>995515 - Disclosure - Convertible Notes</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureConvertibleNotes</Role>
      <ShortName>Convertible Notes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>995525 - Disclosure - Revenue Recognition</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureRevenueRecognition</Role>
      <ShortName>Revenue Recognition</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>995535 - Disclosure - Net Income Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/DisclosureNetIncomePerShare</Role>
      <ShortName>Net Income Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>995545 - Disclosure - Common Stock and Warrants</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/DisclosureCommonStockAndWarrants</Role>
      <ShortName>Common Stock and Warrants</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>995555 - Disclosure - Equity Plans and Stock-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureEquityPlansAndStockBasedCompensation</Role>
      <ShortName>Equity Plans and Stock-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>995565 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/DisclosureIncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>995575 - Disclosure - Organization and Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureOrganizationAndSummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureOrganizationAndSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>21</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>995585 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurements</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>995595 - Disclosure - Cash, Cash Equivalents, Restricted Cash and Marketable Securities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureCashCashEquivalentsRestrictedCashAndMarketableSecuritiesTables</Role>
      <ShortName>Cash, Cash Equivalents, Restricted Cash and Marketable Securities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureCashCashEquivalentsRestrictedCashAndMarketableSecurities</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>995605 - Disclosure - Inventories, Net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureInventoriesNetTables</Role>
      <ShortName>Inventories, Net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>995615 - Disclosure - Commitments and Contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesTables</Role>
      <ShortName>Commitments and Contingencies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureCommitmentsAndContingencies</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>995625 - Disclosure - Convertible Notes (Tables)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureConvertibleNotesTables</Role>
      <ShortName>Convertible Notes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureConvertibleNotes</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>995635 - Disclosure - Revenue Recognition (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureRevenueRecognitionTables</Role>
      <ShortName>Revenue Recognition (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureRevenueRecognition</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>995645 - Disclosure - Net Income Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/DisclosureNetIncomePerShareTables</Role>
      <ShortName>Net Income Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.dynavax.com/20230930/taxonomy/role/DisclosureNetIncomePerShare</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>995665 - Disclosure - Equity Plans and Stock-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureEquityPlansAndStockBasedCompensationTables</Role>
      <ShortName>Equity Plans and Stock-Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureEquityPlansAndStockBasedCompensation</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>995675 - Disclosure - Organization and Summary of Significant Accounting Policies - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureOrganizationAndSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>995685 - Disclosure - Fair Value Measurements - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureFairValueMeasurementsAdditionalInformationDetail</Role>
      <ShortName>Fair Value Measurements - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>995695 - Disclosure - Fair Value Hierarchy for Financial Assets and Liabilities Measured at Fair Value on Recurring Basis (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureFairValueHierarchyForFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetail</Role>
      <ShortName>Fair Value Hierarchy for Financial Assets and Liabilities Measured at Fair Value on Recurring Basis (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>995715 - Disclosure - Cash, Cash Equivalents, Restricted Cash and Marketable Securities - Reconciliation of Cash, Cash Equivalents and Restricted Cash (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureCashCashEquivalentsRestrictedCashAndMarketableSecuritiesReconciliationOfCashCashEquivalentsAndRestrictedCashDetail</Role>
      <ShortName>Cash, Cash Equivalents, Restricted Cash and Marketable Securities - Reconciliation of Cash, Cash Equivalents and Restricted Cash (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>995725 - Disclosure - Cash, Cash Equivalents, Restricted Cash and Marketable Securities - Summary of Cash, Cash Equivalents and Marketable Securities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureCashCashEquivalentsRestrictedCashAndMarketableSecuritiesSummaryOfCashCashEquivalentsAndMarketableSecuritiesDetail</Role>
      <ShortName>Cash, Cash Equivalents, Restricted Cash and Marketable Securities - Summary of Cash, Cash Equivalents and Marketable Securities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>995735 - Disclosure - Cash, Cash Equivalents, Restricted Cash and Marketable Securities - Maturities of Marketable Securities Available-for-Sale (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureCashCashEquivalentsRestrictedCashAndMarketableSecuritiesMaturitiesOfMarketableSecuritiesAvailableForSaleDetail</Role>
      <ShortName>Cash, Cash Equivalents, Restricted Cash and Marketable Securities - Maturities of Marketable Securities Available-for-Sale (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>995745 - Disclosure - Cash, Cash Equivalents, Restricted Cash and Marketable Securities - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureCashCashEquivalentsRestrictedCashAndMarketableSecuritiesAdditionalInformationDetail</Role>
      <ShortName>Cash, Cash Equivalents, Restricted Cash and Marketable Securities - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>995755 - Disclosure - Inventories, Net - Summary of Inventories (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureInventoriesNetSummaryOfInventoriesDetail</Role>
      <ShortName>Inventories, Net - Summary of Inventories (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>995765 - Disclosure - Commitments and Contingencies - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesAdditionalInformationDetail</Role>
      <ShortName>Commitments and Contingencies - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>995775 - Disclosure - Commitments and Contingencies - Summary of Operating Lease Expense (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesSummaryOfOperatingLeaseExpenseDetail</Role>
      <ShortName>Commitments and Contingencies - Summary of Operating Lease Expense (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>995785 - Disclosure - Commitments and Contingencies - Summary of Balance Sheet Classification of Operating Lease Liabilities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesSummaryOfBalanceSheetClassificationOfOperatingLeaseLiabilitiesDetail</Role>
      <ShortName>Commitments and Contingencies - Summary of Balance Sheet Classification of Operating Lease Liabilities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>995795 - Disclosure - Commitments and Contingencies - Summary of Maturities of Sublease Income and Operating Lease Liabilities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesSummaryOfMaturitiesOfSubleaseIncomeAndOperatingLeaseLiabilitiesDetail</Role>
      <ShortName>Commitments and Contingencies - Summary of Maturities of Sublease Income and Operating Lease Liabilities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>995805 - Disclosure - Commitments and Contingencies - Summary of Weighted Average Remaining Lease Term and Weighted Average Discount Rate (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesSummaryOfWeightedAverageRemainingLeaseTermAndWeightedAverageDiscountRateDetail</Role>
      <ShortName>Commitments and Contingencies - Summary of Weighted Average Remaining Lease Term and Weighted Average Discount Rate (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>995815 - Disclosure - Collaboration, Development and Supply Agreements - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/DisclosureCollaborationDevelopmentAndSupplyAgreementsAdditionalInformationDetail</Role>
      <ShortName>Collaboration, Development and Supply Agreements - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>995825 - Disclosure - Convertible Notes - Additional Information (Detail)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureConvertibleNotesAdditionalInformationDetail</Role>
      <ShortName>Convertible Notes - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>995835 - Disclosure - Convertible Notes - Summary of Interest Expenses Related to Convertible Notes (Detail)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureConvertibleNotesSummaryOfInterestExpensesRelatedToConvertibleNotesDetail</Role>
      <ShortName>Convertible Notes - Summary of Interest Expenses Related to Convertible Notes (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>995845 - Disclosure - Revenue Recognition - Summary of Disaggregation of Revenues (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureRevenueRecognitionSummaryOfDisaggregationOfRevenuesDetail</Role>
      <ShortName>Revenue Recognition - Summary of Disaggregation of Revenues (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>995855 - Disclosure - Revenue Recognition - Schedule of Revenues from Major Customers (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureRevenueRecognitionScheduleOfRevenuesFromMajorCustomersDetail</Role>
      <ShortName>Revenue Recognition - Schedule of Revenues from Major Customers (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>995865 - Disclosure - Revenue Recognition - Summary of Product Revenue Allowance and Reserve Categories (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureRevenueRecognitionSummaryOfProductRevenueAllowanceAndReserveCategoriesDetail</Role>
      <ShortName>Revenue Recognition - Summary of Product Revenue Allowance and Reserve Categories (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>995875 - Disclosure - Revenue Recognition - Summary of balances and activities in our contract asset account (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/DisclosureRevenueRecognitionSummaryOfBalancesAndActivitiesInOurContractAssetAccountDetails</Role>
      <ShortName>Revenue Recognition - Summary of balances and activities in our contract asset account (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>995885 - Disclosure - Computation of Basic and Diluted Net (Loss) Income Per Share (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/DisclosureComputationOfBasicAndDilutedNetLossIncomePerShareDetail</Role>
      <ShortName>Computation of Basic and Diluted Net (Loss) Income Per Share (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>995895 - Disclosure - Outstanding Stock Options and Stock Awards Excluded from Calculation of Net Loss Per Share (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureOutstandingStockOptionsAndStockAwardsExcludedFromCalculationOfNetLossPerShareDetail</Role>
      <ShortName>Outstanding Stock Options and Stock Awards Excluded from Calculation of Net Loss Per Share (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>995905 - Disclosure - Common Stock and Warrants - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/DisclosureCommonStockAndWarrantsAdditionalInformationDetail</Role>
      <ShortName>Common Stock and Warrants - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>995915 - Disclosure - Equity Plans and Stock-Based Compensation - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureEquityPlansAndStockBasedCompensationAdditionalInformationDetail</Role>
      <ShortName>Equity Plans and Stock-Based Compensation - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>995925 - Disclosure - Equity Plans and Stock-Based Compensation - Option Activity under Stock-Based Compensation Plans (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureEquityPlansAndStockBasedCompensationOptionActivityUnderStockBasedCompensationPlansDetail</Role>
      <ShortName>Equity Plans and Stock-Based Compensation - Option Activity under Stock-Based Compensation Plans (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>995935 - Disclosure - Equity Plans and Stock-Based Compensation - Summary of Restricted Stock Units Activity (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureEquityPlansAndStockBasedCompensationSummaryOfRestrictedStockUnitsActivityDetail</Role>
      <ShortName>Equity Plans and Stock-Based Compensation - Summary of Restricted Stock Units Activity (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>995945 - Disclosure - Equity Plans and Stock-Based Compensation -Summary Of Performance Based Restricted Stock Unit (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureEquityPlansAndStockBasedCompensationSummaryOfPerformanceBasedRestrictedStockUnitDetail</Role>
      <ShortName>Equity Plans and Stock-Based Compensation -Summary Of Performance Based Restricted Stock Unit (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>995955 - Disclosure - Equity Plans and Stock-Based Compensation - Fair Value-Based Measurements and Weighted-Average Assumptions (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureEquityPlansAndStockBasedCompensationFairValueBasedMeasurementsAndWeightedAverageAssumptionsDetail</Role>
      <ShortName>Equity Plans and Stock-Based Compensation - Fair Value-Based Measurements and Weighted-Average Assumptions (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>995965 - Disclosure - Equity Plans and Stock-Based Compensation - Stock-Based Compensation Expense (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/Role_DisclosureEquityPlansAndStockBasedCompensationStockBasedCompensationExpenseDetail</Role>
      <ShortName>Equity Plans and Stock-Based Compensation - Stock-Based Compensation Expense (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="dvax-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>995975 - Disclosure - Income Taxes (Additional Information) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dynavax.com/20230930/taxonomy/role/DisclosureIncomeTaxesAdditionalInformationDetails</Role>
      <ShortName>Income Taxes (Additional Information) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.dynavax.com/20230930/taxonomy/role/DisclosureIncomeTaxes</ParentRole>
      <Position>59</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-Q" isDefinitelyFs="true" isUsgaap="true" original="dvax-20230930.htm">dvax-20230930.htm</File>
    <File>dvax-20230930.xsd</File>
    <File>dvax-20230930_cal.xml</File>
    <File>dvax-20230930_def.xml</File>
    <File>dvax-20230930_lab.xml</File>
    <File>dvax-20230930_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="862">http://fasb.org/us-gaap/2023</BaseTaxonomy>
    <BaseTaxonomy items="30">http://xbrl.sec.gov/dei/2023</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
