XML 60 R50.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Commitments and Contingencies- Additional Information (Detail) - USD ($) $ in Millions | 1 Months Ended
--- | ---
Mar. 31, 2017 | Feb. 28, 2017
Operating And Capital Leased Assets [Line Items] |  |
Increase in future lease commitments |  | $ 6.0
Purchase commitment, payable period |  | 9 years
Lease Commencement, August 2017 [Member] |  |
Operating And Capital Leased Assets [Line Items] |  |
Lease agreement period | 19 years |
Renewal term | 10 years 6 months |
Lease commencement date | 2017-08 |
Rent payable | $ 10.9 |

X
- Definition Amount future lease payments would increase by if early termination clauses were not followed. + References No definition available. + Details
Name: | hubs_IncreaseInFutureLeaseCommitments
Namespace Prefix: | hubs_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The date operating lease takes effect. + References No definition available. + Details
Name: | hubs_LeaseAgreementCommencedPeriod
Namespace Prefix: | hubs_
Data Type: | xbrli:gYearMonthItemType
Balance Type: | na
Period Type: | duration

X
- Definition Operating and capital leased assets. + References No definition available. + Details
Name: | hubs_OperatingAndCapitalLeasedAssetsLineItems
Namespace Prefix: | hubs_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Term of lessee's operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (a)(3) -URI http://asc.fasb.org/extlink&oid=77888426&loc=SL77918673-209980 + Details
Name: | us-gaap_LesseeLeasingArrangementsOperatingLeasesTermOfContract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Term of the lessor's leasing arrangement renewal, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_LessorLeasingArrangementsOperatingLeasesRenewalTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period covered by the long-term purchase commitment, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_LongtermPurchaseCommitmentPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of required minimum rental payments for leases having an initial or remaining non-cancelable letter-terms in excess of one year. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 10 -Section 55 -Paragraph 40 -Subparagraph (Note 3) -URI http://asc.fasb.org/extlink&oid=82846649&loc=d3e38371-112697 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=77902758&loc=d3e41502-112717 + Details
Name: | us-gaap_OperatingLeasesFutureMinimumPaymentsDue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_LeaseArrangementTypeAxis=hubs_LeaseCommencementPeriodOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |