XML 62 R48.htm IDEA: XBRL DOCUMENT
v3.6.0.2

Summary of Significant Accounting Policies - Additional Information (Detail) | 12 Months Ended
--- | ---
Dec. 31, 2016
Accounting Policies [Abstract] |
Effective maturity of investments | 10 years
Maximum investment of the company in partnership | 5.00%
Building [Member] |
Property, Plant and Equipment [Line Items] |
Property, Plant and Equipment, Useful Life | 39 years
Building Improvements [Member] |
Property, Plant and Equipment [Line Items] |
Property, Plant and Equipment, Useful Life | 10 years
Computer Hardware and Software [Member] | Minimum [Member] |
Property, Plant and Equipment [Line Items] |
Property, Plant and Equipment, Useful Life | 2 years
Computer Hardware and Software [Member] | Maximum [Member] |
Property, Plant and Equipment [Line Items] |
Property, Plant and Equipment, Useful Life | 5 years
Manufacturing test equipment [Member] | Minimum [Member] |
Property, Plant and Equipment [Line Items] |
Property, Plant and Equipment, Useful Life | 2 years
Manufacturing test equipment [Member] | Maximum [Member] |
Property, Plant and Equipment [Line Items] |
Property, Plant and Equipment, Useful Life | 5 years
Furniture and Fixtures [Member] | Minimum [Member] |
Property, Plant and Equipment [Line Items] |
Property, Plant and Equipment, Useful Life | 2 years
Furniture and Fixtures [Member] | Maximum [Member] |
Property, Plant and Equipment [Line Items] |
Property, Plant and Equipment, Useful Life | 5 years

X
- Definition Available-for-sale Securities, Debt Maturities, Effective Term, Maximum + References No definition available. + Details
Name: | cgnx_AvailableforsaleSecuritiesDebtMaturitiesEffectiveTermMaximum
Namespace Prefix: | cgnx_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum investment of the company in partnership. + References No definition available. + Details
Name: | cgnx_MaximumInvestmentOfCompanyInPartnership
Namespace Prefix: | cgnx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_AccountingPoliciesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
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_PropertyPlantAndEquipmentLineItems
Namespace Prefix: | us-gaap_
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_BuildingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=cgnx_ComputerHardwareAndSoftwareMember
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: |

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

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