XML 42 R31.htm IDEA: XBRL DOCUMENT
v3.19.2

Short-Term Investments - Summary of Short-Term Investments (Details) - USD ($) $ in Thousands | Jun. 30, 2019 | Dec. 31, 2018
--- | --- | ---
Schedule Of Available For Sale Securities [Line Items] |  |
Available-for-sale securities, amortized cost | $ 222,820 | $ 300,622
Available-for-sale securities, gross unrealized gains | 147 | 5
Available-for-sale securities, gross unrealized losses |  | (92)
Available-for-sale securities | 222,967 | 300,535
U.S. Treasury Bills and Government Agency Obligations |  |
Schedule Of Available For Sale Securities [Line Items] |  |
Available-for-sale securities, amortized cost | 99,524 | 59,747
Available-for-sale securities, gross unrealized gains | 91 |
Available-for-sale securities, gross unrealized losses |  | (6)
Available-for-sale securities | 99,615 | 59,741
U.S. Corporate Debt Securities |  |
Schedule Of Available For Sale Securities [Line Items] |  |
Available-for-sale securities, amortized cost | 33,007 | 59,164
Available-for-sale securities, gross unrealized gains | 30 |
Available-for-sale securities, gross unrealized losses |  | (77)
Available-for-sale securities | 33,037 | 59,087
Foreign Corporate Debt Securities |  |
Schedule Of Available For Sale Securities [Line Items] |  |
Available-for-sale securities, amortized cost | 10,002 | 5,041
Available-for-sale securities, gross unrealized gains | 16 | 5
Available-for-sale securities | 10,018 | 5,046
U.S. Commercial Paper |  |
Schedule Of Available For Sale Securities [Line Items] |  |
Available-for-sale securities, amortized cost | 48,969 | 52,800
Available-for-sale securities, gross unrealized gains | 10 |
Available-for-sale securities | 48,979 | 52,800
Foreign Commercial Paper |  |
Schedule Of Available For Sale Securities [Line Items] |  |
Available-for-sale securities, amortized cost | 31,318 | 123,870
Available-for-sale securities, gross unrealized losses |  | (9)
Available-for-sale securities | $ 31,318 | $ 123,861

X
- Definition Amount, before tax, of unrealized gain in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=118939692&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, before tax, of unrealized loss in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=118939692&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=118939692&loc=d3e27161-111563 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=118942338&loc=SL82898722-210454 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=118942338&loc=SL82898722-210454 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=118954083&loc=d3e26610-111562 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (aa) -URI http://asc.fasb.org/extlink&oid=118939692&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_USTreasurySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_DomesticCorporateDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_ForeignCorporateDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=hrtx_UnitedStatesCommercialPaperMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=hrtx_ForeignCommercialPaperMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |