2.4.0.8142 - Disclosure - Cash, Cash Equivalents, and Investments - Summary 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_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 4us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasisus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse375053000375053USD$falsetruefalsexbrli:monetaryItemTypemonetaryThis 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.No definition available.false23false 4cgnx_AvailableForSaleSecuritiesGrossUnrealizedGainAccumulatedInInvestmentscgnx_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse611000611USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of accumulated pre-tax unrealized gain before deducting pre-tax unrealized losses on investments in available-for-sale securities impacting investments.No definition available.false24false 4cgnx_AvailableForSaleSecuritiesGrossUnrealizedLossAccumulatedInInvestmentscgnx_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-1391000-1391USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of accumulated pre-tax unrealized loss before deducting pre-tax unrealized gain on investments in available-for-sale securities impacting investments.No definition available.false25false 4us-gaap_AvailableForSaleSecuritiesDebtSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse374273000374273USD$falsefalsefalsexbrli: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 true26false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2false 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$nanafalse07true 3us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse08false 4us-gaap_AvailableForSaleSecuritiesDebtSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse190166000190166USD$falsefalsefalsexbrli: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 true29false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse3false USDtruefalse$eol_PE5967----1310-Q0005_STD_0_20130630_0_928628x927085_932040x926438http://www.sec.gov/CIK0000851205instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseCorporate Bonds [Member]us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CorporateBondSecuritiesMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberfalsefalseShort-Term Investments [Member]us-gaap_InvestmentTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ShortTermInvestmentsMemberus-gaap_InvestmentTypeAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse010true 3us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse011false 4us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasisus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse8054700080547USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis 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.No definition available.false212false 4cgnx_AvailableForSaleSecuritiesGrossUnrealizedGainAccumulatedInInvestmentscgnx_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse119000119USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of accumulated pre-tax unrealized gain before deducting pre-tax unrealized losses on investments in available-for-sale securities impacting investments.No definition available.false213false 4cgnx_AvailableForSaleSecuritiesGrossUnrealizedLossAccumulatedInInvestmentscgnx_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-280000-280USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of accumulated pre-tax unrealized loss before deducting pre-tax unrealized gain on investments in available-for-sale securities impacting investments.No definition available.false214false 4us-gaap_AvailableForSaleSecuritiesDebtSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse8038600080386USD$falsefalsefalsexbrli: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 true215false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse4false USDtruefalse$eol_PE5967----1310-Q0005_STD_0_20130630_0_928628x927085_932040x1062230http://www.sec.gov/CIK0000851205instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseCorporate Bonds [Member]us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CorporateBondSecuritiesMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberfalsefalseLong-Term Investments [Member]us-gaap_InvestmentTypeAxisxbrldihttp://xbrl.org/2006/xbrldicgnx_LongTermInvestmentsMemberus-gaap_InvestmentTypeAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse016true 3us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse017false 4us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasisus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse109785000109785USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis 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.No definition available.false218false 4cgnx_AvailableForSaleSecuritiesGrossUnrealizedGainAccumulatedInInvestmentscgnx_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse373000373USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of accumulated pre-tax unrealized gain before deducting pre-tax unrealized losses on investments in available-for-sale securities impacting investments.No definition available.false219false 4cgnx_AvailableForSaleSecuritiesGrossUnrealizedLossAccumulatedInInvestmentscgnx_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-378000-378USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of accumulated pre-tax unrealized loss before deducting pre-tax unrealized gain on investments in available-for-sale securities impacting investments.No definition available.false220false 4us-gaap_AvailableForSaleSecuritiesDebtSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse109780000109780USD$falsefalsefalsexbrli: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 true221false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse5false 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$nanafalse022true 3us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse023false 4us-gaap_AvailableForSaleSecuritiesDebtSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse6817600068176USD$falsefalsefalsexbrli: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 true224false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse6false USDtruefalse$eol_PE5967----1310-Q0005_STD_0_20130630_0_928628x926306_932040x926438http://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_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberfalsefalseShort-Term Investments [Member]us-gaap_InvestmentTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ShortTermInvestmentsMemberus-gaap_InvestmentTypeAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse025true 3us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse026false 4us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasisus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse2707600027076USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis 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.No definition available.false227false 4cgnx_AvailableForSaleSecuritiesGrossUnrealizedGainAccumulatedInInvestmentscgnx_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse60006USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of accumulated pre-tax unrealized gain before deducting pre-tax unrealized losses on investments in available-for-sale securities impacting investments.No definition available.false228false 4cgnx_AvailableForSaleSecuritiesGrossUnrealizedLossAccumulatedInInvestmentscgnx_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-172000-172USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of accumulated pre-tax unrealized loss before deducting pre-tax unrealized gain on investments in available-for-sale securities impacting investments.No definition available.false229false 4us-gaap_AvailableForSaleSecuritiesDebtSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse2691000026910USD$falsefalsefalsexbrli: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 true230false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse7false USDtruefalse$eol_PE5967----1310-Q0005_STD_0_20130630_0_928628x926306_932040x1062230http://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_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberfalsefalseLong-Term Investments [Member]us-gaap_InvestmentTypeAxisxbrldihttp://xbrl.org/2006/xbrldicgnx_LongTermInvestmentsMemberus-gaap_InvestmentTypeAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse031true 3us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse032false 4us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasisus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse4153900041539USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis 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.No definition available.false233false 4cgnx_AvailableForSaleSecuritiesGrossUnrealizedGainAccumulatedInInvestmentscgnx_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse60006USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of accumulated pre-tax unrealized gain before deducting pre-tax unrealized losses on investments in available-for-sale securities impacting investments.No definition available.false234false 4cgnx_AvailableForSaleSecuritiesGrossUnrealizedLossAccumulatedInInvestmentscgnx_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-279000-279USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of accumulated pre-tax unrealized loss before deducting pre-tax unrealized gain on investments in available-for-sale securities impacting investments.No definition available.false235false 4us-gaap_AvailableForSaleSecuritiesDebtSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse4126600041266USD$falsefalsefalsexbrli: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 true236false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse8false 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$nanafalse037true 3us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse038false 4us-gaap_AvailableForSaleSecuritiesDebtSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse2858300028583USD$falsefalsefalsexbrli: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 true239false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse9false USDtruefalse$eol_PE5967----1310-Q0005_STD_0_20130630_0_928628x928914_932040x926438http://www.sec.gov/CIK0000851205instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseMunicipal Bonds [Member]us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MunicipalBondsMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberfalsefalseShort-Term Investments [Member]us-gaap_InvestmentTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ShortTermInvestmentsMemberus-gaap_InvestmentTypeAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse040true 3us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse041false 4us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasisus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse1441600014416USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis 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.No definition available.false242false 4cgnx_AvailableForSaleSecuritiesGrossUnrealizedGainAccumulatedInInvestmentscgnx_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse2800028USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of accumulated pre-tax unrealized gain before deducting pre-tax unrealized losses on investments in available-for-sale securities impacting investments.No definition available.false243false 4cgnx_AvailableForSaleSecuritiesGrossUnrealizedLossAccumulatedInInvestmentscgnx_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-1000-1USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of accumulated pre-tax unrealized loss before deducting pre-tax unrealized gain on investments in available-for-sale securities impacting investments.No definition available.false244false 4us-gaap_AvailableForSaleSecuritiesDebtSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse1444300014443USD$falsefalsefalsexbrli: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 true245false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse10false USDtruefalse$eol_PE5967----1310-Q0005_STD_0_20130630_0_928628x928914_932040x1062230http://www.sec.gov/CIK0000851205instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseMunicipal Bonds [Member]us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MunicipalBondsMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberfalsefalseLong-Term Investments [Member]us-gaap_InvestmentTypeAxisxbrldihttp://xbrl.org/2006/xbrldicgnx_LongTermInvestmentsMemberus-gaap_InvestmentTypeAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse046true 3us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse047false 4us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasisus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse1411000014110USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis 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.No definition available.false248false 4cgnx_AvailableForSaleSecuritiesGrossUnrealizedGainAccumulatedInInvestmentscgnx_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse6200062USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of accumulated pre-tax unrealized gain before deducting pre-tax unrealized losses on investments in available-for-sale securities impacting investments.No definition available.false249false 4cgnx_AvailableForSaleSecuritiesGrossUnrealizedLossAccumulatedInInvestmentscgnx_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-32000-32USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of accumulated pre-tax unrealized loss before deducting pre-tax unrealized gain on investments in available-for-sale securities impacting investments.No definition available.false250false 4us-gaap_AvailableForSaleSecuritiesDebtSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse1414000014140USD$falsefalsefalsexbrli: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 true251false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse11false 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$nanafalse052true 3us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse053false 4us-gaap_AvailableForSaleSecuritiesDebtSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse3043500030435USD$falsefalsefalsexbrli: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 true254false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse12false USDtruefalse$eol_PE5967----1310-Q0005_STD_0_20130630_0_928628x924128_932040x926438http://www.sec.gov/CIK0000851205instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSovereign Bonds [Member]us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_SovereignDebtSecuritiesMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberfalsefalseShort-Term Investments [Member]us-gaap_InvestmentTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ShortTermInvestmentsMemberus-gaap_InvestmentTypeAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse055true 3us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse056false 4us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasisus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse73960007396USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis 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.No definition available.false257false 4cgnx_AvailableForSaleSecuritiesGrossUnrealizedLossAccumulatedInInvestmentscgnx_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-13000-13USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of accumulated pre-tax unrealized loss before deducting pre-tax unrealized gain on investments in available-for-sale securities impacting investments.No definition available.false258false 4us-gaap_AvailableForSaleSecuritiesDebtSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse73830007383USD$falsefalsefalsexbrli: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 true259false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse13false USDtruefalse$eol_PE5967----1310-Q0005_STD_0_20130630_0_928628x924128_932040x1062230http://www.sec.gov/CIK0000851205instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSovereign Bonds [Member]us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_SovereignDebtSecuritiesMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberfalsefalseLong-Term Investments [Member]us-gaap_InvestmentTypeAxisxbrldihttp://xbrl.org/2006/xbrldicgnx_LongTermInvestmentsMemberus-gaap_InvestmentTypeAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse060true 3us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse061false 4us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasisus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse2319900023199USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis 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.No definition available.false262false 4cgnx_AvailableForSaleSecuritiesGrossUnrealizedGainAccumulatedInInvestmentscgnx_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse1700017USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of accumulated pre-tax unrealized gain before deducting pre-tax unrealized losses on investments in available-for-sale securities impacting investments.No definition available.false263false 4cgnx_AvailableForSaleSecuritiesGrossUnrealizedLossAccumulatedInInvestmentscgnx_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-164000-164USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of accumulated pre-tax unrealized loss before deducting pre-tax unrealized gain on investments in available-for-sale securities impacting investments.No definition available.false264false 4us-gaap_AvailableForSaleSecuritiesDebtSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse2305200023052USD$falsefalsefalsexbrli: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 true265false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse14false 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$nanafalse066true 3us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse067false 4us-gaap_AvailableForSaleSecuritiesDebtSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse30000003000USD$falsefalsefalsexbrli: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 true268false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse15false USDtruefalse$eol_PE5967----1310-Q0005_STD_0_20130630_0_928628x928626_932040x926438http://www.sec.gov/CIK0000851205instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseCommercial Paper [Member]us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CommercialPaperMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberfalsefalseShort-Term Investments [Member]us-gaap_InvestmentTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ShortTermInvestmentsMemberus-gaap_InvestmentTypeAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse069true 3us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse070false 4us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasisus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse30000003000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis 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.No definition available.false271false 4us-gaap_AvailableForSaleSecuritiesDebtSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse30000003000USD$falsefalsefalsexbrli: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 true272false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse16false 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$nanafalse073true 3us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse074false 4us-gaap_AvailableForSaleSecuritiesDebtSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse14980001498USD$falsefalsefalsexbrli: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 true275false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse17false USDtruefalse$eol_PE5967----1310-Q0005_STD_0_20130630_0_928628x1049218_932040x926438http://www.sec.gov/CIK0000851205instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseAgency Bonds [Member]us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldicgnx_AgencyBondsMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberfalsefalseShort-Term Investments [Member]us-gaap_InvestmentTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ShortTermInvestmentsMemberus-gaap_InvestmentTypeAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse076true 3us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse077false 4us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasisus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse14980001498USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis 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.No definition available.false278false 4us-gaap_AvailableForSaleSecuritiesDebtSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse14980001498USD$falsefalsefalsexbrli: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 true279false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse18false 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$nanafalse080true 3us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse081false 4us-gaap_AvailableForSaleSecuritiesDebtSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse5241500052415USD$falsefalsefalsexbrli: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 true282false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse19false USDtruefalse$eol_PE5967----1310-Q0005_STD_0_20130630_0_928628x923870_932040x1062230http://www.sec.gov/CIK0000851205instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseTreasury Bills [Member]us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_USTreasurySecuritiesMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberfalsefalseLong-Term Investments [Member]us-gaap_InvestmentTypeAxisxbrldihttp://xbrl.org/2006/xbrldicgnx_LongTermInvestmentsMemberus-gaap_InvestmentTypeAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse083true 3us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse084false 4us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasisus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse5248700052487USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis 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.No definition available.false285false 4cgnx_AvailableForSaleSecuritiesGrossUnrealizedLossAccumulatedInInvestmentscgnx_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-72000-72USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of accumulated pre-tax unrealized loss before deducting pre-tax unrealized gain on investments in available-for-sale securities impacting investments.No definition available.false286false 4us-gaap_AvailableForSaleSecuritiesDebtSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse5241500052415USD$falsetruefalsexbrli: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 true2falseCash, Cash Equivalents, and Investments - Summary of Available-for-Sale Investments (Detail) (USD $)ThousandsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.cognex.com/taxonomy/role/DisclosureCashCashEquivalentsAndInvestmentsSummaryOfAvailableforSaleInvestments186