{
  "cik": 1200375,
  "cik_padded": "0001200375",
  "entityName": "CODEXIS, INC.",
  "fiscal_years": [
    {
      "accn": "0001200375-26-000006",
      "filed": "2026-03-11",
      "fiscal_year": 2025,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "cash": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "capex": 4471000.0,
        "cash": 50793000.0,
        "eps_diluted": -0.5,
        "free_cash_flow": -23847000.0,
        "net_income": -43974000.0,
        "operating_cash_flow": -19376000.0,
        "operating_income": -41739000.0,
        "revenue": 70387000.0,
        "stockholders_equity": 50529000.0,
        "total_assets": 147797000.0,
        "total_liabilities": 97268000.0
      },
      "period_end": "2025-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 1.9249935680500307,
        "net_margin": -0.6247460468552432,
        "operating_margin": -0.5929930242800517,
        "revenue_growth_yoy": 0.1860645378717668,
        "roa_avg2y": -0.29631276784992316,
        "roa_period_end": -0.29752971981839954,
        "roe_avg2y": -0.7487740089906008,
        "roe_period_end": -0.8702725167725464
      }
    },
    {
      "accn": "0001200375-26-000006",
      "filed": "2026-03-11",
      "fiscal_year": 2024,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "cash": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "capex": 4305000.0,
        "cash": 19264000.0,
        "eps_diluted": -0.89,
        "free_cash_flow": -53715000.0,
        "net_income": -65276000.0,
        "operating_cash_flow": -49410000.0,
        "operating_income": -58519000.0,
        "revenue": 59345000.0,
        "stockholders_equity": 66927000.0,
        "total_assets": 149011000.0,
        "total_liabilities": 82084000.0
      },
      "period_end": "2024-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 1.226470632181332,
        "net_margin": -1.099941022832589,
        "operating_margin": -0.986081388491027,
        "revenue_growth_yoy": -0.1539426599945825,
        "roa_avg2y": -0.4571596655134257,
        "roa_period_end": -0.438061619611975,
        "roe_avg2y": -0.8502689817769731,
        "roe_period_end": -0.9753313311518519
      }
    },
    {
      "accn": "0001200375-26-000006",
      "filed": "2026-03-11",
      "fiscal_year": 2023,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "cash": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "capex": 4418000.0,
        "cash": 65116000.0,
        "eps_diluted": -1.12,
        "free_cash_flow": -57056000.0,
        "net_income": -76240000.0,
        "operating_cash_flow": -52638000.0,
        "operating_income": -68069000.0,
        "revenue": 70143000.0,
        "stockholders_equity": 86615000.0,
        "total_assets": 136561000.0,
        "total_liabilities": 49946000.0
      },
      "period_end": "2023-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 0.5766437684003926,
        "net_margin": -1.086922429893218,
        "operating_margin": -0.9704318321143949,
        "revenue_growth_yoy": -0.49388123241215093,
        "roa_avg2y": -0.39405200618161335,
        "roa_period_end": -0.5582853083969801,
        "roe_avg2y": -0.6589113788394725,
        "roe_period_end": -0.8802170524735901
      }
    },
    {
      "accn": "0001200375-26-000006",
      "filed": "2026-03-11",
      "fiscal_year": 2022,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "cash": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "capex": 8307000.0,
        "cash": 113984000.0,
        "eps_diluted": -0.51,
        "free_cash_flow": 2977000.0,
        "net_income": -33592000.0,
        "operating_cash_flow": 11284000.0,
        "operating_income": -34881000.0,
        "revenue": 138590000.0,
        "stockholders_equity": 144797000.0,
        "total_assets": 250393000.0,
        "total_liabilities": 105596000.0
      },
      "period_end": "2022-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 0.7292692528160114,
        "net_margin": -0.24238401039036006,
        "operating_margin": -0.2516848257450032,
        "revenue_growth_yoy": 0.32300437214808025,
        "roa_avg2y": -0.13524002769860058,
        "roa_period_end": -0.13415710503089143,
        "roe_avg2y": -0.2172917448283892,
        "roe_period_end": -0.2319937567767288
      }
    },
    {
      "accn": "0001200375-25-000003",
      "filed": "2025-02-27",
      "fiscal_year": 2021,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "cash": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "capex": 13828000.0,
        "cash": 116797000.0,
        "eps_diluted": -0.33,
        "free_cash_flow": -28095000.0,
        "net_income": -21279000.0,
        "operating_cash_flow": -14267000.0,
        "operating_income": -22697000.0,
        "revenue": 104754000.0,
        "stockholders_equity": 164391000.0,
        "total_assets": 246383000.0,
        "total_liabilities": 81992000.0
      },
      "period_end": "2021-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 0.49876209768174656,
        "net_margin": -0.20313305458502778,
        "operating_margin": -0.216669530519121,
        "revenue_growth_yoy": 0.5169427710843374,
        "roa_avg2y": -0.09093026286832653,
        "roa_period_end": -0.086365536583287,
        "roe_avg2y": -0.12723098172164524,
        "roe_period_end": -0.12944139277697683
      }
    },
    {
      "accn": "0001200375-24-000009",
      "filed": "2024-02-28",
      "fiscal_year": 2020,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "cash": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "capex": 3748000.0,
        "cash": 149117000.0,
        "eps_diluted": -0.4,
        "free_cash_flow": -20212000.0,
        "net_income": -24010000.0,
        "operating_cash_flow": -16464000.0,
        "operating_income": -23920000.0,
        "revenue": 69056000.0,
        "stockholders_equity": 170103000.0,
        "total_assets": 221646000.0,
        "total_liabilities": 51543000.0
      },
      "period_end": "2020-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 0.30301052891483393,
        "net_margin": -0.34768883225208524,
        "operating_margin": -0.3463855421686747,
        "revenue_growth_yoy": 0.008735282947208508,
        "roa_avg2y": -0.12953207146113363,
        "roa_period_end": -0.10832588903025546,
        "roe_avg2y": -0.17422538277338365,
        "roe_period_end": -0.14114977396048276
      }
    },
    {
      "accn": "0001200375-23-000012",
      "filed": "2023-02-27",
      "fiscal_year": 2019,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "cash": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "capex": 3730000.0,
        "cash": 90498000.0,
        "eps_diluted": -0.21,
        "free_cash_flow": -16290000.0,
        "net_income": -11935000.0,
        "operating_cash_flow": -12560000.0,
        "operating_income": -12549000.0,
        "revenue": 68458000.0,
        "stockholders_equity": 105517000.0,
        "total_assets": 149073000.0,
        "total_liabilities": 43556000.0
      },
      "period_end": "2019-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 0.412786565198025,
        "net_margin": -0.1743404715299892,
        "operating_margin": -0.18330947442227352,
        "revenue_growth_yoy": 0.1297818265834901,
        "roa_avg2y": -0.10452976930757239,
        "roa_period_end": -0.08006144640545236,
        "roe_avg2y": -0.14750684389734464,
        "roe_period_end": -0.1131097358719448
      }
    },
    {
      "accn": "0001200375-22-000010",
      "filed": "2022-02-28",
      "fiscal_year": 2018,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "cash": "USD",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "capex": 2768000.0,
        "cash": 53039000.0,
        "free_cash_flow": -16862000.0,
        "net_income": -10878000.0,
        "operating_cash_flow": -14094000.0,
        "operating_income": -11295000.0,
        "revenue": 60594000.0,
        "stockholders_equity": 56306000.0,
        "total_assets": 79283000.0,
        "total_liabilities": 22977000.0
      },
      "period_end": "2018-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 0.40807373992114515,
        "net_margin": -0.17952272502227942,
        "operating_margin": -0.18640459451430835,
        "revenue_growth_yoy": 0.21129857668319207,
        "roa_avg2y": -0.16369217804797304,
        "roa_period_end": -0.13720469709773847,
        "roe_avg2y": -0.2690809246410152,
        "roe_period_end": -0.19319433097716052
      }
    },
    {
      "accn": "0001200375-21-000021",
      "filed": "2021-03-01",
      "fiscal_year": 2017,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "cash": "USD",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "capex": 985000.0,
        "cash": 31219000.0,
        "free_cash_flow": -9740000.0,
        "net_income": -22996000.0,
        "operating_cash_flow": -8755000.0,
        "operating_income": -22970000.0,
        "revenue": 50024000.0,
        "stockholders_equity": 24547000.0,
        "total_assets": 53625000.0,
        "total_liabilities": 29078000.0
      },
      "period_end": "2017-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 1.1845846742982848,
        "net_margin": -0.4596993443147289,
        "operating_margin": -0.45917959379497847,
        "revenue_growth_yoy": 0.024305342260990643,
        "roa_avg2y": -0.5151837621677327,
        "roa_period_end": -0.42882983682983683,
        "roe_avg2y": -1.053750630069193,
        "roe_period_end": -0.9368150894202958
      }
    },
    {
      "accn": "0001200375-20-000008",
      "filed": "2020-02-28",
      "fiscal_year": 2016,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "cash": "USD",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "capex": 888000.0,
        "cash": 19240000.0,
        "free_cash_flow": -2748000.0,
        "net_income": -8558000.0,
        "operating_cash_flow": -1860000.0,
        "operating_income": -8564000.0,
        "revenue": 48837000.0,
        "stockholders_equity": 19099000.0,
        "total_assets": 35648000.0,
        "total_liabilities": 16549000.0
      },
      "period_end": "2016-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "roa_period_end": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 0.8664851562909053,
        "net_margin": -0.17523598910661994,
        "operating_margin": -0.17535884677601,
        "roa_period_end": -0.24006956912028726,
        "roe_period_end": -0.44808628724016963
      }
    }
  ],
  "latest_filing": {
    "accn": "0001200375-26-000006",
    "filed": "2026-03-11",
    "form": "10-K"
  },
  "note": "Static grepcent export of verified SEC companyfacts-derived values. Monetary values are raw reported units from grepcent's resolved facts; no scaling and no FX conversion. Capex, dividends, and buybacks are reported as positive outflow magnitudes. ROE/ROA include both period-end basis (site-consistent) and average-of-two-years basis where the prior-year denominator exists.",
  "schema_version": "1",
  "sic": "2860",
  "sic_description": "Industrial Organic Chemicals",
  "source_urls": {
    "sec_companyfacts": "https://data.sec.gov/api/xbrl/companyfacts/CIK0001200375.json",
    "sec_submissions": "https://data.sec.gov/submissions/CIK0001200375.json"
  },
  "ticker": "CDXS"
}
