XML 69 R54.htm IDEA: XBRL DOCUMENT
v3.25.4

Summary of Significant Accounting Policies - Additional Information (Detail) | 12 Months Ended
--- | ---
Dec. 31, 2025
Property, Plant and Equipment [Line Items] |
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] | Minimum [Member] |
Property, Plant and Equipment [Line Items] |
Property, Plant and Equipment, Useful Life | 5 years
Building Improvements [Member] | Maximum [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 | 10 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 Maximum investment of the company in partnership. + References No definition available. + Details
Name: | cgnx_MaximumInvestmentOfCompanyInPartnership
Namespace Prefix: | cgnx_
Data Type: | dtr-types:percentItemType
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 Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 7A -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478964/842-20-50-7A + 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: | instant

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: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
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_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: |