<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.22.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>202</ContextCount>
  <ElementCount>301</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>57</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>6</UnitCount>
  <MyReports>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0001001 - Document - Cover Page</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/CoverPage</Role>
      <ShortName>Cover Page</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>0002002 - Document - Audit Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/AuditInformation</Role>
      <ShortName>Audit Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1001003 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/ConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1002004 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/ConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1003005 - Statement - Consolidated Statements of Operations and Comprehensive Loss</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/ConsolidatedStatementsofOperationsandComprehensiveLoss</Role>
      <ShortName>Consolidated Statements of Operations and Comprehensive Loss</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1004006 - Statement - Consolidated Statements of Changes in Stockholders??? Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/ConsolidatedStatementsofChangesinStockholdersEquity</Role>
      <ShortName>Consolidated Statements of Changes in Stockholders??? Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>1005007 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/ConsolidatedStatementsofCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>2101101 - Disclosure - Business Overview</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/BusinessOverview</Role>
      <ShortName>Business Overview</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>2103102 - Disclosure - Basis of Presentation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/BasisofPresentation</Role>
      <ShortName>Basis of Presentation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2108103 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/SummaryofSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2116104 - Disclosure - Recent Accounting Pronouncements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/RecentAccountingPronouncements</Role>
      <ShortName>Recent Accounting Pronouncements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2118105 - Disclosure - Stockholders' Equity and Derivative Liability - Warrants</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/StockholdersEquityandDerivativeLiabilityWarrants</Role>
      <ShortName>Stockholders' Equity and Derivative Liability - Warrants</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2124106 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/FairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2130107 - Disclosure - Indefinite-lived Intangible Assets, Goodwill, and Property and Equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/IndefinitelivedIntangibleAssetsGoodwillandPropertyandEquipment</Role>
      <ShortName>Indefinite-lived Intangible Assets, Goodwill, and Property and Equipment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2135108 - Disclosure - Accrued Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/AccruedLiabilities</Role>
      <ShortName>Accrued Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2138109 - Disclosure - Accounting for Share-Based Payments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/AccountingforShareBasedPayments</Role>
      <ShortName>Accounting for Share-Based Payments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2144110 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2149111 - Disclosure - Loss per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/LossperShare</Role>
      <ShortName>Loss per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2153112 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/CommitmentsandContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2157113 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/SubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2209201 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/SummaryofSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.hepion.com/role/SummaryofSignificantAccountingPolicies</ParentRole>
      <Position>21</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2304301 - Disclosure - Basis of Presentation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/BasisofPresentationTables</Role>
      <ShortName>Basis of Presentation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.hepion.com/role/BasisofPresentation</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2319302 - Disclosure - Stockholder???s Equity and Derivative Liability - Warrants (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/StockholdersEquityandDerivativeLiabilityWarrantsTables</Role>
      <ShortName>Stockholder???s Equity and Derivative Liability - Warrants (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2325303 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/FairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.hepion.com/role/FairValueMeasurements</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2331304 - Disclosure - Indefinite-lived Intangible Assets, Goodwill, and Property and Equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/IndefinitelivedIntangibleAssetsGoodwillandPropertyandEquipmentTables</Role>
      <ShortName>Indefinite-lived Intangible Assets, Goodwill, and Property and Equipment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.hepion.com/role/IndefinitelivedIntangibleAssetsGoodwillandPropertyandEquipment</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2336305 - Disclosure - Accrued Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/AccruedLiabilitiesTables</Role>
      <ShortName>Accrued Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.hepion.com/role/AccruedLiabilities</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2339306 - Disclosure - Accounting for Share-Based Payments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/AccountingforShareBasedPaymentsTables</Role>
      <ShortName>Accounting for Share-Based Payments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.hepion.com/role/AccountingforShareBasedPayments</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2345307 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/IncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.hepion.com/role/IncomeTaxes</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2350308 - Disclosure - Loss per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/LossperShareTables</Role>
      <ShortName>Loss per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.hepion.com/role/LossperShare</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2354309 - Disclosure - Commitments and Contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/CommitmentsandContingenciesTables</Role>
      <ShortName>Commitments and Contingencies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.hepion.com/role/CommitmentsandContingencies</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2402401 - Disclosure - Business Overview (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/BusinessOverviewDetails</Role>
      <ShortName>Business Overview (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.hepion.com/role/BusinessOverview</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2405402 - Disclosure - Basis of Presentation - Warrants Corrections (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/BasisofPresentationWarrantsCorrectionsDetails</Role>
      <ShortName>Basis of Presentation - Warrants Corrections (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2406403 - Disclosure - Basis of Presentation - Note disclosures affected by corrections (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/BasisofPresentationNotedisclosuresaffectedbycorrectionsDetails</Role>
      <ShortName>Basis of Presentation - Note disclosures affected by corrections (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2407404 - Disclosure - Basis of Presentation - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/BasisofPresentationAdditionalInformationDetails</Role>
      <ShortName>Basis of Presentation - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2410405 - Disclosure - Summary of Significant Accounting Policies - Cash (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/SummaryofSignificantAccountingPoliciesCashDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Cash (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.hepion.com/role/SummaryofSignificantAccountingPoliciesPolicies</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2411406 - Disclosure - Summary of Significant Accounting Policies - Derivative Financial Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/SummaryofSignificantAccountingPoliciesDerivativeFinancialInstrumentsDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Derivative Financial Instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2412407 - Disclosure - Summary of Significant Accounting Policies - Property, equipment and depreciation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/SummaryofSignificantAccountingPoliciesPropertyequipmentanddepreciationDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Property, equipment and depreciation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2413408 - Disclosure - Summary of Significant Accounting Policies - Goodwill and In-Process Research and Development (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/SummaryofSignificantAccountingPoliciesGoodwillandInProcessResearchandDevelopmentDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Goodwill and In-Process Research and Development (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2414409 - Disclosure - Summary of Significant Accounting Policies - Research and Development (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/SummaryofSignificantAccountingPoliciesResearchandDevelopmentDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Research and Development (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2415410 - Disclosure - Summary of Significant Accounting Policies - Segment Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/SummaryofSignificantAccountingPoliciesSegmentInformationDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Segment Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2417411 - Disclosure - Recent Accounting Pronouncements - Accounting Standards Update (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/RecentAccountingPronouncementsAccountingStandardsUpdateDetails</Role>
      <ShortName>Recent Accounting Pronouncements - Accounting Standards Update (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2420412 - Disclosure - Stockholders' Equity and Derivative Liability - Warrants - Series A Convertible Preferred Stock (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/StockholdersEquityandDerivativeLiabilityWarrantsSeriesAConvertiblePreferredStockDetails</Role>
      <ShortName>Stockholders' Equity and Derivative Liability - Warrants - Series A Convertible Preferred Stock (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2421413 - Disclosure - Stockholders' Equity and Derivative Liability - Warrants - Series C Convertible Preferred Stock Issuance (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/StockholdersEquityandDerivativeLiabilityWarrantsSeriesCConvertiblePreferredStockIssuanceDetails</Role>
      <ShortName>Stockholders' Equity and Derivative Liability - Warrants - Series C Convertible Preferred Stock Issuance (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2422414 - Disclosure - Stockholders' Equity and Derivative Liability - Warrants - Components of changes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/StockholdersEquityandDerivativeLiabilityWarrantsComponentsofchangesDetails</Role>
      <ShortName>Stockholders' Equity and Derivative Liability - Warrants - Components of changes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2423415 - Disclosure - Stockholders' Equity and Derivative Liability - Warrants - Common Stock Offering (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/StockholdersEquityandDerivativeLiabilityWarrantsCommonStockOfferingDetails</Role>
      <ShortName>Stockholders' Equity and Derivative Liability - Warrants - Common Stock Offering (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2426416 - Disclosure - Fair Value Measurements - Schedule of Liabilities Measured on Recurring Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/FairValueMeasurementsScheduleofLiabilitiesMeasuredonRecurringBasisDetails</Role>
      <ShortName>Fair Value Measurements - Schedule of Liabilities Measured on Recurring Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2427417 - Disclosure - Fair Value Measurements - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/FairValueMeasurementsAdditionalInformationDetails</Role>
      <ShortName>Fair Value Measurements - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2428418 - Disclosure - Fair Value Measurements - Assumptions Used to Calculate Fair Value (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/FairValueMeasurementsAssumptionsUsedtoCalculateFairValueDetails</Role>
      <ShortName>Fair Value Measurements - Assumptions Used to Calculate Fair Value (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2429419 - Disclosure - Fair Value Measurements - Activity for Fair Value of Contingent Consideration (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/FairValueMeasurementsActivityforFairValueofContingentConsiderationDetails</Role>
      <ShortName>Fair Value Measurements - Activity for Fair Value of Contingent Consideration (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2432420 - Disclosure - Indefinite-lived Intangible Assets, Goodwill, and Property and Equipment - IPR&amp;D (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/IndefinitelivedIntangibleAssetsGoodwillandPropertyandEquipmentIPRDDetails</Role>
      <ShortName>Indefinite-lived Intangible Assets, Goodwill, and Property and Equipment - IPR&amp;D (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.hepion.com/role/IndefinitelivedIntangibleAssetsGoodwillandPropertyandEquipmentTables</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2433421 - Disclosure - Indefinite-lived Intangible Assets, Goodwill, and Property and Equipment - Goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/IndefinitelivedIntangibleAssetsGoodwillandPropertyandEquipmentGoodwillDetails</Role>
      <ShortName>Indefinite-lived Intangible Assets, Goodwill, and Property and Equipment - Goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.hepion.com/role/IndefinitelivedIntangibleAssetsGoodwillandPropertyandEquipmentTables</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>2434422 - Disclosure - Indefinite-lived Intangible Assets, Goodwill, and Property and Equipment - PPE (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/IndefinitelivedIntangibleAssetsGoodwillandPropertyandEquipmentPPEDetails</Role>
      <ShortName>Indefinite-lived Intangible Assets, Goodwill, and Property and Equipment - PPE (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.hepion.com/role/IndefinitelivedIntangibleAssetsGoodwillandPropertyandEquipmentTables</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>2437423 - Disclosure - Accrued Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/AccruedLiabilitiesDetails</Role>
      <ShortName>Accrued Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.hepion.com/role/AccruedLiabilitiesTables</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>2440424 - Disclosure - Accounting for Share-Based Payments - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/AccountingforShareBasedPaymentsAdditionalInformationDetails</Role>
      <ShortName>Accounting for Share-Based Payments - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>2441425 - Disclosure - Accounting for Share-Based Payments - Stock-Based Compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/AccountingforShareBasedPaymentsStockBasedCompensationDetails</Role>
      <ShortName>Accounting for Share-Based Payments - Stock-Based Compensation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>2442426 - Disclosure - Accounting for Share-Based Payments - Stock Option Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/AccountingforShareBasedPaymentsStockOptionActivityDetails</Role>
      <ShortName>Accounting for Share-Based Payments - Stock Option Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>2443427 - Disclosure - Accounting for Share-Based Payments - Weighted-Average Assumptions Used Black Scholes Model (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/AccountingforShareBasedPaymentsWeightedAverageAssumptionsUsedBlackScholesModelDetails</Role>
      <ShortName>Accounting for Share-Based Payments - Weighted-Average Assumptions Used Black Scholes Model (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>2446428 - Disclosure - Income Taxes - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/IncomeTaxesAdditionalInformationDetails</Role>
      <ShortName>Income Taxes - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>2447429 - Disclosure - Income Taxes - Deferred Tax Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/IncomeTaxesDeferredTaxAssetsandLiabilitiesDetails</Role>
      <ShortName>Income Taxes - Deferred Tax Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>2448430 - Disclosure - Income Taxes - Reconciliation of Income Tax Benefit (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/IncomeTaxesReconciliationofIncomeTaxBenefitDetails</Role>
      <ShortName>Income Taxes - Reconciliation of Income Tax Benefit (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>2451431 - Disclosure - Loss per Share - Computation of Basic and Diluted Net Loss Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/LossperShareComputationofBasicandDilutedNetLossPerShareDetails</Role>
      <ShortName>Loss per Share - Computation of Basic and Diluted Net Loss Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>2452432 - Disclosure - Loss per Share - Schedule of Outstanding Securities Excluded from Computation of Basic and Diluted Weighted Shares Outstanding (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/LossperShareScheduleofOutstandingSecuritiesExcludedfromComputationofBasicandDilutedWeightedSharesOutstandingDetails</Role>
      <ShortName>Loss per Share - Schedule of Outstanding Securities Excluded from Computation of Basic and Diluted Weighted Shares Outstanding (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>2455433 - Disclosure - Commitments and Contingencies - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/CommitmentsandContingenciesAdditionalInformationDetails</Role>
      <ShortName>Commitments and Contingencies - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>2456434 - Disclosure - Commitments and Contingencies - Future Minimum Rental Payments Under the Company's Noncancelable Operating Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/CommitmentsandContingenciesFutureMinimumRentalPaymentsUndertheCompanysNoncancelableOperatingLeasesDetails</Role>
      <ShortName>Commitments and Contingencies - Future Minimum Rental Payments Under the Company's Noncancelable Operating Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="hepa-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>2458435 - Disclosure - Subsequent Events (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/SubsequentEventsDetails</Role>
      <ShortName>Subsequent Events (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.hepion.com/role/SubsequentEvents</ParentRole>
      <Position>65</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-K" original="hepa-20211231.htm">hepa-20211231.htm</File>
    <File>hepa-20211231.xsd</File>
    <File>hepa-2021123110kxex211.htm</File>
    <File>hepa-2021123110kxex231.htm</File>
    <File>hepa-2021123110kxexx311.htm</File>
    <File>hepa-2021123110kxexx312.htm</File>
    <File>hepa-2021123110kxexx321.htm</File>
    <File>hepa-2021123110kxexx322.htm</File>
    <File>hepa-20211231_cal.xml</File>
    <File>hepa-20211231_def.xml</File>
    <File>hepa-20211231_lab.xml</File>
    <File>hepa-20211231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>hepa-20211231_g1.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="645">http://fasb.org/us-gaap/2021-01-31</BaseTaxonomy>
    <BaseTaxonomy items="38">http://xbrl.sec.gov/dei/2021q4</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
