XML 34 R40.htm IDEA: XBRL DOCUMENT
v3.20.1

Note 6 - Long-term Debt (Details Textual) - USD ($) |  |  | 1 Months Ended | 12 Months Ended |
--- | --- | --- | --- | --- | ---
Jan. 01, 2019 | May 25, 2017 | May 31, 2017 | Dec. 31, 2019 | Dec. 31, 2018 | Dec. 31, 2017 | Apr. 26, 2016
Convertible Debt, Total |  |  |  |  | $ 65,200,000 |  |  |  |
Debt Instrument, Convertible, Difference Between Fair Value and Carrying Value |  |  |  |  | 41,400,000 |  |  |  |
Current Period Reclassification Adjustment |  | $ 865,000 |  |  | 865,000 | [1] |  |  |
Additional Paid-in Capital [Member] |  |  |  |  |  |  |  |  |
Current Period Reclassification Adjustment | [1] |  |  |  | 2,896,000 |  |  |  |
Reclassification of Warrant Liability to Additional Paid-in Capital [Member] |  |  |  |  |  |  |  |  |
Current Period Reclassification Adjustment |  | 865,000 |  |  | $ 30,000 |  |  |  |
Gains from Revaluating Warrants |  |  |  |  |  |  | $ 1,500,000 | $ 500,000 |
Reclassification of Warrant Liability to Additional Paid-in Capital [Member] | Additional Paid-in Capital [Member] |  |  |  |  |  |  |  |  |
Cumulative Effect of New Accounting Principle in Period of Adoption |  | 2,000,000 |  |  |  |  |  |  |
Reclassification of Warrant Liability to Additional Paid-in Capital [Member] | Retained Earnings [Member] |  |  |  |  |  |  |  |  |
Cumulative Effect of New Accounting Principle in Period of Adoption |  | $ 2,000,000 |  |  |  |  |  |  |
2017 Warrants [Member] |  |  |  |  |  |  |  |  |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights |  |  | 362,500 |  |  |  |  |  |
Warrants and Rights Outstanding, Term |  |  | 5 years |  |  |  |  |  |
Class of Warrant or Right, Exercise Price of Warrants or Rights |  |  | $ 14.94 |  | $ 14.54 |  |  |  |
Warrants and Rights Outstanding |  |  | $ 2,900,000 |  |  |  |  |  |
Senior Secured Debt [Member] |  |  |  |  |  |  |  |  |
Debt Instrument, Fee Amount |  |  | 60,000,000 |  |  |  |  |  |
Debt Instrument, Additional Amount after Refinance |  |  | $ 15,000,000 | $ 15,000,000 |  |  |  |  |
Debt Instrument, Payment-in-kind Rate |  |  | 6.00% |  |  |  |  |  |
Debt Instrument, Cash Rate |  |  | 2.00% |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  | 3.00% |  |  |  |  |  |
Upfront Fee, Recorded as Additional Debt Discount, Percentage |  |  | 2.00% |  |  |  |  |  |
Prior Senior Secured Debt [Member] |  |  |  |  |  |  |  |  |
Extinguishment of Debt, Amount |  |  | $ 45,000,000 | $ 45,000,000 |  |  |  |  |
2020 Convertible Senior Notes [Member] |  |  |  |  |  |  |  |  |
Convertible Debt, Total |  |  |  |  | $ 65,514,000 |  | $ 73,158,000 |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  | 7.00% |  | 7.00% |  | 7.00%
Debt Instrument, Periodic Payment, Total |  |  |  |  | $ 0 |  |  |  |
Measurement Input, Exercise Price [Member] |  |  |  |  |  |  |  |  |
Debt Instrument, Measurement Input |  |  |  |  | 6.75 |  |  |  |
Measurement Input, Share Price [Member] |  |  |  |  |  |  |  |  |
Debt Instrument, Measurement Input |  |  |  |  | 11.02 |  |  |  |
Measurement Input, Price Volatility [Member] |  |  |  |  |  |  |  |  |
Debt Instrument, Measurement Input |  |  |  |  | 0.32 |  |  |  |
[1] | A cumulative effect adjustment of $2,031 thousand was recognized as of January 1, 2019, upon adoption of ASU 2017-11.

X
- Definition The amount of a reclassification adjustment made to current period financial statement amounts. + References No definition available. + Details
Name: | cdzi_CurrentPeriodReclassificationAdjustment
Namespace Prefix: | cdzi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Represents the additional amount of debt instrument after refinancing. + References No definition available. + Details
Name: | cdzi_DebtInstrumentAdditionalAmountAfterRefinance
Namespace Prefix: | cdzi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Represents the cash rate of a debt instrument pursuant the agreement. + References No definition available. + Details
Name: | cdzi_DebtInstrumentCashRate
Namespace Prefix: | cdzi_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The amount of the difference between fair value and carrying value in a convertible debt instrument. + References No definition available. + Details
Name: | cdzi_DebtInstrumentConvertibleDifferenceBetweenFairValueAndCarryingValue
Namespace Prefix: | cdzi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Represents Payment-in-kind Rate of a debt instrument pursuant to the agreement. + References No definition available. + Details
Name: | cdzi_DebtInstrumentPaymentInKindRate
Namespace Prefix: | cdzi_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Represents the amount of gains from revaluating warrants during the period. + References No definition available. + Details
Name: | cdzi_GainsFromRevaluatingWarrants
Namespace Prefix: | cdzi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The percentage of the aggregate principal amount of a debt instrument funded on the Closing Date, which recorded as additional debt discount. + References No definition available. + Details
Name: | cdzi_UpfrontFeeRecordedAsAdditionalDebtDiscountPercentage
Namespace Prefix: | cdzi_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Exercise price per share or per unit of warrants or rights outstanding. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(i)(4)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 + Details
Name: | us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of securities into which the class of warrant or right may be converted. For example, but not limited to, 500,000 warrants may be converted into 1,000,000 shares. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(i)(2)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 + Details
Name: | us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Including the current and noncurrent portions, carrying amount of debt identified as being convertible into another form of financial instrument (typically the entity's common stock) as of the balance sheet date, which originally required full repayment more than twelve months after issuance or greater than the normal operating cycle of the company. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)) -URI http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 + Details
Name: | us-gaap_ConvertibleDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount after tax of increase (decrease) to equity or (increase) decrease to net assets, resulting from the cumulative effect adjustment of a new accounting principle applied in the period of adoption. + References No definition available. + Details
Name: | us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of the fee that accompanies borrowing money under the debt instrument. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentFeeAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Value of input used to measure debt instrument, including, but not limited to, convertible and non-convertible debt. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -URI http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258 + Details
Name: | us-gaap_DebtInstrumentMeasurementInput
Namespace Prefix: | us-gaap_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of the required periodic payments including both interest and principal payments. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=75038535&loc=d3e64711-112823 + Details
Name: | us-gaap_DebtInstrumentPeriodicPayment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Gross amount of debt extinguished. + References No definition available. + Details
Name: | us-gaap_ExtinguishmentOfDebtAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Value of outstanding derivative securities that permit the holder the right to purchase securities (usually equity) from the issuer at a specified price. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(i)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 + Details
Name: | us-gaap_WarrantsAndRightsOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Period between issuance and expiration of outstanding warrant and right embodying unconditional obligation requiring redemption by transferring asset at specified or determinable date or upon event certain to occur, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -URI http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258 + Details
Name: | us-gaap_WarrantsAndRightsOutstandingTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_AdditionalPaidInCapitalMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AdjustmentsForNewAccountingPronouncementsAxis=cdzi_ReclassificationOfWarrantLiabilityToAdditionalPaidinCapitalMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_RetainedEarningsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=cdzi_The2017WarrantsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=cdzi_SeniorSecuredDebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=cdzi_PriorSeniorSecuredDebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=cdzi_ConvertibleSeniorNotes2020Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MeasurementInputTypeAxis=us-gaap_MeasurementInputExercisePriceMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MeasurementInputTypeAxis=us-gaap_MeasurementInputSharePriceMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MeasurementInputTypeAxis=us-gaap_MeasurementInputPriceVolatilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |