XML 53 R42.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Cash, Cash Equivalents, and Investments - Summary of Available-for-Sale Investments (Detail) $ in Thousands | Oct. 01, 2017 USD ($)
--- | ---
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | $ 658,638
Gross unrealized gains | 1,612
Gross unrealized losses | (488)
Fair value | 659,762
Treasury Bills |
Schedule of Available-for-sale Securities [Line Items] |
Gross unrealized losses | (229)
Treasury Bills | Short-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 70,311
Gross unrealized gains | 0
Gross unrealized losses | (127)
Fair value | 70,184
Treasury Bills | Long-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 63,704
Gross unrealized gains | 0
Gross unrealized losses | (102)
Fair value | 63,602
Corporate Bonds |
Schedule of Available-for-sale Securities [Line Items] |
Gross unrealized losses | (125)
Corporate Bonds | Short-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 65,484
Gross unrealized gains | 91
Gross unrealized losses | (6)
Fair value | 65,569
Corporate Bonds | Long-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 245,046
Gross unrealized gains | 1,013
Gross unrealized losses | (119)
Fair value | 245,940
Euro Liquidity Fund | Short-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 51,929
Gross unrealized gains | 383
Gross unrealized losses | 0
Fair value | 52,312
Asset-Backed Securities |
Schedule of Available-for-sale Securities [Line Items] |
Gross unrealized losses | (57)
Asset-Backed Securities | Short-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 47,839
Gross unrealized gains | 13
Gross unrealized losses | (12)
Fair value | 47,840
Asset-Backed Securities | Long-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 59,038
Gross unrealized gains | 76
Gross unrealized losses | (45)
Fair value | 59,069
Sovereign Bonds |
Schedule of Available-for-sale Securities [Line Items] |
Gross unrealized losses | (74)
Sovereign Bonds | Short-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 20,974
Gross unrealized gains | 5
Gross unrealized losses | (34)
Fair value | 20,945
Sovereign Bonds | Long-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 8,059
Gross unrealized gains | 7
Gross unrealized losses | (40)
Fair value | 8,026
Agency Bonds | Short-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 7,600
Gross unrealized gains | 6
Gross unrealized losses | 0
Fair value | 7,606
Agency Bonds | Long-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 5,630
Gross unrealized gains | 9
Gross unrealized losses | 0
Fair value | 5,639
Municipal Bonds |
Schedule of Available-for-sale Securities [Line Items] |
Gross unrealized losses | (3)
Municipal Bonds | Short-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 8,805
Gross unrealized gains | 0
Gross unrealized losses | 0
Fair value | 8,805
Municipal Bonds | Long-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 4,219
Gross unrealized gains | 9
Gross unrealized losses | (3)
Fair value | $ 4,225

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=us-gaap_CorporateBondSecuritiesMember
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_SovereignDebtSecuritiesMember
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_MunicipalBondsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |