v2.4.0.8

Fair value measurement (Details 2) (Fair value of contingent consideration, USD $) In Thousands, unless otherwise specified | 0 Months Ended | 6 Months Ended
--- | --- | ---
Feb. 22, 2013 | Jun. 30, 2013
Fair value measurement |  |
Discount rate (as a percent) |  | 50.50%
Endeka |  |
Fair value measurement |  |
Discount rate (as a percent) | 50.50% |
Reconciliation between the beginning and ending balances of preferred stock warrants |  |
Contingent consideration for acquisition of business |  | $ 1,329
Balance at the end of the period |  | $ 1,329

X
- Definition Interest rate used to find the present value of an amount to be paid or received in the future as an input to measure fair value. For example, but not limited to, weighted average cost of capital (WACC), cost of capital, cost of equity and cost of debt. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (bbb) -URI http://asc.fasb.org/extlink&oid=7578670&loc=d3e19207-110258 + Details
Name: | us-gaap_FairValueInputsDiscountRate
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Purchases that have taken place during the period in relation to liabilities measured at fair value and categorized within Level 3 of the fair value hierarchy. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(2) -URI http://asc.fasb.org/extlink&oid=7578670&loc=d3e19207-110258 + Details
Name: | us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPurchases
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition This element represents a liability measured at fair value using significant unobservable inputs (Level 3) which is required for reconciliation purposes of beginning and ending balances. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=7578670&loc=d3e19207-110258 + Details
Name: | us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant