XML 59 R49.htm IDEA: XBRL DOCUMENT
v3.8.0.1

0.25% Convertible Senior Notes, Convertible Note Hedge and Warrant - Schedule of Net Equity Impact, Included in Additional Paid-in Capital, of the Liability and Equity Components (Detail) $ in Thousands | 9 Months Ended
--- | ---
Sep. 30, 2017 USD ($)
Debt Instrument [Line Items] |
Total | $ 73,713
0.25% Convertible Senior Notes Due 2022 as Net Equity Impact [Member] |
Debt Instrument [Line Items] |
Conversion Option | 106,006
Purchase of Convertible Note Hedges | (78,920)
Sales of warrants | 59,080
Issuance costs | (3,054)
Deferred tax liability | (9,399)
Total | $ 73,713

X
- Definition Adjustments to additional paid in capital debt issuance costs. + References No definition available. + Details
Name: | hubs_AdjustmentsToAdditionalPaidInCapitalDebtIssuanceCosts
Namespace Prefix: | hubs_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Adjustments to additional paid in capital deferred tax liability. + References No definition available. + Details
Name: | hubs_AdjustmentsToAdditionalPaidInCapitalDeferredTaxLiability
Namespace Prefix: | hubs_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Debt instrument conversion option of the net equity. + References No definition available. + Details
Name: | hubs_DebtInstrumentConversionOptionOfTheNetEquity
Namespace Prefix: | hubs_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Adjustment to additional paid in capital resulting from the recognition of convertible debt instruments as two separate components - a debt component and an equity component. This bifurcation may result in a basis difference associated with the liability component that represents a temporary difference for purposes of applying accounting for income taxes. The initial recognition of deferred taxes for the tax effect of that temporary difference is as an adjustment to additional paid in capital. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 25 -Paragraph 22 -URI http://asc.fasb.org/extlink&oid=51819886&loc=SL6014347-161799 + Details
Name: | us-gaap_AdjustmentsToAdditionalPaidInCapitalEquityComponentOfConvertibleDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of increase in additional paid in capital (APIC) resulting from the issuance of warrants. Includes allocation of proceeds of debt securities issued with detachable stock purchase warrants. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=84159872&loc=d3e21463-112644 Reference 2: http://www.xbrl.org/2003/role/presentationRef -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=27012166&loc=d3e187085-122770 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 25 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=79512289&loc=d3e4724-112606 + Details
Name: | us-gaap_AdjustmentsToAdditionalPaidInCapitalWarrantIssued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The premium (cost) of a hedge, expensed during the period. + References No definition available. + Details
Name: | us-gaap_DerivativeCostOfHedge
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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