2.4.0.8144 - Disclosure - Cash, Cash Equivalents, and Investments - Effective Maturity Dates of Available-for-Sale Investments (Detail)truefalseIn Thousands, unless otherwise specifiedfalse1false
USDfalsefalse$eol_PE5967----1310-Q0005_STD_0_20130630_0http://www.sec.gov/CIK0000851205instant2013-06-30T00:00:000001-01-01T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true
3us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
2false
4us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse133620000133620USD$falsetruefalse | xbrli:monetaryItemTypemonetaryAmount of available-for-sale debt securities at fair value maturing in the next fiscal year following the latest fiscal year.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 3
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27198-111563
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 320
-Section 50
-Paragraph 3
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=6957658&loc=d3e62586-112803
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (d)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27161-111563
false2
3false
4cgnx_AvailableForSaleSecuritiesDebtMaturitiesAfterOneYearBeforeTwoYearsFairValuecgnx_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse133499000133499USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryThis item represents the fair value of debt securities which are expected to mature within one year of the balance sheet date and which are categorized neither as held-to-maturity nor trading securities.No definition available.false2
4false
4cgnx_AvailableForSaleSecuritiesDebtMaturitiesAfterTwoYearsBeforeThreeYearsFairValuecgnx_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse9604200096042USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAvailable-for-sale securities, debt maturities after second year but before third year, fair value.No definition available.false2
5false
4cgnx_AvailableForSaleSecuritiesDebtMaturitiesAfterThreeYearsBeforeFourYearsFairValuecgnx_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse92200009220USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAvailable-for-sale securities, debt maturities after third year but before fourth year, fair value.No definition available.false2
6false
4cgnx_AvailableForSaleSecuritiesDebtMaturitiesAfterFourYearsBeforeFiveYearsFairValuecgnx_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse18920001892USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAvailable-for-sale securities, debt maturities after fourth year but before fifth year, fair value.No definition available.false2
7false
4us-gaap_AvailableForSaleSecuritiesDebtSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel| 1truefalsefalse374273000374273USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of debt securities categorized neither as held-to-maturity nor trading.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=28360136&loc=d3e22054-111558
Reference 2: 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=6871852&loc=d3e26610-111562
Reference 3: 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=27724398&loc=d3e27161-111563
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 320
-Section 50
-Paragraph 2
-Subparagraph (b)-(g)
-URI http://asc.fasb.org/extlink&oid=6957658&loc=d3e62557-112803
true2
8false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2false
USDtruefalse$eol_PE5967----1310-Q0005_STD_0_20130630_0_928628x927085http://www.sec.gov/CIK0000851205instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseCorporate Bonds [Member]us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CorporateBondSecuritiesMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
9true
3us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
10false
4us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse8038600080386USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of available-for-sale debt securities at fair value maturing in the next fiscal year following the latest fiscal year.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 3
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27198-111563
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 320
-Section 50
-Paragraph 3
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=6957658&loc=d3e62586-112803
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (d)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27161-111563
false2
11false
4cgnx_AvailableForSaleSecuritiesDebtMaturitiesAfterOneYearBeforeTwoYearsFairValuecgnx_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse4847700048477USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryThis item represents the fair value of debt securities which are expected to mature within one year of the balance sheet date and which are categorized neither as held-to-maturity nor trading securities.No definition available.false2
12false
4cgnx_AvailableForSaleSecuritiesDebtMaturitiesAfterTwoYearsBeforeThreeYearsFairValuecgnx_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse5405900054059USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAvailable-for-sale securities, debt maturities after second year but before third year, fair value.No definition available.false2
13false
4cgnx_AvailableForSaleSecuritiesDebtMaturitiesAfterThreeYearsBeforeFourYearsFairValuecgnx_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse67290006729USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAvailable-for-sale securities, debt maturities after third year but before fourth year, fair value.No definition available.false2
14false
4cgnx_AvailableForSaleSecuritiesDebtMaturitiesAfterFourYearsBeforeFiveYearsFairValuecgnx_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse515000515USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAvailable-for-sale securities, debt maturities after fourth year but before fifth year, fair value.No definition available.false2
15false
4us-gaap_AvailableForSaleSecuritiesDebtSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel| 1truefalsefalse190166000190166USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of debt securities categorized neither as held-to-maturity nor trading.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=28360136&loc=d3e22054-111558
Reference 2: 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=6871852&loc=d3e26610-111562
Reference 3: 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=27724398&loc=d3e27161-111563
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 320
-Section 50
-Paragraph 2
-Subparagraph (b)-(g)
-URI http://asc.fasb.org/extlink&oid=6957658&loc=d3e62557-112803
true2
16false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 3false
USDtruefalse$eol_PE5967----1310-Q0005_STD_0_20130630_0_928628x926306http://www.sec.gov/CIK0000851205instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseAsset-Backed Securities [Member]us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_AssetBackedSecuritiesMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
17true
3us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
18false
4us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse2691000026910USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of available-for-sale debt securities at fair value maturing in the next fiscal year following the latest fiscal year.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 3
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27198-111563
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 320
-Section 50
-Paragraph 3
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=6957658&loc=d3e62586-112803
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (d)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27161-111563
false2
19false
4cgnx_AvailableForSaleSecuritiesDebtMaturitiesAfterOneYearBeforeTwoYearsFairValuecgnx_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse3507200035072USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryThis item represents the fair value of debt securities which are expected to mature within one year of the balance sheet date and which are categorized neither as held-to-maturity nor trading securities.No definition available.false2
20false
4cgnx_AvailableForSaleSecuritiesDebtMaturitiesAfterTwoYearsBeforeThreeYearsFairValuecgnx_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse61940006194USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAvailable-for-sale securities, debt maturities after second year but before third year, fair value.No definition available.false2
21false
4us-gaap_AvailableForSaleSecuritiesDebtSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel| 1truefalsefalse6817600068176USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of debt securities categorized neither as held-to-maturity nor trading.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=28360136&loc=d3e22054-111558
Reference 2: 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=6871852&loc=d3e26610-111562
Reference 3: 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=27724398&loc=d3e27161-111563
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 320
-Section 50
-Paragraph 2
-Subparagraph (b)-(g)
-URI http://asc.fasb.org/extlink&oid=6957658&loc=d3e62557-112803
true2
22false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 4false
USDtruefalse$eol_PE5967----1310-Q0005_STD_0_20130630_0_928628x923870http://www.sec.gov/CIK0000851205instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseTreasury Bills [Member]us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_USTreasurySecuritiesMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
23true
3us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
24false
4cgnx_AvailableForSaleSecuritiesDebtMaturitiesAfterOneYearBeforeTwoYearsFairValuecgnx_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse2987000029870USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryThis item represents the fair value of debt securities which are expected to mature within one year of the balance sheet date and which are categorized neither as held-to-maturity nor trading securities.No definition available.false2
25false
4cgnx_AvailableForSaleSecuritiesDebtMaturitiesAfterTwoYearsBeforeThreeYearsFairValuecgnx_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse2254500022545USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAvailable-for-sale securities, debt maturities after second year but before third year, fair value.No definition available.false2
26false
4us-gaap_AvailableForSaleSecuritiesDebtSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel| 1truefalsefalse5241500052415USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of debt securities categorized neither as held-to-maturity nor trading.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=28360136&loc=d3e22054-111558
Reference 2: 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=6871852&loc=d3e26610-111562
Reference 3: 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=27724398&loc=d3e27161-111563
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 320
-Section 50
-Paragraph 2
-Subparagraph (b)-(g)
-URI http://asc.fasb.org/extlink&oid=6957658&loc=d3e62557-112803
true2
27false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 5false
USDtruefalse$eol_PE5967----1310-Q0005_STD_0_20130630_0_928628x924128http://www.sec.gov/CIK0000851205instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSovereign Bonds [Member]us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_SovereignDebtSecuritiesMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
28true
3us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
29false
4us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse73830007383USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of available-for-sale debt securities at fair value maturing in the next fiscal year following the latest fiscal year.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 3
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27198-111563
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 320
-Section 50
-Paragraph 3
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=6957658&loc=d3e62586-112803
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (d)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27161-111563
false2
30false
4cgnx_AvailableForSaleSecuritiesDebtMaturitiesAfterOneYearBeforeTwoYearsFairValuecgnx_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse1126300011263USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryThis item represents the fair value of debt securities which are expected to mature within one year of the balance sheet date and which are categorized neither as held-to-maturity nor trading securities.No definition available.false2
31false
4cgnx_AvailableForSaleSecuritiesDebtMaturitiesAfterTwoYearsBeforeThreeYearsFairValuecgnx_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse1090700010907USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAvailable-for-sale securities, debt maturities after second year but before third year, fair value.No definition available.false2
32false
4cgnx_AvailableForSaleSecuritiesDebtMaturitiesAfterFourYearsBeforeFiveYearsFairValuecgnx_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse882000882USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAvailable-for-sale securities, debt maturities after fourth year but before fifth year, fair value.No definition available.false2
33false
4us-gaap_AvailableForSaleSecuritiesDebtSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel| 1truefalsefalse3043500030435USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of debt securities categorized neither as held-to-maturity nor trading.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=28360136&loc=d3e22054-111558
Reference 2: 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=6871852&loc=d3e26610-111562
Reference 3: 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=27724398&loc=d3e27161-111563
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 320
-Section 50
-Paragraph 2
-Subparagraph (b)-(g)
-URI http://asc.fasb.org/extlink&oid=6957658&loc=d3e62557-112803
true2
34false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 6false
USDtruefalse$eol_PE5967----1310-Q0005_STD_0_20130630_0_928628x928914http://www.sec.gov/CIK0000851205instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseMunicipal Bonds [Member]us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MunicipalBondsMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
35true
3us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
36false
4us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse1444300014443USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of available-for-sale debt securities at fair value maturing in the next fiscal year following the latest fiscal year.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 3
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27198-111563
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 320
-Section 50
-Paragraph 3
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=6957658&loc=d3e62586-112803
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (d)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27161-111563
false2
37false
4cgnx_AvailableForSaleSecuritiesDebtMaturitiesAfterOneYearBeforeTwoYearsFairValuecgnx_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse88170008817USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryThis item represents the fair value of debt securities which are expected to mature within one year of the balance sheet date and which are categorized neither as held-to-maturity nor trading securities.No definition available.false2
38false
4cgnx_AvailableForSaleSecuritiesDebtMaturitiesAfterTwoYearsBeforeThreeYearsFairValuecgnx_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse23370002337USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAvailable-for-sale securities, debt maturities after second year but before third year, fair value.No definition available.false2
39false
4cgnx_AvailableForSaleSecuritiesDebtMaturitiesAfterThreeYearsBeforeFourYearsFairValuecgnx_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse24910002491USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAvailable-for-sale securities, debt maturities after third year but before fourth year, fair value.No definition available.false2
40false
4cgnx_AvailableForSaleSecuritiesDebtMaturitiesAfterFourYearsBeforeFiveYearsFairValuecgnx_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse495000495USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAvailable-for-sale securities, debt maturities after fourth year but before fifth year, fair value.No definition available.false2
41false
4us-gaap_AvailableForSaleSecuritiesDebtSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel| 1truefalsefalse2858300028583USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of debt securities categorized neither as held-to-maturity nor trading.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=28360136&loc=d3e22054-111558
Reference 2: 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=6871852&loc=d3e26610-111562
Reference 3: 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=27724398&loc=d3e27161-111563
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 320
-Section 50
-Paragraph 2
-Subparagraph (b)-(g)
-URI http://asc.fasb.org/extlink&oid=6957658&loc=d3e62557-112803
true2
42false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 7false
USDtruefalse$eol_PE5967----1310-Q0005_STD_0_20130630_0_928628x928626http://www.sec.gov/CIK0000851205instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseCommercial Paper [Member]us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CommercialPaperMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
43true
3us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
44false
4us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse30000003000USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of available-for-sale debt securities at fair value maturing in the next fiscal year following the latest fiscal year.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 3
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27198-111563
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 320
-Section 50
-Paragraph 3
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=6957658&loc=d3e62586-112803
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (d)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27161-111563
false2
45false
4us-gaap_AvailableForSaleSecuritiesDebtSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel| 1truefalsefalse30000003000USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of debt securities categorized neither as held-to-maturity nor trading.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=28360136&loc=d3e22054-111558
Reference 2: 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=6871852&loc=d3e26610-111562
Reference 3: 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=27724398&loc=d3e27161-111563
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 320
-Section 50
-Paragraph 2
-Subparagraph (b)-(g)
-URI http://asc.fasb.org/extlink&oid=6957658&loc=d3e62557-112803
true2
46false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 8false
USDtruefalse$eol_PE5967----1310-Q0005_STD_0_20130630_0_928628x1049218http://www.sec.gov/CIK0000851205instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseAgency Bonds [Member]us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldicgnx_AgencyBondsMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
47true
3us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
48false
4us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse14980001498USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of available-for-sale debt securities at fair value maturing in the next fiscal year following the latest fiscal year.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 3
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27198-111563
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 320
-Section 50
-Paragraph 3
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=6957658&loc=d3e62586-112803
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (d)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27161-111563
false2
49false
4us-gaap_AvailableForSaleSecuritiesDebtSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel| 1truefalsefalse14980001498USD$falsetruefalse | xbrli:monetaryItemTypemonetaryAmount of debt securities categorized neither as held-to-maturity nor trading.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=28360136&loc=d3e22054-111558
Reference 2: 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=6871852&loc=d3e26610-111562
Reference 3: 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=27724398&loc=d3e27161-111563
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 320
-Section 50
-Paragraph 2
-Subparagraph (b)-(g)
-URI http://asc.fasb.org/extlink&oid=6957658&loc=d3e62557-112803
true2
falseCash, Cash Equivalents, and Investments - Effective Maturity Dates of Available-for-Sale Investments (Detail) (USD $)ThousandsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.cognex.com/taxonomy/role/DisclosureCashCashEquivalentsAndInvestmentsEffectiveMaturityDatesOfAvailableforSaleInvestments149