XML 58 R46.htm IDEA: XBRL DOCUMENT
v3.20.4

Stockholders' Equity - Additional Information (Details) - USD ($) | 1 Months Ended | 12 Months Ended |
--- | --- | --- | ---
Oct. 31, 2019 | Jun. 30, 2019 | Jun. 30, 2018 | Apr. 30, 2018 | Jun. 30, 2017 | Jun. 30, 2016 | May 31, 2015 | Jun. 30, 2014 | May 31, 2014 | Jun. 30, 2011 | May 31, 2010 | May 31, 2009 | Dec. 31, 2007 | Dec. 31, 2020 | Dec. 31, 2019 | Dec. 31, 2018 | Dec. 31, 2017 | Dec. 31, 1997
Class Of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Proceeds from issuance of common stock | $ 162,200,000 |  | $ 194,400,000 | $ 168,700,000 |  |  |  |  |  |  |  |  |  |  | $ 162,151,000 | $ 363,128,000 |  |
Class of warrant or right, number of securities called by warrants or rights |  |  |  |  |  |  |  |  |  |  |  |  |  | 220,164 |  |  |  |
Common stock, shares, issued, total |  |  |  |  |  |  |  |  |  |  |  |  |  | 91,310,000 | 90,304,000 |  |  |
Common stock, capital shares reserved for future issuance |  |  |  |  |  |  |  |  |  |  |  |  |  | 30,997,847 |  |  |  |
Share-based compensation arrangement by share-based payment award, number of shares available for grant |  |  |  |  |  |  |  |  |  |  |  |  |  | 1,575,955 |  |  |  |
Share-based compensation arrangement by share-based payment award, expiration period |  |  |  |  |  |  |  |  |  |  |  |  |  | 10 years |  |  |  |
Share-based compensation arrangement by share-based payment award, award vesting period |  |  |  |  |  |  |  |  |  |  |  |  |  | 4 years |  |  |  |
Share-based compensation arrangement by share-based payment award, options, exercisable, weighted average remaining contractual term |  |  |  |  |  |  |  |  |  |  |  |  |  | 5 years 8 months 12 days |  |  |  |
Share-based compensation arrangement by share-based payment award, options, exercises in period, intrinsic value |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 3,200 | $ 25,000.0 |  |  |
Share-based compensation arrangement by share-based payment award, options, outstanding, intrinsic value |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 69,100 | $ 56,300 |  |  |
Common stock future issuance on exercise of outstanding options and vesting of outstanding restricted stock units granted |  |  |  |  |  |  |  |  |  |  |  |  |  | 19,515,270 |  |  |  |
Total unrecognized compensation cost related to non-vested, stock-based payment awards |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 116,100,000 |  |  |  |
Total unrecognized compensation cost, expect to recognize over weighted average period |  |  |  |  |  |  |  |  |  |  |  |  |  | 2 years 9 months 18 days |  |  |  |
Stock Option and RSUs |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class Of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Share-based compensation arrangements by share-based payment award, options, exercises in period, weighted average exercise price |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 12.41 | $ 11.18 | $ 11.97 |  |
Share-based compensation arrangement by share-based payment award, options, forfeitures in period |  |  |  |  |  |  |  |  |  |  |  |  |  | 922,578 |  |  |  |
Share-based compensation arrangements by share-based payment award, options, forfeitures in period, weighted average exercise price |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 22.76 |  |  |  |
Share-based Payment Arrangement, Option |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class Of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Share-based compensation arrangement by share-based payment award, options, expirations in period |  |  |  |  |  |  |  |  |  |  |  |  |  | 342,293 |  |  |  |
Share-based compensation arrangements by share-based payment award, options, expirations in period, weighted average exercise price |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 23.04 |  |  |  |
Expected life |  |  |  |  |  |  |  |  |  |  |  |  |  | 6 years | 6 years | 6 years |  |
Restricted Stock Units |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class Of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Share-based compensation arrangement by share-based payment award, award vesting period |  |  |  |  |  |  |  |  |  |  |  |  |  | 4 years |  |  |  |
Employee Stock Purchase Plan |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class Of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Share-based compensation arrangement by share-based payment award, number of shares authorized |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 10,000
Share-based compensation arrangement by share-based payment award, number of additional shares authorized |  | 300,000 |  |  | 200,000 | 100,000 | 100,000 |  | 25,000 | 25,000 |  | 10,000 | 5,000 | 775,000 |  |  |  |
Share-based compensation arrangement by share-based payment award maximum employee earnings with held to purchase common stock percent |  |  |  |  |  |  |  |  |  |  |  |  |  | 10.00% |  |  |  |
Share-based compensation arrangement by share-based payment award discount on stock price |  |  |  |  |  |  |  |  |  |  |  |  |  | 85.00% |  |  |  |
Share-based compensation arrangement by share-based payment award, shares issued in period |  |  |  |  |  |  |  |  |  |  |  |  |  | 193,841 | 125,727 | 71,499 |  |
Share-based compensation arrangements by share-based payment award, options, exercises in period, weighted average exercise price |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 11.95 | $ 16.77 | $ 16.48 |  |
Common stock, shares, issued, total |  |  |  |  |  |  |  |  |  |  |  |  |  | 598,750 |  |  |  |
Common stock, capital shares reserved for future issuance |  |  |  |  |  |  |  |  |  |  |  |  |  | 176,250 |  |  |  |
Share-based compensation arrangement by share-based payment award, options, grants in period, weighted average grant date fair value |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 9.76 | 14.70 | 17.24 |  |
Share-based compensation arrangement by share-based payment award, per share weighted-average fair value price of shares purchased |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 5.18 | $ 5.94 | $ 9.95 |  |
Expected life |  |  |  |  |  |  |  |  |  |  |  |  |  | 6 months |  |  |  |
Equity Incentive Plan 2007 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class Of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Share-based compensation arrangement by share-based payment award, number of shares authorized |  |  |  |  |  |  |  |  |  |  |  |  | 150,000 |  |  |  |  |
Share-based compensation arrangement by share-based payment award, number of additional shares authorized |  | 7,000,000 |  |  | 5,000,000 | 3,000,000 | 4,300,000 |  | 1,750,000 | 4,500,000 | 100,000 |  |  | 25,800,000 |  |  |  |
Share-based compensation arrangement by share-based payment award, number of shares available for grant |  |  |  |  |  |  |  |  |  |  |  |  |  | 1,575,955 |  |  |  |
Pre-funded Warrants |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class Of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of warrant or right, number of securities called by warrants or rights |  |  |  |  |  |  |  | 600,000 |  |  |  |  |  |  |  |  |  |
Class of warrant or right, exercise price of warrants or rights |  |  |  |  |  |  |  | $ 0.01 |  |  |  |  |  |  |  |  |  |
Class of warrant or right, expiration date |  |  |  |  |  |  |  | Jun. 30, 2021 |  |  |  |  |  |  |  |  |  |
Class of warrant or right, exercised during period |  |  |  |  |  |  |  |  |  |  |  |  |  | 267,870 | 132,130 |  | 4,426 |
Proceeds from issuance of warrants |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 2,679,000 | $ 1,321,000 |  | $ 0 |
Class of warrant or right, outstanding |  |  |  |  |  |  |  |  |  |  |  |  |  | 195,574 |  |  |  |
Common Stock |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class Of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Number of shares issued | 9,900,000 |  | 5,100,000 | 6,900,000 |  |  |  |  |  |  |  |  |  |  | 9,857,000 | 11,963,000 |  |
Share price | $ 17.50 |  | $ 39.50 | $ 26.00 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Payments of stock issuance costs | $ 10,300,000 |  | $ 5,600,000 | $ 10,700,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Issuance of common stock on exercise of warrants (in shares) |  |  |  |  |  |  |  |  |  |  |  |  |  | 267,000 | 132,000 |  |  |
Common Stock | Pre-funded Warrants |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class Of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Issuance of common stock on exercise of warrants (in shares) |  |  |  |  |  |  |  |  |  |  |  |  |  | 267,870 | 132,130 |  | 4,423 |

X
- Definition The number of warrants or rights exercised during period. + References No definition available. + Details
Name: | hrtx_ClassOfWarrantOrRightExercisedDuringPeriod
Namespace Prefix: | hrtx_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Class of warrant or right, expiration date. + References No definition available. + Details
Name: | hrtx_ClassOfWarrantOrRightExpirationDate
Namespace Prefix: | hrtx_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Share based compensation shares authorized under stock option and other than option plans exercise price range number of outstanding options. + References No definition available. + Details
Name: | hrtx_ShareBasedCompensationSharesAuthorizedUnderStockOptionAndOtherThanOptionPlansExercisePriceRangeNumberOfOutstandingOptions
Namespace Prefix: | hrtx_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The purchase price of stock from 1997 Employee Stock Purchase Plan will be the lower of the closing price of common stock on: (i) the first trading day in the enrollment period, as defined in the Purchase Plan, in which the purchase is made, or (ii) the purchase date. + References No definition available. + Details
Name: | hrtx_SharebasedCompensationArrangementBySharebasedPaymentAwardDiscountOnStockPrice
Namespace Prefix: | hrtx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum percent employees can elect to withhold from their base earnings to purchase common stock. + References No definition available. + Details
Name: | hrtx_SharebasedCompensationArrangementBySharebasedPaymentAwardMaximumEmployeeEarningsWithHeldToPurchaseCommonStockPercent
Namespace Prefix: | hrtx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The weighted average fair value of per share prices paid for shares purchased on the open market for issuance to employees under the plan. + References No definition available. + Details
Name: | hrtx_SharebasedCompensationArrangementBySharebasedPaymentAwardPerShareWeightedaverageFairValuePriceOfSharesPurchased
Namespace Prefix: | hrtx_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of warrants exercised during the current period. + References No definition available. + Details
Name: | hrtx_StockIssuedDuringPeriodSharesWarrantsExercised
Namespace Prefix: | hrtx_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

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_ClassOfStockLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Exercise price per share or per unit of warrants or rights outstanding. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21475-112644 + Details
Name: | us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of securities into which the class of warrant or right may be converted. For example, but not limited to, 500,000 warrants may be converted into 1,000,000 shares. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21475-112644 + Details
Name: | us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of warrants or rights outstanding. + References No definition available. + Details
Name: | us-gaap_ClassOfWarrantOrRightOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Aggregate number of common shares reserved for future issuance. + 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.29) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_CommonStockCapitalSharesReservedForFutureIssuance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury). These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized. Shares issued include shares outstanding and shares held in the treasury. + 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(29)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_CommonStockSharesIssued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of cost not yet recognized for nonvested award under share-based payment arrangement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (i) -URI http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Weighted-average period over which cost not yet recognized is expected to be recognized for award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (i) -URI http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The cash outflow for cost incurred directly with the issuance of an equity security. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -URI http://asc.fasb.org/extlink&oid=121586364&loc=d3e3291-108585 + Details
Name: | us-gaap_PaymentsOfStockIssuanceCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash inflow from the additional capital contribution to the entity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121586364&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromIssuanceOfCommonStock
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash inflow from issuance of rights to purchase common shares at predetermined price (usually issued together with corporate debt). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121586364&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromIssuanceOfWarrants
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Period over which grantee's right to exercise award under share-based payment arrangement is no longer contingent on satisfaction of service or performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Includes, but is not limited to, combination of market, performance or service condition. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of additional shares authorized for issuance under share-based payment arrangement. + References No definition available. + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares authorized for issuance under share-based payment arrangement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(3) -URI http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The difference between the maximum number of shares (or other type of equity) authorized for issuance under the plan (including the effects of amendments and adjustments), and the sum of: 1) the number of shares (or other type of equity) already issued upon exercise of options or other equity-based awards under the plan; and 2) shares (or other type of equity) reserved for issuance on granting of outstanding awards, net of cancellations and forfeitures, if applicable. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of accumulated difference between fair value of underlying shares on dates of exercise and exercise price on options exercised (or share units converted) into shares. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (d)(2) -URI http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Number of options or other stock instruments for which the right to exercise has lapsed under the terms of the plan agreements. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(iv)(4) -URI http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationsInPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of shares under options that were cancelled during the reporting period as a result of occurrence of a terminating event specified in contractual agreements pertaining to the stock option plan. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(iv)(3) -URI http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition The weighted average grant-date fair value of options granted during the reporting period as calculated by applying the disclosed option pricing methodology. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (d)(1) -URI http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount by which the current fair value of the underlying stock exceeds the exercise price of options outstanding. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Number of shares issued under share-based payment arrangement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Weighted average price at which option holders acquired shares when converting their stock options into shares. + References No definition available. + Details
Name: | us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Weighted average price at which grantees could have acquired the underlying shares with respect to stock options of the plan that expired. + References No definition available. + Details
Name: | us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExpirationsInPeriodWeightedAverageExercisePrice
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Weighted average price at which grantees could have acquired the underlying shares with respect to stock options that were terminated. + References No definition available. + Details
Name: | us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Price of a single share of a number of saleable stocks of a company. + References No definition available. + Details
Name: | us-gaap_SharePrice
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Period from grant date that an equity-based award expires, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(2) -URI http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901 + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Expected term of award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (f)(2)(i) -URI http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 14.D.2) -URI http://asc.fasb.org/extlink&oid=115993241&loc=d3e301413-122809 + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Weighted average remaining contractual term for vested portions of options outstanding and currently exercisable or convertible, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901 + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of new stock issued during the period. + 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(29)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770 Reference 4: 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(28)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesNewIssues
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_AwardTypeAxis=hrtx_EmployeeStockOptionAndRestrictedStockUnitsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_EmployeeStockOptionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_RestrictedStockUnitsRSUMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PlanNameAxis=hrtx_EmployeeStockPurchasePlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PlanNameAxis=hrtx_EquityIncentivePlan2007Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsidiarySaleOfStockAxis=hrtx_PreFundedWarrantsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_CommonStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |