XML 47 R34.htm IDEA: XBRL DOCUMENT
v3.20.1

Note 2 - Summary of Significant Accounting Policies (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 | Jul. 31, 2019 | Nov. 30, 2018 | Apr. 26, 2016 | May 31, 1988
Net Income (Loss) Attributable to Parent, Total |  |  |  |  | $ (29,528,000) |  | $ (26,273,000) |  |  |  |  |
Working Capital |  |  |  |  | 11,300,000 |  |  |  |  |  |  |
Net Cash Provided by (Used in) Operating Activities, Total |  |  |  |  | (13,708,000) |  | (12,193,000) |  |  |  |  |
Proceeds from Issuance of Common Stock |  |  |  |  | 19,395,000 |  | 15,503,000 |  |  |  |  |
Required Payment to Acquire Property Available for Purchase, Due End of Fiscal Year |  |  |  |  | 19,000,000 |  |  |  |  |  |  |
Share-based Payment Arrangement, Expense |  |  |  |  | $ 562,000 |  | $ 473,000 |  |  |  |  |
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount |  |  |  |  | 0 |  |  |  |  |  |  |
Weighted Average Number Diluted Shares Outstanding Adjustment, Total |  |  |  |  | 11,477,000 |  | 11,398,000 |  |  |  |  |
Goodwill, Ending Balance |  |  |  |  | $ 3,813,000 |  | $ 3,813,000 |  |  |  |  | $ 7,006,000
Goodwill Amortized Portion |  |  |  |  | 3,193,000 |  |  |  |  |  |  |
Goodwill, Impairment Loss |  |  |  |  | 0 |  |  |  |  |  |  |
Equity Method Investments |  |  |  |  | 729,000 |  |  |  |  |  |  |
Income (Loss) from Equity Method Investments, Total |  |  |  |  | $ (490,000) |  |  |  |  |  |  |
Percentage of Future Quarterly Interest Payments |  |  |  |  | 25.00% |  |  |  |  |  |  |
Interest Payments in Stock |  |  |  |  | $ 1,370,000 |  |  |  |  |  |  |
Debt Conversion, Original Debt, Amount |  |  |  |  | $ 12,700,000 |  |  |  |  |  |  |
Stock Issued During Period, Shares, Conversion of Convertible Securities |  |  |  |  | 1,918,444 |  |  |  |  |  |  |
Capital Expenditures Incurred but Not yet Paid |  |  |  |  | $ 3,200,000 |  |  |  |  |  |  |
Income Taxes Paid |  |  |  |  | 6,000 |  | 6,000 |  |  |  |  |
Operating Lease, Right-of-Use Asset |  |  |  |  | 59,000 |  |  |  |  |  |  |
Operating Lease, Liability, Total |  |  |  |  | 59,000 |  |  |  |  |  |  |
Current Period Reclassification Adjustment |  | $ 865,000 |  |  | 865,000 | [1] |  |  |  |  |  |
Additional Paid-in Capital [Member] |  |  |  |  |  |  |  |  |  |  |  |
Net Income (Loss) Attributable to Parent, Total |  |  |  |  |  |  |  |  |  |  |  |
Current Period Reclassification Adjustment | [1] |  |  |  | 2,896,000 |  |  |  |  |  |  |
Accounting Standards Update 2016-02 [Member] |  |  |  |  |  |  |  |  |  |  |  |
Operating Lease, Right-of-Use Asset |  | 151,000 |  |  |  |  |  |  |  |  |  |
Operating Lease, Liability, Total |  | 100,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 |  |  |  |  |  |  |  |  |  |
Stage 1 Loan [Member] |  |  |  |  |  |  |  |  |  |  |  |
Note Receivable, Interest Rate |  |  |  |  |  |  |  |  | 8.00% |  |  |
Financing Receivable, after Allowance for Credit Loss, Total |  |  |  |  |  |  |  |  | $ 377,000 |  |  |
SoCal Hemp JV LLC [Member] |  |  |  |  |  |  |  |  |  |  |  |
Equity Method Investment, Ownership Percentage |  |  |  |  |  |  |  |  | 50.00% |  |  |
Equity Method Investments |  |  |  |  | 729,000 |  |  |  |  |  |  |
Equity Method Investment, Contribution |  |  |  |  | 741,000 |  |  |  |  |  |  |
Equity Method Investments, Capitalized Costs |  |  |  |  | 162,000 |  |  |  |  |  |  |
Income (Loss) from Equity Method Investments, Total |  |  |  |  | (490,000) |  |  |  |  |  |  |
Equity Method Investments, Accrued Contribution Expense |  |  |  |  | $ 315,000 |  |  |  |  |  |  |
Land, Buildings and Improvements [Member] | Minimum [Member] |  |  |  |  |  |  |  |  |  |  |  |
Property, Plant and Equipment, Useful Life |  |  |  |  | 10 years |  |  |  |  |  |  |
Land, Buildings and Improvements [Member] | Maximum [Member] |  |  |  |  |  |  |  |  |  |  |  |
Property, Plant and Equipment, Useful Life |  |  |  |  | 45 years |  |  |  |  |  |  |
Machinery and Equipment [Member] | Minimum [Member] |  |  |  |  |  |  |  |  |  |  |  |
Property, Plant and Equipment, Useful Life |  |  |  |  | 5 years |  |  |  |  |  |  |
Machinery and Equipment [Member] | Maximum [Member] |  |  |  |  |  |  |  |  |  |  |  |
Property, Plant and Equipment, Useful Life |  |  |  |  | 15 years |  |  |  |  |  |  |
General and Administrative Expense [Member] |  |  |  |  |  |  |  |  |  |  |  |
Share-based Payment Arrangement, Expense |  |  |  |  | $ 600,000 |  | $ 500,000 |  |  |  |  |
Senior Secured Debt [Member] |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Face Amount |  |  |  | $ 60,000,000 |  |  |  |  |  |  |  |
Debt Instrument, Additional Amount after Refinance |  |  | $ 15,000,000 | 15,000,000 |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  | 3.00% |  |  |  |  |  |  |  |  |
Prior Senior Secured Debt [Member] |  |  |  |  |  |  |  |  |  |  |  |
Extinguishment of Debt, Amount |  |  | $ 45,000,000 | $ 45,000,000 |  |  |  |  |  |  |  |
2020 Convertible Senior Notes [Member] |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Face Amount |  |  |  |  |  |  |  |  |  |  | $ 27,400,000 |
Long-term Debt, Maturities, Repayments of Principal and Interest in Year Two |  |  |  |  | $ 65,500,000 |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  | 7.00% |  | 7.00% |  |  |  | 7.00% |
At Market Issuance Sales Agreement [Member] |  |  |  |  |  |  |  |  |  |  |  |
At Market Issuance Sales Agreement, Maximum Aggregate Offering Price |  |  |  |  |  |  |  |  |  | $ 25,000,000 |  |
Stock Issued During Period, Shares, New Issues |  |  |  |  | 1,960,178 |  |  |  |  |  |  |
Proceeds from Issuance of Common Stock, Gross |  |  |  |  | $ 21,000,000 |  |  |  |  |  |  |
Proceeds from Issuance of Common Stock |  |  |  |  | $ 20,300,000 |  |  |  |  |  |  |
[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 maximum aggregate offering price of common stock to be issued pursuant to the At Market Issuance Sales Agreement. + References No definition available. + Details
Name: | cdzi_AtMarketIssuanceSalesAgreementMaximumAggregateOfferingPrice
Namespace Prefix: | cdzi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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 The amount of cash or assets contributed to the equity method investment of the entity. + References No definition available. + Details
Name: | cdzi_EquityMethodInvestmentContribution
Namespace Prefix: | cdzi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of accrued contributions payable to the equity method investment of the entity. + References No definition available. + Details
Name: | cdzi_EquityMethodInvestmentsAccruedContributionExpense
Namespace Prefix: | cdzi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of capitalized costs related to equity method investment. + References No definition available. + Details
Name: | cdzi_EquityMethodInvestmentsCapitalizedCosts
Namespace Prefix: | cdzi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 Goodwill amortized portion. + References No definition available. + Details
Name: | cdzi_GoodwillAmortizedPortion
Namespace Prefix: | cdzi_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents information about interest payments on the corporate secured debt paid in stock. + References No definition available. + Details
Name: | cdzi_InterestPaymentsInStock
Namespace Prefix: | cdzi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of long-term debt payable, including principal and interest, with dates maturing in the second fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date. + References No definition available. + Details
Name: | cdzi_LongtermDebtMaturitiesRepaymentsOfPrincipalAndInterestInYearTwo
Namespace Prefix: | cdzi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Represents the interest rate for note receivable. + References No definition available. + Details
Name: | cdzi_NoteReceivableInterestRate
Namespace Prefix: | cdzi_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Percentage of all future quarterly interest payments in cash. + References No definition available. + Details
Name: | cdzi_PercentageOfFutureQuarterlyInterestPayments
Namespace Prefix: | cdzi_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The cash inflow before any costs from the issuance of common stock. + References No definition available. + Details
Name: | cdzi_ProceedsFromIssuanceOfCommonStockGross
Namespace Prefix: | cdzi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount required to buy property available for purchase due end of fiscal year. + References No definition available. + Details
Name: | cdzi_RequiredPaymentToAcquirePropertyAvailableForPurchaseDueEndOfFiscalYear
Namespace Prefix: | cdzi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Working capital. + References No definition available. + Details
Name: | cdzi_WorkingCapital
Namespace Prefix: | cdzi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of expense for award under share-based payment arrangement. Excludes amount capitalized. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=116856206&loc=d3e5047-113901 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 14.F) -URI http://asc.fasb.org/extlink&oid=115993241&loc=d3e301413-122809 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(1)(i) -URI http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901 + Details
Name: | us-gaap_AllocatedShareBasedCompensationExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) or earnings per unit (EPU) in the future that were not included in the computation of diluted EPS or EPU because to do so would increase EPS or EPU amounts or decrease loss per share or unit amounts for the period presented. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 + Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Future cash outflow to pay for purchases of fixed assets that have occurred. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=98513485&loc=d3e4332-108586 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=98513485&loc=d3e4313-108586 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=98513485&loc=d3e4304-108586 + Details
Name: | us-gaap_CapitalExpendituresIncurredButNotYetPaid
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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 The amount of the original debt being converted in a noncash (or part noncash) transaction. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=98513485&loc=d3e4304-108586 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=98513485&loc=d3e4332-108586 + Details
Name: | us-gaap_DebtConversionOriginalDebtAmount1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=114775744&loc=d3e28551-108399 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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 The percentage of ownership of common stock or equity participation in the investee accounted for under the equity method of accounting. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571 + Details
Name: | us-gaap_EquityMethodInvestmentOwnershipPercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition This item represents the carrying amount on the entity's balance sheet of its investment in common stock of an equity method investee. This is not an indicator of the fair value of the investment, rather it is the initial cost adjusted for the entity's share of earnings and losses of the investee, adjusted for any distributions (dividends) and other than temporary impairment (OTTI) losses recognized. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=109237563&loc=d3e33749-111570 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 25 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=115929826&loc=d3e8813-108599 Reference 3: 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.12) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_EquityMethodInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 Amount after accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=77989000&loc=SL49117168-202975 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=99380562&loc=d3e13770-109266 + Details
Name: | us-gaap_Goodwill
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of loss from the write-down of an asset representing the future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=108376223&loc=d3e13854-109267 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3602-108585 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=108376223&loc=d3e13816-109267 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=99380562&loc=d3e13777-109266 + Details
Name: | us-gaap_GoodwillImpairmentLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of income (loss) for proportionate share of equity method investee's income (loss). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(12)) -URI http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(10)) -URI http://asc.fasb.org/extlink&oid=116637232&loc=SL114874131-224263 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3602-108585 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(13)(f)) -URI http://asc.fasb.org/extlink&oid=116637391&loc=SL114874048-224260 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -Subparagraph (g) -URI http://asc.fasb.org/extlink&oid=115929826&loc=d3e8736-108599 Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=109237563&loc=d3e33749-111570 + Details
Name: | us-gaap_IncomeLossFromEquityMethodInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of cash paid during the current period to foreign, federal, state, and local authorities as taxes on income. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=98513485&loc=d3e4297-108586 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 25 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3536-108585 + Details
Name: | us-gaap_IncomeTaxesPaid
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of cash inflow (outflow) from operating activities, including discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 25 -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3536-108585 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 24 -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3521-108585 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3602-108585 + Details
Name: | us-gaap_NetCashProvidedByUsedInOperatingActivities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition The portion of profit or loss for the period, net of income taxes, which is attributable to the parent. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 1A -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=118930883&loc=SL7669619-108580 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(22)) -URI http://asc.fasb.org/extlink&oid=116637391&loc=SL114874048-224260 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 1B -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=118930883&loc=SL7669625-108580 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(18)) -URI http://asc.fasb.org/extlink&oid=116637232&loc=SL114874131-224263 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(20)) -URI http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227 Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3602-108585 Reference 7: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 + Details
Name: | us-gaap_NetIncomeLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount, after allowance for credit loss, of financing receivable. Excludes financing receivable covered under loss sharing agreement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 5 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=119407570&loc=SL82919230-210447 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(3)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=118952595&loc=d3e4428-111522 + Details
Name: | us-gaap_NotesReceivableNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Present value of lessee's discounted obligation for lease payments from operating lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=77888419&loc=SL77918627-209977 + Details
Name: | us-gaap_OperatingLeaseLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of lessee's right to use underlying asset under operating lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=77888419&loc=SL77918627-209977 + Details
Name: | us-gaap_OperatingLeaseRightOfUseAsset
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The cash inflow from the additional capital contribution to the entity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromIssuanceOfCommonStock
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Useful life of long lived, physical assets used in the normal conduct of business and not intended for resale, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Examples include, but not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment. + References No definition available. + Details
Name: | us-gaap_PropertyPlantAndEquipmentUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares issued during the period as a result of the conversion of convertible securities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 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.29-30) -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 505 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21475-112644 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of new stock issued during the period. + 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(29)) -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 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 Reference 4: 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(28)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesNewIssues
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition The sum of dilutive potential common shares or units used in the calculation of the diluted per-share or per-unit computation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 + Details
Name: | us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

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

X
- Details
Name: | us-gaap_AdjustmentsForNewAccountingPronouncementsAxis=us-gaap_AccountingStandardsUpdate201602Member
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_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis=cdzi_Stage1LoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=cdzi_SoCalHempJVLLCMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_LandBuildingsAndImprovementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_MachineryAndEquipmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_GeneralAndAdministrativeExpenseMember
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_SubsidiarySaleOfStockAxis=cdzi_AtMarketIssuanceSalesAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |