XML 41 R31.htm IDEA: XBRL DOCUMENT
v3.21.1

Fair Value Measurements - Additional Information (Details) - USD ($) | 3 Months Ended |
--- | --- | ---
Mar. 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 | 5,000,000.0 | $ 55,900,000
Available for sale securities with contractual maturities of three months to one year. | $ 106,700,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