XML 68 R42.htm IDEA: XBRL DOCUMENT
v3.19.2

Cash, Cash Equivalents, and Investments - Gross Unrealized Losses and Fair Values for Available-for-Sale Investments (Detail) $ in Thousands | Jun. 30, 2019 USD ($)
--- | ---
Debt Securities, Available-for-sale [Line Items] |
Fair value, less than 12 months | $ 61,379
Unrealized losses, less than 12 months | (138)
Fair value, 12 months or greater | 66,900
Unrealized losses, 12 months or greater | (129)
Total fair value | 128,279
Total unrealized losses | (267)
Treasury Bills |
Debt Securities, Available-for-sale [Line Items] |
Fair value, less than 12 months | 24,855
Unrealized losses, less than 12 months | (20)
Fair value, 12 months or greater | 0
Unrealized losses, 12 months or greater | 0
Total fair value | 24,855
Total unrealized losses | (20)
Agency Bonds |
Debt Securities, Available-for-sale [Line Items] |
Fair value, less than 12 months | 5,903
Unrealized losses, less than 12 months | (27)
Fair value, 12 months or greater | 0
Unrealized losses, 12 months or greater | 0
Total fair value | 5,903
Total unrealized losses | (27)
Corporate Bonds |
Debt Securities, Available-for-sale [Line Items] |
Fair value, less than 12 months | 26,243
Unrealized losses, less than 12 months | (90)
Fair value, 12 months or greater | 42,031
Unrealized losses, 12 months or greater | (86)
Total fair value | 68,274
Total unrealized losses | (176)
Asset-Backed Securities |
Debt Securities, Available-for-sale [Line Items] |
Fair value, less than 12 months | 4,378
Unrealized losses, less than 12 months | (1)
Fair value, 12 months or greater | 21,331
Unrealized losses, 12 months or greater | (36)
Total fair value | 25,709
Total unrealized losses | (37)
Sovereign Bonds |
Debt Securities, Available-for-sale [Line Items] |
Fair value, less than 12 months | 0
Unrealized losses, less than 12 months | 0
Fair value, 12 months or greater | 2,689
Unrealized losses, 12 months or greater | (1)
Total fair value | 2,689
Total unrealized losses | (1)
Municipal Bonds |
Debt Securities, Available-for-sale [Line Items] |
Fair value, less than 12 months | 0
Unrealized losses, less than 12 months | 0
Fair value, 12 months or greater | 849
Unrealized losses, 12 months or greater | (6)
Total fair value | 849
Total unrealized losses | $ (6)

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 Amount of accumulated unrealized loss on investments in debt and equity securities classified as available-for-sale that have been in a continuous loss position for twelve months or longer. + References No definition available. + Details
Name: | us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition This item represents the aggregate fair value of investments in debt and equity securities in an unrealized loss position which are categorized neither as held-to-maturity nor trading securities. + References No definition available. + Details
Name: | us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of accumulated unrealized loss on investments in debt and equity securities classified as available-for-sale that have been in a continuous loss position for less than twelve months. + References No definition available. + Details
Name: | us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition This item represents the aggregate fair value of investments in debt and equity securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for less than twelve months. + References No definition available. + Details
Name: | us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition This item represents the aggregate fair value of investments in debt and equity securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for twelve months or longer. + References No definition available. + Details
Name: | us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue
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=us-gaap_USTreasurySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=cgnx_AgencyBondsMember
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: |