XML 48 R37.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Cash, Cash Equivalents, and Investments - Summary of Available-for-Sale Investments (Detail) $ in Thousands | Jul. 01, 2018 USD ($)
--- | ---
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | $ 626,814
Gross unrealized gains | 750
Gross unrealized losses | (1,883)
Fair value | 625,681
Treasury Bills |
Schedule of Available-for-sale Securities [Line Items] |
Gross unrealized losses | (332)
Treasury Bills | Short-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 136,706
Gross unrealized gains | 3
Gross unrealized losses | (332)
Fair value | 136,377
Corporate Bonds |
Schedule of Available-for-sale Securities [Line Items] |
Gross unrealized losses | (935)
Corporate Bonds | Short-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 116,659
Gross unrealized gains | 59
Gross unrealized losses | (371)
Fair value | 116,347
Corporate Bonds | Long-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 208,382
Gross unrealized gains | 636
Gross unrealized losses | (564)
Fair value | 208,454
Asset-Backed Securities |
Schedule of Available-for-sale Securities [Line Items] |
Gross unrealized losses | (524)
Asset-Backed Securities | Short-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 55,459
Gross unrealized gains | 0
Gross unrealized losses | (219)
Fair value | 55,240
Asset-Backed Securities | Long-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 48,033
Gross unrealized gains | 12
Gross unrealized losses | (305)
Fair value | 47,740
Sovereign Bonds |
Schedule of Available-for-sale Securities [Line Items] |
Gross unrealized losses | (67)
Sovereign Bonds | Short-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 7,400
Gross unrealized gains | 1
Gross unrealized losses | (26)
Fair value | 7,375
Sovereign Bonds | Long-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 8,977
Gross unrealized gains | 35
Gross unrealized losses | (41)
Fair value | 8,971
Agency Bonds |
Schedule of Available-for-sale Securities [Line Items] |
Gross unrealized losses | (1)
Agency Bonds | Short-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 29,248
Gross unrealized gains | 0
Gross unrealized losses | (1)
Fair value | 29,247
Agency Bonds | Long-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 5,930
Gross unrealized gains | 4
Gross unrealized losses | 0
Fair value | 5,934
Municipal Bonds |
Schedule of Available-for-sale Securities [Line Items] |
Gross unrealized losses | (24)
Municipal Bonds | Short-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 9,165
Gross unrealized gains | 0
Gross unrealized losses | (11)
Fair value | 9,154
Municipal Bonds | Long-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 855
Gross unrealized gains | 0
Gross unrealized losses | (13)
Fair value | $ 842

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=82897076&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=82897076&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=82897076&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=75030427&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=82897076&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=82896770&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_MajorTypesOfDebtAndEquitySecuritiesAxis=us-gaap_CorporateBondSecuritiesMember
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_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: |