XML 39 R41.htm IDEA: XBRL DOCUMENT
v3.19.3

Cash, Cash Equivalents, and Investments - Summary of Available-for-Sale Investments (Detail) $ in Thousands | Sep. 29, 2019 USD ($)
--- | ---
Debt Securities, Available-for-sale [Line Items] |
Amortized cost | $ 794,031
Gross unrealized gains | 2,889
Gross unrealized losses | (207)
Fair value | 796,713
Agency Bonds |
Debt Securities, Available-for-sale [Line Items] |
Gross unrealized losses | (25)
Agency Bonds | Long-Term Investments |
Debt Securities, Available-for-sale [Line Items] |
Amortized cost | 5,930
Gross unrealized gains | 0
Gross unrealized losses | (25)
Fair value | 5,905
Treasury Bills |
Debt Securities, Available-for-sale [Line Items] |
Gross unrealized losses | (91)
Treasury Bills | Short-Term Investments |
Debt Securities, Available-for-sale [Line Items] |
Amortized cost | 105,254
Gross unrealized gains | 212
Gross unrealized losses | (12)
Fair value | 105,454
Treasury Bills | Long-Term Investments |
Debt Securities, Available-for-sale [Line Items] |
Amortized cost | 255,441
Gross unrealized gains | 1,253
Gross unrealized losses | (79)
Fair value | 256,615
Corporate Bonds |
Debt Securities, Available-for-sale [Line Items] |
Gross unrealized losses | (53)
Corporate Bonds | Short-Term Investments |
Debt Securities, Available-for-sale [Line Items] |
Amortized cost | 86,990
Gross unrealized gains | 222
Gross unrealized losses | (3)
Fair value | 87,209
Corporate Bonds | Long-Term Investments |
Debt Securities, Available-for-sale [Line Items] |
Amortized cost | 167,464
Gross unrealized gains | 584
Gross unrealized losses | (50)
Fair value | 167,998
Asset-Backed Securities |
Debt Securities, Available-for-sale [Line Items] |
Gross unrealized losses | (24)
Asset-Backed Securities | Short-Term Investments |
Debt Securities, Available-for-sale [Line Items] |
Amortized cost | 89,226
Gross unrealized gains | 359
Gross unrealized losses | (9)
Fair value | 89,576
Asset-Backed Securities | Long-Term Investments |
Debt Securities, Available-for-sale [Line Items] |
Amortized cost | 56,636
Gross unrealized gains | 195
Gross unrealized losses | (15)
Fair value | 56,816
Sovereign Bonds |
Debt Securities, Available-for-sale [Line Items] |
Gross unrealized losses | (12)
Sovereign Bonds | Short-Term Investments |
Debt Securities, Available-for-sale [Line Items] |
Amortized cost | 6,286
Gross unrealized gains | 14
Gross unrealized losses | 0
Fair value | 6,300
Sovereign Bonds | Long-Term Investments |
Debt Securities, Available-for-sale [Line Items] |
Amortized cost | 15,969
Gross unrealized gains | 43
Gross unrealized losses | (12)
Fair value | 16,000
Municipal Bonds |
Debt Securities, Available-for-sale [Line Items] |
Gross unrealized losses | (2)
Municipal Bonds | Short-Term Investments |
Debt Securities, Available-for-sale [Line Items] |
Amortized cost | 3,535
Gross unrealized gains | 0
Gross unrealized losses | (2)
Fair value | 3,533
Municipal Bonds | Long-Term Investments |
Debt Securities, Available-for-sale [Line Items] |
Amortized cost | 1,300
Gross unrealized gains | 7
Gross unrealized losses | 0
Fair value | $ 1,307

X
- Definition Amount, before tax, of unrealized gain in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -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 investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -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 Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=82897076&loc=d3e27161-111563 + 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 No definition available. + 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_FinancialInstrumentAxis=cgnx_AgencyBondsMember
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_FinancialInstrumentAxis=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_FinancialInstrumentAxis=us-gaap_CorporateBondSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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