XML 52 R42.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Capitalized Software Development Costs - Additional Information (Detail) - Capitalized Software Development Costs [Member] | 9 Months Ended
--- | ---
Sep. 30, 2017
Minimum [Member] |
Capitalized Computer Software [Line Items] |
Property and equipment, estimated useful life | 2 years
Maximum [Member] |
Capitalized Computer Software [Line Items] |
Property and equipment, estimated useful life | 3 years

X
- Definition Capitalized computer software. + References No definition available. + Details
Name: | hubs_CapitalizedComputerSoftwareLineItems
Namespace Prefix: | hubs_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Useful life of long lived, physical assets used in the normal conduct of business and not intended for resale, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Examples include, but not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment. + References No definition available. + Details
Name: | us-gaap_PropertyPlantAndEquipmentUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_SoftwareAndSoftwareDevelopmentCostsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |