2.4.0.8143 - Disclosure - Cash, Cash Equivalents, and Investments - Gross Unrealized Losses and Fair Values for Available-for-Sale Investments (Detail)truefalseIn Thousands, unless otherwise specifiedfalse1falseUSDfalsefalse$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$1true3us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false4us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse245885000245885USD$falsetruefalsexbrli:monetaryItemTypemonetaryThis 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.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 7
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27337-111563
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 6
-Subparagraph (a)(1)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27290-111563
false23false4cgnx_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAggregateLossesAccumulatedInInvestmentscgnx_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-1389000-1389USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of accumulated pre-tax unrealized loss on investments in available-for-sale securities that have been in a loss position for less than twelve months impacting investments.No definition available.false24false4us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse15700001570USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis 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.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 7
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27337-111563
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 6
-Subparagraph (a)(1)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27290-111563
false25false4cgnx_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAggregateLossesAccumulatedInInvestmentscgnx_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-2000-2USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of accumulated pre-tax unrealized loss on investments in available-for-sale securities that have been in a loss position for twelve months or longer impacting investments.No definition available.false26false4us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse247455000247455USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis 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.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 6
-Subparagraph (a)(1)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27290-111563
true27false4cgnx_AvailableforsaleEquitySecuritiesGrossUnrealizedGainAccumulatedInInvestmentscgnx_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedTotalLabel1truefalsefalse-1391000-1391USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of accumulated pre-tax unrealized gain before deducting pre-tax unrealized loss on investments in available-for-sale equity securities impacting investments.No definition available.true28false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falseUSDtruefalse$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$nanafalse09true3us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse010false4us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse107235000107235USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis 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.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 7
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27337-111563
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 6
-Subparagraph (a)(1)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27290-111563
false211false4cgnx_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAggregateLossesAccumulatedInInvestmentscgnx_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-658000-658USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of accumulated pre-tax unrealized loss on investments in available-for-sale securities that have been in a loss position for less than twelve months impacting investments.No definition available.false212false4us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse107235000107235USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis 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.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 6
-Subparagraph (a)(1)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27290-111563
true213false4cgnx_AvailableforsaleEquitySecuritiesGrossUnrealizedGainAccumulatedInInvestmentscgnx_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedTotalLabel1truefalsefalse-658000-658USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of accumulated pre-tax unrealized gain before deducting pre-tax unrealized loss on investments in available-for-sale equity securities impacting investments.No definition available.true214false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse3falseUSDtruefalse$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$nanafalse015true3us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse016false4us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse2300700023007USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis 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.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 7
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27337-111563
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 6
-Subparagraph (a)(1)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27290-111563
false217false4cgnx_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAggregateLossesAccumulatedInInvestmentscgnx_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-177000-177USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of accumulated pre-tax unrealized loss on investments in available-for-sale securities that have been in a loss position for less than twelve months impacting investments.No definition available.false218false4us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse2300700023007USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis 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.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 6
-Subparagraph (a)(1)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27290-111563
true219false4cgnx_AvailableforsaleEquitySecuritiesGrossUnrealizedGainAccumulatedInInvestmentscgnx_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedTotalLabel1truefalsefalse-177000-177USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of accumulated pre-tax unrealized gain before deducting pre-tax unrealized loss on investments in available-for-sale equity securities impacting investments.No definition available.true220false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse4falseUSDtruefalse$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$nanafalse021true3us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse022false4us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse58460005846USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis 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.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 7
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27337-111563
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 6
-Subparagraph (a)(1)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27290-111563
false223false4cgnx_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAggregateLossesAccumulatedInInvestmentscgnx_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-33000-33USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of accumulated pre-tax unrealized loss on investments in available-for-sale securities that have been in a loss position for less than twelve months impacting investments.No definition available.false224false4us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse58460005846USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis 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.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 6
-Subparagraph (a)(1)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27290-111563
true225false4cgnx_AvailableforsaleEquitySecuritiesGrossUnrealizedGainAccumulatedInInvestmentscgnx_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedTotalLabel1truefalsefalse-33000-33USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of accumulated pre-tax unrealized gain before deducting pre-tax unrealized loss on investments in available-for-sale equity securities impacting investments.No definition available.true226false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse5falseUSDtruefalse$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$nanafalse027true3us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse028false4us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse5918000059180USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis 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.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 7
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27337-111563
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 6
-Subparagraph (a)(1)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27290-111563
false229false4cgnx_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAggregateLossesAccumulatedInInvestmentscgnx_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-449000-449USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of accumulated pre-tax unrealized loss on investments in available-for-sale securities that have been in a loss position for less than twelve months impacting investments.No definition available.false230false4us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse15700001570USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis 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.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 7
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27337-111563
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 6
-Subparagraph (a)(1)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27290-111563
false231false4cgnx_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAggregateLossesAccumulatedInInvestmentscgnx_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-2000-2USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of accumulated pre-tax unrealized loss on investments in available-for-sale securities that have been in a loss position for twelve months or longer impacting investments.No definition available.false232false4us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse6075000060750USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis 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.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 6
-Subparagraph (a)(1)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27290-111563
true233false4cgnx_AvailableforsaleEquitySecuritiesGrossUnrealizedGainAccumulatedInInvestmentscgnx_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedTotalLabel1truefalsefalse-451000-451USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of accumulated pre-tax unrealized gain before deducting pre-tax unrealized loss on investments in available-for-sale equity securities impacting investments.No definition available.true234false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse6falseUSDtruefalse$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$nanafalse035true3us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse036false4us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse5061700050617USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis 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.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 7
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27337-111563
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 6
-Subparagraph (a)(1)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27290-111563
false237false4cgnx_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAggregateLossesAccumulatedInInvestmentscgnx_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-72000-72USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of accumulated pre-tax unrealized loss on investments in available-for-sale securities that have been in a loss position for less than twelve months impacting investments.No definition available.false238false4us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse5061700050617USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis 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.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 6
-Subparagraph (a)(1)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27290-111563
true239false4cgnx_AvailableforsaleEquitySecuritiesGrossUnrealizedGainAccumulatedInInvestmentscgnx_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedTotalLabel1truefalsefalse-72000-72USD$falsetruefalsexbrli:monetaryItemTypemonetaryAmount of accumulated pre-tax unrealized gain before deducting pre-tax unrealized loss on investments in available-for-sale equity securities impacting investments.No definition available.true2falseCash, Cash Equivalents, and Investments - Gross Unrealized Losses and Fair Values for Available-for-Sale Investments (Detail) (USD $)ThousandsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.cognex.com/taxonomy/role/DisclosureCashCashEquivalentsAndInvestmentsGrossUnrealizedLossesAndFairValuesForAvailableforSaleInvestments139