XML 17 R46.htm IDEA: XBRL DOCUMENT
v2.4.0.8

Guarantees - Additional Information (Detail) | 6 Months Ended
--- | ---
Jun. 29, 2014 Category
Guarantees [Abstract] |
Number of categories of letters of credit | 3

X
- Definition Number of categories of guarantees. + References No definition available. + Details
Name: | cgnx_NumberOfCategoriesOfGuarantees
Namespace Prefix: | cgnx_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_GuaranteesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration