XML 51 R39.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Cash, Cash Equivalents, and Investments - Summary of Available-for-Sale Investments (Detail) $ in Thousands | Apr. 01, 2018 USD ($)
--- | ---
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | $ 695,195
Gross unrealized gains | 909
Gross unrealized losses | (2,294)
Fair value | 693,810
Treasury bills |
Schedule of Available-for-sale Securities [Line Items] |
Gross unrealized losses | (464)
Treasury bills | Short-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 139,159
Gross unrealized gains | 0
Gross unrealized losses | (464)
Fair value | 138,695
Treasury bills | Long-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 3,601
Gross unrealized gains | 3
Gross unrealized losses | 0
Fair value | 3,604
Corporate bonds |
Schedule of Available-for-sale Securities [Line Items] |
Gross unrealized losses | (1,104)
Corporate bonds | Short-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 108,533
Gross unrealized gains | 50
Gross unrealized losses | (270)
Fair value | 108,313
Corporate bonds | Long-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 272,345
Gross unrealized gains | 797
Gross unrealized losses | (834)
Fair value | 272,308
Asset-backed securities |
Schedule of Available-for-sale Securities [Line Items] |
Gross unrealized losses | (624)
Asset-backed securities | Short-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 75,710
Gross unrealized gains | 5
Gross unrealized losses | (283)
Fair value | 75,432
Asset-backed securities | Long-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 56,573
Gross unrealized gains | 14
Gross unrealized losses | (341)
Fair value | 56,246
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 | (12)
Fair value | 9,153
Municipal bonds | Long-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 1,360
Gross unrealized gains | 0
Gross unrealized losses | (12)
Fair value | 1,348
Sovereign bonds |
Schedule of Available-for-sale Securities [Line Items] |
Gross unrealized losses | (78)
Sovereign bonds | Short-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 6,040
Gross unrealized gains | 1
Gross unrealized losses | (5)
Fair value | 6,036
Sovereign bonds | Long-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 16,779
Gross unrealized gains | 38
Gross unrealized losses | (73)
Fair value | 16,744
Agency bonds |
Schedule of Available-for-sale Securities [Line Items] |
Gross unrealized losses | 0
Agency bonds | Long-Term Investments |
Schedule of Available-for-sale Securities [Line Items] |
Amortized cost | 5,930
Gross unrealized gains | 1
Gross unrealized losses | 0
Fair value | $ 5,931

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_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=us-gaap_AssetBackedSecuritiesMember
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: |

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: |