XML 74 R55.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Summary of Significant Accounting Policies Summary of Significant Accounting Policies - Revenue Recognition (Details) | 12 Months Ended
--- | ---
Dec. 31, 2021
Minimum [Member] |
Disaggregation of Revenue [Line Items] |
Revenue, payment terms | 30 days
Maximum [Member] |
Disaggregation of Revenue [Line Items] |
Revenue, payment terms | 90 days

X
- Definition Revenue, Payment Terms + References No definition available. + Details
Name: | cgnx_RevenuePaymentTerms
Namespace Prefix: | cgnx_
Data Type: | xbrli:durationItemType
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_DisaggregationOfRevenueLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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: |