<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.19.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>186</ContextCount>
  <ElementCount>358</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>55</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>4</UnitCount>
  <MyReports>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0001000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/DocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1001000 - Statement - Condensed Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/CondensedBalanceSheets</Role>
      <ShortName>Condensed Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1001501 - Statement - Condensed Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/CondensedBalanceSheetsParenthetical</Role>
      <ShortName>Condensed Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1002000 - Statement - Condensed Statements of Operations and Comprehensive Loss</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/CondensedStatementsOfOperationsAndComprehensiveLoss</Role>
      <ShortName>Condensed Statements of Operations and Comprehensive Loss</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1004000 - Statement - Condensed Statement of Changes in Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/CondensedStatementOfChangesInStockholdersEquity</Role>
      <ShortName>Condensed Statement of Changes in Stockholders' Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1005000 - Statement - Condensed Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/CondensedStatementsOfCashFlows</Role>
      <ShortName>Condensed Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>2101100 - Disclosure - Organization and Basis of Presentation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/OrganizationAndBasisOfPresentation</Role>
      <ShortName>Organization and Basis of Presentation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>2102100 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/SummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>2103100 - Disclosure - Cash Equivalents and Investments in Marketable Securities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/CashEquivalentsAndInvestmentsInMarketableSecurities</Role>
      <ShortName>Cash Equivalents and Investments in Marketable Securities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2104100 - Disclosure - Balance Sheet Components</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/BalanceSheetComponents</Role>
      <ShortName>Balance Sheet Components</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2105100 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/Leases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2106100 - Disclosure - Debt Financing (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.zosanopharma.com/role/DebtFinancingNotes</Role>
      <ShortName>Debt Financing (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2107100 - Disclosure - Warrants</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/Warrants</Role>
      <ShortName>Warrants</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2108100 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/CommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2109100 - Disclosure - Stock-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/StockBasedCompensation</Role>
      <ShortName>Stock-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2202201 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/SummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.zosanopharma.com/role/SummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>16</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2302302 - Disclosure - Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/SummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.zosanopharma.com/role/SummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>17</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2303301 - Disclosure - Cash Equivalents and Investments in Marketable Securities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/CashEquivalentsAndInvestmentsInMarketableSecuritiesTables</Role>
      <ShortName>Cash Equivalents and Investments in Marketable Securities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.zosanopharma.com/role/CashEquivalentsAndInvestmentsInMarketableSecurities</ParentRole>
      <Position>18</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2304301 - Disclosure - Balance Sheet Components (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/BalanceSheetComponentsTables</Role>
      <ShortName>Balance Sheet Components (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.zosanopharma.com/role/BalanceSheetComponents</ParentRole>
      <Position>19</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2305301 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/LeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.zosanopharma.com/role/Leases</ParentRole>
      <Position>20</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2306301 - Disclosure - Debt Financing (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/DebtFinancingTables</Role>
      <ShortName>Debt Financing (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.zosanopharma.com/role/DebtFinancingNotes</ParentRole>
      <Position>21</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2307301 - Disclosure - Warrants (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/WarrantsTables</Role>
      <ShortName>Warrants (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.zosanopharma.com/role/Warrants</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2309301 - Disclosure - Stock-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/StockBasedCompensationTables</Role>
      <ShortName>Stock-Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.zosanopharma.com/role/StockBasedCompensation</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2401401 - Disclosure - Organization and Basis of Presentation - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/OrganizationAndBasisOfPresentationAdditionalInformationDetail</Role>
      <ShortName>Organization and Basis of Presentation - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2402403 - Disclosure - Summary of Significant Accounting Policies - Lease Standards (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/SummaryOfSignificantAccountingPoliciesLeaseStandardsDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Lease Standards (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2402404 - Disclosure - Summary of Significant Accounting Policies - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/SummaryOfSignificantAccountingPoliciesAdditionalInformationDetail</Role>
      <ShortName>Summary of Significant Accounting Policies - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2402405 - Disclosure - Summary of Significant Accounting Policies - Summary of Reconciliation of Cash and Cash Equivalents, and Restricted Cash (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/SummaryOfSignificantAccountingPoliciesSummaryOfReconciliationOfCashAndCashEquivalentsAndRestrictedCashDetail</Role>
      <ShortName>Summary of Significant Accounting Policies - Summary of Reconciliation of Cash and Cash Equivalents, and Restricted Cash (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2402406 - Disclosure - Summary of Significant Accounting Policies - Schedule of Outstanding Common Stock Equivalents Excluded From Computations of Diluted Net Loss per Common Share (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/SummaryOfSignificantAccountingPoliciesScheduleOfOutstandingCommonStockEquivalentsExcludedFromComputationsOfDilutedNetLossPerCommonShareDetail</Role>
      <ShortName>Summary of Significant Accounting Policies - Schedule of Outstanding Common Stock Equivalents Excluded From Computations of Diluted Net Loss per Common Share (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2403402 - Disclosure - Cash Equivalents and Investments in Marketable Securities - Summary of Cash Equivalents and Investments Carried at Fair Value (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/CashEquivalentsAndInvestmentsInMarketableSecuritiesSummaryOfCashEquivalentsAndInvestmentsCarriedAtFairValueDetail</Role>
      <ShortName>Cash Equivalents and Investments in Marketable Securities - Summary of Cash Equivalents and Investments Carried at Fair Value (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2403403 - Disclosure - Cash Equivalents and Investments in Marketable Securities - Summary of Investment Available for Sale (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/CashEquivalentsAndInvestmentsInMarketableSecuritiesSummaryOfInvestmentAvailableForSaleDetail</Role>
      <ShortName>Cash Equivalents and Investments in Marketable Securities - Summary of Investment Available for Sale (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2404402 - Disclosure - Balance Sheet Components - Prepaid Expenses and Other Current Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/BalanceSheetComponentsPrepaidExpensesAndOtherCurrentAssetsDetails</Role>
      <ShortName>Balance Sheet Components - Prepaid Expenses and Other Current Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2404403 - Disclosure - Balance Sheet Components - Schedule of Property and Equipment (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/BalanceSheetComponentsScheduleOfPropertyAndEquipmentDetail</Role>
      <ShortName>Balance Sheet Components - Schedule of Property and Equipment (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2404404 - Disclosure - Balance Sheet Components - Narative (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/BalanceSheetComponentsNarativeDetail</Role>
      <ShortName>Balance Sheet Components - Narative (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2404405 - Disclosure - Balance Sheet Components - Other Accrued Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/BalanceSheetComponentsOtherAccruedLiabilitiesDetails</Role>
      <ShortName>Balance Sheet Components - Other Accrued Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2405402 - Disclosure - Leases - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/LeasesNarrativeDetails</Role>
      <ShortName>Leases - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2405403 - Disclosure - Leases - Finance Lease Obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/LeasesFinanceLeaseObligationsDetails</Role>
      <ShortName>Leases - Finance Lease Obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2405404 - Disclosure - Leases - Description of Lease Costs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/LeasesDescriptionOfLeaseCostsDetails</Role>
      <ShortName>Leases - Description of Lease Costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2405405 - Disclosure - Leases - Description of Cash Payment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/LeasesDescriptionOfCashPaymentDetails</Role>
      <ShortName>Leases - Description of Cash Payment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2405406 - Disclosure - Leases - Description of Other Lease Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/LeasesDescriptionOfOtherLeaseInformationDetails</Role>
      <ShortName>Leases - Description of Other Lease Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2405407 - Disclosure - Leases - Future Minimum Lease Payments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/LeasesFutureMinimumLeasePaymentsDetails</Role>
      <ShortName>Leases - Future Minimum Lease Payments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2406402 - Disclosure - Debt Financing - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/DebtFinancingAdditionalInformationDetail</Role>
      <ShortName>Debt Financing - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2406403 - Disclosure - Debt Financing - Summary of Debt Obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/DebtFinancingSummaryOfDebtObligationsDetails</Role>
      <ShortName>Debt Financing - Summary of Debt Obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2406404 - Disclosure - Debt Financing  - Schedule of Long-term Debt Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/DebtFinancingScheduleOfLongTermDebtInstrumentsDetails</Role>
      <ShortName>Debt Financing  - Schedule of Long-term Debt Instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2406405 - Disclosure - Debt Financing  - Future Minimum Payments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/DebtFinancingFutureMinimumPaymentsDetails</Role>
      <ShortName>Debt Financing  - Future Minimum Payments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2407402 - Disclosure - Warrants (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/WarrantsDetail</Role>
      <ShortName>Warrants (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.zosanopharma.com/role/WarrantsTables</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2408401 - Disclosure - Commitments and Contingencies - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/CommitmentsAndContingenciesAdditionalInformationDetail</Role>
      <ShortName>Commitments and Contingencies - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2409402 - Disclosure - Stock-Based Compensation - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/StockBasedCompensationAdditionalInformationDetail</Role>
      <ShortName>Stock-Based Compensation - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2409403 - Disclosure - Stock-Based Compensation - Summary of Stock Option and Award Activity Excluding Inducement Grants (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/StockBasedCompensationSummaryOfStockOptionAndAwardActivityExcludingInducementGrantsDetail</Role>
      <ShortName>Stock-Based Compensation - Summary of Stock Option and Award Activity Excluding Inducement Grants (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2409404 - Disclosure - Stock-Based Compensation - Summary of Company's Inducement Grant Stock Option Activities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/StockBasedCompensationSummaryOfCompanysInducementGrantStockOptionActivitiesDetail</Role>
      <ShortName>Stock-Based Compensation - Summary of Company's Inducement Grant Stock Option Activities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2409405 - Disclosure - Stock-Based Compensation - Summary of Stock-Based Compensation Expense (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/StockBasedCompensationSummaryOfStockBasedCompensationExpenseDetail</Role>
      <ShortName>Stock-Based Compensation - Summary of Stock-Based Compensation Expense (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="zsan-20190630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2409406 - Disclosure - Stock-Based Compensation - Schedule of Weighted-Average Assumptions for the Black-Scholes Option-Pricing Model Used in Determining the Fair Value of Options Granted (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.zosanopharma.com/role/StockBasedCompensationScheduleOfWeightedAverageAssumptionsForBlackScholesOptionPricingModelUsedInDeterminingFairValueOfOptionsGrantedDetail</Role>
      <ShortName>Stock-Based Compensation - Schedule of Weighted-Average Assumptions for the Black-Scholes Option-Pricing Model Used in Determining the Fair Value of Options Granted (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>zsan-20190630.xml</File>
    <File>zsan-20190630.xsd</File>
    <File>zsan-20190630_cal.xml</File>
    <File>zsan-20190630_def.xml</File>
    <File>zsan-20190630_lab.xml</File>
    <File>zsan-20190630_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2018-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/us-gaap/2018-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/srt/2018-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
