XML 76 R60.htm IDEA: XBRL DOCUMENT
v3.19.1

Stock Repurchase Program (Detail) - Repurchase Program April 2017 - USD ($) shares in Thousands | Mar. 31, 2019 | Oct. 29, 2018
--- | --- | ---
Equity, Class of Treasury Stock [Line Items] |  |
Authorized common stock to be repurchased |  | $ 200,000,000
Number of shares repurchased | 203 |
Value of shares repurchased | $ 8,622,000 |

X
- Definition Stock Repurchase Program, Aggregate Number of Shares Repurchased + References No definition available. + Details
Name: | cgnx_StockRepurchaseProgramAggregateNumberofSharesRepurchased
Namespace Prefix: | cgnx_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Stock Repurchase Program, Value + References No definition available. + Details
Name: | cgnx_StockRepurchaseProgramValue
Namespace Prefix: | cgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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_EquityClassOfTreasuryStockLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of stock repurchase plan authorized. + References No definition available. + Details
Name: | us-gaap_StockRepurchaseProgramAuthorizedAmount1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_ShareRepurchaseProgramAxis=cgnx_RepurchaseProgramApril2017Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |