<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.22.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>125</ContextCount>
  <ElementCount>232</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>45</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>5</UnitCount>
  <MyReports>
    <Report instance="hepa-20220331.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-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1001002 - Statement - Condensed Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/CondensedConsolidatedBalanceSheets</Role>
      <ShortName>Condensed Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="hepa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1002003 - Statement - Condensed Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/CondensedConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Condensed Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="hepa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1003004 - Statement - Condensed Consolidated Statements of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/CondensedConsolidatedStatementsofOperations</Role>
      <ShortName>Condensed Consolidated Statements of Operations</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="hepa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1004005 - Statement - Condensed Consolidated Statements of Comprehensive Loss</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/CondensedConsolidatedStatementsofComprehensiveLoss</Role>
      <ShortName>Condensed Consolidated Statements of Comprehensive Loss</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="hepa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1005006 - Statement - Condensed Consolidated Statements of Changes in Stockholders??? Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/CondensedConsolidatedStatementsofChangesinStockholdersEquity</Role>
      <ShortName>Condensed Consolidated Statements of Changes in Stockholders??? Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="hepa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>1006007 - Statement - Condensed Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/CondensedConsolidatedStatementsofCashFlows</Role>
      <ShortName>Condensed Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="hepa-20220331.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-20220331.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-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2105103 - 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-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2113104 - 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-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2114105 - 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-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2119106 - 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-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2125107 - Disclosure - Indefinite-lived Intangible Assets and Goodwill, and Property and Equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/IndefinitelivedIntangibleAssetsandGoodwillandPropertyandEquipment</Role>
      <ShortName>Indefinite-lived Intangible Assets and Goodwill, and Property and Equipment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="hepa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2130108 - 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-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2133109 - 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-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2138110 - 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>17</Position>
    </Report>
    <Report instance="hepa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2142111 - 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>18</Position>
    </Report>
    <Report instance="hepa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2206201 - 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>19</Position>
    </Report>
    <Report instance="hepa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2315301 - 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>20</Position>
    </Report>
    <Report instance="hepa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2320302 - 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>21</Position>
    </Report>
    <Report instance="hepa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2326303 - Disclosure - Indefinite-lived Intangible Assets and Goodwill, and Property and Equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/IndefinitelivedIntangibleAssetsandGoodwillandPropertyandEquipmentTables</Role>
      <ShortName>Indefinite-lived Intangible Assets and Goodwill, and Property and Equipment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.hepion.com/role/IndefinitelivedIntangibleAssetsandGoodwillandPropertyandEquipment</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="hepa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2331304 - 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>23</Position>
    </Report>
    <Report instance="hepa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2334305 - 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>24</Position>
    </Report>
    <Report instance="hepa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2339306 - 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>25</Position>
    </Report>
    <Report instance="hepa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2343307 - 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>26</Position>
    </Report>
    <Report instance="hepa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.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>27</Position>
    </Report>
    <Report instance="hepa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2404402 - 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>28</Position>
    </Report>
    <Report instance="hepa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2407403 - 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>29</Position>
    </Report>
    <Report instance="hepa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2408404 - 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>30</Position>
    </Report>
    <Report instance="hepa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2409405 - 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>31</Position>
    </Report>
    <Report instance="hepa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2410406 - 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>32</Position>
    </Report>
    <Report instance="hepa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2411407 - Disclosure - Summary of Significant Accounting Policies - Foreign Exchange (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/SummaryofSignificantAccountingPoliciesForeignExchangeDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Foreign Exchange (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="hepa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2412408 - 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>34</Position>
    </Report>
    <Report instance="hepa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2416409 - 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>35</Position>
    </Report>
    <Report instance="hepa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2417410 - Disclosure - Stockholders' Equity and Derivative Liability - Warrants - Series C Preferred Stock Issuances (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/StockholdersEquityandDerivativeLiabilityWarrantsSeriesCPreferredStockIssuancesDetails</Role>
      <ShortName>Stockholders' Equity and Derivative Liability - Warrants - Series C Preferred Stock Issuances (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="hepa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2418411 - 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>37</Position>
    </Report>
    <Report instance="hepa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2421412 - 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>38</Position>
    </Report>
    <Report instance="hepa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2422413 - 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>39</Position>
    </Report>
    <Report instance="hepa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2423414 - 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>40</Position>
    </Report>
    <Report instance="hepa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2424415 - 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>41</Position>
    </Report>
    <Report instance="hepa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2427416 - Disclosure - Indefinite-lived Intangible Assets and Goodwill, and Property and Equipment - IPR&amp;D (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/IndefinitelivedIntangibleAssetsandGoodwillandPropertyandEquipmentIPRDDetails</Role>
      <ShortName>Indefinite-lived Intangible Assets and Goodwill, and Property and Equipment - IPR&amp;D (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.hepion.com/role/IndefinitelivedIntangibleAssetsandGoodwillandPropertyandEquipmentTables</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="hepa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2428417 - Disclosure - Indefinite-lived Intangible Assets and Goodwill, and Property and Equipment - Goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hepion.com/role/IndefinitelivedIntangibleAssetsandGoodwillandPropertyandEquipmentGoodwillDetails</Role>
      <ShortName>Indefinite-lived Intangible Assets and Goodwill, and Property and Equipment - Goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.hepion.com/role/IndefinitelivedIntangibleAssetsandGoodwillandPropertyandEquipmentTables</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="hepa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2429418 - 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>
      <Position>44</Position>
    </Report>
    <Report instance="hepa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2432419 - 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>45</Position>
    </Report>
    <Report instance="hepa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2435420 - 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>46</Position>
    </Report>
    <Report instance="hepa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2436421 - 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>47</Position>
    </Report>
    <Report instance="hepa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2437422 - 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>48</Position>
    </Report>
    <Report instance="hepa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2440423 - 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>49</Position>
    </Report>
    <Report instance="hepa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2441424 - 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>50</Position>
    </Report>
    <Report instance="hepa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2444425 - 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>51</Position>
    </Report>
    <Report instance="hepa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>2445426 - 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>52</Position>
    </Report>
    <Report instance="hepa-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9999.htm</HtmlFileName>
      <LongName>Uncategorized Items - hepa-20220331.htm</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/role/uncategorizedFacts</Role>
      <ShortName>Uncategorized Items - hepa-20220331.htm</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>53</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" original="hepa-20220331.htm">hepa-20220331.htm</File>
    <File>hepa-20220331.xsd</File>
    <File>hepa-20220331_cal.xml</File>
    <File>hepa-20220331_def.xml</File>
    <File>hepa-20220331_lab.xml</File>
    <File>hepa-20220331_pre.xml</File>
    <File>hepa-q1202210xqxexx311.htm</File>
    <File>hepa-q1202210xqxexx312.htm</File>
    <File>hepa-q1202210xqxexx321.htm</File>
    <File>hepa-q1202210xqxexx322.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>hepa-20220331_g1.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="459">http://fasb.org/us-gaap/2021-01-31</BaseTaxonomy>
    <BaseTaxonomy items="30">http://xbrl.sec.gov/dei/2021q4</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
