XML 45 R33.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Fair Value Measurements - Additional Information (Details) - USD ($) | 12 Months Ended |
--- | --- | ---
Dec. 31, 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 | 4,500,000 | $ 55,900,000
Available for sale securities with contractual maturities of three months to one year. | $ 67,000,000.0 | $ 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