XML 40 R30.htm IDEA: XBRL DOCUMENT
v3.21.2

Fair Value Measurements - Additional Information (Details) - USD ($) | 6 Months Ended |
--- | --- | ---
Jun. 30, 2021 | Dec. 31, 2020
Fair Value Disclosures [Abstract] |  |
Financial instruments transferred among fair value hierarchy levels | $ 0 |
Cash equivalents included of available-for-sale securities |  | $ 55,900,000
Available for sale securities with contractual maturities of three months to one year. | $ 66,500,000 | $ 103,400,000

X
- Definition Available-for-sale securities, debt securities, current, contractual maturities of three months to one year. + References No definition available. + Details
Name: | hrtx_AvailableForSaleSecuritiesDebtSecuritiesCurrentContractualMaturitiesOfThreeMonthsToOneYear
Namespace Prefix: | hrtx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Transfers among fair value hierarchy levels amount. + References No definition available. + Details
Name: | hrtx_TransfersAmongFairValueHierarchyLevelsAmount
Namespace Prefix: | hrtx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.1) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_CashEquivalentsAtCarryingValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_FairValueDisclosuresAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration