XML 104 R90.htm IDEA: XBRL DOCUMENT
v3.20.4

Shareholders' Equity - Additional Information (Detail) |  | 1 Months Ended | 3 Months Ended | 12 Months Ended |  |  |  |  |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Dec. 28, 2020 USD ($) | Feb. 28, 2018 USD ($) shares | Mar. 29, 2020 USD ($) shares | Dec. 31, 2018 USD ($) shares | Apr. 01, 2018 USD ($) shares | Dec. 31, 2020 USD ($) Vote $ / shares shares | Dec. 31, 2019 USD ($) $ / shares shares | Dec. 31, 2018 USD ($) | Mar. 12, 2020 USD ($) | Oct. 29, 2018 USD ($) | Apr. 25, 2018 shares | Feb. 01, 2018 USD ($) | Apr. 12, 2017 USD ($) | Apr. 28, 2016 shares | Apr. 27, 2016 shares
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Authorized shares | shares |  |  |  |  |  | 400,000 | 400,000 |  |  |  |  |  |  |  |
Preferred stock par value (in dollars per share) | $ / shares |  |  |  |  |  | $ 0.01 | $ 0.01 |  |  |  |  |  |  |  |
Common stock, shares authorized | shares |  |  |  |  |  | 300,000,000 | 300,000,000 |  |  |  | 300,000,000 |  |  | 10,000,000 | 200,000,000
Common stock par value, in dollars per share | $ / shares |  |  |  |  |  | $ 0.002 | $ 0.002 |  |  |  |  |  |  |  |
Vote entitled for each common share outstanding | Vote |  |  |  |  |  | 1 |  |  |  |  |  |  |  |  |
Repurchase of common stock |  |  |  |  |  | $ 51,036,000 | $ 61,690,000 | $ 203,822,000 |  |  |  |  |  |  |
Payments of dividends | $ 351,428,000 |  |  |  |  | 390,508,000 | $ 35,124,000 | 31,865,000 |  |  |  |  |  |  |
Repurchase Program April 2017 [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Repurchase of authorized common stock |  |  |  |  |  |  |  |  |  |  |  |  | $ 100,000,000 |  |
total shares repurchased | shares |  |  |  |  | 1,744,000 |  |  |  |  |  |  |  |  |  |
Repurchase of common stock, shares | shares |  |  |  |  | 803,000 |  |  |  |  |  |  |  |  |  |
Repurchase of common stock |  |  |  |  | $ 45,200,000 |  |  |  |  |  |  |  |  |  |
Repurchase Program February 2018 [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Repurchase of authorized common stock |  |  |  |  |  |  |  |  |  |  |  | $ 150,000,000 |  |  |
Repurchase of common stock, shares | shares |  | 3,174,000 |  |  |  |  |  |  |  |  |  |  |  |  |
Repurchase of common stock |  | $ 150,000,000 |  |  |  |  |  | 203,822,000 |  |  |  |  |  |  |
Repurchase Program October 2018 [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Repurchase of authorized common stock |  |  |  |  |  | $ 78,652,000 |  |  |  | $ 200,000,000 |  |  |  |  |
Repurchase of common stock, shares | shares |  |  | 1,215,000 | 203,000 |  |  | 1,398,000 |  |  |  |  |  |  |  |
Repurchase of common stock |  |  | $ 51,036,000 | $ 8,622,000 |  |  | $ 61,690,000 | $ 203,822,000 |  |  |  |  |  |  |
Repurchase Program March 2020 [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Repurchase of authorized common stock |  |  |  |  |  |  |  |  | $ 200,000,000 |  |  |  |  |  |
Common Stock [Member] | Repurchase Program April 2017 [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class of Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Repurchased shares, total cost |  |  |  |  | $ 100,000,000 |  |  |  |  |  |  |  |  |  |

X
- Definition Repurchased shares, total cost + References No definition available. + Details
Name: | cgnx_Repurchasedsharestotalcost
Namespace Prefix: | cgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition total shares repurchased + References No definition available. + Details
Name: | cgnx_Totalsharesrepurchased
Namespace Prefix: | cgnx_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Vote entitled for each common share outstanding. + References No definition available. + Details
Name: | cgnx_VoteEntitledForEachCommonShareOutstanding
Namespace Prefix: | cgnx_
Data Type: | xbrli:integerItemType
Balance Type: | na
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_ClassOfStockLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Face amount or stated value per share of common stock. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_CommonStockParOrStatedValuePerShare
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition The maximum number of common shares permitted to be issued by an entity's charter and bylaws. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_CommonStockSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Cash outflow in the form of capital distributions and dividends to common shareholders, preferred shareholders and noncontrolling interests. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121586364&loc=d3e3291-108585 + Details
Name: | us-gaap_PaymentsOfDividends
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Face amount or stated value per share of preferred stock nonredeemable or redeemable solely at the option of the issuer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_PreferredStockParOrStatedValuePerShare
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition The maximum number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) permitted to be issued by an entity's charter and bylaws. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_PreferredStockSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

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
- Definition Number of shares that have been repurchased during the period and have not been retired and are not held in treasury. Some state laws may govern the circumstances under which an entity may acquire its own stock and prescribe the accounting treatment therefore. This element is used when state law does not recognize treasury stock. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_StockRepurchasedDuringPeriodShares
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Equity impact of the value of stock that has been repurchased during the period and has not been retired and is not held in treasury. Some state laws may mandate the circumstances under which an entity may acquire its own stock and prescribe the accounting treatment therefore. This element is used when state law does not recognize treasury stock. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_StockRepurchasedDuringPeriodValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

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

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

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

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_CommonStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |