XML 47 R36.htm IDEA: XBRL DOCUMENT
v3.7.0.1

Cash, Cash Equivalents, and Investments - Summary of Available-for-Sale Investments (Detail) $ in Thousands | Apr. 02, 2017 USD ($)
--- | ---
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | $ 688,269
Gross unrealized gains | 1,282
Gross unrealized losses | (674)
Fair value | 688,877
Treasury Bills |
Schedule of Available-for-sale Securities [Line Items] |
Gross unrealized losses | (246)
Treasury Bills | Short-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 93,034
Gross unrealized gains | 3
Gross unrealized losses | (154)
Fair value | 92,883
Treasury Bills | Long-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 53,459
Gross unrealized gains | 3
Gross unrealized losses | (92)
Fair value | 53,370
Euro Liquidity Fund | Short-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 73,540
Gross unrealized gains | 328
Gross unrealized losses | 0
Fair value | 73,868
Asset-Backed Securities |
Schedule of Available-for-sale Securities [Line Items] |
Gross unrealized losses | (38)
Asset-Backed Securities | Short-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 58,657
Gross unrealized gains | 15
Gross unrealized losses | (23)
Fair value | 58,649
Asset-Backed Securities | Long-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 42,990
Gross unrealized gains | 72
Gross unrealized losses | (15)
Fair value | 43,047
Corporate Bonds |
Schedule of Available-for-sale Securities [Line Items] |
Gross unrealized losses | (287)
Corporate Bonds | Short-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 128,444
Gross unrealized gains | 81
Gross unrealized losses | (18)
Fair value | 128,507
Corporate Bonds | Long-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 194,660
Gross unrealized gains | 737
Gross unrealized losses | (269)
Fair value | 195,128
Agency Bonds | Short-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 7,600
Gross unrealized gains | 20
Gross unrealized losses | 0
Fair value | 7,620
Agency Bonds | Long-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 2,710
Gross unrealized gains | 18
Gross unrealized losses | 0
Fair value | 2,728
Sovereign Bonds |
Schedule of Available-for-sale Securities [Line Items] |
Gross unrealized losses | (103)
Sovereign Bonds | Short-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 12,357
Gross unrealized gains | 3
Gross unrealized losses | (20)
Fair value | 12,340
Sovereign Bonds | Long-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 18,658
Gross unrealized gains | 2
Gross unrealized losses | (83)
Fair value | 18,577
Municipal Bonds | Short-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 2,160
Gross unrealized gains | 0
Gross unrealized losses | 0
Fair value | $ 2,160

X
- Definition Amount before tax of unrealized gain in accumulated other comprehensive income (AOCI) on investments in debt securities classified as available-for-sale. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=73527792&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount before tax of unrealized loss in accumulated other comprehensive income (AOCI) on investments in debt securities classified as available-for-sale. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=73527792&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition This item represents the cost of debt securities, which are categorized neither as held-to-maturity nor trading, net of adjustments including accretion, amortization, collection of cash, previous other-than-temporary impairments recognized in earnings (less any cumulative-effect adjustments recognized, as defined), and fair value hedge accounting adjustments, if any. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (aa) -URI http://asc.fasb.org/extlink&oid=73527792&loc=d3e27161-111563 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.2) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of investment in debt and equity securities categorized neither as held-to-maturity nor trading. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 25 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=65884222&loc=d3e22054-111558 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 5 -Subparagraph (aa) -URI http://asc.fasb.org/extlink&oid=73527792&loc=d3e27232-111563 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=66010992&loc=d3e26610-111562 + Details
Name: | us-gaap_AvailableForSaleSecurities
Namespace Prefix: | us-gaap_
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_ScheduleOfAvailableForSaleSecuritiesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis=us-gaap_USTreasurySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_ShortTermInvestmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=cgnx_LongTermInvestmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis=cgnx_EuroliquidityfundMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis=us-gaap_AssetBackedSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis=us-gaap_CorporateBondSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis=cgnx_AgencyBondsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis=us-gaap_SovereignDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis=us-gaap_MunicipalBondsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |