XML 57 R47.htm IDEA: XBRL DOCUMENT
v3.8.0.1

0.25% Convertible Senior Notes, Convertible Note Hedge and Warrant - Schedule of Net Carrying Amount of Equity Component (Detail) - 0.25% Convertible Senior Notes Due 2022 as Equity Component [Member] $ in Thousands | Sep. 30, 2017 USD ($)
--- | ---
Debt Instrument [Line Items] |
Debt discount for conversion option | $ 106,006
Issuance costs | (2,854)
Net carrying amount | $ 103,152

X
- Definition Debt instrument convertible gross carrying amount of the equity component. + References No definition available. + Details
Name: | hubs_DebtInstrumentConvertibleGrossCarryingAmountOfTheEquityComponent
Namespace Prefix: | hubs_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The carrying amount of the equity component of convertible debt which may be settled in cash upon conversion. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6928298&loc=SL6031897-161870 + Details
Name: | us-gaap_DebtInstrumentConvertibleCarryingAmountOfTheEquityComponent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=64930785&loc=d3e28555-108399 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.17) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DeferredFinanceCostsNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_DebtInstrumentAxis=hubs_ZeroPointTwoFivePercentConvertibleSeniorNotesDueTwoThousandTwentyTwoAsEquityComponentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |