Quarterly report pursuant to Section 13 or 15(d)

Stock-based compensation (Details)

v2.4.1.9
Stock-based compensation (Details) (Employee Stock Option [Member], USD $)
3 Months Ended
Mar. 31, 2015
Employee Stock Option [Member]
 
Number of shares available for grant  
Shares available for future grant, beginning balance 32,863,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant
/ us-gaap_OptionIndexedToIssuersEquityTypeAxis
= us-gaap_EmployeeStockOptionMember
Number of shares, Granted 1,750,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross
/ us-gaap_OptionIndexedToIssuersEquityTypeAxis
= us-gaap_EmployeeStockOptionMember
Number of shares, Cancelled 44,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod
/ us-gaap_OptionIndexedToIssuersEquityTypeAxis
= us-gaap_EmployeeStockOptionMember
Shares available for future grant, ending balance 31,157,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant
/ us-gaap_OptionIndexedToIssuersEquityTypeAxis
= us-gaap_EmployeeStockOptionMember
Option activity  
Number of shares, Outstanding beginning balance 19,600,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber
/ us-gaap_OptionIndexedToIssuersEquityTypeAxis
= us-gaap_EmployeeStockOptionMember
Number of shares, Exercised 162,000us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised
/ us-gaap_OptionIndexedToIssuersEquityTypeAxis
= us-gaap_EmployeeStockOptionMember
Number of shares, Granted 1,750,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross
/ us-gaap_OptionIndexedToIssuersEquityTypeAxis
= us-gaap_EmployeeStockOptionMember
Number of shares, Cancelled 44,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod
/ us-gaap_OptionIndexedToIssuersEquityTypeAxis
= us-gaap_EmployeeStockOptionMember
Number of shares, Outstanding ending balance 21,144,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber
/ us-gaap_OptionIndexedToIssuersEquityTypeAxis
= us-gaap_EmployeeStockOptionMember
Weighted average exercise price, Outstanding beginning balance $ 0.10us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice
/ us-gaap_OptionIndexedToIssuersEquityTypeAxis
= us-gaap_EmployeeStockOptionMember
Weighted average exercise price, Exercised $ 0.12us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice
/ us-gaap_OptionIndexedToIssuersEquityTypeAxis
= us-gaap_EmployeeStockOptionMember
Weighted average exercise price, Granted $ 1.02us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice
/ us-gaap_OptionIndexedToIssuersEquityTypeAxis
= us-gaap_EmployeeStockOptionMember
Weighted average exercise price, Cancelled $ 0.11us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice
/ us-gaap_OptionIndexedToIssuersEquityTypeAxis
= us-gaap_EmployeeStockOptionMember
Weighted average exercise price, Outstanding ending balance $ 0.18us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice
/ us-gaap_OptionIndexedToIssuersEquityTypeAxis
= us-gaap_EmployeeStockOptionMember
Aggregate intrinsic value, Outstanding beginning balance $ 26,656,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue
/ us-gaap_OptionIndexedToIssuersEquityTypeAxis
= us-gaap_EmployeeStockOptionMember
Aggregate intrinsic value, Exercised 217,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue
/ us-gaap_OptionIndexedToIssuersEquityTypeAxis
= us-gaap_EmployeeStockOptionMember
Aggregate intrinsic value, Granted 779,000COCP_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValueIntrinsicValueGranted
/ us-gaap_OptionIndexedToIssuersEquityTypeAxis
= us-gaap_EmployeeStockOptionMember
Aggregate intrinsic value, Cancelled 59,000COCP_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsIntrinsicValueCancelled
/ us-gaap_OptionIndexedToIssuersEquityTypeAxis
= us-gaap_EmployeeStockOptionMember
Aggregate intrinsic value, Outstanding ending balance $ 27,159,000us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue
/ us-gaap_OptionIndexedToIssuersEquityTypeAxis
= us-gaap_EmployeeStockOptionMember