{
 "instance": {
  "ctm-20220930.htm": {
   "axisCustom": 15,
   "axisStandard": 33,
   "contextCount": 494,
   "dts": {
    "calculationLink": {
     "local": [
      "ctm-20220930_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "ctm-20220930_def.xml"
     ]
    },
    "inline": {
     "local": [
      "ctm-20220930.htm"
     ]
    },
    "labelLink": {
     "local": [
      "ctm-20220930_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "ctm-20220930_pre.xml"
     ]
    },
    "schema": {
     "local": [
      "ctm-20220930.xsd"
     ],
     "remote": [
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
      "http://www.xbrl.org/lrr/arcrole/factExplanatory-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/net-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd",
      "https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd",
      "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-roles-2022.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-types-2022.xsd",
      "https://xbrl.fasb.org/srt/2022q3/srt-sup-2022q3.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-roles-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-types-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022q3/us-gaap-sup-2022q3.xsd",
      "https://xbrl.sec.gov/country/2022/country-2022.xsd",
      "https://xbrl.sec.gov/currency/2022/currency-2022.xsd",
      "https://xbrl.sec.gov/dei/2022/dei-2022.xsd",
      "https://xbrl.sec.gov/exch/2022/exch-2022.xsd",
      "https://xbrl.sec.gov/naics/2022/naics-2022.xsd",
      "https://xbrl.sec.gov/sic/2022/sic-2022.xsd",
      "https://xbrl.sec.gov/stpr/2022/stpr-2022.xsd"
     ]
    }
   },
   "elementCount": 773,
   "entityCount": 1,
   "hidden": {
    "http://fasb.org/us-gaap/2022": 12,
    "http://www.Castellum.com/20220930": 2,
    "http://xbrl.sec.gov/dei/2022": 7,
    "total": 21
   },
   "keyCustom": 99,
   "keyStandard": 320,
   "memberCustom": 112,
   "memberStandard": 44,
   "nsprefix": "ctm",
   "nsuri": "http://www.Castellum.com/20220930",
   "report": {
    "R1": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "document",
     "isDefault": "true",
     "longName": "1001 - Document - Cover Page",
     "role": "http://www.Castellum.com/role/CoverPage",
     "shortName": "Cover Page",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R10": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1010 - Disclosure - Fixed Assets",
     "role": "http://www.Castellum.com/role/FixedAssets",
     "shortName": "Fixed Assets",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R11": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1011 - Disclosure - Intangible Assets and Goodwill",
     "role": "http://www.Castellum.com/role/IntangibleAssetsAndGoodwill",
     "shortName": "Intangible Assets and Goodwill",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R12": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ctm:ConvertibleDebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1012 - Disclosure - Convertible Promissory Notes - Related Parties",
     "role": "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedParties",
     "shortName": "Convertible Promissory Notes - Related Parties",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ctm:ConvertibleDebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R13": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ctm:NotesPayableDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1013 - Disclosure - Notes Payable",
     "role": "http://www.Castellum.com/role/NotesPayable",
     "shortName": "Notes Payable",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ctm:NotesPayableDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R14": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ctm:NotePayableRelatedPartyDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1014 - Disclosure - Note Payable - Related Party",
     "role": "http://www.Castellum.com/role/NotePayableRelatedParty",
     "shortName": "Note Payable - Related Party",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ctm:NotePayableRelatedPartyDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R15": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1015 - Disclosure - Revolving Credit Facility",
     "role": "http://www.Castellum.com/role/RevolvingCreditFacility",
     "shortName": "Revolving Credit Facility",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DebtDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R16": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ctm:DisclosureOfDueToSellerTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1016 - Disclosure - Due To Seller",
     "role": "http://www.Castellum.com/role/DueToSeller",
     "shortName": "Due To Seller",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ctm:DisclosureOfDueToSellerTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R17": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1017 - Disclosure - Stockholders' Equity (Deficit)",
     "role": "http://www.Castellum.com/role/StockholdersEquityDeficit",
     "shortName": "Stockholders' Equity (Deficit)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R18": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1018 - Disclosure - Fair Value",
     "role": "http://www.Castellum.com/role/FairValue",
     "shortName": "Fair Value",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R19": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ConcentrationRiskDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1019 - Disclosure - Concentrations",
     "role": "http://www.Castellum.com/role/Concentrations",
     "shortName": "Concentrations",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ConcentrationRiskDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R2": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "PAsOn09_30_2022",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:Cash",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "1002 - Statement - Condensed Consolidated Balance Sheets",
     "role": "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets",
     "shortName": "Condensed Consolidated Balance Sheets",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "PAsOn09_30_2022",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:Cash",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     }
    },
    "R20": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1020 - Disclosure - Related-Party Transactions",
     "role": "http://www.Castellum.com/role/RelatedPartyTransactions",
     "shortName": "Related-Party Transactions",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R21": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1021 - Disclosure - Commitments",
     "role": "http://www.Castellum.com/role/Commitments",
     "shortName": "Commitments",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R22": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1022 - Disclosure - Income Taxes",
     "role": "http://www.Castellum.com/role/IncomeTaxes",
     "shortName": "Income Taxes",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R23": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1023 - Disclosure - Subsequent Events",
     "role": "http://www.Castellum.com/role/SubsequentEvents",
     "shortName": "Subsequent Events",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R24": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1024 - Disclosure - Summary of Significant Accounting Policies (Policies)",
     "role": "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesPolicies",
     "shortName": "Summary of Significant Accounting Policies (Policies)",
     "subGroupType": "policies",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R25": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisaggregationOfRevenueTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1025 - Disclosure - Summary of Significant Accounting Policies (Tables)",
     "role": "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesTables",
     "shortName": "Summary of Significant Accounting Policies (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisaggregationOfRevenueTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R26": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AssetAcquisitionTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1026 - Disclosure - Acquisitions (Tables)",
     "role": "http://www.Castellum.com/role/AcquisitionsTables",
     "shortName": "Acquisitions (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AssetAcquisitionTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R27": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1027 - Disclosure - Fixed Assets (Tables)",
     "role": "http://www.Castellum.com/role/FixedAssetsTables",
     "shortName": "Fixed Assets (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R28": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1028 - Disclosure - Intangible Assets and Goodwill (Tables)",
     "role": "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillTables",
     "shortName": "Intangible Assets and Goodwill (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R29": {
     "firstAnchor": {
      "ancestors": [
       "ctm:ConvertibleDebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ConvertibleDebtTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1029 - Disclosure - Convertible Promissory Notes - Related Parties (Tables)",
     "role": "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesTables",
     "shortName": "Convertible Promissory Notes - Related Parties (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ctm:ConvertibleDebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ConvertibleDebtTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R3": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:PreferredStockSharesAuthorized",
       "div",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "PAsOn09_30_2022",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:PreferredStockSharesAuthorized",
      "reportCount": 1,
      "unitRef": "Unit_shares",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "1003 - Statement - Condensed Consolidated Balance Sheets (Parenthetical)",
     "role": "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheetsParenthetical",
     "shortName": "Condensed Consolidated Balance Sheets (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": null
    },
    "R30": {
     "firstAnchor": {
      "ancestors": [
       "ctm:NotesPayableDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ctm:ScheduleOfNotesPayableDisclosureTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1030 - Disclosure - Notes Payable (Tables)",
     "role": "http://www.Castellum.com/role/NotesPayableTables",
     "shortName": "Notes Payable (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ctm:NotesPayableDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ctm:ScheduleOfNotesPayableDisclosureTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R31": {
     "firstAnchor": {
      "ancestors": [
       "ctm:NotePayableRelatedPartyDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ctm:ScheduleOfNotesPayableToRelatedPartyTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1031 - Disclosure - Note Payable - Related Party (Tables)",
     "role": "http://www.Castellum.com/role/NotePayableRelatedPartyTables",
     "shortName": "Note Payable - Related Party (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ctm:NotePayableRelatedPartyDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ctm:ScheduleOfNotesPayableToRelatedPartyTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R32": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfOtherShareBasedCompensationActivityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1032 - Disclosure - Stockholders' Equity (Deficit) (Tables)",
     "role": "http://www.Castellum.com/role/StockholdersEquityDeficitTables",
     "shortName": "Stockholders' Equity (Deficit) (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfOtherShareBasedCompensationActivityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R33": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1033 - Disclosure - Fair Value (Tables)",
     "role": "http://www.Castellum.com/role/FairValueTables",
     "shortName": "Fair Value (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R34": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "PAsOn07_19_2021",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:PreferredStockParOrStatedValuePerShare",
      "reportCount": 1,
      "unitRef": "Unit_USD_per_Share",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1034 - Disclosure - Nature of Operations - Additional Information (Detail)",
     "role": "http://www.Castellum.com/role/NatureOfOperationsAdditionalInformationDetail",
     "shortName": "Nature of Operations - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "us-gaap:NatureOfOperations",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P09_30_2022To09_30_2022",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:PreferredStockDividendsPerShareDeclared",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD_per_Share",
      "xsiNil": "false"
     }
    },
    "R35": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "us-gaap:DisaggregationOfRevenueTableTextBlock",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1035 - Disclosure - Summary of Significant Accounting Policies - Schedule of Company's Revenue By Contract Type (Detail)",
     "role": "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesScheduleOfCompanySRevenueByContractTypeDetail",
     "shortName": "Summary of Significant Accounting Policies - Schedule of Company's Revenue By Contract Type (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "us-gaap:DisaggregationOfRevenueTableTextBlock",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     }
    },
    "R36": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "us-gaap:SegmentReportingPolicyPolicyTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:NumberOfOperatingSegments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Segments",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1036 - Disclosure - Summary of Significant Accounting Policies - Additional Information (Detail)",
     "role": "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesAdditionalInformationDetail",
     "shortName": "Summary of Significant Accounting Policies - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "us-gaap:SegmentReportingPolicyPolicyTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:NumberOfOperatingSegments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Segments",
      "xsiNil": "false"
     }
    },
    "R37": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "us-gaap:BusinessCombinationDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P02_11_2021To02_11_2021_MFSIMemberusgaapBusinessAcquisitionAxis",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BusinessAcquisitionEffectiveDateOfAcquisition1",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1037 - Disclosure - Acquisitions - Additional Information (Detail)",
     "role": "http://www.Castellum.com/role/AcquisitionsAdditionalInformationDetail",
     "shortName": "Acquisitions - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "us-gaap:BusinessCombinationDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P02_11_2021To02_11_2021_MFSIMemberusgaapBusinessAcquisitionAxis",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BusinessAcquisitionEffectiveDateOfAcquisition1",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R38": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "us-gaap:PropertyPlantAndEquipmentTextBlock",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "PAsOn09_30_2022",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:PropertyPlantAndEquipmentGross",
      "reportCount": 1,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1038 - Disclosure - Acquisitions - Schedule of Assets and Liabilities Acquired (Detail)",
     "role": "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail",
     "shortName": "Acquisitions - Schedule of Assets and Liabilities Acquired (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "us-gaap:BusinessCombinationDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "PAsOn01_01_2021_MFSIMemberusgaapBusinessAcquisitionAxis",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     }
    },
    "R39": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P04_15_2022To04_15_2022_LexingtonSolutionsGroupMemberusgaapBusinessAcquisitionAxis",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued",
      "reportCount": 1,
      "unitRef": "Unit_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1039 - Disclosure - Acquisitions - Schedule of Assets and Liabilities Acquired (Parenthetical) (Detail)",
     "role": "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredParentheticalDetail",
     "shortName": "Acquisitions - Schedule of Assets and Liabilities Acquired (Parenthetical) (Detail)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P05_04_2022To05_04_2022_CommonStockMemberusgaapEquityInterestIssuedOrIssuableByTypeAxis_LexingtonSolutionsGroupMemberusgaapBusinessAcquisitionAxis",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_shares",
      "xsiNil": "false"
     }
    },
    "R4": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P07_01_2022To09_30_2022",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "1004 - Statement - Condensed Consolidated Statements of Operations",
     "role": "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations",
     "shortName": "Condensed Consolidated Statements of Operations",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P07_01_2022To09_30_2022",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     }
    },
    "R40": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P10_22_2021To11_16_2021_PaxRiverMemberusgaapAssetAcquisitionAxis",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinitelivedIntangibleAssetsAcquired1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1040 - Disclosure - Acquisitions - Schedule of Assets Acquired (Detail)",
     "role": "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAcquiredDetail",
     "shortName": "Acquisitions - Schedule of Assets Acquired (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P10_22_2021To11_16_2021_PaxRiverMemberusgaapAssetAcquisitionAxis",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinitelivedIntangibleAssetsAcquired1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     }
    },
    "R41": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "PAsOn09_30_2022",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:FiniteLivedIntangibleAssetsNet",
      "reportCount": 1,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1041 - Disclosure - Acquisitions - Schedule of Assets Acquired (Parenthetical) (Detail)",
     "role": "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAcquiredParentheticalDetail",
     "shortName": "Acquisitions - Schedule of Assets Acquired (Parenthetical) (Detail)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022_PaxRiverMemberusgaapAssetAcquisitionAxis",
      "decimals": "0",
      "lang": null,
      "name": "ctm:PaymentSettledToTheAcquireeOfAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     }
    },
    "R42": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:BusinessAcquisitionsProFormaRevenue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1042 - Disclosure - Acquisitions - Schedule of Business Acquisition, Pro Forma Information (Detail)",
     "role": "http://www.Castellum.com/role/AcquisitionsScheduleOfBusinessAcquisitionProFormaInformationDetail",
     "shortName": "Acquisitions - Schedule of Business Acquisition, Pro Forma Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:BusinessAcquisitionsProFormaRevenue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     }
    },
    "R43": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "us-gaap:PropertyPlantAndEquipmentTextBlock",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "PAsOn09_30_2022",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:PropertyPlantAndEquipmentGross",
      "reportCount": 1,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1043 - Disclosure - Fixed Assets - Summary of Fixed Assets (Detail)",
     "role": "http://www.Castellum.com/role/FixedAssetsSummaryOfFixedAssetsDetail",
     "shortName": "Fixed Assets - Summary of Fixed Assets (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "us-gaap:PropertyPlantAndEquipmentTextBlock",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "PAsOn09_30_2022",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     }
    },
    "R44": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:Depreciation",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1044 - Disclosure - Fixed Assets - Additional Information (Details)",
     "role": "http://www.Castellum.com/role/FixedAssetsAdditionalInformationDetails",
     "shortName": "Fixed Assets - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:Depreciation",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     }
    },
    "R45": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "PAsOn09_30_2022",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:FiniteLivedIntangibleAssetsGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1045 - Disclosure - Intangible Assets and Goodwill - Schedule of Intangible Assets (Detail)",
     "role": "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillScheduleOfIntangibleAssetsDetail",
     "shortName": "Intangible Assets and Goodwill - Schedule of Intangible Assets (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "PAsOn09_30_2022",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:FiniteLivedIntangibleAssetsGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     }
    },
    "R46": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:AmortizationOfIntangibleAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1046 - Disclosure - Intangible Assets and Goodwill - Additional Information (Detail)",
     "role": "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillAdditionalInformationDetail",
     "shortName": "Intangible Assets and Goodwill - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:AmortizationOfIntangibleAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     }
    },
    "R47": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "PAsOn09_30_2022",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseNextRollingTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1047 - Disclosure - Intangible Assets and Goodwill - Schedule of Future Amortization of Intangible Assets (Detail)",
     "role": "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillScheduleOfFutureAmortizationOfIntangibleAssetsDetail",
     "shortName": "Intangible Assets and Goodwill - Schedule of Future Amortization of Intangible Assets (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "PAsOn09_30_2022",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseNextRollingTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     }
    },
    "R48": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "PAsOn12_31_2021",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:Goodwill",
      "reportCount": 1,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1048 - Disclosure - Intangible Assets and Goodwill - Schedule of Goodwill (Detail)",
     "role": "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillScheduleOfGoodwillDetail",
     "shortName": "Intangible Assets and Goodwill - Schedule of Goodwill (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfGoodwillTextBlock",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:GoodwillAcquiredDuringPeriod",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     }
    },
    "R49": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "us-gaap:ConvertibleDebtTableTextBlock",
       "ctm:ConvertibleDebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "PAsOn09_30_2022_ConvertibleNotePayableToRelatedPartyMemberctmLongTermDebtOneAxis",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentCarryingAmount",
      "reportCount": 1,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1049 - Disclosure - Convertible Promissory Notes - Related Parties - Schedule of Convertible Promissory Notes, Related party (Detail)",
     "role": "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyDetail",
     "shortName": "Convertible Promissory Notes - Related Parties - Schedule of Convertible Promissory Notes, Related party (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "us-gaap:ConvertibleDebtTableTextBlock",
       "ctm:ConvertibleDebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "PAsOn09_30_2022_ConvertibleNotePayableToRelatedPartyMemberctmLongTermDebtOneAxis",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:DebtInstrumentUnamortizedPremium",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     }
    },
    "R5": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "PAsOn12_31_2020",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockholdersEquity",
      "reportCount": 1,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "1005 - Statement - Condensed Consolidated Statement Of Changes In Stockholders' Equity",
     "role": "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity",
     "shortName": "Condensed Consolidated Statement Of Changes In Stockholders' Equity",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2021To03_31_2021",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationStockOptionsRequisiteServicePeriodRecognition",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     }
    },
    "R50": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P07_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": null,
      "name": "ctm:AdjustmentToAdditionalPaidInCapitalGainLossOnConversionOfRelatedPartyDebt",
      "reportCount": 1,
      "unitRef": "Unit_USD",
      "xsiNil": "true"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1050 - Disclosure - Convertible Promissory Notes - Related Parties - Schedule of Convertible Promissory Notes, Related party (Parenthetical) (Details)",
     "role": "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyParentheticalDetails",
     "shortName": "Convertible Promissory Notes - Related Parties - Schedule of Convertible Promissory Notes, Related party (Parenthetical) (Details)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "ctm:ConvertibleDebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022_CromMemberctmLenderAxis",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:ProceedsFromIssuanceOfMediumTermNotes",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     }
    },
    "R51": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "PAsOn09_30_2022",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestPayableCurrent",
      "reportCount": 1,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1051 - Disclosure - Convertible Promissory Notes - Related Parties - Additional Information (Detail)",
     "role": "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesAdditionalInformationDetail",
     "shortName": "Convertible Promissory Notes - Related Parties - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "ctm:ConvertibleDebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022_ConvertibleDebtPursuantToDebtAmendmentRelatedPartyPayableWithATrustDeedToOneOfTheCompaniesDirectorsConversionPriceOfZeroPointTwoSixPerShareMemberusgaapLongtermDebtTypeAxis_ConvertibleNotePayableToRelatedPartyMemberctmLongTermDebtOneAxis",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:InterestExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     }
    },
    "R52": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "ctm:ScheduleOfNotesPayableDisclosureTableTextBlock",
       "ctm:NotesPayableDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "PAsOn09_30_2022",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:NotesPayable",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1052 - Disclosure - Notes Payable - Schedule of Notes Payable (Detail)",
     "role": "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableDetail",
     "shortName": "Notes Payable - Schedule of Notes Payable (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "ctm:ScheduleOfNotesPayableDisclosureTableTextBlock",
       "ctm:NotesPayableDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "PAsOn09_30_2022",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:NotesPayable",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     }
    },
    "R53": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:CommonStockSharesOutstanding",
       "div",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "PAsOn09_30_2022",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:CommonStockSharesIssued",
      "reportCount": 1,
      "unitRef": "Unit_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1053 - Disclosure - Notes Payable - Schedule of Notes Payable (Parenthetical) (Detail)",
     "role": "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableParentheticalDetail",
     "shortName": "Notes Payable - Schedule of Notes Payable (Parenthetical) (Detail)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "ctm:NotesPayableDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P08_12_2021To08_12_2021_NotesPayableOtherPayablesMemberusgaapLongtermDebtTypeAxis",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:DebtInstrumentMaturityDate",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R54": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "ctm:ScheduleOfNotesPayableDisclosureTableTextBlock",
       "ctm:NotesPayableDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "PAsOn09_30_2022",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:LongTermDebt",
      "reportCount": 1,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1054 - Disclosure - Notes Payable - Schedule of Repayment, Net of Discounts (Detail)",
     "role": "http://www.Castellum.com/role/NotesPayableScheduleOfRepaymentNetOfDiscountsDetail",
     "shortName": "Notes Payable - Schedule of Repayment, Net of Discounts (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "ctm:ScheduleOfNotesPayableRepaymentScheduleNetOfDiscountsTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "PAsOn09_30_2022_NotesPayableAndConvertibleNotesPayableMemberusgaapLongtermDebtTypeAxis",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInNextRollingTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     }
    },
    "R55": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestExpenseDebt",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1055 - Disclosure - Notes Payable - Additional Information (Detail)",
     "role": "http://www.Castellum.com/role/NotesPayableAdditionalInformationDetail",
     "shortName": "Notes Payable - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestExpenseDebt",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     }
    },
    "R56": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "ctm:ScheduleOfNotesPayableToRelatedPartyTableTextBlock",
       "ctm:NotePayableRelatedPartyDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "PAsOn09_30_2022_SSIMemberusgaapRelatedPartyTransactionsByRelatedPartyAxis",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:NotesPayableRelatedPartiesCurrentAndNoncurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1056 - Disclosure - Note Payable - Related Party - Schedule Of Notes Payable To Related Party (Details)",
     "role": "http://www.Castellum.com/role/NotePayableRelatedPartyScheduleOfNotesPayableToRelatedPartyDetails",
     "shortName": "Note Payable - Related Party - Schedule Of Notes Payable To Related Party (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "ctm:ScheduleOfNotesPayableToRelatedPartyTableTextBlock",
       "ctm:NotePayableRelatedPartyDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "PAsOn09_30_2022_SSIMemberusgaapRelatedPartyTransactionsByRelatedPartyAxis",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:NotesPayableRelatedPartiesCurrentAndNoncurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     }
    },
    "R57": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "ctm:NotePayableRelatedPartyDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022_NotePayableMemberusgaapRelatedPartyTransactionAxis",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestExpenseRelatedParty",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1057 - Disclosure - Note Payable - Related Party - Additional Information (Details)",
     "role": "http://www.Castellum.com/role/NotePayableRelatedPartyAdditionalInformationDetails",
     "shortName": "Note Payable - Related Party - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "ctm:NotePayableRelatedPartyDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022_NotePayableMemberusgaapRelatedPartyTransactionAxis",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestExpenseRelatedParty",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     }
    },
    "R58": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "PAsOn04_12_2022_RevolvingCreditFacilityMemberusgaapCreditFacilityAxis",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:LineOfCreditFacilityCurrentBorrowingCapacity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1058 - Disclosure - Revolving Credit Facility - Additional Information (Detail)",
     "role": "http://www.Castellum.com/role/RevolvingCreditFacilityAdditionalInformationDetail",
     "shortName": "Revolving Credit Facility - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "us-gaap:DebtDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "PAsOn04_12_2022_RevolvingCreditFacilityMemberusgaapCreditFacilityAxis",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:LineOfCreditFacilityCurrentBorrowingCapacity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     }
    },
    "R59": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "PAsOn12_31_2021",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:AssetAcquisitionContingentConsiderationLiabilityCurrent",
      "reportCount": 1,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1059 - Disclosure - Due To Seller - Additional Information (Detail)",
     "role": "http://www.Castellum.com/role/DueToSellerAdditionalInformationDetail",
     "shortName": "Due To Seller - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "ctm:DisclosureOfDueToSellerTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "PAsOn09_30_2022",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:BusinessCombinationLiabilitiesArisingFromContingenciesAmountRecognized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     }
    },
    "R6": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "1006 - Statement - Condensed Consolidated Statements of Cash Flows",
     "role": "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows",
     "shortName": "Condensed Consolidated Statements of Cash Flows",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:DepreciationDepletionAndAmortization",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     }
    },
    "R60": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfOtherShareBasedCompensationActivityTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "PAsOn12_31_2021_WarrantMemberusgaapFinancialInstrumentAxis",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
      "reportCount": 1,
      "unitRef": "Unit_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1060 - Disclosure - Stockholders' Equity (Deficit) - Schedule of warrants (Detail)",
     "role": "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfWarrantsDetail",
     "shortName": "Stockholders' Equity (Deficit) - Schedule of warrants (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfOtherShareBasedCompensationActivityTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "PAsOn12_31_2020_WarrantMemberusgaapFinancialInstrumentAxis",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_shares",
      "xsiNil": "false"
     }
    },
    "R61": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "PAsOn12_31_2021_EmployeeStockOptionMemberusgaapAwardTypeAxis",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
      "reportCount": 1,
      "unitRef": "Unit_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1061 - Disclosure - Stockholders' Equity (Deficit) - Schedule of options (Detail)",
     "role": "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfOptionsDetail",
     "shortName": "Stockholders' Equity (Deficit) - Schedule of options (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "PAsOn12_31_2020_EmployeeStockOptionMemberusgaapAwardTypeAxis",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_shares",
      "xsiNil": "false"
     }
    },
    "R62": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1062 - Disclosure - Stockholders' Equity (Deficit) - Schedule of Stock Options, Valuation Assumptions (Detail)",
     "role": "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfStockOptionsValuationAssumptionsDetail",
     "shortName": "Stockholders' Equity (Deficit) - Schedule of Stock Options, Valuation Assumptions (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R63": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "PAsOn12_31_2021",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:CommonStockParOrStatedValuePerShare",
      "reportCount": 1,
      "unitRef": "Unit_USD_per_Share",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1063 - Disclosure - Stockholders' Equity (Deficit) - Additional Information (Detail)",
     "role": "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail",
     "shortName": "Stockholders' Equity (Deficit) - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": "0",
      "lang": null,
      "name": "ctm:PaymentOfDividendOnPreferredStock",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     }
    },
    "R64": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "PAsOn09_30_2022",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeLiabilities",
      "reportCount": 1,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1064 - Disclosure - Fair Value - Summary of Derivative Liabilities and the Contingent Earn out Fall (Detail)",
     "role": "http://www.Castellum.com/role/FairValueSummaryOfDerivativeLiabilitiesAndTheContingentEarnOutFallDetail",
     "shortName": "Fair Value - Summary of Derivative Liabilities and the Contingent Earn out Fall (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "PAsOn09_30_2022",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:BusinessCombinationContingentConsiderationLiability",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     }
    },
    "R65": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "PAsOn09_30_2022",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeLiabilitiesCurrent",
      "reportCount": 1,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1065 - Disclosure - Fair Value - Summary of Derivative liabilities (Detail)",
     "role": "http://www.Castellum.com/role/FairValueSummaryOfDerivativeLiabilitiesDetail",
     "shortName": "Fair Value - Summary of Derivative liabilities (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDerivativeInstrumentsTextBlock",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "PAsOn04_04_2022",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:DerivativeLiabilitiesCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     }
    },
    "R66": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P07_01_2022To09_30_2022",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueAdjustmentOfWarrants",
      "reportCount": 1,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1066 - Disclosure - Fair Value - Summary of Derivative liabilities (Parenthetical) (Detail)",
     "role": "http://www.Castellum.com/role/FairValueSummaryOfDerivativeLiabilitiesParentheticalDetail",
     "shortName": "Fair Value - Summary of Derivative liabilities (Parenthetical) (Detail)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDerivativeInstrumentsTextBlock",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P04_04_2022To04_04_2022_WarrantsMemberusgaapDerivativeInstrumentRiskAxis",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:FairValueAdjustmentOfWarrants",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     }
    },
    "R67": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P07_01_2022To09_30_2022",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueAdjustmentOfWarrants",
      "reportCount": 1,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1067 - Disclosure - Fair Value - Additional Information (Detail)",
     "role": "http://www.Castellum.com/role/FairValueAdditionalInformationDetail",
     "shortName": "Fair Value - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R68": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "PAsOn12_31_2021",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1068 - Disclosure - Fair Value - Summary of Change in the Fair Value of the Derivative Liabilities (Detail)",
     "role": "http://www.Castellum.com/role/FairValueSummaryOfChangeInTheFairValueOfTheDerivativeLiabilitiesDetail",
     "shortName": "Fair Value - Summary of Change in the Fair Value of the Derivative Liabilities (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "PAsOn12_31_2021",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     }
    },
    "R69": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "PAsOn04_04_2022_MeasurementInputExpectedTermConversionOptionMemberusgaapMeasurementInputTypeAxis",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:WarrantsAndRightsOutstandingMeasurementInput",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Y",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1069 - Disclosure - Fair Value - Summary of Fair Value Measurements (Detail)",
     "role": "http://www.Castellum.com/role/FairValueSummaryOfFairValueMeasurementsDetail",
     "shortName": "Fair Value - Summary of Fair Value Measurements (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "PAsOn04_04_2022_MeasurementInputExpectedTermConversionOptionMemberusgaapMeasurementInputTypeAxis",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:WarrantsAndRightsOutstandingMeasurementInput",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_Y",
      "xsiNil": "false"
     }
    },
    "R7": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NatureOfOperations",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1007 - Disclosure - Nature of Operations",
     "role": "http://www.Castellum.com/role/NatureOfOperations",
     "shortName": "Nature of Operations",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NatureOfOperations",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R70": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "us-gaap:ConcentrationRiskDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022_RevenueFromRightsConcentrationRiskMemberusgaapConcentrationRiskByTypeAxis_SalesRevenueProductLineMemberusgaapConcentrationRiskByBenchmarkAxis_TwoCustomersMembersrtMajorCustomersAxis",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:ConcentrationRiskPercentage1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1070 - Disclosure - Concentrations - Additional Information (Details)",
     "role": "http://www.Castellum.com/role/ConcentrationsAdditionalInformationDetails",
     "shortName": "Concentrations - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "us-gaap:ConcentrationRiskDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022_RevenueFromRightsConcentrationRiskMemberusgaapConcentrationRiskByTypeAxis_SalesRevenueProductLineMemberusgaapConcentrationRiskByBenchmarkAxis_TwoCustomersMembersrtMajorCustomersAxis",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:ConcentrationRiskPercentage1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_pure",
      "xsiNil": "false"
     }
    },
    "R71": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P04_01_2022To06_30_2022",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockIssuedDuringPeriodValueIssuedForServices",
      "reportCount": 1,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1071 - Disclosure - Related-Party Transactions - Additional Information (Details)",
     "role": "http://www.Castellum.com/role/RelatedPartyTransactionsAdditionalInformationDetails",
     "shortName": "Related-Party Transactions - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P06_01_2021To06_30_2021_ChiefGrowthOfficerMemberusgaapRelatedPartyTransactionsByRelatedPartyAxis_SeriesCPreferredStockMemberusgaapStatementClassOfStockAxis",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:StockIssuedDuringPeriodValueIssuedForServices",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     }
    },
    "R72": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "us-gaap:CommitmentsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ctm:EmploymentAgreementsEndDate",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1072 - Disclosure - Commitments - Additional Information (Details)",
     "role": "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails",
     "shortName": "Commitments - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "us-gaap:CommitmentsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ctm:EmploymentAgreementsEndDate",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R73": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P07_01_2022To09_30_2022",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "us-gaap:EffectiveIncomeTaxRateContinuingOperations",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1073 - Disclosure - Income Taxes - Additional Information (Detail)",
     "role": "http://www.Castellum.com/role/IncomeTaxesAdditionalInformationDetail",
     "shortName": "Income Taxes - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P07_01_2022To09_30_2022",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "us-gaap:EffectiveIncomeTaxRateContinuingOperations",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_pure",
      "xsiNil": "false"
     }
    },
    "R74": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P04_15_2022To04_15_2022_LexingtonSolutionsGroupMemberusgaapBusinessAcquisitionAxis",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:PaymentsToAcquireBusinessesGross",
      "reportCount": 1,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1074 - Disclosure - Subsequent Events - Additional Information (Detail)",
     "role": "http://www.Castellum.com/role/SubsequentEventsAdditionalInformationDetail",
     "shortName": "Subsequent Events - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "td",
       "tr",
       "table",
       "us-gaap:SubsequentEventsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P11_01_2022To11_30_2022_EisimingerNoteMemberusgaapDebtInstrumentAxis_SubsequentEventMemberusgaapSubsequentEventTypeAxis",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:DebtInstrumentPeriodicPaymentPrincipal",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Unit_USD",
      "xsiNil": "false"
     }
    },
    "R8": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1008 - Disclosure - Summary of Significant Accounting Policies",
     "role": "http://www.Castellum.com/role/SummaryOfSignificantAccountingPolicies",
     "shortName": "Summary of Significant Accounting Policies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R9": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BusinessCombinationDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1009 - Disclosure - Acquisitions",
     "role": "http://www.Castellum.com/role/Acquisitions",
     "shortName": "Acquisitions",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "ctm-20220930.htm",
      "contextRef": "P01_01_2022To09_30_2022",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BusinessCombinationDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    }
   },
   "segmentCount": 168,
   "tag": {
    "ctm_AccountingPoliciesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accounting policies.",
        "label": "Accounting Policies [Line Items]"
       }
      }
     },
     "localname": "AccountingPoliciesLineItems",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesAdditionalInformationDetail",
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesScheduleOfCompanySRevenueByContractTypeDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ctm_AccountingPoliciesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accounting policies.",
        "label": "Accounting Policies [Table]"
       }
      }
     },
     "localname": "AccountingPoliciesTable",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesAdditionalInformationDetail",
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesScheduleOfCompanySRevenueByContractTypeDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ctm_AchievementOfRevenueRequiredToGrantOptions": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Achievement of revenue required to grant options.",
        "label": "Achievement Of Revenue Required To Grant Options",
        "terseLabel": "Achievement of revenue required to grant options"
       }
      }
     },
     "localname": "AchievementOfRevenueRequiredToGrantOptions",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_AchievementOfRevenueRunRateBasedOnQuarterlyPerformanceToGrantOptions": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Achievement of revenue run rate based on quarterly performance to grant options.",
        "label": "Achievement Of Revenue Run Rate Based On Quarterly Performance To Grant Options",
        "terseLabel": "Achievement of revenue run rate based on quarterly performance to grant options"
       }
      }
     },
     "localname": "AchievementOfRevenueRunRateBasedOnQuarterlyPerformanceToGrantOptions",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_AchievementOfRevenueRunRateInAnyCalendarQuarterToGrantOptions": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Achievement of revenue run rate in any calendar quarter to grant options.",
        "label": "Achievement Of Revenue Run Rate In Any Calendar quarter To Grant Options",
        "terseLabel": "Achievement of revenue run rate in any calendar quarter to grant options"
       }
      }
     },
     "localname": "AchievementOfRevenueRunRateInAnyCalendarQuarterToGrantOptions",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_AchievementScenarioAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Achievement scenario.",
        "label": "Achievement Scenario [Axis]"
       }
      }
     },
     "localname": "AchievementScenarioAxis",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ctm_AchievementScenarioDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Achievement scenario",
        "label": "Achievement Scenario [Domain]"
       }
      }
     },
     "localname": "AchievementScenarioDomain",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_AdjustmentToAdditionalPaidInCapitalGainLossOnConversionOfRelatedPartyDebt": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustment to additional paid in capital gain loss on conversion of related party debt.",
        "label": "Adjustment To Additional Paid In Capital Gain Loss On Conversion Of Related Party Debt",
        "terseLabel": "Adjustment to additional paid in capital",
        "verboseLabel": "Gain on extinguishment of related party convertible note"
       }
      }
     },
     "localname": "AdjustmentToAdditionalPaidInCapitalGainLossOnConversionOfRelatedPartyDebt",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity",
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyParentheticalDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_AdjustmentToAdditionalPaidInCapitalGainLossesOnConversionOfRelatedPartyDebtOne": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustment to additional paid in capital gain losses on conversion of related party debt one.",
        "label": "Adjustment To Additional Paid In Capital Gain Losses On Conversion Of Related Party Debt One",
        "terseLabel": "Gain on extinguishment of convertible note payable - related party applied to APIC"
       }
      }
     },
     "localname": "AdjustmentToAdditionalPaidInCapitalGainLossesOnConversionOfRelatedPartyDebtOne",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_AdjustmentToContingentConsiderationAndCustomerRelationships": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustment to contingent consideration and customer relationships.",
        "label": "Adjustment To Contingent Consideration And Customer Relationships",
        "terseLabel": "Adjustment to contingent consideration and customer relationships"
       }
      }
     },
     "localname": "AdjustmentToContingentConsiderationAndCustomerRelationships",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_AdvisorMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Advisor.",
        "label": "Advisor [Member]",
        "terseLabel": "Advisor"
       }
      }
     },
     "localname": "AdvisorMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_AfterJoiningRussel3000AndRussel2000StockIndicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "After joining russel 3000 and russel 2000 stock indices.",
        "label": "After Joining Russel 3000 and Russel 2000 Stock Indices [Member]",
        "terseLabel": "After Joining Russel 3000 and Russel 2000 Stock Indices [Member]"
       }
      }
     },
     "localname": "AfterJoiningRussel3000AndRussel2000StockIndicesMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_AgreementAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Agreement.",
        "label": "Agreement [Axis]"
       }
      }
     },
     "localname": "AgreementAxis",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails",
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity",
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyParentheticalDetails",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ctm_AgreementDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Agreement.",
        "label": "Agreement [Domain]"
       }
      }
     },
     "localname": "AgreementDomain",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails",
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity",
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyParentheticalDetails",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_AnnualTurnoverToBeAchievedForVestingOfStockOptions": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Annual turnover to be achieved for vesting of stock options.",
        "label": "Annual Turnover To Be Achieved For Vesting Of Stock Options",
        "terseLabel": "Annual turnover to be achieved for vesting of stock options"
       }
      }
     },
     "localname": "AnnualTurnoverToBeAchievedForVestingOfStockOptions",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_AnnualizedNetIncomeRequiredToMaintainForOneYearPeriodEndingOnApplicableDateToEligibleOfBonus": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Annualized net income required to maintain for one year period ending on applicable date to eligible of bonus.",
        "label": "Annualized Net Income Required To Maintain For One Year Period Ending On Applicable Date To Eligible of Bonus",
        "terseLabel": "Annualized net income required to maintain for one year period ending on applicable date to eligible of bonus"
       }
      }
     },
     "localname": "AnnualizedNetIncomeRequiredToMaintainForOneYearPeriodEndingOnApplicableDateToEligibleOfBonus",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_AnnualizedRevenueRequiredToGrantOptionsUponClosingOfAcquisition": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Annualized revenue required to grant options upon closing of acquisition.",
        "label": "Annualized Revenue Required To Grant Options Upon Closing Of Acquisition",
        "terseLabel": "Annualized Revenue Required to grant options upon clsoing of acquisition"
       }
      }
     },
     "localname": "AnnualizedRevenueRequiredToGrantOptionsUponClosingOfAcquisition",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_AsPerAgreementNumberOfStockOptionsEntitledToReceive": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "As per agreement,number of stock options entitled to receive.",
        "label": "As Per Agreement, Number Of Stock Options Entitled To Receive",
        "terseLabel": "As per agreement,number of stock options entitled to receive"
       }
      }
     },
     "localname": "AsPerAgreementNumberOfStockOptionsEntitledToReceive",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "ctm_AssetAcquistionAssetsAcquired": {
     "auth_ref": [],
     "calculation": {
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAcquiredDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Asset acquisition assets acquired.",
        "label": "Asset Acquistion Assets Acquired",
        "totalLabel": "Net assets acquired"
       }
      }
     },
     "localname": "AssetAcquistionAssetsAcquired",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAcquiredDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_AwardTypeOneAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Award type one.",
        "label": "Award Type One [Axis]"
       }
      }
     },
     "localname": "AwardTypeOneAxis",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ctm_AwardTypeOneDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Award type one.",
        "label": "Award Type One [Domain]"
       }
      }
     },
     "localname": "AwardTypeOneDomain",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_BacklogMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Backlog.",
        "label": "Backlog [Member]",
        "terseLabel": "Backlog [Member]"
       }
      }
     },
     "localname": "BacklogMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail",
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillScheduleOfIntangibleAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_BaseSalaryRangeAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Base salary range.",
        "label": "Base Salary Range [Axis]"
       }
      }
     },
     "localname": "BaseSalaryRangeAxis",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ctm_BaseSalaryRangeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Base salary range.",
        "label": "Base Salary Range [Domain]"
       }
      }
     },
     "localname": "BaseSalaryRangeDomain",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_BellPerformanceBonusMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bell performance bonus.",
        "label": "Bell Performance Bonus [Member]"
       }
      }
     },
     "localname": "BellPerformanceBonusMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_BonusPayableAnnuallyAsPerAgreement": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bonus payable annually as per agreement.",
        "label": "Bonus Payable Annually As Per Agreement",
        "terseLabel": "Bonus payable annually as per agreement"
       }
      }
     },
     "localname": "BonusPayableAnnuallyAsPerAgreement",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_BonusWarrants": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bonus warrants.",
        "label": "Bonus Warrants",
        "terseLabel": "Bonus warrants"
       }
      }
     },
     "localname": "BonusWarrants",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "ctm_BuckhoutCharitableRemainderTrustMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Buckhout Charitable Remainder Trust [Member]",
        "terseLabel": "Buckhout Charitable Remainder Trust [Member]"
       }
      }
     },
     "localname": "BuckhoutCharitableRemainderTrustMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyParentheticalDetails",
      "http://www.Castellum.com/role/SubsequentEventsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_BusinessAcquisitionPaymentTypeOfTrancheeAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business acquisition payment, Type of tranchee [Axis]"
       }
      }
     },
     "localname": "BusinessAcquisitionPaymentTypeOfTrancheeAxis",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/DueToSellerAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ctm_BusinessAcquisitionPaymentTypeOfTrancheeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business acquisition payment, Type of tranchee [Domain]"
       }
      }
     },
     "localname": "BusinessAcquisitionPaymentTypeOfTrancheeDomain",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/DueToSellerAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_BusinessCombinationCashConsiderationPayable": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination cash consideration payable.",
        "label": "Business Combination Cash Consideration Payable",
        "verboseLabel": "Business combination cash consideration payable"
       }
      }
     },
     "localname": "BusinessCombinationCashConsiderationPayable",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_BusinessCombinationConsiderationTransferredLenderFinancing": {
     "auth_ref": [],
     "calculation": {
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail": {
       "order": 5.0,
       "parentTag": "us-gaap_BusinessCombinationConsiderationTransferred1",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination consideration transferred lender financing.",
        "label": "Business Combination Consideration Transferred Lender Financing",
        "terseLabel": "Lender financing"
       }
      }
     },
     "localname": "BusinessCombinationConsiderationTransferredLenderFinancing",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_BusinessCombinationContingentConsiderationLiabilityIncurred": {
     "auth_ref": [],
     "calculation": {
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail": {
       "order": 4.0,
       "parentTag": "us-gaap_BusinessCombinationConsiderationTransferred1",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination contingent consideration liability incurred.",
        "label": "Business Combination Contingent Consideration Liability Incurred",
        "terseLabel": "Contingent earnout/Holdback shares"
       }
      }
     },
     "localname": "BusinessCombinationContingentConsiderationLiabilityIncurred",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_BusinessCombinationContingentConsiderationPayableInShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination contingent consideration payable in shares.",
        "label": "Business Combination Contingent Consideration Payable In Shares",
        "terseLabel": "Business combination contingent consideration payable in shares"
       }
      }
     },
     "localname": "BusinessCombinationContingentConsiderationPayableInShares",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsAdditionalInformationDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "ctm_BusinessCombinationReclassificationFromGoodwillIntoOtherIntangibleAssetsUponFinalizationOfValuation": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination reclassification from goodwill into other intangible assets upon finalization of valuation.",
        "label": "Business Combination Reclassification From Goodwill Into Other Intangible Assets Upon Finalization Of Valuation",
        "terseLabel": "Business combination reclassification from goodwill into other intangible assets upon finalization of valuation"
       }
      }
     },
     "localname": "BusinessCombinationReclassificationFromGoodwillIntoOtherIntangibleAssetsUponFinalizationOfValuation",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccountsReceivableAndUnbilledReceivables": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination recognized identifiable assets acquired and liabilities assumed accounts receivable and unbilled receivables.",
        "label": "Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Accounts Receivable And Unbilled Receivables",
        "terseLabel": "Accounts receivable and unbilled receivables"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccountsReceivableAndUnbilledReceivables",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_BusinessCombinationRecognizedIdentifiableAssetsAndLiabilitiesAssumedDueFromEmployeeTravelAdvance": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination recognized identifiable assets and liabilities assumed due from employee travel advance.",
        "label": "Business Combination Recognized Identifiable Assets And Liabilities Assumed Due From Employee Travel Advance",
        "terseLabel": "Due from Employee/Travel Advance"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAndLiabilitiesAssumedDueFromEmployeeTravelAdvance",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_BusinessCombinationRecognizedIdentifiableAssetsAndLiabilitiesAssumedReceivableFromSeller": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination recognized identifiable assets and liabilities assumed receivable from seller.",
        "label": "Business Combination Recognized Identifiable Assets And Liabilities Assumed Receivable From Seller",
        "terseLabel": "Receivable from Seller"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAndLiabilitiesAssumedReceivableFromSeller",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_BusinessCombinationRecognizedIndentifiableAssetsAcquiredAndLiabilitiesAssumedRightOfUseAssetsOperatingLease": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination recognized indentifiable assets acquired and liabilities assumed right of use assets operating lease.",
        "label": "Business Combination Recognized Indentifiable Assets Acquired And Liabilities Assumed Right Of Use Assets Operating Lease",
        "terseLabel": "Right of use asset \u2013 operating lease"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIndentifiableAssetsAcquiredAndLiabilitiesAssumedRightOfUseAssetsOperatingLease",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_BusinessCombinationRecognizedIndentifiableAssetsAcquiredAndLiabilitiesAssumedUnbilledReceivable": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination recognized indentifiable assets acquired and liabilities assumed unbilled receivable.",
        "label": "Business Combination Recognized Indentifiable Assets Acquired And Liabilities Assumed Unbilled Receivable",
        "terseLabel": "Unbilled receivable"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIndentifiableAssetsAcquiredAndLiabilitiesAssumedUnbilledReceivable",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_BusinessCombinationRecognizedIndentifiableAssetsAssumedAndLiabilitiesAcquiredContractLiabilitiesCurrent": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination recognized indentifiable assets assumed and liabilities acquired contract liabilities current.",
        "label": "Business Combination Recognized Indentifiable Assets Assumed And Liabilities Acquired Contract Liabilities Current",
        "terseLabel": "Contract liability"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIndentifiableAssetsAssumedAndLiabilitiesAcquiredContractLiabilitiesCurrent",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_CancellationOfSharesIssuedOnAcquisition": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cancellation of shares issued on acquisition.",
        "label": "Cancellation Of Shares Issued On Acquisition",
        "terseLabel": "Cancellation of shares offsetting acquisition of MFSI"
       }
      }
     },
     "localname": "CancellationOfSharesIssuedOnAcquisition",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_CancellationOfSharesOfAcquisitionShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cancellation of shares of acquisition shares.",
        "label": "Cancellation Of Shares Of Acquisition Shares",
        "terseLabel": "Cancellation of shares in acquisition of MFSI, Shares"
       }
      }
     },
     "localname": "CancellationOfSharesOfAcquisitionShares",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity"
     ],
     "xbrltype": "sharesItemType"
    },
    "ctm_CancellationOfSharesOnAcquisitionValue": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cancellation of shares on acquisition value.",
        "label": "Cancellation Of Shares On Acquisition Value",
        "terseLabel": "Cancellation of shares in acquisition of MFSI"
       }
      }
     },
     "localname": "CancellationOfSharesOnAcquisitionValue",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_CashConsiderationPayableToTheAcquiree": {
     "auth_ref": [],
     "calculation": {
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAcquiredDetail": {
       "order": 4.0,
       "parentTag": "us-gaap_AssetAcquisitionConsiderationTransferred",
       "weight": 1.0
      },
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail": {
       "order": 6.0,
       "parentTag": "us-gaap_BusinessCombinationConsiderationTransferred1",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash consideration payable to the acquiree.",
        "label": "Cash Consideration Payable to the Acquiree",
        "terseLabel": "Cash (included in amounts due to seller as of December 31, 2021)",
        "verboseLabel": "Due to seller (cash)"
       }
      }
     },
     "localname": "CashConsiderationPayableToTheAcquiree",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAcquiredDetail",
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_CategoriesOfContractWithCustomersAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Categories of contract with customers.",
        "label": "Categories of Contract With Customers [Axis]"
       }
      }
     },
     "localname": "CategoriesOfContractWithCustomersAxis",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesScheduleOfCompanySRevenueByContractTypeDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ctm_CategoriesOfContractWithCustomersDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Categories of contract with customers.",
        "label": "Categories of Contract With Customers [Domain]"
       }
      }
     },
     "localname": "CategoriesOfContractWithCustomersDomain",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesScheduleOfCompanySRevenueByContractTypeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_CertificateOfAmendmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Certificate of amendment.",
        "label": "Certificate Of Amendment [Member]",
        "terseLabel": "Certificate Of Amendment [Member]"
       }
      }
     },
     "localname": "CertificateOfAmendmentMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/NatureOfOperationsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_ChiefGrowthOfficerMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Chief growth officer.",
        "label": "Chief Growth Officer [Member]",
        "terseLabel": "Chief Growth Officer [Member]"
       }
      }
     },
     "localname": "ChiefGrowthOfficerMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails",
      "http://www.Castellum.com/role/RelatedPartyTransactionsAdditionalInformationDetails",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRightsDescription": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Class of warrant or right, exercise price of warrants or rights, description.",
        "label": "Class Of Warrant Or Right, Exercise Price Of Warrants Or Rights, Description",
        "terseLabel": "Class of warrant or right, exercise price of warrants or rights, description"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightExercisePriceOfWarrantsOrRightsDescription",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ctm_CommencingTradingOnTierOfNasdaqOrNyseMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commencing trading on tier of nasdaq or nyse.",
        "label": "Commencing Trading On Tier Of NASDAQ OR NYSE [Member]",
        "terseLabel": "Commencing Trading On Tier Of NASDAQ OR NYSE [Member]"
       }
      }
     },
     "localname": "CommencingTradingOnTierOfNasdaqOrNyseMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_CommittedAnnualBaseSalary": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Committed annual base salary.",
        "label": "Committed Annual Base Salary",
        "terseLabel": "Annual base salary"
       }
      }
     },
     "localname": "CommittedAnnualBaseSalary",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_CompanyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Company [Member]"
       }
      }
     },
     "localname": "CompanyMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/SubsequentEventsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_ConsultantMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Consultant.",
        "label": "Consultant [Member]",
        "terseLabel": "Consultant"
       }
      }
     },
     "localname": "ConsultantMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_ConsultantOfMfsiMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Consultant of MFSI.",
        "label": "Consultant Of MFSI [Member]",
        "terseLabel": "Consultant Of MFSI"
       }
      }
     },
     "localname": "ConsultantOfMfsiMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_ConvertibleDebtDisclosureTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Convertible debt disclosure.",
        "label": "Convertible Debt Disclosure [Text Block]",
        "terseLabel": "Convertible Promissory Notes \u2013 Related Parties"
       }
      }
     },
     "localname": "ConvertibleDebtDisclosureTextBlock",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedParties"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ctm_ConvertibleDebtPursuantToDebtAmendmentRelatedPartyPayableWithATrustDeedToOneOfTheCompaniesDirectorsConversionPriceOfZeroPointTwoSixPerShareMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Convertible Debt Pursuant To Debt Amendment Related Party Payable With A Trust Deed To One Of The Companies Directors Conversion Price Of Zero Point Two Six Per Share [Member]",
        "label": "Convertible Debt Pursuant To Debt Amendment Related Party Payable With A Trust Deed To One Of The Companies Directors Conversion Price Of Zero Point Two Six Per Share [Member]",
        "terseLabel": "Convertible debt pursuant to debt amendment conversion price 0.26 per share [Member]"
       }
      }
     },
     "localname": "ConvertibleDebtPursuantToDebtAmendmentRelatedPartyPayableWithATrustDeedToOneOfTheCompaniesDirectorsConversionPriceOfZeroPointTwoSixPerShareMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesAdditionalInformationDetail",
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyDetail",
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyParentheticalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_ConvertibleNoteMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Convertible note.",
        "label": "Convertible note [Member]"
       }
      }
     },
     "localname": "ConvertibleNoteMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/FairValueSummaryOfDerivativeLiabilitiesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_ConvertibleNotePayableToRelatedPartyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Convertible Note Payable To Related Party [Member]",
        "terseLabel": "Convertible note payable to related party [Member]"
       }
      }
     },
     "localname": "ConvertibleNotePayableToRelatedPartyMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesAdditionalInformationDetail",
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyDetail",
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyParentheticalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_ConvertibleNoteRelatedPartyPayableWithATrustDeedToOneOfTheCompaniesDirectorsConversionPriceOfZeroPointTwoSixPerShareMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Convertible Note Related Party Payable With A Trust Deed To One Of The Companies Directors Conversion Price Of Zero Point Two Six Per Share [Member]",
        "label": "Convertible Note Related Party Payable With A Trust Deed To One Of The Companies Directors Conversion Price Of Zero Point Two Six Per Share [Member]",
        "terseLabel": "Conversion price 0.26 per share [Member]"
       }
      }
     },
     "localname": "ConvertibleNoteRelatedPartyPayableWithATrustDeedToOneOfTheCompaniesDirectorsConversionPriceOfZeroPointTwoSixPerShareMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyDetail",
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyParentheticalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_CostPlusFixedFeeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cost plus fixed fee.",
        "label": "Cost Plus Fixed Fee [Member]"
       }
      }
     },
     "localname": "CostPlusFixedFeeMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesScheduleOfCompanySRevenueByContractTypeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_CromMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Crom.",
        "label": "Crom [Member]",
        "terseLabel": "Crom"
       }
      }
     },
     "localname": "CromMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyParentheticalDetails",
      "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableParentheticalDetail",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_CustomerMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Customer.",
        "label": "Customer [Member]"
       }
      }
     },
     "localname": "CustomerMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/ConcentrationsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_DavidBellchiefFinancialOfficerMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "David bell,chief financial officer.",
        "label": "David Bell,Chief Financial Officer [Member]"
       }
      }
     },
     "localname": "DavidBellchiefFinancialOfficerMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_DebtDiscountOnNotePayableAppliedToObligationToIssueCommonStock": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt discount on note payable applied to obligation to issue common stock.",
        "label": "Debt Discount On Note Payable Applied To Obligation To Issue Common Stock",
        "terseLabel": "Debt discount on note payable applied to obligation to issue common stock"
       }
      }
     },
     "localname": "DebtDiscountOnNotePayableAppliedToObligationToIssueCommonStock",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_DebtInstrumentAmendmentAgreementOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instrument Amendment Agreement One [Member]",
        "terseLabel": "Debt instrument amendment agreement one [Member]"
       }
      }
     },
     "localname": "DebtInstrumentAmendmentAgreementOneMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyParentheticalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_DeferredIssuanceCostsRecognizedForNotePayable": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred issuance costs recognized for note payable.",
        "label": "Deferred Issuance Costs Recognized For Note Payable",
        "terseLabel": "Deferred issuance costs recognized for note payable"
       }
      }
     },
     "localname": "DeferredIssuanceCostsRecognizedForNotePayable",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_DerivativeLiabilityRecognizedAsDiscountOfNotePayable": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Derivative liability recognized as discount of note payable.",
        "label": "Derivative Liability Recognized As Discount Of Note Payable",
        "terseLabel": "Derivative liability recognized as discount of note payable"
       }
      }
     },
     "localname": "DerivativeLiabilityRecognizedAsDiscountOfNotePayable",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_DescriptionOfEventDeterminingPerMonthIncreaseiNAnnualBaseSalaryCommitted": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of event determining per month increase in annual base salary committed.",
        "label": "Description Of Event Determining Per Month IncreaseI n Annual Base Salary Committed",
        "terseLabel": "Description of event determining per month increase in annual base salary committed"
       }
      }
     },
     "localname": "DescriptionOfEventDeterminingPerMonthIncreaseiNAnnualBaseSalaryCommitted",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ctm_DisclosureOfDueToSellerTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of due to seller.",
        "label": "Disclosure Of Due To Seller [Text Block]",
        "terseLabel": "Due To Seller"
       }
      }
     },
     "localname": "DisclosureOfDueToSellerTextBlock",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/DueToSeller"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ctm_EbitdaRequiredToGrantOptionsInAnyTwelveMonthPeriod": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "EBITDA required to grant options in any twelve month period.",
        "label": "EBITDA Required To Grant Options In Any Twelve Month Period",
        "terseLabel": "EBITDA required to grant options in any twelve month period"
       }
      }
     },
     "localname": "EbitdaRequiredToGrantOptionsInAnyTwelveMonthPeriod",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_EisimingerNoteMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Eisiminger note.",
        "label": "Eisiminger Note [Member]",
        "terseLabel": "Eisiminger Note [Member]"
       }
      }
     },
     "localname": "EisimingerNoteMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail",
      "http://www.Castellum.com/role/SubsequentEventsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_EmploymentAgreementMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Employment agreement.",
        "label": "Employment Agreement [Member]"
       }
      }
     },
     "localname": "EmploymentAgreementMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_EmploymentAgreementsEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Employment agreements, end date.",
        "label": "Employment agreements, End date",
        "terseLabel": "Employment agreements, End date"
       }
      }
     },
     "localname": "EmploymentAgreementsEndDate",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "ctm_EmploymentAgreementsExpirationDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Employment agreements expiration date.",
        "label": "Employment Agreements Expiration Date",
        "terseLabel": "Employment Agreements Expiration Date"
       }
      }
     },
     "localname": "EmploymentAgreementsExpirationDate",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "ctm_EmploymentAgreementsGeneralTerm": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Employment agreements, general term.",
        "label": "Employment Agreements, General Term",
        "terseLabel": "Employment agreements, General term"
       }
      }
     },
     "localname": "EmploymentAgreementsGeneralTerm",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "ctm_EmploymentAgreementsRenewalTerms": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Employment agreements, renewal terms.",
        "label": "Employment Agreements, Renewal Terms",
        "terseLabel": "Employment agreements, Renewal terms"
       }
      }
     },
     "localname": "EmploymentAgreementsRenewalTerms",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ctm_EmploymentAgreementsTerm": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Employment agreements, term.",
        "label": "Employment Agreements, Term",
        "terseLabel": "Employment Agreements, Term"
       }
      }
     },
     "localname": "EmploymentAgreementsTerm",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "ctm_EstimatedEarningsBeforeInterestTaxDepreciationAndAmortization": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Estimated earnings before interest tax depreciation and amortization.",
        "label": "Estimated Earnings Before Interest Tax Depreciation And Amortization",
        "terseLabel": "Estimated earnings before interest tax depreciation and amortization"
       }
      }
     },
     "localname": "EstimatedEarningsBeforeInterestTaxDepreciationAndAmortization",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_EstimatedGrowthOfEarningsBeforeInterestTaxDepreciationAndAmortizationPercentagePerAnnum": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Estimated growth of earnings before interest tax depreciation and amortization percentage per annum.",
        "label": "Estimated Growth Of Earnings Before Interest Tax Depreciation And Amortization Percentage Per Annum",
        "terseLabel": "Estimated growth of earnings before interest tax depreciation and amortization percentage per annum"
       }
      }
     },
     "localname": "EstimatedGrowthOfEarningsBeforeInterestTaxDepreciationAndAmortizationPercentagePerAnnum",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ctm_EstimatedGrowthOfRevenuePercentagePerAnnum": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Estimated growth of revenue percentage per annum.",
        "label": "Estimated Growth Of Revenue Percentage Per Annum",
        "terseLabel": "Estimated growth of revenue percentage per annum"
       }
      }
     },
     "localname": "EstimatedGrowthOfRevenuePercentagePerAnnum",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ctm_EstimatedRevenuePerAnnum": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Estimated revenue per annum.",
        "label": "Estimated Revenue Per Annum",
        "terseLabel": "Estimated revenue per annum"
       }
      }
     },
     "localname": "EstimatedRevenuePerAnnum",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_EstimatedRevenuePerQuarter": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Estimated revenue per quarter.",
        "label": "Estimated Revenue Per Quarter",
        "terseLabel": "Estimated revenue per quarter"
       }
      }
     },
     "localname": "EstimatedRevenuePerQuarter",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_EventAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Event.",
        "label": "Event [Axis]"
       }
      }
     },
     "localname": "EventAxis",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity",
      "http://www.Castellum.com/role/NatureOfOperationsAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ctm_EventBasisAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Event basis.",
        "label": "Event Basis [Axis]"
       }
      }
     },
     "localname": "EventBasisAxis",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ctm_EventBasisDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Event basis.",
        "label": "Event Basis [Domain]"
       }
      }
     },
     "localname": "EventBasisDomain",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_EventDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Event.",
        "label": "Event [Domain]"
       }
      }
     },
     "localname": "EventDomain",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity",
      "http://www.Castellum.com/role/NatureOfOperationsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_FairValueAdjustmentRecognizedOnIssuanceOfCommonStockInSecuritiesPurchaseAgreement": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value adjustment recognized on issuance of common stock in securities purchase agreement.",
        "label": "Fair Value Adjustment Recognized On Issuance Of Common Stock In Securities Purchase Agreement",
        "terseLabel": "Fair value adjustment recognized on issuance of common stock in Securities Purchase Agreement"
       }
      }
     },
     "localname": "FairValueAdjustmentRecognizedOnIssuanceOfCommonStockInSecuritiesPurchaseAgreement",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_FinancingFeeAndBankChargesForNotePayableAndAdvancesOnRevolvingCreditLine": {
     "auth_ref": [],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing fee and bank charges for note payable and advances on revolving credit line.",
        "label": "Financing Fee And Bank Charges For Note Payable And Advances On Revolving Credit Line",
        "negatedLabel": "Financing fee and bank charges for note payable and advances on revolving credit line"
       }
      }
     },
     "localname": "FinancingFeeAndBankChargesForNotePayableAndAdvancesOnRevolvingCreditLine",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_FiniteLivedIntangibleAssetsAmortizationExpenseRollingAfterYearFour": {
     "auth_ref": [],
     "calculation": {
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillScheduleOfFutureAmortizationOfIntangibleAssetsDetail": {
       "order": 6.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Finite lived intangible assets amortization expense rolling after year four.",
        "label": "Finite Lived Intangible Assets Amortization Expense Rolling After Year Four",
        "verboseLabel": "Thereafter"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseRollingAfterYearFour",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillScheduleOfFutureAmortizationOfIntangibleAssetsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_FirmFixedPriceMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Firm fixed price.",
        "label": "Firm Fixed Price [Member]"
       }
      }
     },
     "localname": "FirmFixedPriceMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesScheduleOfCompanySRevenueByContractTypeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_FirstTrancheMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "first tranche [Member]"
       }
      }
     },
     "localname": "FirstTrancheMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/DueToSellerAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_For35000ToLessThan40000PerMonthMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "$35,000 to less than $40,000 per month.",
        "label": "For 35,000 to Less Than 40,000 Per Month [Member]",
        "terseLabel": "35,000 to Less Than 40,000 Per Month [Member]"
       }
      }
     },
     "localname": "For35000ToLessThan40000PerMonthMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_For40000OrMorePerMonthMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "$40,000 or more per month.",
        "label": "For 40,000 or More Per Month [Member]",
        "terseLabel": "40,000 or More Per Month [Member]"
       }
      }
     },
     "localname": "For40000OrMorePerMonthMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_FormerExecutiveOfMerrisonMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Former executive Of merrison.",
        "label": "Former Executive Of Merrison [Member]",
        "terseLabel": "Former Executive Of Merrison [Member]"
       }
      }
     },
     "localname": "FormerExecutiveOfMerrisonMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_FormerOfficerMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Former officer.",
        "label": "Former Officer [Member]",
        "terseLabel": "Former Officer"
       }
      }
     },
     "localname": "FormerOfficerMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_FormerOwnerOfMerrisonMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Former owner of merrison.",
        "label": "Former Owner Of Merrison [Member]",
        "terseLabel": "Former Owner Of Merrison"
       }
      }
     },
     "localname": "FormerOwnerOfMerrisonMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_FourCustomersMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Four customers.",
        "label": "Four Customers [Member]"
       }
      }
     },
     "localname": "FourCustomersMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/ConcentrationsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_GoodwillAndIntangibleAssetsDisclosureLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Goodwill And Intangible Assets Disclosure [Line Items]",
        "terseLabel": "Goodwill and Intangible Assets Disclosure [Line Items]"
       }
      }
     },
     "localname": "GoodwillAndIntangibleAssetsDisclosureLineItems",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ctm_GoodwillAndIntangibleAssetsDisclosureTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Goodwill And Intangible Assets Disclosure [Table]",
        "terseLabel": "Goodwill and Intangible Assets Disclosure [Table]"
       }
      }
     },
     "localname": "GoodwillAndIntangibleAssetsDisclosureTable",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ctm_GoodwillDisposals": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Goodwill disposals.",
        "label": "Goodwill Disposals",
        "terseLabel": "Disposals"
       }
      }
     },
     "localname": "GoodwillDisposals",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillScheduleOfGoodwillDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_HoldbackSharesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Holdback Shares [Member]"
       }
      }
     },
     "localname": "HoldbackSharesMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_IncreaseDecreaseInBusinessTransactionCost": {
     "auth_ref": [],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase decrease in business transaction cost.",
        "label": "Increase Decrease in Business Transaction Cost",
        "terseLabel": "Payment of transaction costs in acquisition of SSI"
       }
      }
     },
     "localname": "IncreaseDecreaseInBusinessTransactionCost",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_IncreaseDecreaseInContractAssetLiability": {
     "auth_ref": [],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase decrease in contract asset liability.",
        "label": "Increase Decrease In Contract Asset Liability",
        "negatedLabel": "Contract asset (liability)"
       }
      }
     },
     "localname": "IncreaseDecreaseInContractAssetLiability",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_IndirectCosts": {
     "auth_ref": [],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": 5.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indirect costs.",
        "label": "Indirect Costs",
        "terseLabel": "Indirect costs"
       }
      }
     },
     "localname": "IndirectCosts",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_IndividualFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Individual four.",
        "label": "Individual Four [Member]",
        "terseLabel": "Individual Four"
       }
      }
     },
     "localname": "IndividualFourMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_IndividualOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Individual one.",
        "label": "Individual One [Member]",
        "terseLabel": "Individual One"
       }
      }
     },
     "localname": "IndividualOneMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_IndividualThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Individual three.",
        "label": "Individual Three [Member]",
        "terseLabel": "Individual Three"
       }
      }
     },
     "localname": "IndividualThreeMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_IndividualTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Individual two.",
        "label": "Individual Two [Member]",
        "terseLabel": "Individual Two"
       }
      }
     },
     "localname": "IndividualTwoMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_JayWrightMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Jay wright.",
        "label": "Jay Wright [Member]",
        "terseLabel": "Jay Wright [Member]"
       }
      }
     },
     "localname": "JayWrightMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_LSGAcquisitionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "LSG Acquisition.",
        "label": "LSG Acquisition [Member]",
        "terseLabel": "LSG [Member]",
        "verboseLabel": "LSG Acquisition"
       }
      }
     },
     "localname": "LSGAcquisitionMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity",
      "http://www.Castellum.com/role/DueToSellerAdditionalInformationDetail",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_LegalFeesIncurredOutOfProceedsOfNotesPayable": {
     "auth_ref": [],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 13.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Legal fees incurred out of proceeds of notes payable.",
        "label": "Legal Fees Incurred Out Of Proceeds Of Notes Payable",
        "terseLabel": "Legal fees paid out of proceeds from a note payable"
       }
      }
     },
     "localname": "LegalFeesIncurredOutOfProceedsOfNotesPayable",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_LenderAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lender [Axis]"
       }
      }
     },
     "localname": "LenderAxis",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyParentheticalDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ctm_LenderDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lender [Domain]"
       }
      }
     },
     "localname": "LenderDomain",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyParentheticalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_LessThan35000PerMonthMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Less than $35,000 per month.",
        "label": "Less Than 35,000 Per Month [Member]"
       }
      }
     },
     "localname": "LessThan35000PerMonthMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_LetterAgreementMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Letter agreement.",
        "label": "Letter Agreement [Member]",
        "terseLabel": "Letter Agreement"
       }
      }
     },
     "localname": "LetterAgreementMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_LexingtonSolutionsGroupMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lexington Solutions Group [Member]",
        "terseLabel": "Lexington Solutions Group [Member]"
       }
      }
     },
     "localname": "LexingtonSolutionsGroupMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsAdditionalInformationDetail",
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail",
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredParentheticalDetail",
      "http://www.Castellum.com/role/AcquisitionsTables",
      "http://www.Castellum.com/role/SubsequentEventsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_LineOfCreditFacilityAccruedInterest": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line of credit facility, accrued interest.",
        "label": "Line of Credit Facility, Accrued Interest",
        "terseLabel": "Line of credit facility, accrued interest"
       }
      }
     },
     "localname": "LineOfCreditFacilityAccruedInterest",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/RevolvingCreditFacilityAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_LiveOakBankMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Live Oak Bank [Member]"
       }
      }
     },
     "localname": "LiveOakBankMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/RevolvingCreditFacilityAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_LongTermDebtOneAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt One [Axis]"
       }
      }
     },
     "localname": "LongTermDebtOneAxis",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesAdditionalInformationDetail",
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyDetail",
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyParentheticalDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ctm_LongTermDebtOneDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Debt One [Domain]"
       }
      }
     },
     "localname": "LongTermDebtOneDomain",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesAdditionalInformationDetail",
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyDetail",
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyParentheticalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_LossFromChangeInFairValueOfContingentEarnout": {
     "auth_ref": [],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": 8.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loss from change in fair value of contingent earnout.",
        "label": "Loss From Change In Fair Value Of Contingent Earnout",
        "terseLabel": "Loss from change in fair value of contingent earnout"
       }
      }
     },
     "localname": "LossFromChangeInFairValueOfContingentEarnout",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_MFSIAcquisitionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "MFSI Acquisition [Member]",
        "terseLabel": "MFSI [Member]"
       }
      }
     },
     "localname": "MFSIAcquisitionMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity",
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_MFSIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "MFSI.",
        "label": "MFSI [Member]",
        "terseLabel": "MFSI"
       }
      }
     },
     "localname": "MFSIMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsAdditionalInformationDetail",
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail",
      "http://www.Castellum.com/role/AcquisitionsTables",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_ManagementPersonnelAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Management personnel.",
        "label": "Management Personnel [Axis]"
       }
      }
     },
     "localname": "ManagementPersonnelAxis",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ctm_ManagementPersonnelDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Management personnel.",
        "label": "Management Personnel [Domain]"
       }
      }
     },
     "localname": "ManagementPersonnelDomain",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_ManagementPersonnelOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Management personnel one.",
        "label": "Management Personnel One [Member]",
        "terseLabel": "Management Personnel One [Member]"
       }
      }
     },
     "localname": "ManagementPersonnelOneMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_ManagementPersonnelThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Management personnel three.",
        "label": "Management Personnel Three [Member]",
        "terseLabel": "Management Personnel Three [Member]"
       }
      }
     },
     "localname": "ManagementPersonnelThreeMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_ManagementPersonnelTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Management personnel two.",
        "label": "Management Personnel Two [Member]",
        "terseLabel": "Management Personnel Two [Member]"
       }
      }
     },
     "localname": "ManagementPersonnelTwoMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_MarkFullerAndJayWrightMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Mark fuller and jay wright.",
        "label": "Mark Fuller and Jay Wright [Member]",
        "terseLabel": "Mark Fuller and Jay Wright [Member]"
       }
      }
     },
     "localname": "MarkFullerAndJayWrightMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_MarkFullerMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Mark fuller.",
        "label": "Mark Fuller [Member]",
        "terseLabel": "Mark Fuller [Member]"
       }
      }
     },
     "localname": "MarkFullerMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_MeasurementInputBMarketYieldMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement Input B market yield.",
        "label": "Measurement Input B Market Yield [Member]"
       }
      }
     },
     "localname": "MeasurementInputBMarketYieldMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/FairValueSummaryOfFairValueMeasurementsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_MeasurementInputExpectedTermConversionOptionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input expected term conversion option.",
        "label": "Measurement Input Expected Term Conversion Option [Member]"
       }
      }
     },
     "localname": "MeasurementInputExpectedTermConversionOptionMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/FairValueSummaryOfFairValueMeasurementsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_MeasurementInputExpectedTermWarrantsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input expected term warrants.",
        "label": "Measurement Input Expected Term Warrants [Member]"
       }
      }
     },
     "localname": "MeasurementInputExpectedTermWarrantsMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/FairValueSummaryOfFairValueMeasurementsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_MeasurementInputOasDifferentialBetweenCccAndBBondsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement Input OAS differential between CCC and B Bonds.",
        "label": "Measurement Input OAS Differential Between CCC and B Bonds [Member]"
       }
      }
     },
     "localname": "MeasurementInputOasDifferentialBetweenCccAndBBondsMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/FairValueSummaryOfFairValueMeasurementsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_MeasurementInputSeniorUnsecuredSyntheticCreditRatingMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input senior unsecured synthetic credit rating.",
        "label": "Measurement Input Senior unsecured Synthetic Credit Rating [Member]"
       }
      }
     },
     "localname": "MeasurementInputSeniorUnsecuredSyntheticCreditRatingMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/FairValueSummaryOfFairValueMeasurementsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_MeasurementInputVolatilityHaircutMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input volatility haircut.",
        "label": "Measurement Input Volatility Haircut [Member]"
       }
      }
     },
     "localname": "MeasurementInputVolatilityHaircutMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/FairValueSummaryOfFairValueMeasurementsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_MeasurementInputVolatilityPostHaircutMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input volatility post haircut.",
        "label": "Measurement Input Volatility Post Haircut [Member]"
       }
      }
     },
     "localname": "MeasurementInputVolatilityPostHaircutMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/FairValueSummaryOfFairValueMeasurementsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_MerrisonAcquistionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Merrison acquistion.",
        "label": "Merrison Acquistion [Member]",
        "terseLabel": "Merrison [Member]"
       }
      }
     },
     "localname": "MerrisonAcquistionMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity",
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_MerrisonMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Merrison.",
        "label": "Merrison [Member]",
        "terseLabel": "Merrison"
       }
      }
     },
     "localname": "MerrisonMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsAdditionalInformationDetail",
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail",
      "http://www.Castellum.com/role/AcquisitionsTables",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_MilestoneAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Milestone.",
        "label": "Milestone [Axis]"
       }
      }
     },
     "localname": "MilestoneAxis",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ctm_MilestoneDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Milestone.",
        "label": "Milestone [Domain]"
       }
      }
     },
     "localname": "MilestoneDomain",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_MilestoneOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Milestone one.",
        "label": "Milestone One [Member]",
        "terseLabel": "Milestone One"
       }
      }
     },
     "localname": "MilestoneOneMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_MilestoneThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Milestone three.",
        "label": "Milestone Three [Member]",
        "terseLabel": "Milestone Three"
       }
      }
     },
     "localname": "MilestoneThreeMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_MilestoneTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Milestone two.",
        "label": "Milestone Two [Member]",
        "terseLabel": "Milestone Two"
       }
      }
     },
     "localname": "MilestoneTwoMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_MinimumPercentageOfTheLargestAmountOfTaxBenefitLikelyToBeRealizedUponUltimateSettlementWithTheRelatedTaxAuthority": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Minimum Percentage of the largest amount of tax benefit likely to be realized upon ultimate settlement with the related tax authority.",
        "label": "Minimum Percentage Of The Largest Amount Of Tax Benefit Likely To Be Realized Upon Ultimate Settlement With The Related Tax Authority",
        "terseLabel": "Minimum percentage of the largest amount of tax benefit likely to be realized upon ultimate settlement with the related tax authority"
       }
      }
     },
     "localname": "MinimumPercentageOfTheLargestAmountOfTaxBenefitLikelyToBeRealizedUponUltimateSettlementWithTheRelatedTaxAuthority",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ctm_MiscellaneousLicenseMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Miscellaneous license.",
        "label": "Miscellaneous License [Member]"
       }
      }
     },
     "localname": "MiscellaneousLicenseMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_NatureOfOperationsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Nature Of Operations.",
        "label": "Nature Of Operations [Line Items]"
       }
      }
     },
     "localname": "NatureOfOperationsLineItems",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/NatureOfOperationsAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ctm_NatureOfOperationsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Nature of operations.",
        "label": "Nature Of Operations [Table]"
       }
      }
     },
     "localname": "NatureOfOperationsTable",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/NatureOfOperationsAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ctm_NavyDivisionReachingAnAnnualizedRevenueRunRateOf100000000OrGreaterMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Navy division reaching an annualized revenue run rate of $100,000,000 or greater.",
        "label": "Navy Division Reaching An Annualized Revenue Run Rate Of 100,000,000 Or Greater [Member]"
       }
      }
     },
     "localname": "NavyDivisionReachingAnAnnualizedRevenueRunRateOf100000000OrGreaterMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_NavyDivisionReachingAnAnnualizedRevenueRunRateOf25000000OrGreaterMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Navy division reaching an annualized revenue run rate of $25,000,000 or greater.",
        "label": "Navy Division Reaching An Annualized Revenue Run Rate Of 25,000,000 Or Greater [Member]"
       }
      }
     },
     "localname": "NavyDivisionReachingAnAnnualizedRevenueRunRateOf25000000OrGreaterMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_NavyDivisionReachingAnAnnualizedRevenueRunRateOf60000000OrGreaterMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Navy division reaching an annualized revenue run rate of $60,000,000 or greater.",
        "label": "Navy Division Reaching An Annualized Revenue Run Rate Of 60,000,000 Or Greater [Member]"
       }
      }
     },
     "localname": "NavyDivisionReachingAnAnnualizedRevenueRunRateOf60000000OrGreaterMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_NetIncomeAsAPercentageOfTurnoverToBeAchieved": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net income as a percentage of turnover to be achieved.",
        "label": "Net Income As A Percentage Of Turnover To Be Achieved",
        "terseLabel": "Net income as a percentage of turnover to be achieved"
       }
      }
     },
     "localname": "NetIncomeAsAPercentageOfTurnoverToBeAchieved",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ctm_NetProfitPercentageEstimatePerAnnum": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net profit percentage estimate per annum.",
        "label": "Net Profit Percentage Estimate Per Annum",
        "terseLabel": "Net profit percentage estimate per annum"
       }
      }
     },
     "localname": "NetProfitPercentageEstimatePerAnnum",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ctm_NotePayableMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Note payable [Member]"
       }
      }
     },
     "localname": "NotePayableMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/NotePayableRelatedPartyAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_NotePayableRelatedPartyAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "NOTE PAYABLE RELATED PARTY [Abstract]"
       }
      }
     },
     "localname": "NotePayableRelatedPartyAbstract",
     "nsuri": "http://www.Castellum.com/20220930",
     "xbrltype": "stringItemType"
    },
    "ctm_NotePayableRelatedPartyDisclosureTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Note payable related party disclosure.",
        "label": "Note Payable Related Party Disclosure [Text Block]",
        "terseLabel": "Note Payable - Related Party"
       }
      }
     },
     "localname": "NotePayableRelatedPartyDisclosureTextBlock",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/NotePayableRelatedParty"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ctm_NotesPayableAndConvertibleNotesPayableMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Notes payable and convertible notes payable.",
        "label": "Notes Payable And Convertible Notes Payable [Member]",
        "terseLabel": "Notes Payable And Convertible Notes Payable [Member]"
       }
      }
     },
     "localname": "NotesPayableAndConvertibleNotesPayableMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/NotesPayableScheduleOfRepaymentNetOfDiscountsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_NotesPayableDisclosureTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Notes payable disclosure.",
        "label": "Notes Payable Disclosure [Text Block]",
        "terseLabel": "Notes Payable"
       }
      }
     },
     "localname": "NotesPayableDisclosureTextBlock",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/NotesPayable"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ctm_NotesPayableDueTwoThousandAndTwentyFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Notes payable due two thousand and twenty four.",
        "label": "Notes Payable Due Two Thousand And Twenty Four [Member]"
       }
      }
     },
     "localname": "NotesPayableDueTwoThousandAndTwentyFourMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_NumberOfDaysWithinWhichAdvanceNoticeForIntentNotToRenewHasToBeProvided": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of days within which advance notice for intent not to renew has to be provided.",
        "label": "Number Of Days Within Which Advance Notice For Intent Not To Renew Has To Be Provided",
        "terseLabel": "Number of days within which advance notice for intent not to renew has to be provided"
       }
      }
     },
     "localname": "NumberOfDaysWithinWhichAdvanceNoticeForIntentNotToRenewHasToBeProvided",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "ctm_NumberOfWarrantIssuedToEachEmployeeForEachDollarAmountOfRevenueAcquiredInAnyAcquisition": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of warrant issued to each employee for each dollar amount of revenue acquired in any acquisition.",
        "label": "Number Of Warrant Issued To Each Employee For Each Dollar Amount Of Revenue Acquired In Any Acquisition",
        "terseLabel": "Number of warrant issued for each dollar amount of revenue acquired in any acquisition"
       }
      }
     },
     "localname": "NumberOfWarrantIssuedToEachEmployeeForEachDollarAmountOfRevenueAcquiredInAnyAcquisition",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "ctm_NumbersAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Numbers.",
        "label": "Numbers [Abstract]",
        "terseLabel": "Number"
       }
      }
     },
     "localname": "NumbersAbstract",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfOptionsDetail",
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfWarrantsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ctm_ObligationToIssueCommonAndPreferredStock": {
     "auth_ref": [],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 27.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Obligation to issue common and preferred stock.",
        "label": "Obligation To Issue Common And Preferred Stock",
        "terseLabel": "Obligation to issue common and preferred stock"
       }
      }
     },
     "localname": "ObligationToIssueCommonAndPreferredStock",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_OfficerOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Officer one.",
        "label": "Officer One [Member]",
        "terseLabel": "Officer One"
       }
      }
     },
     "localname": "OfficerOneMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_OfficerTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Officer two.",
        "label": "Officer Two [Member]",
        "terseLabel": "Officer Two"
       }
      }
     },
     "localname": "OfficerTwoMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_OtherMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other.",
        "label": "Other [Member]",
        "terseLabel": "Other [Member]"
       }
      }
     },
     "localname": "OtherMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesScheduleOfCompanySRevenueByContractTypeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_OverheadCosts": {
     "auth_ref": [],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": 6.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Overhead costs.",
        "label": "Overhead Costs",
        "terseLabel": "Overhead"
       }
      }
     },
     "localname": "OverheadCosts",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_PaxRiverMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pax river.",
        "label": "Pax River [Member]",
        "terseLabel": "Pax River [Member]"
       }
      }
     },
     "localname": "PaxRiverMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAcquiredDetail",
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAcquiredParentheticalDetail",
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_PaymentOfAmountDueToSellerTowardsPurchaseConsideration": {
     "auth_ref": [],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 26.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Payment of amount due to seller towards purchase consideration.",
        "label": "Payment Of Amount Due To Seller Towards Purchase Consideration",
        "negatedLabel": "Repayment of amounts due to seller"
       }
      }
     },
     "localname": "PaymentOfAmountDueToSellerTowardsPurchaseConsideration",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_PaymentOfDividendOnPreferredStock": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Payment of dividend on preferred stock.",
        "label": "Payment Of Dividend On Preferred Stock",
        "terseLabel": "Payment of dividend on preferred stock"
       }
      }
     },
     "localname": "PaymentOfDividendOnPreferredStock",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_PaymentSettledToTheAcquireeOfAssets": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Payment settled to the acquiree of assets.",
        "label": "Payment Settled To The Acquiree Of Assets",
        "terseLabel": "Payment settled to the acquiree of assets"
       }
      }
     },
     "localname": "PaymentSettledToTheAcquireeOfAssets",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAcquiredParentheticalDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_PerMonthIncreaseInAnnualBaseSalary": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per month increase in annual base salary.",
        "label": "Per Month Increase In Annual Base Salary",
        "terseLabel": "Per month increase in annual base salary committed"
       }
      }
     },
     "localname": "PerMonthIncreaseInAnnualBaseSalary",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_PercentageOfTheTrailingTwelveMonthEbitdaOfEachBusinessAcquiredDuringTheTermOfTheEmploymentAgreementPaidAsCashBonus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of the trailing twelve month\u00a0EBITDA\u00a0of each business acquired during the term of the employment agreement paid as cash bonus.",
        "label": "Percentage Of The Trailing Twelve Month EBITDA of Each Business Acquired During The Term Of The Employment Agreement Paid As Cash Bonus",
        "terseLabel": "Percentage of the trailing twelve month\u00a0EBITDA\u00a0of each business acquired during the term of the employment agreement paid as cash bonus"
       }
      }
     },
     "localname": "PercentageOfTheTrailingTwelveMonthEbitdaOfEachBusinessAcquiredDuringTheTermOfTheEmploymentAgreementPaidAsCashBonus",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "ctm_PercentageOfTheTrailingTwelveMonthsRevenuesOfEachCompanyAcquiredDuringTheTermOfTheAgreementPaidAsCashBonus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of the trailing twelve months revenues of each company acquired during the term of the agreement paid as cash bonus.",
        "label": "Percentage Of The Trailing Twelve Months Revenues Of Each Company Acquired During The Term Of The Agreement Paid As Cash Bonus",
        "terseLabel": "Percentage of the trailing twelve months revenues of each company acquired during the term of the agreement paid as cash bonus"
       }
      }
     },
     "localname": "PercentageOfTheTrailingTwelveMonthsRevenuesOfEachCompanyAcquiredDuringTheTermOfTheAgreementPaidAsCashBonus",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "ctm_PercentageOfTotalAccountReceivable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of Total Account receivable.",
        "label": "Percentage of Total Account receivable",
        "terseLabel": "Percentage of total account receivable"
       }
      }
     },
     "localname": "PercentageOfTotalAccountReceivable",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/ConcentrationsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "ctm_PerformanceBasedOptionsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Performance based options.",
        "label": "Performance Based Options [Member]",
        "terseLabel": "Performance Based Options [Member]",
        "verboseLabel": "Performance Based Options"
       }
      }
     },
     "localname": "PerformanceBasedOptionsMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_PerformanceShareMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Share [Member]",
        "terseLabel": "Performance Shares"
       }
      }
     },
     "localname": "PerformanceShareMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_PeriodWithinWhichAnEmployeeRequisitionShallBeFilled": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period within which an employee requisition shall be filled.",
        "label": "Period Within Which An Employee Requisition Shall Be Filled",
        "terseLabel": "Period within which an employee requisition shall be filled"
       }
      }
     },
     "localname": "PeriodWithinWhichAnEmployeeRequisitionShallBeFilled",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "ctm_PreferredStockAlongWithCommonStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Preferred stock along with common stock.",
        "label": "Preferred Stock Along With Common Stock [Member]",
        "terseLabel": "Preferred Stock Along With Common Stock"
       }
      }
     },
     "localname": "PreferredStockAlongWithCommonStockMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_PreferredStockDividends": {
     "auth_ref": [],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": 12.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Preferred stock dividends.",
        "label": "Preferred Stock Dividends",
        "terseLabel": "Less: Preferred Stock Dividends"
       }
      }
     },
     "localname": "PreferredStockDividends",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_ProceedsFromIssuanceOfPreferredAndCommonStock": {
     "auth_ref": [],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 20.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds from issuance of preferred and common stock.",
        "label": "Proceeds From Issuance Of Preferred And Common Stock",
        "terseLabel": "Proceeds from issuance of preferred and common stock"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfPreferredAndCommonStock",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_PromissoryNoteMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Promissory note.",
        "label": "Promissory Note [Member]",
        "terseLabel": "Promissory Note",
        "verboseLabel": "Promissory Note [Member]"
       }
      }
     },
     "localname": "PromissoryNoteMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableDetail",
      "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_RemainingAmountOwedToTheAcquireOfAssets": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Remaining amount owed to the acquire of assets.",
        "label": "Remaining Amount Owed To The Acquire Of Assets",
        "terseLabel": "Remaining amount owed to the acquire of assets"
       }
      }
     },
     "localname": "RemainingAmountOwedToTheAcquireOfAssets",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAcquiredParentheticalDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_SSIAcquisitionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "SSI Acquisition [Member]",
        "terseLabel": "SSI [Member]"
       }
      }
     },
     "localname": "SSIAcquisitionMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity",
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_SSIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "SSI.",
        "label": "SSI [Member]",
        "terseLabel": "SSI"
       }
      }
     },
     "localname": "SSIMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsAdditionalInformationDetail",
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail",
      "http://www.Castellum.com/role/AcquisitionsTables",
      "http://www.Castellum.com/role/NotePayableRelatedPartyAdditionalInformationDetails",
      "http://www.Castellum.com/role/NotePayableRelatedPartyScheduleOfNotesPayableToRelatedPartyDetails",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_ScheduleOfNotePayableRepaymentScheduleNetOfDiscountsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of notes payable repayment schedule, net of discounts.",
        "label": "Schedule Of Note Payable Repayment Schedule, Net Of Discounts [Line Items]"
       }
      }
     },
     "localname": "ScheduleOfNotePayableRepaymentScheduleNetOfDiscountsLineItems",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/NotesPayableScheduleOfRepaymentNetOfDiscountsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ctm_ScheduleOfNotePayableRepaymentScheduleNetOfDiscountsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of note payable repayment schedule, net of discounts.",
        "label": "Schedule Of Note Payable Repayment Schedule, Net Of Discounts [Table]"
       }
      }
     },
     "localname": "ScheduleOfNotePayableRepaymentScheduleNetOfDiscountsTable",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/NotesPayableScheduleOfRepaymentNetOfDiscountsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ctm_ScheduleOfNotesPayableDisclosureTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of Notes payable disclosure.",
        "label": "Schedule Of Notes Payable Disclosure [Table Text Block]",
        "terseLabel": "Schedule of notes payable"
       }
      }
     },
     "localname": "ScheduleOfNotesPayableDisclosureTableTextBlock",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/NotesPayableTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ctm_ScheduleOfNotesPayableLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of notes payable.",
        "label": "Schedule Of Notes Payable [Line Items]"
       }
      }
     },
     "localname": "ScheduleOfNotesPayableLineItems",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/NotesPayableAdditionalInformationDetail",
      "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ctm_ScheduleOfNotesPayableRepaymentScheduleNetOfDiscountsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of note payable repayment schedule, net of discounts.",
        "label": "Schedule Of Notes Payable Repayment Schedule, Net Of Discounts [Table Text Block]",
        "terseLabel": "Schedule of repayment, net of discounts"
       }
      }
     },
     "localname": "ScheduleOfNotesPayableRepaymentScheduleNetOfDiscountsTableTextBlock",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/NotesPayableTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ctm_ScheduleOfNotesPayableTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of notes payable.",
        "label": "Schedule Of Notes Payable [Table]"
       }
      }
     },
     "localname": "ScheduleOfNotesPayableTable",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/NotesPayableAdditionalInformationDetail",
      "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ctm_ScheduleOfNotesPayableToRelatedPartyLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of notes payable to related party [Line Items]"
       }
      }
     },
     "localname": "ScheduleOfNotesPayableToRelatedPartyLineItems",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/NotePayableRelatedPartyAdditionalInformationDetails",
      "http://www.Castellum.com/role/NotePayableRelatedPartyScheduleOfNotesPayableToRelatedPartyDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ctm_ScheduleOfNotesPayableToRelatedPartyTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of notes payable to related party [Table]"
       }
      }
     },
     "localname": "ScheduleOfNotesPayableToRelatedPartyTable",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/NotePayableRelatedPartyAdditionalInformationDetails",
      "http://www.Castellum.com/role/NotePayableRelatedPartyScheduleOfNotesPayableToRelatedPartyDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ctm_ScheduleOfNotesPayableToRelatedPartyTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of notes payable to related party.",
        "label": "Schedule of notes payable to related party [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfNotesPayableToRelatedPartyTableTextBlock",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/NotePayableRelatedPartyTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ctm_SecondTrancheMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Second Tranche [Member]",
        "terseLabel": "Second Tranche [Member]"
       }
      }
     },
     "localname": "SecondTrancheMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/DueToSellerAdditionalInformationDetail",
      "http://www.Castellum.com/role/SubsequentEventsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_SeriesCPreferredStockSubscriptionAgreementsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Series c preferred stock subscription agreements.",
        "label": "Series C Preferred Stock Subscription Agreements [Member]",
        "terseLabel": "Series C Preferred Stock Subscription Agreements"
       }
      }
     },
     "localname": "SeriesCPreferredStockSubscriptionAgreementsMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_SeriesCPreferredSubscriptionAgreementsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Series C preferred subscription agreements.",
        "label": "Series C Preferred Subscription Agreements [Member]",
        "terseLabel": "Series C Preferred Subscription Agreements [Member]"
       }
      }
     },
     "localname": "SeriesCPreferredSubscriptionAgreementsMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_ServiceBasedAndPerformanceBasedOptionsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Service based and performance based options.",
        "label": "Service Based And Performance Based Options [Member]",
        "terseLabel": "Service Based And Performance Based Options"
       }
      }
     },
     "localname": "ServiceBasedAndPerformanceBasedOptionsMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_ServiceBasedGrantsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Service-based grants.",
        "label": "Service Based Grants [Member]",
        "terseLabel": "Service Based Grants"
       }
      }
     },
     "localname": "ServiceBasedGrantsMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_ServiceBasedOptionsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Service based options.",
        "label": "Service Based Options [Member]",
        "terseLabel": "Service Based Options"
       }
      }
     },
     "localname": "ServiceBasedOptionsMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_ShareBasedCompensationArrangementNumberOfOptionsGrantUponAchievingTheRevenueAndEbitdaAmounts": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based compensation arrangement,number of options grant upon achieving the revenue and ebitda amounts.",
        "label": "Share Based Compensation Arrangement, Number of Options Grant Upon Achieving The Revenue And EBITDA Amounts",
        "terseLabel": "Number of options grant upon achieving the revenue and ebitda amounts"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementNumberOfOptionsGrantUponAchievingTheRevenueAndEbitdaAmounts",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "ctm_ShareBasedCompensationArrangementNumberOfOptionsReceivedByPersonnelAsPerAgreement": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based compensation arrangement, number of options received by personnel as per agreement.",
        "label": "Share Based Compensation Arrangement, Number Of Options Received By Personnel As Per Agreement",
        "terseLabel": "Number of options received by personnel as per agreement"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementNumberOfOptionsReceivedByPersonnelAsPerAgreement",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "ctm_ShareBasedCompensationArrangementnumberOfOptionsGrantUponClosingOfAcquisition": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based compensation arrangement, number of options grant upon closing of acquisition",
        "label": "Share Based Compensation Arrangement,Number of Options Grant Upon Closing Of Acquisition",
        "terseLabel": "Number of options grants upon closing of acquisition"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementnumberOfOptionsGrantUponClosingOfAcquisition",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "ctm_ShareBasedCompensationArrangementnumberOfOptionsGrantUponOverallAchievementOfRevenueRunRateBasedOnQuarterlyPerformance": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based compensation arrangement,number of options grant upon overall achievement of revenue run rate based on quarterly performance.",
        "label": "Share Based Compensation Arrangement,Number of Options Grant Upon Overall Achievement Of Revenue Run Rate Based ON Quarterly Performance",
        "terseLabel": "Number of options grant upon overall achievement of revenue run rate based on quarterly performance"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementnumberOfOptionsGrantUponOverallAchievementOfRevenueRunRateBasedOnQuarterlyPerformance",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "ctm_ShareBasedCompensationByShareBasedAwardExerciseInPeriodAggregateFairValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based compensation by share based award exercise in period aggregate fair value.",
        "label": "Share Based Compensation By Share Based Award Exercise In Period Aggregate Fair Value",
        "terseLabel": "Share based compensation by share based award exercise in period aggregate fair value"
       }
      }
     },
     "localname": "ShareBasedCompensationByShareBasedAwardExerciseInPeriodAggregateFairValue",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_SharesIssuedForCashIncludingFairValueAdjustment": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Shares issued for cash, including fair value adjustment.",
        "label": "Shares Issued For Cash Including Fair Value Adjustment",
        "terseLabel": "Shares issued for cash, including fair value adjustment"
       }
      }
     },
     "localname": "SharesIssuedForCashIncludingFairValueAdjustment",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_SharesIssuedForCashIncludingFairValueAdjustmentShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Shares issued for cash, including fair value adjustment ,shares.",
        "label": "Shares Issued For Cash Including Fair Value Adjustment Shares",
        "terseLabel": "Shares issued for cash, including fair value adjustment , Shares"
       }
      }
     },
     "localname": "SharesIssuedForCashIncludingFairValueAdjustmentShares",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity"
     ],
     "xbrltype": "sharesItemType"
    },
    "ctm_SharesIssuedForCommitmentFees": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Shares issued for commitment fees.",
        "label": "Shares Issued For Commitment Fees",
        "terseLabel": "Shares issued for commitment fees"
       }
      }
     },
     "localname": "SharesIssuedForCommitmentFees",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_SharesIssuedForCommitmentFeesShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Shares issued for commitment fees, shares.",
        "label": "Shares Issued For Commitment Fees Shares",
        "terseLabel": "Shares issued for commitment fees, Shares"
       }
      }
     },
     "localname": "SharesIssuedForCommitmentFeesShares",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity"
     ],
     "xbrltype": "sharesItemType"
    },
    "ctm_SharesIssuedToSatisfyObligationToIssueCommonStock": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Shares issued to satisfy obligation to issue common stock.",
        "label": "Shares Issued To Satisfy Obligation To Issue Common Stock",
        "terseLabel": "Shares issued to satisfy obligation to issue common stock"
       }
      }
     },
     "localname": "SharesIssuedToSatisfyObligationToIssueCommonStock",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_SharesIssuedToSatisfyObligationToIssueCommonStockShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Shares issued to satisfy obligation to issue common stock, shares.",
        "label": "Shares Issued To Satisfy Obligation To Issue Common Stock Shares",
        "terseLabel": "Shares issued to satisfy obligation to issue common stock, Shares"
       }
      }
     },
     "localname": "SharesIssuedToSatisfyObligationToIssueCommonStockShares",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity"
     ],
     "xbrltype": "sharesItemType"
    },
    "ctm_StockCancelledDuringPeriodShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock cancelled during period, shares.",
        "label": "Stock Cancelled During Period, Shares",
        "terseLabel": "Stock cancelled during period, shares"
       }
      }
     },
     "localname": "StockCancelledDuringPeriodShares",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "ctm_StockCancelledDuringPeriodValue": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock cancelled during period, value.",
        "label": "Stock Cancelled During Period, Value",
        "terseLabel": "Stock cancelled during period, value"
       }
      }
     },
     "localname": "StockCancelledDuringPeriodValue",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ctm_StockIncentivePlanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock incentive plan.",
        "label": "Stock Incentive Plan [Member]",
        "terseLabel": "Stock Incentive Plan"
       }
      }
     },
     "localname": "StockIncentivePlanMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_StockIssuedDuringPeriodIssuanceDateDescription": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock issued during period, issuance date, description.",
        "label": "Stock Issued During Period, Issuance Date, Description",
        "terseLabel": "Stock issued during period, issuance date, description"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodIssuanceDateDescription",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ctm_StockSoldByIndividualTypeAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Sold By Individual Type [Axis]",
        "terseLabel": "Stock Sold by Individual Type [Axis]"
       }
      }
     },
     "localname": "StockSoldByIndividualTypeAxis",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/SubsequentEventsAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ctm_StockSoldByIndividualTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Sold By Individual Type [Domain]",
        "terseLabel": "Stock Sold by Individual Type [Domain]"
       }
      }
     },
     "localname": "StockSoldByIndividualTypeDomain",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/SubsequentEventsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_StockholdersEquityNoteStockSplitConversionRatio": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stockholders equity note stock split conversion ratio.",
        "label": "Stockholders Equity Note Stock Split Conversion Ratio",
        "terseLabel": "Stock split ratio"
       }
      }
     },
     "localname": "StockholdersEquityNoteStockSplitConversionRatio",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/NatureOfOperationsAdditionalInformationDetail",
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ctm_StockholdersMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholders [Member]"
       }
      }
     },
     "localname": "StockholdersMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/SubsequentEventsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_StrikePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Strike price.",
        "label": "Strike Price",
        "terseLabel": "Strike price"
       }
      }
     },
     "localname": "StrikePrice",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "ctm_SubtrancheAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Subtranche.",
        "label": "Subtranche [Axis]"
       }
      }
     },
     "localname": "SubtrancheAxis",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ctm_SubtrancheDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Subtranche.",
        "label": "Subtranche [Domain]"
       }
      }
     },
     "localname": "SubtrancheDomain",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_SubtrancheFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subtranche Four [Member]",
        "terseLabel": "Subtranche Four"
       }
      }
     },
     "localname": "SubtrancheFourMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_SubtrancheOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Subtranche one.",
        "label": "Subtranche One [Member]",
        "terseLabel": "Subtranche One"
       }
      }
     },
     "localname": "SubtrancheOneMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_SubtrancheThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subtranche Three [Member]",
        "terseLabel": "Subtranche Three"
       }
      }
     },
     "localname": "SubtrancheThreeMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_SubtrancheTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Subtranche two.",
        "label": "Subtranche Two [Member]",
        "terseLabel": "Subtranche Two"
       }
      }
     },
     "localname": "SubtrancheTwoMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_TermNotePayableMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Term note payable.",
        "label": "Term Note Payable [Member]",
        "terseLabel": "Term Note Payable [Member]"
       }
      }
     },
     "localname": "TermNotePayableMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_TheAlbersGroupLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "The Albers Group, LLC [Member]"
       }
      }
     },
     "localname": "TheAlbersGroupLlcMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/DueToSellerAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_TheChangeInControlTransactionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The change in control transaction.",
        "label": "The Change in Control Transaction [Member]"
       }
      }
     },
     "localname": "TheChangeInControlTransactionMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_TheCompanyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Company.",
        "label": "The Company [Member]"
       }
      }
     },
     "localname": "TheCompanyMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_ThreeCustomersMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Three customers.",
        "label": "Three Customers [Member]"
       }
      }
     },
     "localname": "ThreeCustomersMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/ConcentrationsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_ThreeIndividualEmployeesOfSsiMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Three individual employees of SSI.",
        "label": "Three Individual Employees Of SSI [Member]",
        "terseLabel": "Three Individual Employees Of SSI"
       }
      }
     },
     "localname": "ThreeIndividualEmployeesOfSsiMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_TimeAndMaterialMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Time and material.",
        "label": "Time And Material [Member]"
       }
      }
     },
     "localname": "TimeAndMaterialMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesScheduleOfCompanySRevenueByContractTypeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_TimeBasedOptionsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Time based options.",
        "label": "Time Based Options [Member]",
        "terseLabel": "Time Based Options [Member]"
       }
      }
     },
     "localname": "TimeBasedOptionsMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_TitleOfIndividualOneAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Title of individual one.",
        "label": "Title Of Individual One [Axis]"
       }
      }
     },
     "localname": "TitleOfIndividualOneAxis",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ctm_TitleOfIndividualOneDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Title of individual one.",
        "label": "Title Of Individual One [Domain]"
       }
      }
     },
     "localname": "TitleOfIndividualOneDomain",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_TrancheAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tranche [Axis]"
       }
      }
     },
     "localname": "TrancheAxis",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsAdditionalInformationDetail",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail",
      "http://www.Castellum.com/role/SubsequentEventsAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ctm_TrancheDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tranche [Domain]"
       }
      }
     },
     "localname": "TrancheDomain",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsAdditionalInformationDetail",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail",
      "http://www.Castellum.com/role/SubsequentEventsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_TrancheFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tranche Four [Member]",
        "terseLabel": "Tranche Four"
       }
      }
     },
     "localname": "TrancheFourMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_TrancheOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tranche One [Member]",
        "terseLabel": "Tranche One"
       }
      }
     },
     "localname": "TrancheOneMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsAdditionalInformationDetail",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_TrancheThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tranche three.",
        "label": "Tranche Three [Member]",
        "terseLabel": "Tranche Three"
       }
      }
     },
     "localname": "TrancheThreeMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_TrancheTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tranche Two [Member]",
        "terseLabel": "Tranche Two"
       }
      }
     },
     "localname": "TrancheTwoMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsAdditionalInformationDetail",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_TwoCustomersMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Two customers.",
        "label": "Two Customers [Member]"
       }
      }
     },
     "localname": "TwoCustomersMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/ConcentrationsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_TwoExecutivesOfSsiAsWellAsThreeManagementPersonnelMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Two executives of ssi as well as three management personnel.",
        "label": "Two Executives Of SSI As Well As Three Management Personnel [Member]",
        "terseLabel": "Two Executives Of SSI As Well As Three Management Personnel [Member]"
       }
      }
     },
     "localname": "TwoExecutivesOfSsiAsWellAsThreeManagementPersonnelMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_UponAchievingAnAnnualizedRevenueRunRateOf50000000OrGreaterMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Upon achieving an annualized revenue run rate of $50,000,000 Or greater.",
        "label": "Upon Achieving An Annualized Revenue Run Rate Of 50,000,000 Or Greater [Member]"
       }
      }
     },
     "localname": "UponAchievingAnAnnualizedRevenueRunRateOf50000000OrGreaterMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_UponAchievingAnAnnualizedRevenueRunRateOf75000000OrGreaterMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Upon achieving an annualized revenue run rate of $75,000,000 or greater.",
        "label": "Upon Achieving An Annualized Revenue Run Rate Of 75,000,000 Or Greater [Member]"
       }
      }
     },
     "localname": "UponAchievingAnAnnualizedRevenueRunRateOf75000000OrGreaterMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_UponReachingAnAnnualizedRevenueOf50000000OrGreaterMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Upon reaching an annualized revenue of $50,000,000 or greater",
        "label": "Upon Reaching An Annualized Revenue Of 50,000,000 Or Greater [Member]",
        "terseLabel": "Upon Reaching An Annualized Revenue Of $50,000,000 Or Greater [Member]"
       }
      }
     },
     "localname": "UponReachingAnAnnualizedRevenueOf50000000OrGreaterMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_UponReachingAnAnnualizedRevenueRunRateOf150000000OrGreaterAndEbitdaMarginOfNoLessThan7Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Upon reaching an annualized revenue run rate of $150,000,000 or greater and EBITDA margin of no less than 7%.",
        "label": "Upon Reaching an Annualized Revenue Run Rate of 150,000,000 or greater and EBITDA Margin of No Less Than 7 [Member]"
       }
      }
     },
     "localname": "UponReachingAnAnnualizedRevenueRunRateOf150000000OrGreaterAndEbitdaMarginOfNoLessThan7Member",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_UponReachingAnAnnualizedRevenueRunRateOf25000000OrGreaterMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Upon reaching an annualized revenue run rate of $25,000,000 or greater.",
        "label": "Upon Reaching An Annualized Revenue Run Rate Of 25,000,000 Or Greater [Member]"
       }
      }
     },
     "localname": "UponReachingAnAnnualizedRevenueRunRateOf25000000OrGreaterMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_UponReachingAnAnnualizedRevenueRunRateOf300000000OrGreaterAndAdjustedEbitdaMarginOfNoLessThan8Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Upon reaching an annualized revenue run rate of $300,000,000 or greater and adjusted EBITDA margin of no less than 8%.",
        "label": "Upon Reaching an Annualized Revenue Run Rate of 300,000,000 or Greater and Adjusted EBITDA Margin of No Less Than 8 [Member]"
       }
      }
     },
     "localname": "UponReachingAnAnnualizedRevenueRunRateOf300000000OrGreaterAndAdjustedEbitdaMarginOfNoLessThan8Member",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_UponTheCompanyJoiningTheRussell3000AndorRussell2000StockIndexIcesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Upon the company joining the russell 3000 and/or Russell 2000 stock index(ices).",
        "label": "Upon the Company Joining the Russell 3000 Andor Russell 2000 stock index(ices) [Member]"
       }
      }
     },
     "localname": "UponTheCompanyJoiningTheRussell3000AndorRussell2000StockIndexIcesMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_VestOverTwelveMonthsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vest over twelve months.",
        "label": "Vest Over Twelve Months [Member]",
        "terseLabel": "Vest Over Twelve Months"
       }
      }
     },
     "localname": "VestOverTwelveMonthsMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_WarrantIssued": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Warrant issued.",
        "label": "Warrant Issued",
        "terseLabel": "Warrant issued"
       }
      }
     },
     "localname": "WarrantIssued",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableParentheticalDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "ctm_WarrantsAndRightsOutstandingMeasurementInputCreditRating": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Warrants and rights outstanding measurement input credit rating.",
        "label": "Warrants And Rights Outstanding Measurement Input Credit Rating",
        "terseLabel": "Warrants and Rights Outstanding, Measurement Input"
       }
      }
     },
     "localname": "WarrantsAndRightsOutstandingMeasurementInputCreditRating",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/FairValueSummaryOfFairValueMeasurementsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ctm_WarrantsIssued": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Warrants issued.",
        "label": "Warrants Issued",
        "terseLabel": "Warrants issued"
       }
      }
     },
     "localname": "WarrantsIssued",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "ctm_WarrantsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Warrants.",
        "label": "Warrants [Member]"
       }
      }
     },
     "localname": "WarrantsMember",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/FairValueSummaryOfDerivativeLiabilitiesDetail",
      "http://www.Castellum.com/role/FairValueSummaryOfDerivativeLiabilitiesParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ctm_WeightedAverageExercisePriceAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average exercise price.",
        "label": "Weighted Average Exercise Price [Abstract]",
        "terseLabel": "Weighted Average Exercise Price"
       }
      }
     },
     "localname": "WeightedAverageExercisePriceAbstract",
     "nsuri": "http://www.Castellum.com/20220930",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfOptionsDetail",
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfWarrantsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_AmendmentFlag": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission.",
        "label": "Amendment Flag"
       }
      }
     },
     "localname": "AmendmentFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.Castellum.com/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_CityAreaCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Area code of city",
        "label": "City Area Code"
       }
      }
     },
     "localname": "CityAreaCode",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.Castellum.com/role/CoverPage"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_CoverAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cover page.",
        "label": "Cover [Abstract]"
       }
      }
     },
     "localname": "CoverAbstract",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "xbrltype": "stringItemType"
    },
    "dei_CurrentFiscalYearEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "End date of current fiscal year in the format --MM-DD.",
        "label": "Current Fiscal Year End Date"
       }
      }
     },
     "localname": "CurrentFiscalYearEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.Castellum.com/role/CoverPage"
     ],
     "xbrltype": "gMonthDayItemType"
    },
    "dei_DocumentFiscalPeriodFocus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fiscal period values are FY, Q1, Q2, and Q3.  1st, 2nd and 3rd quarter 10-Q or 10-QT statements have value Q1, Q2, and Q3 respectively, with 10-K, 10-KT or other fiscal year statements having FY.",
        "label": "Document Fiscal Period Focus"
       }
      }
     },
     "localname": "DocumentFiscalPeriodFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.Castellum.com/role/CoverPage"
     ],
     "xbrltype": "fiscalPeriodItemType"
    },
    "dei_DocumentFiscalYearFocus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This is focus fiscal year of the document report in YYYY format. For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus. Example: 2006.",
        "label": "Document Fiscal Year Focus"
       }
      }
     },
     "localname": "DocumentFiscalYearFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.Castellum.com/role/CoverPage"
     ],
     "xbrltype": "gYearItemType"
    },
    "dei_DocumentInformationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Document Information [Line Items]"
       }
      }
     },
     "localname": "DocumentInformationLineItems",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.Castellum.com/role/CoverPage"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_DocumentInformationTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Container to support the formal attachment of each official or unofficial, public or private document as part of a submission package.",
        "label": "Document Information [Table]"
       }
      }
     },
     "localname": "DocumentInformationTable",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.Castellum.com/role/CoverPage"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_DocumentPeriodEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For the EDGAR submission types of Form 8-K: the date of the report, the date of the earliest event reported; for the EDGAR submission types of Form N-1A: the filing date; for all other submission types: the end of the reporting or transition period.  The format of the date is YYYY-MM-DD.",
        "label": "Document Period End Date"
       }
      }
     },
     "localname": "DocumentPeriodEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.Castellum.com/role/CoverPage"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_DocumentQuarterlyReport": {
     "auth_ref": [
      "r632"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as an quarterly report.",
        "label": "Document Quarterly Report"
       }
      }
     },
     "localname": "DocumentQuarterlyReport",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.Castellum.com/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentTransitionReport": {
     "auth_ref": [
      "r633"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as a transition report.",
        "label": "Document Transition Report"
       }
      }
     },
     "localname": "DocumentTransitionReport",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.Castellum.com/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentType": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'.",
        "label": "Document Type"
       }
      }
     },
     "localname": "DocumentType",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.Castellum.com/role/CoverPage"
     ],
     "xbrltype": "submissionTypeItemType"
    },
    "dei_EntityAddressAddressLine1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 1 such as Attn, Building Name, Street Name",
        "label": "Entity Address, Address Line One"
       }
      }
     },
     "localname": "EntityAddressAddressLine1",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.Castellum.com/role/CoverPage"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressAddressLine2": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 2 such as Street or Suite number",
        "label": "Entity Address, Address Line Two"
       }
      }
     },
     "localname": "EntityAddressAddressLine2",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.Castellum.com/role/CoverPage"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressCityOrTown": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the City or Town",
        "label": "Entity Address, City or Town"
       }
      }
     },
     "localname": "EntityAddressCityOrTown",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.Castellum.com/role/CoverPage"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressPostalZipCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Code for the postal or zip code",
        "label": "Entity Address, Postal Zip Code"
       }
      }
     },
     "localname": "EntityAddressPostalZipCode",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.Castellum.com/role/CoverPage"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressStateOrProvince": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the state or province.",
        "label": "Entity Address, State or Province"
       }
      }
     },
     "localname": "EntityAddressStateOrProvince",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.Castellum.com/role/CoverPage"
     ],
     "xbrltype": "stateOrProvinceItemType"
    },
    "dei_EntityCentralIndexKey": {
     "auth_ref": [
      "r630"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK.",
        "label": "Entity Central Index Key"
       }
      }
     },
     "localname": "EntityCentralIndexKey",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.Castellum.com/role/CoverPage"
     ],
     "xbrltype": "centralIndexKeyItemType"
    },
    "dei_EntityCommonStockSharesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate number of shares or other units outstanding of each of registrant's classes of capital or common stock or other ownership interests, if and as stated on cover of related periodic report. Where multiple classes or units exist define each class/interest by adding class of stock items such as Common Class A [Member], Common Class B [Member] or Partnership Interest [Member] onto the Instrument [Domain] of the Entity Listings, Instrument.",
        "label": "Entity Common Stock, Shares Outstanding"
       }
      }
     },
     "localname": "EntityCommonStockSharesOutstanding",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.Castellum.com/role/CoverPage"
     ],
     "xbrltype": "sharesItemType"
    },
    "dei_EntityCurrentReportingStatus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' whether registrants (1) have filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that registrants were required to file such reports), and (2) have been subject to such filing requirements for the past 90 days. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Current Reporting Status"
       }
      }
     },
     "localname": "EntityCurrentReportingStatus",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.Castellum.com/role/CoverPage"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "All the names of the entities being reported upon in a document. Any legal structure used to conduct activities or to hold assets. Some examples of such structures are corporations, partnerships, limited liability companies, grantor trusts, and other trusts. This item does not include business and geographical segments which are included in the geographical or business segments domains.",
        "label": "Entity [Domain]"
       }
      }
     },
     "localname": "EntityDomain",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_EntityEmergingGrowthCompany": {
     "auth_ref": [
      "r630"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate if registrant meets the emerging growth company criteria.",
        "label": "Entity Emerging Growth Company"
       }
      }
     },
     "localname": "EntityEmergingGrowthCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.Castellum.com/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityExTransitionPeriod": {
     "auth_ref": [
      "r642"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate if an emerging growth company has elected not to use the extended transition period for complying with any new or revised financial accounting standards.",
        "label": "Entity Ex Transition Period"
       }
      }
     },
     "localname": "EntityExTransitionPeriod",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.Castellum.com/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityFileNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commission file number. The field allows up to 17 characters. The prefix may contain 1-3 digits, the sequence number may contain 1-8 digits, the optional suffix may contain 1-4 characters, and the fields are separated with a hyphen.",
        "label": "Entity File Number"
       }
      }
     },
     "localname": "EntityFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.Castellum.com/role/CoverPage"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_EntityFilerCategory": {
     "auth_ref": [
      "r630"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate whether the registrant is one of the following: Large Accelerated Filer, Accelerated Filer, Non-accelerated Filer. Definitions of these categories are stated in Rule 12b-2 of the Exchange Act. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Filer Category"
       }
      }
     },
     "localname": "EntityFilerCategory",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.Castellum.com/role/CoverPage"
     ],
     "xbrltype": "filerCategoryItemType"
    },
    "dei_EntityIncorporationStateCountryCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Two-character EDGAR code representing the state or country of incorporation.",
        "label": "Entity Incorporation, State or Country Code"
       }
      }
     },
     "localname": "EntityIncorporationStateCountryCode",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.Castellum.com/role/CoverPage"
     ],
     "xbrltype": "edgarStateCountryItemType"
    },
    "dei_EntityInteractiveDataCurrent": {
     "auth_ref": [
      "r641"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant has submitted electronically every Interactive Data File required to be submitted pursuant to Rule 405 of Regulation S-T during the preceding 12 months (or for such shorter period that the registrant was required to submit such files).",
        "label": "Entity Interactive Data Current"
       }
      }
     },
     "localname": "EntityInteractiveDataCurrent",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.Castellum.com/role/CoverPage"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityListingsExchangeAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the domain members or categories in the table and the line items or concepts that complete the table.",
        "label": "Entity Listings, Exchange [Axis]"
       }
      }
     },
     "localname": "EntityListingsExchangeAxis",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.Castellum.com/role/NatureOfOperationsAdditionalInformationDetail",
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_EntityRegistrantName": {
     "auth_ref": [
      "r630"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC.",
        "label": "Entity Registrant Name"
       }
      }
     },
     "localname": "EntityRegistrantName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.Castellum.com/role/CoverPage"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityShellCompany": {
     "auth_ref": [
      "r630"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant is a shell company as defined in Rule 12b-2 of the Exchange Act.",
        "label": "Entity Shell Company"
       }
      }
     },
     "localname": "EntityShellCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.Castellum.com/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntitySmallBusiness": {
     "auth_ref": [
      "r630"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates that the company is a Smaller Reporting Company (SRC).",
        "label": "Entity Small Business"
       }
      }
     },
     "localname": "EntitySmallBusiness",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.Castellum.com/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityTaxIdentificationNumber": {
     "auth_ref": [
      "r630"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Tax Identification Number (TIN), also known as an Employer Identification Number (EIN), is a unique 9-digit value assigned by the IRS.",
        "label": "Entity Tax Identification Number"
       }
      }
     },
     "localname": "EntityTaxIdentificationNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.Castellum.com/role/CoverPage"
     ],
     "xbrltype": "employerIdItemType"
    },
    "dei_ExchangeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The set of all exchanges. MIC exchange codes are drawn from ISO 10383.",
        "label": "Exchange [Domain]"
       }
      }
     },
     "localname": "ExchangeDomain",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.Castellum.com/role/NatureOfOperationsAdditionalInformationDetail",
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_LegalEntityAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The set of legal entities associated with a report.",
        "label": "Legal Entity [Axis]"
       }
      }
     },
     "localname": "LegalEntityAxis",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_LocalPhoneNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Local phone number for entity.",
        "label": "Local Phone Number"
       }
      }
     },
     "localname": "LocalPhoneNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.Castellum.com/role/CoverPage"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_Security12bTitle": {
     "auth_ref": [
      "r629"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Title of a 12(b) registered security.",
        "label": "Title of 12(b) Security"
       }
      }
     },
     "localname": "Security12bTitle",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.Castellum.com/role/CoverPage"
     ],
     "xbrltype": "securityTitleItemType"
    },
    "dei_SecurityExchangeName": {
     "auth_ref": [
      "r631"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the Exchange on which a security is registered.",
        "label": "Security Exchange Name"
       }
      }
     },
     "localname": "SecurityExchangeName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.Castellum.com/role/CoverPage"
     ],
     "xbrltype": "edgarExchangeCodeItemType"
    },
    "dei_TradingSymbol": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trading symbol of an instrument as listed on an exchange.",
        "label": "Trading Symbol"
       }
      }
     },
     "localname": "TradingSymbol",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.Castellum.com/role/CoverPage"
     ],
     "xbrltype": "tradingSymbolItemType"
    },
    "exch_CISD": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "NYSE NATIONAL, INC. - DARK [Member]",
        "terseLabel": "CISD [Member]"
       }
      }
     },
     "localname": "CISD",
     "nsuri": "http://xbrl.sec.gov/exch/2022",
     "presentation": [
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ChiefFinancialOfficerMember": {
     "auth_ref": [
      "r170"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Chief Financial Officer [Member]",
        "terseLabel": "Chief Financial Officer"
       }
      }
     },
     "localname": "ChiefFinancialOfficerMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MajorCustomersAxis": {
     "auth_ref": [
      "r169",
      "r325",
      "r327",
      "r607"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Customer [Axis]"
       }
      }
     },
     "localname": "MajorCustomersAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.Castellum.com/role/ConcentrationsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_MaximumMember": {
     "auth_ref": [
      "r225",
      "r226",
      "r227",
      "r228",
      "r246",
      "r287",
      "r342",
      "r344",
      "r538",
      "r539",
      "r540",
      "r541",
      "r542",
      "r543",
      "r562",
      "r606",
      "r608",
      "r627",
      "r628"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum [Member]"
       }
      }
     },
     "localname": "MaximumMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails",
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillScheduleOfIntangibleAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MinimumMember": {
     "auth_ref": [
      "r225",
      "r226",
      "r227",
      "r228",
      "r246",
      "r287",
      "r342",
      "r344",
      "r538",
      "r539",
      "r540",
      "r541",
      "r542",
      "r543",
      "r562",
      "r606",
      "r608",
      "r627",
      "r628"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Minimum [Member]"
       }
      }
     },
     "localname": "MinimumMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails",
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillScheduleOfIntangibleAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_NameOfMajorCustomerDomain": {
     "auth_ref": [
      "r169",
      "r325",
      "r327",
      "r607"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Customer [Domain]"
       }
      }
     },
     "localname": "NameOfMajorCustomerDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.Castellum.com/role/ConcentrationsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_OfficerMember": {
     "auth_ref": [
      "r170"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Officer [Member]",
        "terseLabel": "Officer"
       }
      }
     },
     "localname": "OfficerMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_OwnershipAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Ownership [Axis]"
       }
      }
     },
     "localname": "OwnershipAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_OwnershipDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Ownership [Domain]"
       }
      }
     },
     "localname": "OwnershipDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RangeAxis": {
     "auth_ref": [
      "r223",
      "r225",
      "r226",
      "r227",
      "r228",
      "r246",
      "r287",
      "r331",
      "r342",
      "r344",
      "r376",
      "r377",
      "r378",
      "r538",
      "r539",
      "r540",
      "r541",
      "r542",
      "r543",
      "r562",
      "r606",
      "r608",
      "r627",
      "r628"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Axis]"
       }
      }
     },
     "localname": "RangeAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails",
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillScheduleOfIntangibleAssetsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RangeMember": {
     "auth_ref": [
      "r223",
      "r225",
      "r226",
      "r227",
      "r228",
      "r246",
      "r287",
      "r331",
      "r342",
      "r344",
      "r376",
      "r377",
      "r378",
      "r538",
      "r539",
      "r540",
      "r541",
      "r542",
      "r543",
      "r562",
      "r606",
      "r608",
      "r627",
      "r628"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Domain]"
       }
      }
     },
     "localname": "RangeMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails",
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillScheduleOfIntangibleAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RestatementAxis": {
     "auth_ref": [
      "r1",
      "r97",
      "r98",
      "r99",
      "r100",
      "r101",
      "r102",
      "r103",
      "r104",
      "r105",
      "r107",
      "r108",
      "r109",
      "r110",
      "r111",
      "r112",
      "r124",
      "r181",
      "r182",
      "r404",
      "r476",
      "r477",
      "r478",
      "r479",
      "r510",
      "r515",
      "r516",
      "r609",
      "r610",
      "r611",
      "r612",
      "r613",
      "r614",
      "r615",
      "r616",
      "r617",
      "r618"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revision of Prior Period [Axis]"
       }
      }
     },
     "localname": "RestatementAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RestatementDomain": {
     "auth_ref": [
      "r1",
      "r97",
      "r98",
      "r99",
      "r100",
      "r101",
      "r102",
      "r103",
      "r104",
      "r105",
      "r107",
      "r108",
      "r109",
      "r110",
      "r111",
      "r112",
      "r124",
      "r181",
      "r182",
      "r404",
      "r476",
      "r477",
      "r478",
      "r479",
      "r510",
      "r515",
      "r516",
      "r609",
      "r610",
      "r611",
      "r612",
      "r613",
      "r614",
      "r615",
      "r616",
      "r617",
      "r618"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revision of Prior Period [Domain]"
       }
      }
     },
     "localname": "RestatementDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScenarioPreviouslyReportedMember": {
     "auth_ref": [
      "r1",
      "r97",
      "r99",
      "r100",
      "r101",
      "r102",
      "r103",
      "r104",
      "r105",
      "r107",
      "r108",
      "r110",
      "r111",
      "r124",
      "r181",
      "r182",
      "r404",
      "r476",
      "r477",
      "r478",
      "r479",
      "r510",
      "r515",
      "r516",
      "r609",
      "r610",
      "r611",
      "r612",
      "r613",
      "r614",
      "r615",
      "r616",
      "r617",
      "r618"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Previously Reported [Member]",
        "terseLabel": "Previously Reported"
       }
      }
     },
     "localname": "ScenarioPreviouslyReportedMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_TitleOfIndividualAxis": {
     "auth_ref": [
      "r170",
      "r522"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Title of Individual [Axis]"
       }
      }
     },
     "localname": "TitleOfIndividualAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_TitleOfIndividualWithRelationshipToEntityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Title of Individual [Domain]"
       }
      }
     },
     "localname": "TitleOfIndividualWithRelationshipToEntityDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountingPoliciesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Policies [Abstract]"
       }
      }
     },
     "localname": "AccountingPoliciesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent": {
     "auth_ref": [
      "r31"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 24.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying values as of the balance sheet date of obligations incurred through that date and due within one year (or the operating cycle, if longer), including liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received, taxes, interest, rent and utilities, accrued salaries and bonuses, payroll taxes and fringe benefits.",
        "label": "Accounts Payable and Accrued Liabilities, Current",
        "terseLabel": "Accounts payable and accrued expenses"
       }
      }
     },
     "localname": "AccountsPayableAndAccruedLiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountsReceivableMember": {
     "auth_ref": [
      "r623"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Due from customers or clients for goods or services that have been delivered or sold.",
        "label": "Accounts Receivable [Member]"
       }
      }
     },
     "localname": "AccountsReceivableMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/ConcentrationsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountsReceivableNetCurrent": {
     "auth_ref": [
      "r171",
      "r172"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business, classified as current.",
        "label": "Accounts Receivable, after Allowance for Credit Loss, Current",
        "terseLabel": "Accounts receivable"
       }
      }
     },
     "localname": "AccountsReceivableNetCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment": {
     "auth_ref": [
      "r10",
      "r220"
     ],
     "calculation": {
      "http://www.Castellum.com/role/FixedAssetsSummaryOfFixedAssetsDetail": {
       "order": 2.0,
       "parentTag": "us-gaap_PropertyPlantAndEquipmentNet",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated depreciation, depletion and amortization for physical assets used in the normal conduct of business to produce goods and services.",
        "label": "Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment",
        "negatedLabel": "Accumulated depreciation"
       }
      }
     },
     "localname": "AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FixedAssetsSummaryOfFixedAssetsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdditionalPaidInCapital": {
     "auth_ref": [
      "r23",
      "r528"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 15.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of excess of issue price over par or stated value of stock and from other transaction involving stock or stockholder. Includes, but is not limited to, additional paid-in capital (APIC) for common and preferred stock.",
        "label": "Additional Paid in Capital",
        "terseLabel": "Additional paid in capital"
       }
      }
     },
     "localname": "AdditionalPaidInCapital",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdditionalPaidInCapitalMember": {
     "auth_ref": [
      "r97",
      "r98",
      "r99",
      "r384",
      "r385",
      "r386",
      "r477"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Excess of issue price over par or stated value of the entity's capital stock and amounts received from other transactions involving the entity's stock or stockholders.",
        "label": "Additional Paid-in Capital [Member]",
        "terseLabel": "Additional Paid-in Capital [Member]"
       }
      }
     },
     "localname": "AdditionalPaidInCapitalMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationRestrictedStockUnitsRequisiteServicePeriodRecognition": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase to additional paid-in capital (APIC) for recognition of cost for restricted stock unit under share-based payment arrangement.",
        "label": "APIC, Share-Based Payment Arrangement, Restricted Stock Unit, Increase for Cost Recognition",
        "terseLabel": "Stock-based compensation - restricted shares"
       }
      }
     },
     "localname": "AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationRestrictedStockUnitsRequisiteServicePeriodRecognition",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationStockOptionsRequisiteServicePeriodRecognition": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase to additional paid-in capital (APIC) for recognition of cost for option under share-based payment arrangement.",
        "label": "APIC, Share-Based Payment Arrangement, Option, Increase for Cost Recognition",
        "terseLabel": "Stock-based compensation - options"
       }
      }
     },
     "localname": "AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationStockOptionsRequisiteServicePeriodRecognition",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationOtherLongtermIncentivePlansRequisiteServicePeriodRecognition": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase to additional paid-in capital (APIC) for recognition of cost for award under share-based payment arrangement, classified as other.",
        "label": "APIC, Share-Based Payment Arrangement, Other, Increase for Cost Recognition",
        "terseLabel": "Stock-based compensation - warrants"
       }
      }
     },
     "localname": "AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationOtherLongtermIncentivePlansRequisiteServicePeriodRecognition",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract]",
        "terseLabel": "Adjustments to reconcile net loss to net cash (used in) provided by operating activities"
       }
      }
     },
     "localname": "AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AllocatedShareBasedCompensationExpense": {
     "auth_ref": [
      "r381"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for award under share-based payment arrangement. Excludes amount capitalized.",
        "label": "Share-Based Payment Arrangement, Expense",
        "terseLabel": "Stock based compensation expense"
       }
      }
     },
     "localname": "AllocatedShareBasedCompensationExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AmortizationOfFinancingCostsAndDiscounts": {
     "auth_ref": [
      "r75",
      "r266",
      "r277",
      "r278",
      "r507"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 15.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization expense attributable to debt discount (premium) and debt issuance costs.",
        "label": "Amortization of Debt Issuance Costs and Discounts",
        "terseLabel": "Amortization of discounts, premium and deferred costs"
       }
      }
     },
     "localname": "AmortizationOfFinancingCostsAndDiscounts",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AmortizationOfIntangibleAssets": {
     "auth_ref": [
      "r75",
      "r207",
      "r214"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate expense charged against earnings to allocate the cost of intangible assets (nonphysical assets not used in production) in a systematic and rational manner to the periods expected to benefit from such assets. As a noncash expense, this element is added back to net income when calculating cash provided by or used in operations using the indirect method.",
        "label": "Amortization of Intangible Assets",
        "terseLabel": "Amortization of intangible assets"
       }
      }
     },
     "localname": "AmortizationOfIntangibleAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetAcquisitionAxis": {
     "auth_ref": [
      "r445"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by asset acquisition.",
        "label": "Asset Acquisition [Axis]"
       }
      }
     },
     "localname": "AssetAcquisitionAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAcquiredDetail",
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAcquiredParentheticalDetail",
      "http://www.Castellum.com/role/DueToSellerAdditionalInformationDetail",
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetAcquisitionConsiderationTransferred": {
     "auth_ref": [
      "r446",
      "r447",
      "r448",
      "r449"
     ],
     "calculation": {
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAcquiredDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of consideration transferred in asset acquisition. Includes, but is not limited to, cash, liability incurred by acquirer, and equity interest issued by acquirer.",
        "label": "Asset Acquisition, Consideration Transferred",
        "totalLabel": "Consideration transferred"
       }
      }
     },
     "localname": "AssetAcquisitionConsiderationTransferred",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAcquiredDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetAcquisitionConsiderationTransferredContingentConsideration": {
     "auth_ref": [
      "r446",
      "r447",
      "r448"
     ],
     "calculation": {
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAcquiredDetail": {
       "order": 3.0,
       "parentTag": "us-gaap_AssetAcquisitionConsiderationTransferred",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of contingent consideration recognized as part of consideration transferred in asset acquisition.",
        "label": "Asset Acquisition, Consideration Transferred, Contingent Consideration",
        "terseLabel": "Contingent consideration represented by obligation to issue shares"
       }
      }
     },
     "localname": "AssetAcquisitionConsiderationTransferredContingentConsideration",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAcquiredDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetAcquisitionConsiderationTransferredEquityInterestIssuedAndIssuable": {
     "auth_ref": [
      "r446",
      "r447",
      "r448"
     ],
     "calculation": {
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAcquiredDetail": {
       "order": 2.0,
       "parentTag": "us-gaap_AssetAcquisitionConsiderationTransferred",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of acquirer's equity interest issued and issuable as part of consideration transferred in asset acquisition.",
        "label": "Asset Acquisition, Consideration Transferred, Equity Interest Issued and Issuable",
        "terseLabel": "Common stock"
       }
      }
     },
     "localname": "AssetAcquisitionConsiderationTransferredEquityInterestIssuedAndIssuable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAcquiredDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetAcquisitionContingentConsiderationLiabilityCurrent": {
     "auth_ref": [
      "r445"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 28.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liability recognized from contingent consideration in asset acquisition, classified as current.",
        "label": "Asset Acquisition, Contingent Consideration, Liability, Current",
        "terseLabel": "Asset Acquisition, Contingent Consideration, Liability, Current",
        "verboseLabel": "Contingent consideration"
       }
      }
     },
     "localname": "AssetAcquisitionContingentConsiderationLiabilityCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets",
      "http://www.Castellum.com/role/DueToSellerAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetAcquisitionDomain": {
     "auth_ref": [
      "r445"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Asset acquisition.",
        "label": "Asset Acquisition [Domain]"
       }
      }
     },
     "localname": "AssetAcquisitionDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAcquiredDetail",
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAcquiredParentheticalDetail",
      "http://www.Castellum.com/role/DueToSellerAdditionalInformationDetail",
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AssetAcquisitionLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Asset Acquisition [Line Items]"
       }
      }
     },
     "localname": "AssetAcquisitionLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAcquiredDetail",
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAcquiredParentheticalDetail",
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredParentheticalDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetAcquisitionTable": {
     "auth_ref": [
      "r445"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about asset acquisition.",
        "label": "Asset Acquisition [Table]"
       }
      }
     },
     "localname": "AssetAcquisitionTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAcquiredDetail",
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAcquiredParentheticalDetail",
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredParentheticalDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetAcquisitionTableTextBlock": {
     "auth_ref": [
      "r445"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of asset acquisition.",
        "label": "Asset Acquisition [Table Text Block]",
        "terseLabel": "Schedule of Assets Acquired"
       }
      }
     },
     "localname": "AssetAcquisitionTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_Assets": {
     "auth_ref": [
      "r14",
      "r89",
      "r150",
      "r159",
      "r165",
      "r179",
      "r230",
      "r231",
      "r232",
      "r234",
      "r235",
      "r236",
      "r237",
      "r238",
      "r239",
      "r241",
      "r242",
      "r452",
      "r456",
      "r495",
      "r526",
      "r528",
      "r580",
      "r594"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are recognized. Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets",
        "totalLabel": "TOTAL ASSETS"
       }
      }
     },
     "localname": "Assets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets [Abstract]"
       }
      }
     },
     "localname": "AssetsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsCurrent": {
     "auth_ref": [
      "r3",
      "r28",
      "r89",
      "r179",
      "r230",
      "r231",
      "r232",
      "r234",
      "r235",
      "r236",
      "r237",
      "r238",
      "r239",
      "r241",
      "r242",
      "r452",
      "r456",
      "r495",
      "r526",
      "r528"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are expected to be realized in cash, sold, or consumed within one year (or the normal operating cycle, if longer). Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets, Current",
        "totalLabel": "Total current assets"
       }
      }
     },
     "localname": "AssetsCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsCurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets, Current [Abstract]",
        "terseLabel": "CURRENT ASSETS:"
       }
      }
     },
     "localname": "AssetsCurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsNoncurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets, Noncurrent [Abstract]",
        "terseLabel": "NON-CURRENT ASSETS:"
       }
      }
     },
     "localname": "AssetsNoncurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsNoncurrentOtherThanNoncurrentInvestmentsAndPropertyPlantAndEquipment": {
     "auth_ref": [],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 6.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets, excluding property, plant, and equipment and other property and investments, that are expected to be realized in cash, sold or consumed after one year or beyond the normal operating cycle, if longer. Alternate captions include Total Deferred Charges and Other Assets.",
        "label": "Assets, Noncurrent, Other than Noncurrent Investments and Property, Plant and Equipment",
        "totalLabel": "Total non-current assets"
       }
      }
     },
     "localname": "AssetsNoncurrentOtherThanNoncurrentInvestmentsAndPropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AwardTypeAxis": {
     "auth_ref": [
      "r347",
      "r348",
      "r349",
      "r352",
      "r353",
      "r354",
      "r355",
      "r356",
      "r357",
      "r358",
      "r359",
      "r361",
      "r362",
      "r363",
      "r364",
      "r365",
      "r366",
      "r368",
      "r369",
      "r371",
      "r372",
      "r375",
      "r376",
      "r377",
      "r378",
      "r379"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of award under share-based payment arrangement.",
        "label": "Award Type [Axis]"
       }
      }
     },
     "localname": "AwardTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails",
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail",
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfOptionsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BasisOfAccountingPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for basis of accounting, or basis of presentation, used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS).",
        "label": "Basis of Accounting, Policy [Policy Text Block]",
        "terseLabel": "Basis of Presentation and Principles of Consolidation"
       }
      }
     },
     "localname": "BasisOfAccountingPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_BusinessAcquisitionAcquireeDomain": {
     "auth_ref": [
      "r341",
      "r343",
      "r427"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identification of the acquiree in a material business combination (or series of individually immaterial business combinations), which may include the name or other type of identification of the acquiree.",
        "label": "Business Acquisition, Acquiree [Domain]"
       }
      }
     },
     "localname": "BusinessAcquisitionAcquireeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsAdditionalInformationDetail",
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail",
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredParentheticalDetail",
      "http://www.Castellum.com/role/AcquisitionsTables",
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity",
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows",
      "http://www.Castellum.com/role/DueToSellerAdditionalInformationDetail",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail",
      "http://www.Castellum.com/role/SubsequentEventsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BusinessAcquisitionAxis": {
     "auth_ref": [
      "r341",
      "r343",
      "r422",
      "r423",
      "r427"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by business combination or series of individually immaterial business combinations.",
        "label": "Business Acquisition [Axis]"
       }
      }
     },
     "localname": "BusinessAcquisitionAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsAdditionalInformationDetail",
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail",
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredParentheticalDetail",
      "http://www.Castellum.com/role/AcquisitionsTables",
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity",
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows",
      "http://www.Castellum.com/role/DueToSellerAdditionalInformationDetail",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail",
      "http://www.Castellum.com/role/SubsequentEventsAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessAcquisitionCostOfAcquiredEntityTransactionCosts": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of direct costs of the business combination including legal, accounting, and other costs incurred to consummate the business acquisition.",
        "label": "Business Acquisition, Transaction Costs",
        "terseLabel": "Business Acquisition, Transaction Costs",
        "verboseLabel": "Business combination transaction costs incurred"
       }
      }
     },
     "localname": "BusinessAcquisitionCostOfAcquiredEntityTransactionCosts",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsAdditionalInformationDetail",
      "http://www.Castellum.com/role/DueToSellerAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessAcquisitionEffectiveDateOfAcquisition1": {
     "auth_ref": [
      "r416",
      "r417",
      "r418"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date when the acquirer obtains control of the acquiree, in YYYY-MM-DD format.",
        "label": "Business Acquisition, Effective Date of Acquisition",
        "terseLabel": "Business acquisition effective date of acquisition"
       }
      }
     },
     "localname": "BusinessAcquisitionEffectiveDateOfAcquisition1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsAdditionalInformationDetail"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued": {
     "auth_ref": [
      "r442"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of equity interests issued or issuable to acquire entity.",
        "label": "Business Acquisition, Equity Interest Issued or Issuable, Number of Shares",
        "terseLabel": "Business combination equity interests issued or issuable number of shares",
        "verboseLabel": "Business acquisition, equity interest issued or issuable, number of shares"
       }
      }
     },
     "localname": "BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsAdditionalInformationDetail",
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredParentheticalDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_BusinessAcquisitionLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Business Acquisition [Line Items]"
       }
      }
     },
     "localname": "BusinessAcquisitionLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsAdditionalInformationDetail",
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail",
      "http://www.Castellum.com/role/AcquisitionsTables",
      "http://www.Castellum.com/role/DueToSellerAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired": {
     "auth_ref": [
      "r419"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of voting equity interests acquired at the acquisition date in the business combination.",
        "label": "Business Acquisition, Percentage of Voting Interests Acquired",
        "terseLabel": "Business acquisition percentage of voting interests acquired"
       }
      }
     },
     "localname": "BusinessAcquisitionPercentageOfVotingInterestsAcquired",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic": {
     "auth_ref": [
      "r420",
      "r421"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The pro forma basic net income per share for a period as if the business combination or combinations had been completed at the beginning of a period.",
        "label": "Business Acquisition, Pro Forma Earnings Per Share, Basic",
        "terseLabel": "Net loss per share - basic"
       }
      }
     },
     "localname": "BusinessAcquisitionProFormaEarningsPerShareBasic",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfBusinessAcquisitionProFormaInformationDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_BusinessAcquisitionProFormaInformationTextBlock": {
     "auth_ref": [
      "r420",
      "r421"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of pro forma results of operations for a material business acquisition or series of individually immaterial business acquisitions that are material in the aggregate.",
        "label": "Business Acquisition, Pro Forma Information [Table Text Block]",
        "terseLabel": "Schedule of Business Acquisition, Pro Forma Information"
       }
      }
     },
     "localname": "BusinessAcquisitionProFormaInformationTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss": {
     "auth_ref": [
      "r420",
      "r421"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The pro forma net Income or Loss for the period as if the business combination or combinations had been completed at the beginning of a period.",
        "label": "Business Acquisition, Pro Forma Net Income (Loss)",
        "terseLabel": "Net loss"
       }
      }
     },
     "localname": "BusinessAcquisitionsProFormaNetIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfBusinessAcquisitionProFormaInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessAcquisitionsProFormaRevenue": {
     "auth_ref": [
      "r420",
      "r421"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The pro forma revenue for a period as if the business combination or combinations had been completed at the beginning of the period.",
        "label": "Business Acquisition, Pro Forma Revenue",
        "terseLabel": "Revenues"
       }
      }
     },
     "localname": "BusinessAcquisitionsProFormaRevenue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfBusinessAcquisitionProFormaInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationAndAssetAcquisitionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Combination and Asset Acquisition [Abstract]"
       }
      }
     },
     "localname": "BusinessCombinationAndAssetAcquisitionAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessCombinationConsiderationTransferred1": {
     "auth_ref": [
      "r434",
      "r435",
      "r438"
     ],
     "calculation": {
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of consideration transferred, consisting of acquisition-date fair value of assets transferred by the acquirer, liabilities incurred by the acquirer, and equity interest issued by the acquirer.",
        "label": "Business Combination, Consideration Transferred",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "BusinessCombinationConsiderationTransferred1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationConsiderationTransferredAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Combination, Consideration Transferred [Abstract]",
        "terseLabel": "The consideration paid for the acquisition"
       }
      }
     },
     "localname": "BusinessCombinationConsiderationTransferredAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable": {
     "auth_ref": [
      "r434",
      "r435"
     ],
     "calculation": {
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_BusinessCombinationConsiderationTransferred1",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of equity interests of the acquirer, including instruments or interests issued or issuable in consideration for the business combination.",
        "label": "Business Combination, Consideration Transferred, Equity Interests Issued and Issuable",
        "terseLabel": "Common stock"
       }
      }
     },
     "localname": "BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationConsiderationTransferredLiabilitiesIncurred": {
     "auth_ref": [
      "r432",
      "r434",
      "r435",
      "r441"
     ],
     "calculation": {
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail": {
       "order": 3.0,
       "parentTag": "us-gaap_BusinessCombinationConsiderationTransferred1",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities incurred by the acquirer as part of consideration transferred in a business combination.",
        "label": "Business Combination, Consideration Transferred, Liabilities Incurred",
        "terseLabel": "Business Combination, Consideration Transferred, Liabilities Incurred",
        "verboseLabel": "Seller note"
       }
      }
     },
     "localname": "BusinessCombinationConsiderationTransferredLiabilitiesIncurred",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail",
      "http://www.Castellum.com/role/DueToSellerAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationConsiderationTransferredOther1": {
     "auth_ref": [
      "r440"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of tangible or intangible assets, including a business or subsidiary of the acquirer transferred by the entity to the former owners of the acquiree. Excludes cash.",
        "label": "Business Combination, Consideration Transferred, Other",
        "terseLabel": "Business Combination, Consideration Transferred, Other"
       }
      }
     },
     "localname": "BusinessCombinationConsiderationTransferredOther1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/DueToSellerAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1": {
     "auth_ref": [
      "r74",
      "r444"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 17.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in the value of a contingent consideration liability, including, but not limited to, differences arising upon settlement.",
        "label": "Business Combination, Contingent Consideration Arrangements, Change in Amount of Contingent Consideration, Liability",
        "terseLabel": "Change in fair value of contingent earnout"
       }
      }
     },
     "localname": "BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationContingentConsiderationLiability": {
     "auth_ref": [
      "r433",
      "r436",
      "r443"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liability recognized arising from contingent consideration in a business combination.",
        "label": "Business Combination, Contingent Consideration, Liability",
        "terseLabel": "Contingent Earnout"
       }
      }
     },
     "localname": "BusinessCombinationContingentConsiderationLiability",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FairValueSummaryOfDerivativeLiabilitiesAndTheContingentEarnOutFallDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationContingentConsiderationLiabilityCurrent": {
     "auth_ref": [
      "r433",
      "r437"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 29.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liability recognized arising from contingent consideration in a business combination, expected to be settled within one year or the normal operating cycle, if longer.",
        "label": "Business Combination, Contingent Consideration, Liability, Current",
        "terseLabel": "Business Combination, Contingent Consideration, Liability, Current",
        "verboseLabel": "Contingent earnout"
       }
      }
     },
     "localname": "BusinessCombinationContingentConsiderationLiabilityCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets",
      "http://www.Castellum.com/role/DueToSellerAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationDisclosureTextBlock": {
     "auth_ref": [
      "r428",
      "r450"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for a business combination (or series of individually immaterial business combinations) completed during the period, including background, timing, and recognized assets and liabilities. The disclosure may include leverage buyout transactions (as applicable).",
        "label": "Business Combination Disclosure [Text Block]",
        "verboseLabel": "Acquisitions"
       }
      }
     },
     "localname": "BusinessCombinationDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/Acquisitions"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_BusinessCombinationLiabilitiesArisingFromContingenciesAmountRecognized": {
     "auth_ref": [
      "r426"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount, measured at acquisition-date fair value, of all liabilities assumed that arise from contingencies and were recognized by the entity.",
        "label": "Business Combination, Liabilities Arising from Contingencies, Amount Recognized",
        "terseLabel": "Business Combination, Liabilities Arising from Contingencies, Amount Recognized"
       }
      }
     },
     "localname": "BusinessCombinationLiabilitiesArisingFromContingenciesAmountRecognized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/DueToSellerAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCapitalLeaseObligation": {
     "auth_ref": [
      "r425"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lease obligation assumed in business combination.",
        "label": "Business Combination, Recognized Identifiable Asset Acquired and Liability Assumed, Lease Obligation",
        "negatedLabel": "Lease liability \u2013 operating lease"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCapitalLeaseObligation",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents": {
     "auth_ref": [
      "r425"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of currency on hand as well as demand deposits with banks or financial institutions, acquired at the acquisition date. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Cash and Equivalents",
        "terseLabel": "Cash"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables": {
     "auth_ref": [
      "r425"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount due from customers or clients for goods or services, including trade receivables, that have been delivered or sold in the normal course of business, and amounts due from others, including related parties expected to be converted to cash, sold or exchanged within one year or the normal operating cycle, if longer, acquired at the acquisition date.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Assets, Receivables",
        "terseLabel": "Accounts receivable"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable": {
     "auth_ref": [
      "r425"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities incurred for goods and services received that are used in an entity's business and related party payables, assumed at the acquisition date.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Liabilities, Accounts Payable",
        "negatedLabel": "Accounts payable and accrued expenses"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities": {
     "auth_ref": [
      "r425"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax liability attributable to taxable temporary differences assumed at the acquisition date.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Deferred Tax Liabilities",
        "negatedLabel": "Deferred tax liability"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles": {
     "auth_ref": [
      "r424",
      "r425"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of identifiable intangible assets recognized as of the acquisition date.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Finite-Lived Intangibles",
        "terseLabel": "Intangibles"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebt": {
     "auth_ref": [
      "r425"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt due after one year or the normal operating cycle, if longer, assumed at the acquisition date.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Noncurrent Liabilities, Long-Term Debt",
        "negatedLabel": "Line of credit"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets": {
     "auth_ref": [
      "r425"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of other assets expected to be realized or consumed after one year or the normal operating cycle, if longer, acquired at the acquisition date.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Other Noncurrent Assets",
        "terseLabel": "Other assets"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet": {
     "auth_ref": [
      "r425"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount recognized for assets, including goodwill, in excess of (less than) the aggregate liabilities assumed.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired, Goodwill, and Liabilities Assumed, Net",
        "terseLabel": "Net assets acquired"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Cash": {
     "auth_ref": [
      "r8",
      "r528",
      "r620",
      "r621"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Excludes cash and cash equivalents within disposal group and discontinued operation.",
        "label": "Cash",
        "terseLabel": "Cash"
       }
      }
     },
     "localname": "Cash",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAcquiredFromAcquisition": {
     "auth_ref": [
      "r61"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 30.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow associated with the acquisition of business during the period (for example, cash that was held by the acquired business).",
        "label": "Cash Acquired from Acquisition",
        "terseLabel": "Cash received in acquisition"
       }
      }
     },
     "localname": "CashAcquiredFromAcquisition",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents": {
     "auth_ref": [
      "r71",
      "r77",
      "r82"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage. Excludes amount for disposal group and discontinued operations. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents",
        "periodEndLabel": "CASH - END OF PERIOD",
        "periodStartLabel": "CASH - BEGINNING OF PERIOD"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect": {
     "auth_ref": [
      "r71",
      "r496"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; excluding effect from exchange rate change. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents, Period Increase (Decrease), Excluding Exchange Rate Effect",
        "totalLabel": "NET (DECREASE) INCREASE IN CASH"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash Flow, Noncash Investing and Financing Activities Disclosure [Abstract]",
        "terseLabel": "SUMMARY OF NON-CASH ACTIVITIES:"
       }
      }
     },
     "localname": "CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ClassOfStockDomain": {
     "auth_ref": [
      "r19",
      "r21",
      "r22",
      "r86",
      "r89",
      "r115",
      "r116",
      "r117",
      "r119",
      "r121",
      "r127",
      "r128",
      "r129",
      "r179",
      "r230",
      "r235",
      "r236",
      "r237",
      "r241",
      "r242",
      "r285",
      "r286",
      "r290",
      "r294",
      "r302",
      "r495",
      "r634"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share of stock differentiated by the voting rights the holder receives. Examples include, but are not limited to, common stock, redeemable preferred stock, nonredeemable preferred stock, and convertible stock.",
        "label": "Class of Stock [Domain]"
       }
      }
     },
     "localname": "ClassOfStockDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails",
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets",
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheetsParenthetical",
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity",
      "http://www.Castellum.com/role/RelatedPartyTransactionsAdditionalInformationDetails",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail",
      "http://www.Castellum.com/role/SubsequentEventsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ClassOfStockLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Class of Stock [Line Items]"
       }
      }
     },
     "localname": "ClassOfStockLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ClassOfWarrantOrRighstDateFromWhichWarrantsOrRightsExercisable": {
     "auth_ref": [
      "r303"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date the warrants or rights are exercisable, in YYYY-MM-DD format.",
        "label": "Class of Warrant or Right, Date from which Warrants or Rights Exercisable",
        "terseLabel": "Class of warrant or right, date from which warrants or rights exercisable"
       }
      }
     },
     "localname": "ClassOfWarrantOrRighstDateFromWhichWarrantsOrRightsExercisable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1": {
     "auth_ref": [
      "r303"
     ],
     "lang": {
      "en-us": {
       "role": {
        "definitionGuidance": "Class of warrants or rights exercise price of warrants or rights",
        "documentation": "Exercise price per share or per unit of warrants or rights outstanding.",
        "label": "Class of Warrant or Right, Exercise Price of Warrants or Rights",
        "terseLabel": "Exercise Price of Warrants or Rights",
        "verboseLabel": "Class of warrant or right, Exercise price of warrants or rights"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails",
      "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableParentheticalDetail",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail",
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights": {
     "auth_ref": [
      "r303"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Class of Warrant or Right, Number of Securities Called by Warrants or Rights",
        "verboseLabel": "Class of warrants or rights number of securities covered by warrants or rights"
       }
      }
     },
     "localname": "ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and Contingencies Disclosure [Abstract]"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_CommitmentsDisclosureTextBlock": {
     "auth_ref": [
      "r224"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for significant arrangements with third parties, which includes operating lease arrangements and arrangements in which the entity has agreed to expend funds to procure goods or services, or has agreed to commit resources to supply goods or services, and operating lease arrangements. Descriptions may include identification of the specific goods and services, period of time covered, minimum quantities and amounts, and cancellation rights.",
        "label": "Commitments Disclosure [Text Block]",
        "terseLabel": "Commitments"
       }
      }
     },
     "localname": "CommitmentsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/Commitments"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CommonStockMember": {
     "auth_ref": [
      "r97",
      "r98",
      "r477"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock that is subordinate to all other stock of the issuer.",
        "label": "Common Stock [Member]",
        "terseLabel": "Common Stock"
       }
      }
     },
     "localname": "CommonStockMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredParentheticalDetail",
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity",
      "http://www.Castellum.com/role/RelatedPartyTransactionsAdditionalInformationDetails",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail",
      "http://www.Castellum.com/role/SubsequentEventsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonStockParOrStatedValuePerShare": {
     "auth_ref": [
      "r22"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face amount or stated value per share of common stock.",
        "label": "Common Stock, Par or Stated Value Per Share",
        "terseLabel": "Common stock par or stated value per share",
        "verboseLabel": "Common stock, par value"
       }
      }
     },
     "localname": "CommonStockParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheetsParenthetical",
      "http://www.Castellum.com/role/NatureOfOperationsAdditionalInformationDetail",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_CommonStockSharesAuthorized": {
     "auth_ref": [
      "r22"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of common shares permitted to be issued by an entity's charter and bylaws.",
        "label": "Common Stock, Shares Authorized",
        "terseLabel": "Common stock, shares authorized"
       }
      }
     },
     "localname": "CommonStockSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheetsParenthetical",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesIssued": {
     "auth_ref": [
      "r22"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury). These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized. Shares issued include shares outstanding and shares held in the treasury.",
        "label": "Common Stock, Shares, Issued",
        "terseLabel": "Common Stock, Shares, Issued",
        "verboseLabel": "Common stock, shares, issued"
       }
      }
     },
     "localname": "CommonStockSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheetsParenthetical",
      "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableParentheticalDetail",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesOutstanding": {
     "auth_ref": [
      "r22",
      "r302"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation.",
        "label": "Common Stock, Shares, Outstanding",
        "terseLabel": "Common stock, shares outstanding"
       }
      }
     },
     "localname": "CommonStockSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheetsParenthetical",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesSubscribedButUnissued": {
     "auth_ref": [
      "r22"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of common stock allocated to investors to buy shares of a new issue of common stock before they are offered to the public. When stock is sold on a subscription basis, the issuer does not initially receive the total proceeds. In general, the issuer does not issue the shares to the investor until it receives the entire proceeds.",
        "label": "Common Stock, Shares Subscribed but Unissued",
        "terseLabel": "Common stock, shares subscribed but unissued"
       }
      }
     },
     "localname": "CommonStockSharesSubscribedButUnissued",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesSubscriptions": {
     "auth_ref": [
      "r22",
      "r282"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Monetary value of common stock allocated to investors to buy shares of a new issue of common stock before they are offered to the public. When stock is sold on a subscription basis, the issuer does not initially receive the total proceeds. In general, the issuer does not issue the shares to the investor until it receives the entire proceeds.",
        "label": "Common Stock, Value, Subscriptions",
        "terseLabel": "Common stock, value, subscriptions"
       }
      }
     },
     "localname": "CommonStockSharesSubscriptions",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CommonStockValue": {
     "auth_ref": [
      "r22",
      "r528"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 14.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate par or stated value of issued nonredeemable common stock (or common stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable common shares, par value and other disclosure concepts are in another section within stockholders' equity.",
        "label": "Common Stock, Value, Issued",
        "verboseLabel": "Common stock, par value, $0.0001, 150,000,000 shares authorized, 24,788,132 and 19,960,632 issued and outstanding as of September 30, 2022 and December 31, 2021, respectively."
       }
      }
     },
     "localname": "CommonStockValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ConcentrationRiskBenchmarkDomain": {
     "auth_ref": [
      "r137",
      "r138",
      "r169",
      "r492",
      "r493",
      "r623"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The denominator in a calculation of a disclosed concentration risk percentage.",
        "label": "Concentration Risk Benchmark [Domain]"
       }
      }
     },
     "localname": "ConcentrationRiskBenchmarkDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/ConcentrationsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ConcentrationRiskByBenchmarkAxis": {
     "auth_ref": [
      "r137",
      "r138",
      "r169",
      "r492",
      "r493",
      "r619",
      "r623"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by benchmark of concentration risk.",
        "label": "Concentration Risk Benchmark [Axis]"
       }
      }
     },
     "localname": "ConcentrationRiskByBenchmarkAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/ConcentrationsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskByTypeAxis": {
     "auth_ref": [
      "r137",
      "r138",
      "r169",
      "r492",
      "r493",
      "r619",
      "r623"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of concentration risk, for example, but not limited to, asset, liability, net assets, geographic, customer, employees, supplier, lender.",
        "label": "Concentration Risk Type [Axis]"
       }
      }
     },
     "localname": "ConcentrationRiskByTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/ConcentrationsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskDisclosureTextBlock": {
     "auth_ref": [
      "r143"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for any concentrations existing at the date of the financial statements that make an entity vulnerable to a reasonably possible, near-term, severe impact. This disclosure informs financial statement users about the general nature of the risk associated with the concentration, and may indicate the percentage of concentration risk as of the balance sheet date.",
        "label": "Concentration Risk Disclosure [Text Block]",
        "terseLabel": "Concentrations"
       }
      }
     },
     "localname": "ConcentrationRiskDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/Concentrations"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ConcentrationRiskLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Concentration Risk [Line Items]"
       }
      }
     },
     "localname": "ConcentrationRiskLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/ConcentrationsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskPercentage1": {
     "auth_ref": [
      "r137",
      "r138",
      "r169",
      "r492",
      "r493"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For an entity that discloses a concentration risk in relation to quantitative amount, which serves as the \"benchmark\" (or denominator) in the equation, this concept represents the concentration percentage derived from the division.",
        "label": "Concentration Risk, Percentage",
        "verboseLabel": "Concentration risk, percentage"
       }
      }
     },
     "localname": "ConcentrationRiskPercentage1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/ConcentrationsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ConcentrationRiskTable": {
     "auth_ref": [
      "r135",
      "r137",
      "r138",
      "r139",
      "r492",
      "r494",
      "r623"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Describes the nature of a concentration, a benchmark to which it is compared, and the percentage that the risk is to the benchmark.",
        "label": "Concentration Risk [Table]"
       }
      }
     },
     "localname": "ConcentrationRiskTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/ConcentrationsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskTypeDomain": {
     "auth_ref": [
      "r137",
      "r138",
      "r169",
      "r492",
      "r493",
      "r623"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For an entity that discloses a concentration risk as a percentage of some financial balance or benchmark, identifies the type (for example, asset, liability, net assets, geographic, customer, employees, supplier, lender) of the concentration.",
        "label": "Concentration Risk Type [Domain]"
       }
      }
     },
     "localname": "ConcentrationRiskTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/ConcentrationsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ContractWithCustomerAssetNetCurrent": {
     "auth_ref": [
      "r313",
      "r315",
      "r326"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 4.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allowance for credit loss, of right to consideration in exchange for good or service transferred to customer when right is conditioned on something other than passage of time, classified as current.",
        "label": "Contract with Customer, Asset, after Allowance for Credit Loss, Current",
        "terseLabel": "Contract asset"
       }
      }
     },
     "localname": "ContractWithCustomerAssetNetCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ContractWithCustomerLiabilityCurrent": {
     "auth_ref": [
      "r313",
      "r314",
      "r326"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 34.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of obligation to transfer good or service to customer for which consideration has been received or is receivable, classified as current.",
        "label": "Contract with Customer, Liability, Current",
        "terseLabel": "Contract liability"
       }
      }
     },
     "localname": "ContractWithCustomerLiabilityCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ConversionOfStockAmountConverted1": {
     "auth_ref": [
      "r79",
      "r80",
      "r81"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The value of the stock converted in a noncash (or part noncash) transaction. Noncash is defined as transactions during a period that do not result in cash receipts or cash payments in the period. \"Part noncash\" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period.",
        "label": "Conversion of Stock, Amount Converted",
        "terseLabel": "Common shares issued in conversion of Series B Preferred shares"
       }
      }
     },
     "localname": "ConversionOfStockAmountConverted1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ConversionOfStockSharesConverted1": {
     "auth_ref": [
      "r79",
      "r80",
      "r81"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares converted in a noncash (or part noncash) transaction. Noncash is defined as transactions during a period that do not result in cash receipts or cash payments in the period. \"Part noncash\" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period.",
        "label": "Conversion of Stock, Shares Converted",
        "terseLabel": "Conversion of stock, shares converted"
       }
      }
     },
     "localname": "ConversionOfStockSharesConverted1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ConversionOfStockSharesIssued1": {
     "auth_ref": [
      "r79",
      "r80",
      "r81"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of new shares issued in the conversion of stock in a noncash (or part noncash) transaction. Noncash is defined as transactions during a period that do not result in cash receipts or cash payments in the period. \"Part noncash\" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period.",
        "label": "Conversion of Stock, Shares Issued",
        "terseLabel": "Conversion of stock, shares issued"
       }
      }
     },
     "localname": "ConversionOfStockSharesIssued1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ConvertibleDebtTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of convertible debt instrument. Includes, but is not limited to, principal amount and amortized premium or discount.",
        "label": "Convertible Debt [Table Text Block]",
        "terseLabel": "Schedule of convertible promissory notes, Related party"
       }
      }
     },
     "localname": "ConvertibleDebtTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ConvertibleLongTermNotesPayable": {
     "auth_ref": [
      "r38"
     ],
     "calculation": {
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of long-term debt (with maturities initially due after one year or beyond the operating cycle if longer) identified as Convertible Notes Payable, excluding current portion. Convertible Notes Payable is a written promise to pay a note which can be exchanged for a specified amount of another, related security, at the option of the issuer and the holder.",
        "label": "Convertible Notes Payable, Noncurrent",
        "terseLabel": "Convertible Notes Payable",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "ConvertibleLongTermNotesPayable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyDetail",
      "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableParentheticalDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ConvertibleLongtermNotesPayableCurrentAndNoncurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Convertible Notes Payable [Abstract]"
       }
      }
     },
     "localname": "ConvertibleLongtermNotesPayableCurrentAndNoncurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConvertibleNotesPayable": {
     "auth_ref": [
      "r17",
      "r582",
      "r595",
      "r622"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 21.0,
       "parentTag": "us-gaap_LiabilitiesNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Including the current and noncurrent portions, carrying value as of the balance sheet date of a written promise to pay a note, initially due after one year or beyond the operating cycle if longer, which can be exchanged for a specified amount of one or more securities (typically common stock), at the option of the issuer or the holder.",
        "label": "Convertible Notes Payable",
        "terseLabel": "Convertible promissory notes - related parties, net of discount, net of current portion"
       }
      }
     },
     "localname": "ConvertibleNotesPayable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ConvertibleNotesPayableMember": {
     "auth_ref": [
      "r15",
      "r581",
      "r593",
      "r622"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Written promise to pay a note which can be exchanged for a specified quantity of securities (typically common stock), at the option of the issuer or the holder.",
        "label": "Convertible Notes Payable [Member]",
        "terseLabel": "Convertible Notes Payable",
        "verboseLabel": "Convertible Notes Payable [Member]"
       }
      }
     },
     "localname": "ConvertibleNotesPayableMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableDetail",
      "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ConvertiblePreferredStockSharesIssuedUponConversion": {
     "auth_ref": [
      "r20",
      "r21",
      "r297",
      "r303",
      "r307"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares issued for each share of convertible preferred stock that is converted.",
        "label": "Convertible Preferred Stock, Shares Issued upon Conversion",
        "terseLabel": "Convertible preferred stock, shares issued upon conversion",
        "verboseLabel": "Convertible preferred stock, shares issued upon conversion"
       }
      }
     },
     "localname": "ConvertiblePreferredStockSharesIssuedUponConversion",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail",
      "http://www.Castellum.com/role/SubsequentEventsAdditionalInformationDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CostOfRevenue": {
     "auth_ref": [
      "r57",
      "r89",
      "r179",
      "r230",
      "r231",
      "r232",
      "r235",
      "r236",
      "r237",
      "r238",
      "r239",
      "r241",
      "r242",
      "r495"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": 3.0,
       "parentTag": "us-gaap_GrossProfit",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate cost of goods produced and sold and services rendered during the reporting period.",
        "label": "Cost of Revenue",
        "terseLabel": "COST OF REVENUES"
       }
      }
     },
     "localname": "CostOfRevenue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CreditFacilityAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of credit facility. Credit facilities provide capital to borrowers without the need to structure a loan for each borrowing.",
        "label": "Credit Facility [Axis]"
       }
      }
     },
     "localname": "CreditFacilityAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/RevolvingCreditFacilityAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CreditFacilityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of credit facility. Credit facilities provide capital to borrowers without the need to structure a loan for each borrowing.",
        "label": "Credit Facility [Domain]"
       }
      }
     },
     "localname": "CreditFacilityDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/RevolvingCreditFacilityAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CustomerRelationshipsMember": {
     "auth_ref": [
      "r431"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Customer relationship that exists between an entity and its customer, for example, but not limited to, tenant relationships.",
        "label": "Customer Relationships [Member]",
        "terseLabel": "Customer Relationships [Member]"
       }
      }
     },
     "localname": "CustomerRelationshipsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAcquiredParentheticalDetail",
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail",
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillAdditionalInformationDetail",
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillScheduleOfIntangibleAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtConversionConvertedInstrumentAmount1": {
     "auth_ref": [
      "r79",
      "r81"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The value of the financial instrument(s) that the original debt is being converted into 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.",
        "label": "Debt Conversion, Converted Instrument, Amount",
        "terseLabel": "Debt Conversion, Converted Instrument, Amount"
       }
      }
     },
     "localname": "DebtConversionConvertedInstrumentAmount1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableParentheticalDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtConversionConvertedInstrumentSharesIssued1": {
     "auth_ref": [
      "r79",
      "r81"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares issued in exchange for 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 payments in the period.",
        "label": "Debt Conversion, Converted Instrument, Shares Issued",
        "terseLabel": "Debt Conversion, Converted Instrument, Shares Issued"
       }
      }
     },
     "localname": "DebtConversionConvertedInstrumentSharesIssued1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableParentheticalDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_DebtConversionOriginalDebtAmount1": {
     "auth_ref": [
      "r79",
      "r81"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Debt Conversion, Original Debt, Amount",
        "terseLabel": "Debt Conversion, Original Debt, Amount"
       }
      }
     },
     "localname": "DebtConversionOriginalDebtAmount1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableParentheticalDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Disclosure [Abstract]"
       }
      }
     },
     "localname": "DebtDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtDisclosureTextBlock": {
     "auth_ref": [
      "r85",
      "r249",
      "r250",
      "r251",
      "r252",
      "r253",
      "r254",
      "r255",
      "r260",
      "r267",
      "r268",
      "r270",
      "r279"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for information about short-term and long-term debt arrangements, which includes amounts of borrowings under each line of credit, note payable, commercial paper issue, bonds indenture, debenture issue, own-share lending arrangements and any other contractual agreement to repay funds, and about the underlying arrangements, rationale for a classification as long-term, including repayment terms, interest rates, collateral provided, restrictions on use of assets and activities, whether or not in compliance with debt covenants, and other matters important to users of the financial statements, such as the effects of refinancing and noncompliance with debt covenants.",
        "label": "Debt Disclosure [Text Block]",
        "terseLabel": "Revolving Credit Facility"
       }
      }
     },
     "localname": "DebtDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/RevolvingCreditFacility"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DebtInstrumentAxis": {
     "auth_ref": [
      "r15",
      "r16",
      "r17",
      "r88",
      "r95",
      "r243",
      "r244",
      "r245",
      "r246",
      "r247",
      "r248",
      "r250",
      "r256",
      "r257",
      "r258",
      "r259",
      "r261",
      "r262",
      "r263",
      "r264",
      "r265",
      "r266",
      "r275",
      "r276",
      "r277",
      "r278",
      "r508",
      "r581",
      "r582",
      "r593"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of debt instrument, including, but not limited to, draws against credit facilities.",
        "label": "Debt Instrument [Axis]"
       }
      }
     },
     "localname": "DebtInstrumentAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyParentheticalDetails",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail",
      "http://www.Castellum.com/role/SubsequentEventsAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentBasisSpreadOnVariableRate1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage points added to the reference rate to compute the variable rate on the debt instrument.",
        "label": "Debt Instrument, Basis Spread on Variable Rate",
        "terseLabel": "Debt instrument, basis spread on variable rate"
       }
      }
     },
     "localname": "DebtInstrumentBasisSpreadOnVariableRate1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableParentheticalDetail",
      "http://www.Castellum.com/role/RevolvingCreditFacilityAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentCarryingAmount": {
     "auth_ref": [
      "r17",
      "r271",
      "r582",
      "r593"
     ],
     "calculation": {
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_ConvertibleLongTermNotesPayable",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "definitionGuidance": "Long term debt gross",
        "documentation": "Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt.",
        "label": "Long-Term Debt, Gross",
        "terseLabel": "Debt instrument gross",
        "verboseLabel": "Total Convertible Notes Payable \u2013 Related Parties"
       }
      }
     },
     "localname": "DebtInstrumentCarryingAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyDetail",
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyParentheticalDetails",
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentConvertibleConversionPrice1": {
     "auth_ref": [
      "r245",
      "r273"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The price per share of the conversion feature embedded in the debt instrument.",
        "label": "Debt Instrument, Convertible, Conversion Price",
        "terseLabel": "Debt Instrument, Convertible, Conversion Price",
        "verboseLabel": "Convertible note payable, convertible Price"
       }
      }
     },
     "localname": "DebtInstrumentConvertibleConversionPrice1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyParentheticalDetails",
      "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableParentheticalDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_DebtInstrumentFaceAmount": {
     "auth_ref": [
      "r243",
      "r275",
      "r276",
      "r506",
      "r508",
      "r509"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face (par) amount of debt instrument at time of issuance.",
        "label": "Debt Instrument, Face Amount",
        "terseLabel": "Promissory note, principal balance"
       }
      }
     },
     "localname": "DebtInstrumentFaceAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyParentheticalDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentIncreaseAccruedInterest": {
     "auth_ref": [
      "r88"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase for accrued, but unpaid interest on the debt instrument for the period.",
        "label": "Debt Instrument, Increase, Accrued Interest",
        "terseLabel": "Promissory note, interest rate"
       }
      }
     },
     "localname": "DebtInstrumentIncreaseAccruedInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyParentheticalDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentInterestRateStatedPercentage": {
     "auth_ref": [
      "r35",
      "r244"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contractual interest rate for funds borrowed, under the debt agreement.",
        "label": "Debt Instrument, Interest Rate, Stated Percentage",
        "terseLabel": "Interest Rate",
        "verboseLabel": "Promissory note, interest rate"
       }
      }
     },
     "localname": "DebtInstrumentInterestRateStatedPercentage",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyParentheticalDetails",
      "http://www.Castellum.com/role/NotePayableRelatedPartyAdditionalInformationDetails",
      "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableParentheticalDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentIssuanceDate1": {
     "auth_ref": [
      "r37",
      "r246"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date the debt instrument was issued, in YYYY-MM-DD format.",
        "label": "Debt Instrument, Issuance Date",
        "terseLabel": "Debt Instrument, Issuance Date"
       }
      }
     },
     "localname": "DebtInstrumentIssuanceDate1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableParentheticalDetail"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_DebtInstrumentLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Debt Instrument [Line Items]"
       }
      }
     },
     "localname": "DebtInstrumentLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesAdditionalInformationDetail",
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyDetail",
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyParentheticalDetails",
      "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableParentheticalDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentMaturityDate": {
     "auth_ref": [
      "r36",
      "r246",
      "r483"
     ],
     "lang": {
      "en-us": {
       "role": {
        "definitionGuidance": "Promissory note, maturity date",
        "documentation": "Date when the debt instrument is scheduled to be fully repaid, in YYYY-MM-DD format.",
        "label": "Debt Instrument, Maturity Date",
        "terseLabel": "Debt Instrument, Maturity Date",
        "verboseLabel": "Debt instrument, maturity date"
       }
      }
     },
     "localname": "DebtInstrumentMaturityDate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyParentheticalDetails",
      "http://www.Castellum.com/role/NotePayableRelatedPartyAdditionalInformationDetails",
      "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableParentheticalDetail",
      "http://www.Castellum.com/role/RevolvingCreditFacilityAdditionalInformationDetail"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_DebtInstrumentNameDomain": {
     "auth_ref": [
      "r38",
      "r88",
      "r95",
      "r243",
      "r244",
      "r245",
      "r246",
      "r247",
      "r248",
      "r250",
      "r256",
      "r257",
      "r258",
      "r259",
      "r261",
      "r262",
      "r263",
      "r264",
      "r265",
      "r266",
      "r275",
      "r276",
      "r277",
      "r278",
      "r508"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The name for the particular debt instrument or borrowing that distinguishes it from other debt instruments or borrowings, including draws against credit facilities.",
        "label": "Debt Instrument, Name [Domain]"
       }
      }
     },
     "localname": "DebtInstrumentNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyParentheticalDetails",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail",
      "http://www.Castellum.com/role/SubsequentEventsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtInstrumentPeriodicPaymentPrincipal": {
     "auth_ref": [
      "r38"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the required periodic payments applied to principal.",
        "label": "Debt Instrument, Periodic Payment, Principal",
        "terseLabel": "Promissory note, monthly principal",
        "verboseLabel": "Debt instrument, Periodic payment, Principal"
       }
      }
     },
     "localname": "DebtInstrumentPeriodicPaymentPrincipal",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyParentheticalDetails",
      "http://www.Castellum.com/role/SubsequentEventsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentPeriodicPaymentTermsBalloonPaymentToBePaid": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of payment greater than the preceding installment payments to be paid at final maturity date of debt.",
        "label": "Debt Instrument, Periodic Payment Terms, Balloon Payment to be Paid",
        "terseLabel": "Debt instrument periodic payment terms balloon payment to be paid"
       }
      }
     },
     "localname": "DebtInstrumentPeriodicPaymentTermsBalloonPaymentToBePaid",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyParentheticalDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentTable": {
     "auth_ref": [
      "r38",
      "r88",
      "r95",
      "r243",
      "r244",
      "r245",
      "r246",
      "r247",
      "r248",
      "r250",
      "r256",
      "r257",
      "r258",
      "r259",
      "r261",
      "r262",
      "r263",
      "r264",
      "r265",
      "r266",
      "r269",
      "r275",
      "r276",
      "r277",
      "r278",
      "r303",
      "r308",
      "r309",
      "r310",
      "r505",
      "r506",
      "r508",
      "r509",
      "r592"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A table or schedule providing information pertaining to long-term debt instruments or arrangements, including identification, terms, features, collateral requirements and other information necessary to a fair presentation. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
        "label": "Schedule of Long-Term Debt Instruments [Table]"
       }
      }
     },
     "localname": "DebtInstrumentTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesAdditionalInformationDetail",
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyDetail",
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyParentheticalDetails",
      "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableParentheticalDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentTerm": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period of time between issuance and maturity of debt instrument, in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Debt Instrument, Term",
        "terseLabel": "Debt Instrument, Term"
       }
      }
     },
     "localname": "DebtInstrumentTerm",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableParentheticalDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_DebtInstrumentUnamortizedDiscount": {
     "auth_ref": [
      "r256",
      "r505",
      "r509"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after accumulated amortization, of debt discount.",
        "label": "Debt Instrument, Unamortized Discount",
        "negatedLabel": "Less: Debt Discount"
       }
      }
     },
     "localname": "DebtInstrumentUnamortizedDiscount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentUnamortizedPremium": {
     "auth_ref": [
      "r256",
      "r505",
      "r509"
     ],
     "calculation": {
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyDetail": {
       "order": 2.0,
       "parentTag": "us-gaap_ConvertibleLongTermNotesPayable",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after accumulated amortization, of debt premium.",
        "label": "Debt Instrument, Unamortized Premium",
        "terseLabel": "Add: Premiums recorded on convertible note due to fair value adjustment at date of acquisition of Corvus"
       }
      }
     },
     "localname": "DebtInstrumentUnamortizedPremium",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredBonusAndProfitSharingArrangementIndividualContractTypeOfDeferredCompensationDomain": {
     "auth_ref": [
      "r329",
      "r330"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred compensation that is not equivalent to a defined benefit pension plan or a defined benefit other postretirement benefit plan. Includes, but is not limited to, employment contracts with one or more selected officers or key employees. Excludes equity-based compensation plans, defined benefit pension plans and defined benefit other postretirement benefit plans.",
        "label": "Deferred Bonus and Profit Sharing Arrangement, Individual Contract, Type of Deferred Compensation [Domain]"
       }
      }
     },
     "localname": "DeferredBonusAndProfitSharingArrangementIndividualContractTypeOfDeferredCompensationDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DeferredBonusMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "An contractual arrangement whereby an employee is entitled to receive in the future, subject to vesting and other restrictions, a bonus, as defined in the agreement, of the entity or portion thereof. Employer contributions may be discretionary or may be based on a fixed formula related to individual, group and entity-wide performance goals, compensation, or other factors. It is a form of incentive compensation to employees in addition to their regular salary and profit sharing.",
        "label": "Deferred Bonus [Member]"
       }
      }
     },
     "localname": "DeferredBonusMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DeferredCompensationArrangementWithIndividualCashAwardGrantedAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of commitment made to pay deferred cash remuneration.",
        "label": "Deferred Compensation Arrangement with Individual, Cash Award Granted, Amount",
        "terseLabel": "Deferred compensation arrangement with individual, Cash award granted, Amount"
       }
      }
     },
     "localname": "DeferredCompensationArrangementWithIndividualCashAwardGrantedAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredCompensationArrangementWithIndividualCashAwardsGrantedPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commitment made to pay deferred cash remuneration expressed as a percentage of the individual's base salary.",
        "label": "Deferred Compensation Arrangement with Individual, Cash Awards Granted, Percentage",
        "terseLabel": "Deferred compensation arrangement with individual, Cash awards granted, Percentage"
       }
      }
     },
     "localname": "DeferredCompensationArrangementWithIndividualCashAwardsGrantedPercentage",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DeferredCompensationArrangementWithIndividualExcludingShareBasedPaymentsAndPostretirementBenefitsByTypeOfDeferredCompensationAxis": {
     "auth_ref": [
      "r329",
      "r330"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of deferred compensation that is not equivalent to a defined benefit pension plan or a defined benefit other postretirement benefit plan. Includes, but is not limited to, employment contracts with one or more selected officers or key employees. Excludes equity-based compensation plans, defined benefit pension plans and defined benefit other postretirement benefit plans.",
        "label": "Deferred Bonus and Profit Sharing Arrangements, Individual Contracts, Type of Deferred Compensation [Axis]"
       }
      }
     },
     "localname": "DeferredCompensationArrangementWithIndividualExcludingShareBasedPaymentsAndPostretirementBenefitsByTypeOfDeferredCompensationAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis": {
     "auth_ref": [
      "r382"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of deferred compensation related to equity-based payment arrangements. Includes, but is not limited to, employment contracts with one or more selected officers or key employees. Excludes broad group equity-based compensation plans, defined benefit pension plans, defined benefit other postretirement benefit plans and other deferred compensation that is not equivalent to a defined benefit pension plan or a defined benefit other postretirement benefit plan.",
        "label": "Equity-Based Arrangements, Individual Contracts, Type of Deferred Compensation [Axis]"
       }
      }
     },
     "localname": "DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DeferredCompensationLiabilityCurrentAndNoncurrent": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate carrying value as of the balance sheet date of the liabilities for all deferred compensation arrangements. Represents currently earned compensation under compensation arrangements that is not actually paid until a later date.",
        "label": "Deferred Compensation Liability, Current and Noncurrent",
        "terseLabel": "Deferred compensation liability, current and noncurrent"
       }
      }
     },
     "localname": "DeferredCompensationLiabilityCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredFinanceCostsNet": {
     "auth_ref": [
      "r256",
      "r507"
     ],
     "calculation": {
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyDetail": {
       "order": 3.0,
       "parentTag": "us-gaap_ConvertibleLongTermNotesPayable",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs.",
        "label": "Debt Issuance Costs, Net",
        "negatedLabel": "Less: BCF Discount"
       }
      }
     },
     "localname": "DeferredFinanceCostsNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredIncomeTaxAssetsNet": {
     "auth_ref": [
      "r392",
      "r393"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 7.0,
       "parentTag": "us-gaap_AssetsNoncurrentOtherThanNoncurrentInvestmentsAndPropertyPlantAndEquipment",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allocation of valuation allowances and deferred tax liability, of deferred tax asset attributable to deductible differences and carryforwards, with jurisdictional netting.",
        "label": "Deferred Income Tax Assets, Net",
        "terseLabel": "Deferred tax asset"
       }
      }
     },
     "localname": "DeferredIncomeTaxAssetsNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredIncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r75",
      "r90",
      "r401",
      "r407",
      "r408",
      "r409"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred income tax expense (benefit) pertaining to income (loss) from continuing operations.",
        "label": "Deferred Income Tax Expense (Benefit)",
        "terseLabel": "Deferred tax provision"
       }
      }
     },
     "localname": "DeferredIncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Depreciation": {
     "auth_ref": [
      "r75",
      "r218"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of expense recognized in the current period that reflects the allocation of the cost of tangible assets over the assets' useful lives. Includes production and non-production related depreciation.",
        "label": "Depreciation",
        "terseLabel": "Depreciation expense"
       }
      }
     },
     "localname": "Depreciation",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FixedAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DepreciationDepletionAndAmortization": {
     "auth_ref": [
      "r75",
      "r148"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate expense recognized in the current period that allocates the cost of tangible assets, intangible assets, or depleting assets to periods that benefit from use of the assets.",
        "label": "Depreciation, Depletion and Amortization",
        "terseLabel": "Depreciation and amortization"
       }
      }
     },
     "localname": "DepreciationDepletionAndAmortization",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeContractTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial instrument or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset.",
        "label": "Derivative Contract [Domain]"
       }
      }
     },
     "localname": "DerivativeContractTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FairValueSummaryOfDerivativeLiabilitiesDetail",
      "http://www.Castellum.com/role/FairValueSummaryOfDerivativeLiabilitiesParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DerivativeInstrumentDetailAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Instrument Detail [Abstract]"
       }
      }
     },
     "localname": "DerivativeInstrumentDetailAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentRiskAxis": {
     "auth_ref": [
      "r44",
      "r465",
      "r466",
      "r468",
      "r469"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of derivative contract.",
        "label": "Derivative Instrument [Axis]"
       }
      }
     },
     "localname": "DerivativeInstrumentRiskAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FairValueSummaryOfDerivativeLiabilitiesDetail",
      "http://www.Castellum.com/role/FairValueSummaryOfDerivativeLiabilitiesParentheticalDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Instruments and Hedging Activities Disclosure [Abstract]"
       }
      }
     },
     "localname": "DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeLiabilities": {
     "auth_ref": [
      "r42",
      "r43",
      "r44",
      "r491"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes liabilities not subject to a master netting arrangement and not elected to be offset.",
        "label": "Derivative Liability",
        "terseLabel": "Fair Value of Derivatives Liabilities",
        "verboseLabel": "Crom Derivative Liabilities"
       }
      }
     },
     "localname": "DerivativeLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FairValueSummaryOfDerivativeLiabilitiesAndTheContingentEarnOutFallDetail",
      "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableParentheticalDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLiabilitiesCurrent": {
     "auth_ref": [
      "r42"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 30.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, expected to be settled within one year or normal operating cycle, if longer. Includes assets not subject to a master netting arrangement and not elected to be offset.",
        "label": "Derivative Liability, Current",
        "negatedLabel": "Derivative liabilities",
        "terseLabel": "Derivative liabilities"
       }
      }
     },
     "localname": "DerivativeLiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets",
      "http://www.Castellum.com/role/FairValueSummaryOfDerivativeLiabilitiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Derivative [Line Items]"
       }
      }
     },
     "localname": "DerivativeLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FairValueSummaryOfDerivativeLiabilitiesDetail",
      "http://www.Castellum.com/role/FairValueSummaryOfDerivativeLiabilitiesParentheticalDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeTable": {
     "auth_ref": [
      "r460",
      "r461",
      "r462",
      "r463",
      "r464",
      "r467",
      "r468",
      "r470",
      "r472",
      "r473",
      "r474"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule that describes and identifies a derivative or group of derivatives on a disaggregated basis, such as for individual instruments, or small groups of similar instruments. May include a combination of the type of instrument, risks being hedged, notional amount, hedge designation, related hedged item, inception date, maturity date, or other relevant item.",
        "label": "Derivative [Table]"
       }
      }
     },
     "localname": "DerivativeTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FairValueSummaryOfDerivativeLiabilitiesDetail",
      "http://www.Castellum.com/role/FairValueSummaryOfDerivativeLiabilitiesParentheticalDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativesPolicyTextBlock": {
     "auth_ref": [
      "r94",
      "r460",
      "r461",
      "r463",
      "r464",
      "r471"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for its derivative instruments and hedging activities.",
        "label": "Derivatives, Policy [Policy Text Block]",
        "terseLabel": "Derivative Financial Instruments"
       }
      }
     },
     "localname": "DerivativesPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DisaggregationOfRevenueTableTextBlock": {
     "auth_ref": [
      "r325"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of disaggregation of revenue into categories depicting how nature, amount, timing, and uncertainty of revenue and cash flows are affected by economic factor.",
        "label": "Disaggregation of Revenue [Table Text Block]",
        "terseLabel": "Schedule of Company's Revenue By Contract Type"
       }
      }
     },
     "localname": "DisaggregationOfRevenueTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Payment Arrangement [Abstract]"
       }
      }
     },
     "localname": "DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DividendsPreferredStock": {
     "auth_ref": [
      "r311",
      "r591"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of paid and unpaid preferred stock dividends declared with the form of settlement in cash, stock and payment-in-kind (PIK).",
        "label": "Dividends, Preferred Stock",
        "verboseLabel": "Dividends, preferred stock"
       }
      }
     },
     "localname": "DividendsPreferredStock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DividendsPreferredStockCash": {
     "auth_ref": [
      "r311",
      "r591"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of paid and unpaid preferred stock dividends declared with the form of settlement in cash.",
        "label": "Dividends, Preferred Stock, Cash",
        "terseLabel": "Dividends, preferred stock, cash"
       }
      }
     },
     "localname": "DividendsPreferredStockCash",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DueToRelatedPartiesCurrent": {
     "auth_ref": [
      "r29",
      "r93",
      "r233",
      "r235",
      "r236",
      "r240",
      "r241",
      "r242",
      "r520"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 26.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of obligations due all related parties. For classified balance sheets, represents the current portion of such liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Due to Related Parties, Current",
        "terseLabel": "Due to seller"
       }
      }
     },
     "localname": "DueToRelatedPartiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EarningsPerShareAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings Per Share [Abstract]",
        "terseLabel": "NET LOSS PER SHARE"
       }
      }
     },
     "localname": "EarningsPerShareAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EarningsPerShareBasic": {
     "auth_ref": [
      "r55",
      "r102",
      "r103",
      "r105",
      "r106",
      "r107",
      "r113",
      "r115",
      "r119",
      "r120",
      "r121",
      "r124",
      "r125",
      "r478",
      "r479",
      "r586",
      "r602"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period.",
        "label": "Earnings Per Share, Basic",
        "terseLabel": "Net loss per share, basic"
       }
      }
     },
     "localname": "EarningsPerShareBasic",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerShareDiluted": {
     "auth_ref": [
      "r55",
      "r102",
      "r103",
      "r105",
      "r106",
      "r107",
      "r115",
      "r119",
      "r120",
      "r121",
      "r124",
      "r125",
      "r478",
      "r479",
      "r586",
      "r602"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period.",
        "label": "Earnings Per Share, Diluted",
        "terseLabel": "Net loss per share, diluted"
       }
      }
     },
     "localname": "EarningsPerShareDiluted",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerSharePolicyTextBlock": {
     "auth_ref": [
      "r122",
      "r123"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for computing basic and diluted earnings or loss per share for each class of common stock and participating security. Addresses all significant policy factors, including any antidilutive items that have been excluded from the computation and takes into account stock dividends, splits and reverse splits that occur after the balance sheet date of the latest reporting period but before the issuance of the financial statements.",
        "label": "Earnings Per Share, Policy [Policy Text Block]",
        "terseLabel": "Earnings (Loss) Per Share of Common Stock"
       }
      }
     },
     "localname": "EarningsPerSharePolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateContinuingOperations": {
     "auth_ref": [
      "r395"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.",
        "label": "Effective Income Tax Rate Reconciliation, Percent",
        "terseLabel": "Effective income tax rate, Percent"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateContinuingOperations",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/IncomeTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EmployeeRelatedLiabilitiesCurrent": {
     "auth_ref": [
      "r33"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 25.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total of the carrying values as of the balance sheet date of obligations incurred through that date and payable for obligations related to services received from employees, such as accrued salaries and bonuses, payroll taxes and fringe benefits. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Employee-related Liabilities, Current",
        "terseLabel": "Accrued payroll and payroll related expenses"
       }
      }
     },
     "localname": "EmployeeRelatedLiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EmployeeStockOptionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share-based payment arrangement granting right, subject to vesting and other restrictions, to purchase or sell certain number of shares at predetermined price for specified period of time.",
        "label": "Share-Based Payment Arrangement, Option [Member]",
        "terseLabel": "Options [Member]"
       }
      }
     },
     "localname": "EmployeeStockOptionMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails",
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfOptionsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquipmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tangible personal property used to produce goods and services.",
        "label": "Equipment [Member]",
        "terseLabel": "Equipment [Member]"
       }
      }
     },
     "localname": "EquipmentMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FixedAssetsSummaryOfFixedAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity [Abstract]"
       }
      }
     },
     "localname": "EquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_EquityBasedArrangementsIndividualContractsTypeOfDeferredCompensationDomain": {
     "auth_ref": [
      "r382"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred compensation related to equity-based payment arrangements. Includes, but is not limited to, employment contracts with one or more selected officers or key employees. Excludes broad group equity-based compensation plans, defined benefit pension plans, defined benefit other postretirement benefit plans and other deferred compensation that is not equivalent to a defined benefit pension plan or a defined benefit other postretirement benefit plan.",
        "label": "Equity-Based Arrangements, Individual Contracts, Type of Deferred Compensation [Domain]"
       }
      }
     },
     "localname": "EquityBasedArrangementsIndividualContractsTypeOfDeferredCompensationDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquityComponentDomain": {
     "auth_ref": [
      "r0",
      "r48",
      "r49",
      "r50",
      "r97",
      "r98",
      "r99",
      "r101",
      "r108",
      "r111",
      "r126",
      "r180",
      "r302",
      "r311",
      "r384",
      "r385",
      "r386",
      "r403",
      "r404",
      "r477",
      "r497",
      "r498",
      "r499",
      "r500",
      "r501",
      "r502",
      "r516",
      "r609",
      "r610",
      "r611"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Components of equity are the parts of the total Equity balance including that which is allocated to common, preferred, treasury stock, retained earnings, etc.",
        "label": "Equity Component [Domain]"
       }
      }
     },
     "localname": "EquityComponentDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheetsParenthetical",
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity",
      "http://www.Castellum.com/role/RelatedPartyTransactionsAdditionalInformationDetails",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail",
      "http://www.Castellum.com/role/SubsequentEventsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquityInterestIssuedOrIssuableByTypeAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of equity interests that are issued or issuable in a business combination.",
        "label": "Equity Interest Type [Axis]"
       }
      }
     },
     "localname": "EquityInterestIssuedOrIssuableByTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredParentheticalDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EquityInterestIssuedOrIssuableTypeDomain": {
     "auth_ref": [
      "r442"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of equity interest issued or issuable to acquire an entity in a business combination.",
        "label": "Equity Interest Issued or Issuable, Type [Domain]"
       }
      }
     },
     "localname": "EquityInterestIssuedOrIssuableTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueAdjustmentOfWarrants": {
     "auth_ref": [
      "r75",
      "r280"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": 15.0,
       "parentTag": "us-gaap_NonoperatingIncomeExpense",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense (income) related to adjustment to fair value of warrant liability.",
        "label": "Fair Value Adjustment of Warrants",
        "negatedLabel": "Change in fair value of derivative liability",
        "negatedTerseLabel": "Change in fair value of derivative liabilities",
        "terseLabel": "Change in Fair Value of Derivatives Liabilities",
        "verboseLabel": "Fair value of warrants"
       }
      }
     },
     "localname": "FairValueAdjustmentOfWarrants",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations",
      "http://www.Castellum.com/role/FairValueAdditionalInformationDetail",
      "http://www.Castellum.com/role/FairValueSummaryOfDerivativeLiabilitiesParentheticalDetail",
      "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableParentheticalDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FairValueSummaryOfDerivativeLiabilitiesAndTheContingentEarnOutFallDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable": {
     "auth_ref": [
      "r480",
      "r481",
      "r488"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about asset and liability measured at fair value on recurring and nonrecurring basis.",
        "label": "Fair Value, Recurring and Nonrecurring [Table]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FairValueSummaryOfDerivativeLiabilitiesAndTheContingentEarnOutFallDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Fair Value Measurement Inputs and Valuation Techniques [Line Items]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FairValueSummaryOfFairValueMeasurementsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable": {
     "auth_ref": [
      "r482"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about input and valuation technique used to measure fair value and change in valuation approach and technique for each separate class of asset and liability measured on recurring and nonrecurring basis.",
        "label": "Fair Value Measurement Inputs and Valuation Techniques [Table]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FairValueSummaryOfFairValueMeasurementsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock": {
     "auth_ref": [
      "r482"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of input and valuation technique used to measure fair value and change in valuation approach and technique for each separate class of asset and liability measured on recurring and nonrecurring basis.",
        "label": "Fair Value Measurement Inputs and Valuation Techniques [Table Text Block]",
        "terseLabel": "Summary of fair value measurements"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FairValueTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Assets and Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Abstract]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "auth_ref": [
      "r258",
      "r275",
      "r276",
      "r332",
      "r333",
      "r334",
      "r335",
      "r336",
      "r337",
      "r338",
      "r340",
      "r481",
      "r535",
      "r536",
      "r537"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by level within fair value hierarchy and fair value measured at net asset value per share as practical expedient.",
        "label": "Fair Value Hierarchy and NAV [Axis]"
       }
      }
     },
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FairValueSummaryOfDerivativeLiabilitiesAndTheContingentEarnOutFallDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByLiabilityClassAxis": {
     "auth_ref": [
      "r487",
      "r488"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by class of liability.",
        "label": "Liability Class [Axis]"
       }
      }
     },
     "localname": "FairValueByLiabilityClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FairValueSummaryOfChangeInTheFairValueOfTheDerivativeLiabilitiesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosuresAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Disclosures [Abstract]"
       }
      }
     },
     "localname": "FairValueDisclosuresAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosuresTextBlock": {
     "auth_ref": [
      "r487"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for the fair value of financial instruments (as defined), including financial assets and financial liabilities (collectively, as defined), and the measurements of those instruments as well as disclosures related to the fair value of non-financial assets and liabilities. Such disclosures about the financial instruments, assets, and liabilities would include: (1) the fair value of the required items together with their carrying amounts (as appropriate); (2) for items for which it is not practicable to estimate fair value, disclosure would include: (a) information pertinent to estimating fair value (including, carrying amount, effective interest rate, and maturity, and (b) the reasons why it is not practicable to estimate fair value; (3) significant concentrations of credit risk including: (a) information about the activity, region, or economic characteristics identifying a concentration, (b) the maximum amount of loss the entity is exposed to based on the gross fair value of the related item, (c) policy for requiring collateral or other security and information as to accessing such collateral or security, and (d) the nature and brief description of such collateral or security; (4) quantitative information about market risks and how such risks are managed; (5) for items measured on both a recurring and nonrecurring basis information regarding the inputs used to develop the fair value measurement; and (6) for items presented in the financial statement for which fair value measurement is elected: (a) information necessary to understand the reasons for the election, (b) discussion of the effect of fair value changes on earnings, (c) a description of [similar groups] items for which the election is made and the relation thereof to the balance sheet, the aggregate carrying value of items included in the balance sheet that are not eligible for the election; (7) all other required (as defined) and desired information.",
        "label": "Fair Value Disclosures [Text Block]",
        "terseLabel": "Fair Value"
       }
      }
     },
     "localname": "FairValueDisclosuresTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FairValue"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueInputsLevel1Member": {
     "auth_ref": [
      "r258",
      "r332",
      "r333",
      "r338",
      "r340",
      "r481",
      "r535"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Quoted prices in active markets for identical assets or liabilities that the reporting entity can access at the measurement date.",
        "label": "Fair Value, Inputs, Level 1 [Member]",
        "terseLabel": "Level 1 [Member]"
       }
      }
     },
     "localname": "FairValueInputsLevel1Member",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FairValueSummaryOfDerivativeLiabilitiesAndTheContingentEarnOutFallDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel2Member": {
     "auth_ref": [
      "r258",
      "r275",
      "r276",
      "r332",
      "r333",
      "r338",
      "r340",
      "r481",
      "r536"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Inputs other than quoted prices included within level 1 that are observable for an asset or liability, either directly or indirectly, including, but not limited to, quoted prices for similar assets or liabilities in active markets, or quoted prices for identical or similar assets or liabilities in inactive markets.",
        "label": "Fair Value, Inputs, Level 2 [Member]",
        "terseLabel": "Level 2 [Member]"
       }
      }
     },
     "localname": "FairValueInputsLevel2Member",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FairValueSummaryOfDerivativeLiabilitiesAndTheContingentEarnOutFallDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "auth_ref": [
      "r258",
      "r275",
      "r276",
      "r332",
      "r333",
      "r334",
      "r335",
      "r336",
      "r337",
      "r338",
      "r340",
      "r481",
      "r537"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Inputs, Level 3 [Member]",
        "terseLabel": "Level 3 [Member]"
       }
      }
     },
     "localname": "FairValueInputsLevel3Member",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FairValueSummaryOfDerivativeLiabilitiesAndTheContingentEarnOutFallDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsQuantitativeInformationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Measurement Inputs and Valuation Techniques [Abstract]"
       }
      }
     },
     "localname": "FairValueInputsQuantitativeInformationAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock": {
     "auth_ref": [
      "r480",
      "r481"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of liabilities measured at fair value measured on a recurring or nonrecurring basis. Includes, but is not limited to, fair value measurements recorded and the reasons for the measurements, level within the fair value hierarchy in which the fair value measurements are categorized and transfers between levels 1 and 2.",
        "label": "Fair Value, Liabilities Measured on Recurring and Nonrecurring Basis [Table Text Block]",
        "terseLabel": "Summary of derivative liabilities and the contingent earnout fall"
       }
      }
     },
     "localname": "FairValueLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FairValueTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain": {
     "auth_ref": [
      "r484"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents classes of liabilities measured and disclosed at fair value.",
        "label": "Fair Value by Liability Class [Domain]"
       }
      }
     },
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FairValueSummaryOfChangeInTheFairValueOfTheDerivativeLiabilitiesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]"
       }
      }
     },
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FairValueSummaryOfChangeInTheFairValueOfTheDerivativeLiabilitiesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable": {
     "auth_ref": [
      "r484",
      "r488"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of information required and determined to be provided for purposes of reconciling beginning and ending balances of fair value measurements of liabilities using significant unobservable inputs (level 3). Separately presenting changes during the period, attributable to: (1) total gains or losses for the period (realized and unrealized) and location reported in the statement of income (or activities); (2) purchases, sales, issuances, and settlements (net); (3) transfers in and/or out of Level 3.",
        "label": "Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Table]"
       }
      }
     },
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FairValueSummaryOfChangeInTheFairValueOfTheDerivativeLiabilitiesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock": {
     "auth_ref": [
      "r484",
      "r488"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the fair value measurement of liabilities using significant unobservable inputs (Level 3), a reconciliation of the beginning and ending balances, separately presenting changes attributable to the following: (1) total gains or losses for the period (realized and unrealized), segregating those gains or losses included in earnings (or changes in net assets), and gains or losses recognized in other comprehensive income (loss) and a description of where those gains or losses included in earnings (or changes in net assets) are reported in the statement of income (or activities); (2) purchases, sales, issues, and settlements (each type disclosed separately); and (3) transfers in and transfers out of Level 3 (for example, transfers due to changes in the observability of significant inputs) by class of liability.",
        "label": "Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Table Text Block]",
        "terseLabel": "Summary of change in the fair value of the derivative liabilities"
       }
      }
     },
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FairValueTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings": {
     "auth_ref": [
      "r485"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain (loss) recognized in income from liability measured at fair value on recurring basis using unobservable input (level 3).",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Gain (Loss) Included in Earnings",
        "terseLabel": "Change in fair value of warrant derivative liabilities"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FairValueSummaryOfChangeInTheFairValueOfTheDerivativeLiabilitiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityIssues": {
     "auth_ref": [
      "r486"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of issuances of financial instrument classified as a liability measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Issuances",
        "negatedLabel": "Issuances of convertible note/warrants \u2013 derivative liabilities"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityIssues",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FairValueSummaryOfChangeInTheFairValueOfTheDerivativeLiabilitiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements": {
     "auth_ref": [
      "r486"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of settlements of financial instrument classified as a liability measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Settlements",
        "terseLabel": "Warrants exchanged for common stock"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FairValueSummaryOfChangeInTheFairValueOfTheDerivativeLiabilitiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue": {
     "auth_ref": [
      "r484"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of financial instrument classified as a liability measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability Value",
        "negatedPeriodEndLabel": "Ending balance as of September 30, 2022",
        "negatedPeriodStartLabel": "Beginning balance as of December 31, 2021"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FairValueSummaryOfChangeInTheFairValueOfTheDerivativeLiabilitiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "auth_ref": [
      "r258",
      "r275",
      "r276",
      "r332",
      "r333",
      "r334",
      "r335",
      "r336",
      "r337",
      "r338",
      "r340",
      "r535",
      "r536",
      "r537"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Categories used to prioritize the inputs to valuation techniques to measure fair value.",
        "label": "Fair Value Hierarchy and NAV [Domain]"
       }
      }
     },
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FairValueSummaryOfDerivativeLiabilitiesAndTheContingentEarnOutFallDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueOfFinancialInstrumentsPolicy": {
     "auth_ref": [
      "r489",
      "r490"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for determining the fair value of financial instruments.",
        "label": "Fair Value of Financial Instruments, Policy [Policy Text Block]",
        "terseLabel": "Fair Value of Financial Instruments"
       }
      }
     },
     "localname": "FairValueOfFinancialInstrumentsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FinancialInstrumentAxis": {
     "auth_ref": [
      "r174",
      "r175",
      "r176",
      "r177",
      "r178",
      "r183",
      "r184",
      "r185",
      "r186",
      "r187",
      "r188",
      "r189",
      "r190",
      "r191",
      "r269",
      "r300",
      "r474",
      "r532",
      "r533",
      "r534",
      "r535",
      "r536",
      "r537",
      "r538",
      "r539",
      "r540",
      "r541",
      "r542",
      "r543",
      "r544",
      "r545",
      "r546",
      "r547",
      "r548",
      "r549",
      "r550",
      "r551",
      "r552",
      "r553",
      "r554",
      "r555",
      "r556",
      "r557",
      "r558",
      "r559",
      "r560",
      "r561",
      "r634",
      "r635",
      "r636",
      "r637",
      "r638",
      "r639",
      "r640"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of financial instrument.",
        "label": "Financial Instrument [Axis]"
       }
      }
     },
     "localname": "FinancialInstrumentAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfWarrantsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetUsefulLife": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Useful life of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Finite-Lived Intangible Asset, Useful Life",
        "terseLabel": "Intangible assets, useful life"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetUsefulLife",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillScheduleOfIntangibleAssetsDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization": {
     "auth_ref": [
      "r12",
      "r213"
     ],
     "calculation": {
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillScheduleOfIntangibleAssetsDetail": {
       "order": 2.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated amount of amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Finite-Lived Intangible Assets, Accumulated Amortization",
        "negatedLabel": "Accumulated amortization"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAccumulatedAmortization",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillScheduleOfIntangibleAssetsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextRollingTwelveMonths": {
     "auth_ref": [],
     "calculation": {
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillScheduleOfFutureAmortizationOfIntangibleAssetsDetail": {
       "order": 5.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization expense for assets, excluding financial assets and goodwill, lacking physical substance with a finite life expected to be recognized in the next rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Finite-Lived Intangible Assets, Amortization Expense, Next Rolling 12 Months",
        "terseLabel": "September 30, 2023"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseNextRollingTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillScheduleOfFutureAmortizationOfIntangibleAssetsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths": {
     "auth_ref": [
      "r215"
     ],
     "calculation": {
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillScheduleOfFutureAmortizationOfIntangibleAssetsDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year One",
        "terseLabel": "September 30, 2024"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillScheduleOfFutureAmortizationOfIntangibleAssetsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRollingYearFour": {
     "auth_ref": [],
     "calculation": {
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillScheduleOfFutureAmortizationOfIntangibleAssetsDetail": {
       "order": 4.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization expense for assets, excluding financial assets and goodwill, lacking physical substance with a finite life expected to be recognized in the fourth rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Finite-Lived Intangible Assets, Amortization Expense, Rolling Year Four",
        "terseLabel": "September 30, 2027"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseRollingYearFour",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillScheduleOfFutureAmortizationOfIntangibleAssetsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRollingYearThree": {
     "auth_ref": [],
     "calculation": {
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillScheduleOfFutureAmortizationOfIntangibleAssetsDetail": {
       "order": 3.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization expense for assets, excluding financial assets and goodwill, lacking physical substance with a finite life expected to be recognized in the third rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Finite-Lived Intangible Assets, Amortization Expense, Rolling Year Three",
        "terseLabel": "September 30, 2026"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseRollingYearThree",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillScheduleOfFutureAmortizationOfIntangibleAssetsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRollingYearTwo": {
     "auth_ref": [],
     "calculation": {
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillScheduleOfFutureAmortizationOfIntangibleAssetsDetail": {
       "order": 2.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization expense for assets, excluding financial assets and goodwill, lacking physical substance with a finite life expected to be recognized in the second rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Finite-Lived Intangible Assets, Amortization Expense, Rolling Year Two",
        "terseLabel": "September 30, 2025"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseRollingYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillScheduleOfFutureAmortizationOfIntangibleAssetsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis": {
     "auth_ref": [
      "r208",
      "r210",
      "r213",
      "r216",
      "r564",
      "r565"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by major type or class of finite-lived intangible assets.",
        "label": "Finite-Lived Intangible Assets by Major Class [Axis]"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsByMajorClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAcquiredParentheticalDetail",
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail",
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillAdditionalInformationDetail",
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillScheduleOfIntangibleAssetsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsFutureAmortizationExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Finite-Lived Intangible Assets, Net, Amortization Expense, Fiscal Year Maturity [Abstract]"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsFutureAmortizationExpenseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsGross": {
     "auth_ref": [
      "r213",
      "r565"
     ],
     "calculation": {
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillScheduleOfIntangibleAssetsDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Finite-Lived Intangible Assets, Gross",
        "terseLabel": "Intangible assets, gross"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsGross",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillScheduleOfIntangibleAssetsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Finite-Lived Intangible Assets [Line Items]"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillScheduleOfIntangibleAssetsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain": {
     "auth_ref": [
      "r208",
      "r212"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The major class of finite-lived intangible asset (for example, patents, trademarks, copyrights, etc.) A major class is composed of intangible assets that can be grouped together because they are similar, either by their nature or by their use in the operations of a company.",
        "label": "Finite-Lived Intangible Assets, Major Class Name [Domain]"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsMajorClassNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAcquiredParentheticalDetail",
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail",
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillAdditionalInformationDetail",
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillScheduleOfIntangibleAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsNet": {
     "auth_ref": [
      "r213",
      "r564"
     ],
     "calculation": {
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillScheduleOfFutureAmortizationOfIntangibleAssetsDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillScheduleOfIntangibleAssetsDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Finite-Lived Intangible Assets, Net",
        "totalLabel": "Intangible assets, net",
        "verboseLabel": "Finite lived intangible assets net"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAcquiredParentheticalDetail",
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillScheduleOfFutureAmortizationOfIntangibleAssetsDetail",
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillScheduleOfIntangibleAssetsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsPurchaseAccountingAdjustments": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) to assets, excluding financial assets and goodwill, lacking physical substance with a finite life for purchase accounting adjustments.",
        "label": "Finite-Lived Intangible Assets, Purchase Accounting Adjustments",
        "terseLabel": "Finite-lived intangible assets, purchase accounting adjustments",
        "verboseLabel": "Finite lived intangible assets purchase accounting adjustments"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsPurchaseAccountingAdjustments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAcquiredParentheticalDetail",
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinitelivedIntangibleAssetsAcquired1": {
     "auth_ref": [
      "r209"
     ],
     "calculation": {
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAcquiredDetail": {
       "order": 1.0,
       "parentTag": "ctm_AssetAcquistionAssetsAcquired",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase in assets, excluding financial assets, lacking physical substance with a definite life, from an acquisition.",
        "label": "Finite-Lived Intangible Assets Acquired",
        "terseLabel": "Customer relationships (contracts)"
       }
      }
     },
     "localname": "FinitelivedIntangibleAssetsAcquired1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAcquiredDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FurnitureAndFixturesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equipment commonly used in offices and stores that have no permanent connection to the structure of a building or utilities. Examples include, but are not limited to, desks, chairs, tables, and bookcases.",
        "label": "Furniture and Fixtures [Member]",
        "terseLabel": "Furniture [Member]"
       }
      }
     },
     "localname": "FurnitureAndFixturesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FixedAssetsSummaryOfFixedAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_GainLossOnDerivativeInstrumentsNetPretax": {
     "auth_ref": [
      "r465"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 14.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate net gain (loss) on all derivative instruments recognized in earnings during the period, before tax effects.",
        "label": "Gain (Loss) on Derivative Instruments, Net, Pretax",
        "negatedLabel": "Change in fair value of derivative liability"
       }
      }
     },
     "localname": "GainLossOnDerivativeInstrumentsNetPretax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GainLossOnDispositionOfAssets1": {
     "auth_ref": [
      "r75"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 16.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain (loss) on sale or disposal of assets, including but not limited to property plant and equipment, intangible assets and equity in securities of subsidiaries or equity method investee.",
        "label": "Gain (Loss) on Disposition of Assets",
        "negatedLabel": "Gain (Loss) on Disposition of Assets"
       }
      }
     },
     "localname": "GainLossOnDispositionOfAssets1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GainLossOnSaleOfPropertyPlantEquipment": {
     "auth_ref": [
      "r75"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": 14.0,
       "parentTag": "us-gaap_NonoperatingIncomeExpense",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain (loss) on sale or disposal of property, plant and equipment assets, including oil and gas property and timber property.",
        "label": "Gain (Loss) on Disposition of Property Plant Equipment",
        "terseLabel": "Gain on disposal of fixed assets"
       }
      }
     },
     "localname": "GainLossOnSaleOfPropertyPlantEquipment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GeneralAndAdministrativeExpense": {
     "auth_ref": [
      "r58"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": 7.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate total of expenses of managing and administering the affairs of an entity, including affiliates of the reporting entity, which are not directly or indirectly associated with the manufacture, sale or creation of a product or product line.",
        "label": "General and Administrative Expense",
        "terseLabel": "General and administrative expenses"
       }
      }
     },
     "localname": "GeneralAndAdministrativeExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Goodwill": {
     "auth_ref": [
      "r11",
      "r192",
      "r194",
      "r201",
      "r205",
      "r528",
      "r579"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 9.0,
       "parentTag": "us-gaap_AssetsNoncurrentOtherThanNoncurrentInvestmentsAndPropertyPlantAndEquipment",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Goodwill",
        "periodEndLabel": "Balance \u2013 ending of period",
        "periodStartLabel": "Balance \u2013 beginning of period",
        "terseLabel": "Goodwill"
       }
      }
     },
     "localname": "Goodwill",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail",
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets",
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillScheduleOfGoodwillDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GoodwillAcquiredDuringPeriod": {
     "auth_ref": [
      "r195",
      "r205"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase in asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized resulting from a business combination.",
        "label": "Goodwill, Acquired During Period",
        "terseLabel": "Additions"
       }
      }
     },
     "localname": "GoodwillAcquiredDuringPeriod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillScheduleOfGoodwillDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Goodwill and Intangible Assets Disclosure [Abstract]"
       }
      }
     },
     "localname": "GoodwillAndIntangibleAssetsDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_GoodwillAndIntangibleAssetsDisclosureTextBlock": {
     "auth_ref": [
      "r217"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for goodwill and intangible assets.",
        "label": "Goodwill and Intangible Assets Disclosure [Text Block]",
        "terseLabel": "Intangible Assets and Goodwill"
       }
      }
     },
     "localname": "GoodwillAndIntangibleAssetsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwill"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_GoodwillImpairmentLoss": {
     "auth_ref": [
      "r75",
      "r193",
      "r198",
      "r204",
      "r205"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Goodwill, Impairment Loss",
        "terseLabel": "Impairment"
       }
      }
     },
     "localname": "GoodwillImpairmentLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillScheduleOfGoodwillDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GoodwillPurchaseAccountingAdjustments": {
     "auth_ref": [
      "r200",
      "r415"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) from adjustments after acquisition date under purchase accounting 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.",
        "label": "Goodwill, Purchase Accounting Adjustments",
        "terseLabel": "Goodwill purchase accounting adjustments"
       }
      }
     },
     "localname": "GoodwillPurchaseAccountingAdjustments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GrossProfit": {
     "auth_ref": [
      "r56",
      "r89",
      "r150",
      "r158",
      "r161",
      "r164",
      "r166",
      "r179",
      "r230",
      "r231",
      "r232",
      "r235",
      "r236",
      "r237",
      "r238",
      "r239",
      "r241",
      "r242",
      "r495"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": 1.0,
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate revenue less cost of goods and services sold or operating expenses directly attributable to the revenue generation activity.",
        "label": "Gross Profit",
        "totalLabel": "GROSS PROFIT"
       }
      }
     },
     "localname": "GrossProfit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IPOMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "First sale of stock by a private company to the public.",
        "label": "IPO [Member]"
       }
      }
     },
     "localname": "IPOMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/SubsequentEventsAdditionalInformationDetail",
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest": {
     "auth_ref": [
      "r53",
      "r150",
      "r158",
      "r161",
      "r164",
      "r166",
      "r578",
      "r584",
      "r589",
      "r603"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": 10.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of income (loss) from continuing operations, including income (loss) from equity method investments, before deduction of income tax expense (benefit), and income (loss) attributable to noncontrolling interest.",
        "label": "Income (Loss) from Continuing Operations before Income Taxes, Noncontrolling Interest",
        "terseLabel": "LOSS FROM OPERATIONS BEFORE BENEFIT FOR INCOME TAXES"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeStatementAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Statement [Abstract]",
        "terseLabel": "Statement of Financial Position [Abstract]"
       }
      }
     },
     "localname": "IncomeStatementAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax Disclosure [Abstract]"
       }
      }
     },
     "localname": "IncomeTaxDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxDisclosureTextBlock": {
     "auth_ref": [
      "r91",
      "r396",
      "r397",
      "r400",
      "r405",
      "r410",
      "r412",
      "r413",
      "r414"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for income taxes. Disclosures may include net deferred tax liability or asset recognized in an enterprise's statement of financial position, net change during the year in the total valuation allowance, approximate tax effect of each type of temporary difference and carryforward that gives rise to a significant portion of deferred tax liabilities and deferred tax assets, utilization of a tax carryback, and tax uncertainties information.",
        "label": "Income Tax Disclosure [Text Block]",
        "terseLabel": "Income Taxes"
       }
      }
     },
     "localname": "IncomeTaxDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/IncomeTaxes"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r92",
      "r110",
      "r111",
      "r149",
      "r394",
      "r406",
      "r411",
      "r604"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": 11.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.",
        "label": "Income Tax Expense (Benefit)",
        "negatedLabel": "BENEFIT FROM INCOME TAXES"
       }
      }
     },
     "localname": "IncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxPolicyTextBlock": {
     "auth_ref": [
      "r47",
      "r390",
      "r391",
      "r397",
      "r398",
      "r399",
      "r402"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for income taxes, which may include its accounting policies for recognizing and measuring deferred tax assets and liabilities and related valuation allowances, recognizing investment tax credits, operating loss carryforwards, tax credit carryforwards, and other carryforwards, methodologies for determining its effective income tax rate and the characterization of interest and penalties in the financial statements.",
        "label": "Income Tax, Policy [Policy Text Block]",
        "terseLabel": "Accounting for Income Taxes"
       }
      }
     },
     "localname": "IncomeTaxPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeTaxesPaidNet": {
     "auth_ref": [
      "r78"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of cash paid during the current period to foreign, federal, state, and local authorities as taxes on income, net of any cash received during the current period as refunds for the overpayment of taxes.",
        "label": "Income Taxes Paid, Net",
        "terseLabel": "Cash paid for income taxes"
       }
      }
     },
     "localname": "IncomeTaxesPaidNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities": {
     "auth_ref": [
      "r74"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the amounts payable to vendors for goods and services received and the amount of obligations and expenses incurred but not paid.",
        "label": "Increase (Decrease) in Accounts Payable and Accrued Liabilities",
        "terseLabel": "Accounts payable and accrued expenses"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccountsPayableAndAccruedLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccountsReceivable": {
     "auth_ref": [
      "r74"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in amount due within one year (or one business cycle) from customers for the credit sale of goods and services.",
        "label": "Increase (Decrease) in Accounts Receivable",
        "negatedLabel": "Accounts receivable"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccountsReceivable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInOperatingCapitalAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (Decrease) in Operating Capital [Abstract]",
        "terseLabel": "Changes in assets and liabilities"
       }
      }
     },
     "localname": "IncreaseDecreaseInOperatingCapitalAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets": {
     "auth_ref": [
      "r74"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in prepaid expenses, and assets classified as other.",
        "label": "Increase (Decrease) in Prepaid Expense and Other Assets",
        "negatedLabel": "Prepaid expenses and other current assets"
       }
      }
     },
     "localname": "IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IntangibleAssetsNetExcludingGoodwill": {
     "auth_ref": [
      "r206",
      "r211"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 10.0,
       "parentTag": "us-gaap_AssetsNoncurrentOtherThanNoncurrentInvestmentsAndPropertyPlantAndEquipment",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts of all intangible assets, excluding goodwill, as of the balance sheet date, net of accumulated amortization and impairment charges.",
        "label": "Intangible Assets, Net (Excluding Goodwill)",
        "terseLabel": "Intangible assets, net"
       }
      }
     },
     "localname": "IntangibleAssetsNetExcludingGoodwill",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpense": {
     "auth_ref": [
      "r51",
      "r147",
      "r504",
      "r507",
      "r588"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the cost of borrowed funds accounted for as interest expense.",
        "label": "Interest Expense",
        "terseLabel": "Interest Expense"
       }
      }
     },
     "localname": "InterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseDebt": {
     "auth_ref": [
      "r60",
      "r264",
      "r274",
      "r277",
      "r278"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the cost of borrowed funds accounted for as interest expense for debt.",
        "label": "Interest Expense, Debt",
        "terseLabel": "Interest Expense, Debt"
       }
      }
     },
     "localname": "InterestExpenseDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/NotesPayableAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseRelatedParty": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest expense incurred on a debt or other obligation to related party.",
        "label": "Interest Expense, Related Party",
        "terseLabel": "Interest Expense, Related Party"
       }
      }
     },
     "localname": "InterestExpenseRelatedParty",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/NotePayableRelatedPartyAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeExpenseNet": {
     "auth_ref": [
      "r587"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": 16.0,
       "parentTag": "us-gaap_NonoperatingIncomeExpense",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net amount of operating interest income (expense).",
        "label": "Interest Income (Expense), Net",
        "terseLabel": "Interest expense, net of interest income"
       }
      }
     },
     "localname": "InterestIncomeExpenseNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPaidNet": {
     "auth_ref": [
      "r69",
      "r72",
      "r78"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash paid for interest, excluding capitalized interest, classified as operating activity. Includes, but is not limited to, payment to settle zero-coupon bond for accreted interest of debt discount and debt instrument with insignificant coupon interest rate in relation to effective interest rate of borrowing attributable to accreted interest of debt discount.",
        "label": "Interest Paid, Excluding Capitalized Interest, Operating Activities",
        "terseLabel": "Cash paid for interest expense"
       }
      }
     },
     "localname": "InterestPaidNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPayableCurrent": {
     "auth_ref": [
      "r33"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of [accrued] interest payable on all forms of debt, including trade payables, that has been incurred and is unpaid. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Interest Payable, Current",
        "terseLabel": "Accrued interest payable current",
        "verboseLabel": "Accrued interest payable current"
       }
      }
     },
     "localname": "InterestPayableCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesAdditionalInformationDetail",
      "http://www.Castellum.com/role/NotesPayableAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LeaseholdImprovementsMember": {
     "auth_ref": [
      "r219"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Additions or improvements to assets held under a lease arrangement.",
        "label": "Leasehold Improvements [Member]",
        "terseLabel": "Leasehold improvements [Member]"
       }
      }
     },
     "localname": "LeaseholdImprovementsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FixedAssetsSummaryOfFixedAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_Liabilities": {
     "auth_ref": [
      "r32",
      "r89",
      "r160",
      "r179",
      "r230",
      "r231",
      "r232",
      "r235",
      "r236",
      "r237",
      "r238",
      "r239",
      "r241",
      "r242",
      "r453",
      "r456",
      "r457",
      "r495",
      "r526",
      "r527"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 17.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all liabilities that are recognized. Liabilities are probable future sacrifices of economic benefits arising from present obligations of an entity to transfer assets or provide services to other entities in the future.",
        "label": "Liabilities",
        "totalLabel": "Total Liabilities"
       }
      }
     },
     "localname": "Liabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities [Abstract]"
       }
      }
     },
     "localname": "LiabilitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquity": {
     "auth_ref": [
      "r27",
      "r89",
      "r179",
      "r495",
      "r528",
      "r583",
      "r598"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any.",
        "label": "Liabilities and Equity",
        "totalLabel": "TOTAL LIABILITIES AND STOCKHOLDERS' EQUITY"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities and Equity [Abstract]",
        "terseLabel": "LIABILITIES AND STOCKHOLDERS' EQUITY"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesCurrent": {
     "auth_ref": [
      "r4",
      "r34",
      "r89",
      "r179",
      "r230",
      "r231",
      "r232",
      "r235",
      "r236",
      "r237",
      "r238",
      "r239",
      "r241",
      "r242",
      "r453",
      "r456",
      "r457",
      "r495",
      "r526",
      "r527",
      "r528"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 23.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total obligations incurred as part of normal operations that are expected to be paid during the following twelve months or within one business cycle, if longer.",
        "label": "Liabilities, Current",
        "totalLabel": "Total current liabilities"
       }
      }
     },
     "localname": "LiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesCurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities, Current [Abstract]",
        "terseLabel": "CURRENT LIABILITIES"
       }
      }
     },
     "localname": "LiabilitiesCurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesFairValueDisclosure": {
     "auth_ref": [
      "r480"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of financial and nonfinancial obligations.",
        "label": "Liabilities, Fair Value Disclosure",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "LiabilitiesFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FairValueSummaryOfDerivativeLiabilitiesAndTheContingentEarnOutFallDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesNoncurrent": {
     "auth_ref": [
      "r5",
      "r6",
      "r7",
      "r17",
      "r18",
      "r89",
      "r179",
      "r230",
      "r231",
      "r232",
      "r235",
      "r236",
      "r237",
      "r238",
      "r239",
      "r241",
      "r242",
      "r453",
      "r456",
      "r457",
      "r495",
      "r526",
      "r527"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 18.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of obligation due after one year or beyond the normal operating cycle, if longer.",
        "label": "Liabilities, Noncurrent",
        "totalLabel": "Total non-current liabilities"
       }
      }
     },
     "localname": "LiabilitiesNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesNoncurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities, Noncurrent [Abstract]",
        "terseLabel": "NON-CURRENT LIABILITIES"
       }
      }
     },
     "localname": "LiabilitiesNoncurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LineOfCredit": {
     "auth_ref": [
      "r17",
      "r582",
      "r593"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The carrying value as of the balance sheet date of the current and noncurrent portions of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement.",
        "label": "Long-Term Line of Credit",
        "terseLabel": "Long-term line of credit"
       }
      }
     },
     "localname": "LineOfCredit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/RevolvingCreditFacilityAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditFacilityAxis": {
     "auth_ref": [
      "r30",
      "r88"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by name of lender, which may be a single entity (for example, but not limited to, a bank, pension fund, venture capital firm) or a group of entities that participate in the line of credit.",
        "label": "Lender Name [Axis]"
       }
      }
     },
     "localname": "LineOfCreditFacilityAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/RevolvingCreditFacilityAdditionalInformationDetail",
      "http://www.Castellum.com/role/SubsequentEventsAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity": {
     "auth_ref": [
      "r30"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current borrowing capacity under the credit facility considering any current restrictions on the amount that could be borrowed (for example, borrowings may be limited by the amount of current assets), but without considering any amounts currently outstanding under the facility.",
        "label": "Line of Credit Facility, Current Borrowing Capacity",
        "terseLabel": "Line of credit facility, current borrowing capacity"
       }
      }
     },
     "localname": "LineOfCreditFacilityCurrentBorrowingCapacity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/RevolvingCreditFacilityAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditFacilityIncreaseAccruedInterest": {
     "auth_ref": [
      "r88"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase for accrued, but unpaid interest on the credit facility for the period.",
        "label": "Line of Credit Facility, Increase, Accrued Interest",
        "terseLabel": "Line of credit facility, increase, accrued interest"
       }
      }
     },
     "localname": "LineOfCreditFacilityIncreaseAccruedInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/RevolvingCreditFacilityAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditFacilityLenderDomain": {
     "auth_ref": [
      "r30",
      "r88"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identification of the lender, which may be a single entity (for example, a bank, pension fund, venture capital firm) or a group of entities that participate in the line of credit, including a letter of credit facility.",
        "label": "Line of Credit Facility, Lender [Domain]"
       }
      }
     },
     "localname": "LineOfCreditFacilityLenderDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/RevolvingCreditFacilityAdditionalInformationDetail",
      "http://www.Castellum.com/role/SubsequentEventsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LineOfCreditFacilityLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Line of Credit Facility [Line Items]"
       }
      }
     },
     "localname": "LineOfCreditFacilityLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/RevolvingCreditFacilityAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LineOfCreditFacilityTable": {
     "auth_ref": [
      "r30",
      "r88"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A table or schedule providing information pertaining to short-term or long-term contractual arrangements with lenders, including letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line.",
        "label": "Line of Credit Facility [Table]"
       }
      }
     },
     "localname": "LineOfCreditFacilityTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/RevolvingCreditFacilityAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LinesOfCreditCurrent": {
     "auth_ref": [
      "r15",
      "r581"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 31.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The carrying value as of the balance sheet date of the current portion of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement.",
        "label": "Line of Credit, Current",
        "terseLabel": "Revolving credit facility"
       }
      }
     },
     "localname": "LinesOfCreditCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebt": {
     "auth_ref": [
      "r17",
      "r257",
      "r272",
      "r275",
      "r276",
      "r582",
      "r596"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, excluding unamortized premium (discount) and debt issuance cost, of long-term debt. Excludes lease obligation.",
        "label": "Long-Term Debt",
        "terseLabel": "Total"
       }
      }
     },
     "localname": "LongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableDetail",
      "http://www.Castellum.com/role/NotesPayableScheduleOfRepaymentNetOfDiscountsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextRollingTwelveMonths": {
     "auth_ref": [
      "r95"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirements, and other securities issued that are redeemable by holder at fixed or determinable prices and dates maturing in the next rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Long-Term Debt, Maturities, Repayments of Principal in Next Rolling 12 Months",
        "terseLabel": "September 30, 2023"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInNextRollingTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/NotesPayableScheduleOfRepaymentNetOfDiscountsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingYearTwo": {
     "auth_ref": [
      "r95"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt payable, sinking fund requirements, and other securities issued that are redeemable by holder at fixed or determinable prices and dates maturing in the second rolling twelve months following the latest balance sheet. For interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Long-Term Debt, Maturities, Repayments of Principal in Rolling Year Two",
        "terseLabel": "September 30, 2024"
       }
      }
     },
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInRollingYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/NotesPayableScheduleOfRepaymentNetOfDiscountsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongTermNotesPayable": {
     "auth_ref": [
      "r38"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 22.0,
       "parentTag": "us-gaap_LiabilitiesNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of notes payable (with maturities initially due after one year or beyond the operating cycle if longer), excluding current portion.",
        "label": "Notes Payable, Noncurrent",
        "terseLabel": "Notes payable, net of discount, net of current portion"
       }
      }
     },
     "localname": "LongTermNotesPayable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LongtermDebtTypeAxis": {
     "auth_ref": [
      "r38"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of long-term debt.",
        "label": "Long-Term Debt, Type [Axis]"
       }
      }
     },
     "localname": "LongtermDebtTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesAdditionalInformationDetail",
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyDetail",
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyParentheticalDetails",
      "http://www.Castellum.com/role/NotesPayableAdditionalInformationDetail",
      "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableDetail",
      "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableParentheticalDetail",
      "http://www.Castellum.com/role/NotesPayableScheduleOfRepaymentNetOfDiscountsDetail",
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LongtermDebtTypeDomain": {
     "auth_ref": [
      "r38",
      "r229"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of long-term debt arrangement, such as notes, line of credit, commercial paper, asset-based financing, project financing, letter of credit financing. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
        "label": "Long-Term Debt, Type [Domain]"
       }
      }
     },
     "localname": "LongtermDebtTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesAdditionalInformationDetail",
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyDetail",
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyParentheticalDetails",
      "http://www.Castellum.com/role/NotesPayableAdditionalInformationDetail",
      "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableDetail",
      "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableParentheticalDetail",
      "http://www.Castellum.com/role/NotesPayableScheduleOfRepaymentNetOfDiscountsDetail",
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputDiscountRateMember": {
     "auth_ref": [
      "r482"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using interest rate to determine present value of future cash flows.",
        "label": "Measurement Input, Discount Rate [Member]"
       }
      }
     },
     "localname": "MeasurementInputDiscountRateMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FairValueSummaryOfFairValueMeasurementsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputOptionVolatilityMember": {
     "auth_ref": [
      "r482"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using rate at which price of option increases (decreases) for given set of returns.",
        "label": "Measurement Input, Option Volatility [Member]"
       }
      }
     },
     "localname": "MeasurementInputOptionVolatilityMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FairValueSummaryOfFairValueMeasurementsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputRiskFreeInterestRateMember": {
     "auth_ref": [
      "r482"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using interest rate on instrument with zero risk of financial loss.",
        "label": "Measurement Input, Risk Free Interest Rate [Member]"
       }
      }
     },
     "localname": "MeasurementInputRiskFreeInterestRateMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FairValueSummaryOfFairValueMeasurementsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputSharePriceMember": {
     "auth_ref": [
      "r482"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using share price of saleable stock.",
        "label": "Measurement Input, Share Price [Member]"
       }
      }
     },
     "localname": "MeasurementInputSharePriceMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FairValueSummaryOfFairValueMeasurementsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputTypeAxis": {
     "auth_ref": [
      "r482"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of measurement input used to determine value of asset and liability.",
        "label": "Measurement Input Type [Axis]"
       }
      }
     },
     "localname": "MeasurementInputTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FairValueSummaryOfFairValueMeasurementsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_MeasurementInputTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input used to determine value of asset and liability.",
        "label": "Measurement Input Type [Domain]"
       }
      }
     },
     "localname": "MeasurementInputTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FairValueSummaryOfFairValueMeasurementsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MinorityInterestOwnershipPercentageByParent": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The parent entity's interest in net assets of the subsidiary, expressed as a percentage.",
        "label": "Noncontrolling Interest, Ownership Percentage by Parent",
        "terseLabel": "Noncontrolling interest, Ownership percentage by parent"
       }
      }
     },
     "localname": "MinorityInterestOwnershipPercentageByParent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_NatureOfOperations": {
     "auth_ref": [
      "r130",
      "r143"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for the nature of an entity's business, major products or services, principal markets including location, and the relative importance of its operations in each business and the basis for the determination, including but not limited to, assets, revenues, or earnings. For an entity that has not commenced principal operations, disclosures about the risks and uncertainties related to the activities in which the entity is currently engaged and an understanding of what those activities are being directed toward.",
        "label": "Nature of Operations [Text Block]",
        "terseLabel": "Nature of Operations"
       }
      }
     },
     "localname": "NatureOfOperations",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/NatureOfOperations"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivities": {
     "auth_ref": [
      "r71"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 19.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from financing activities, including discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.",
        "label": "Net Cash Provided by (Used in) Financing Activities",
        "totalLabel": "Net cash provided by financing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Financing Activities [Abstract]",
        "terseLabel": "CASH FLOWS FROM FINANCING ACTIVITES"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivities": {
     "auth_ref": [
      "r71"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 29.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from investing activities, including discontinued operations. Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets.",
        "label": "Net Cash Provided by (Used in) Investing Activities",
        "totalLabel": "Net cash (used in) provided by investing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Investing Activities [Abstract]",
        "terseLabel": "CASH FLOWS FROM INVESTING ACTIVITES"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivities": {
     "auth_ref": [
      "r71",
      "r73",
      "r76"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Net Cash Provided by (Used in) Operating Activities",
        "totalLabel": "Net cash (used in) provided by operating activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Operating Activities [Abstract]",
        "terseLabel": "CASH FLOW FROM OPERATING ACTIVIITES"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetIncomeLoss": {
     "auth_ref": [
      "r2",
      "r45",
      "r46",
      "r50",
      "r54",
      "r76",
      "r89",
      "r100",
      "r102",
      "r103",
      "r105",
      "r106",
      "r110",
      "r111",
      "r118",
      "r150",
      "r158",
      "r161",
      "r164",
      "r166",
      "r179",
      "r230",
      "r231",
      "r232",
      "r235",
      "r236",
      "r237",
      "r238",
      "r239",
      "r241",
      "r242",
      "r479",
      "r495",
      "r585",
      "r601"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent.",
        "label": "Net Income (Loss) Attributable to Parent",
        "totalLabel": "NET LOSS TO COMMON SHAREHOLDERS",
        "verboseLabel": "Net loss for the period"
       }
      }
     },
     "localname": "NetIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity",
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy pertaining to new accounting pronouncements that may impact the entity's financial reporting. Includes, but is not limited to, quantification of the expected or actual impact.",
        "label": "New Accounting Pronouncements, Policy [Policy Text Block]",
        "terseLabel": "Recent Accounting Pronouncements"
       }
      }
     },
     "localname": "NewAccountingPronouncementsPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_NoncompeteAgreementsMember": {
     "auth_ref": [
      "r430"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Agreement in which one party agrees not to pursue a similar trade in competition with another party.",
        "label": "Noncompete Agreements [Member]",
        "terseLabel": "Non-compete Agreements [Member]"
       }
      }
     },
     "localname": "NoncompeteAgreementsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail",
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillScheduleOfIntangibleAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NonoperatingIncomeExpense": {
     "auth_ref": [
      "r59"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate amount of income or expense from ancillary business-related activities (that is to say, excluding major activities considered part of the normal operations of the business).",
        "label": "Nonoperating Income (Expense)",
        "totalLabel": "Total other income (expense)"
       }
      }
     },
     "localname": "NonoperatingIncomeExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NonoperatingIncomeExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Nonoperating Income (Expense) [Abstract]",
        "terseLabel": "OTHER INCOME (EXPENSE)"
       }
      }
     },
     "localname": "NonoperatingIncomeExpenseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NotesPayable": {
     "auth_ref": [
      "r17",
      "r582",
      "r596"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Including the current and noncurrent portions, aggregate carrying amount of all types of notes payable, as of the balance sheet date, with initial maturities beyond one year or beyond the normal operating cycle, if longer.",
        "label": "Notes Payable",
        "terseLabel": "Total Notes Payable"
       }
      }
     },
     "localname": "NotesPayable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NotesPayableAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Notes Payable [Abstract]"
       }
      }
     },
     "localname": "NotesPayableAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_NotesPayableCurrent": {
     "auth_ref": [
      "r31"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 32.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying values as of the balance sheet date of the portions of long-term notes payable due within one year or the operating cycle if longer.",
        "label": "Notes Payable, Current",
        "terseLabel": "Current portion of notes payable, net of discount"
       }
      }
     },
     "localname": "NotesPayableCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NotesPayableOtherPayablesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A written promise to pay a note to a third party.",
        "label": "Notes Payable, Other Payables [Member]",
        "terseLabel": "Notes Payable",
        "verboseLabel": "Notes Payable, Other Payables [Member]"
       }
      }
     },
     "localname": "NotesPayableOtherPayablesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableDetail",
      "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NotesPayableRelatedPartiesCurrentAndNoncurrent": {
     "auth_ref": [
      "r93",
      "r520",
      "r600"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount for notes payable (written promise to pay), due to related parties.",
        "label": "Notes Payable, Related Parties"
       }
      }
     },
     "localname": "NotesPayableRelatedPartiesCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/NotePayableRelatedPartyScheduleOfNotesPayableToRelatedPartyDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NotesPayableRelatedPartiesNoncurrent": {
     "auth_ref": [
      "r39",
      "r93",
      "r520"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 20.0,
       "parentTag": "us-gaap_LiabilitiesNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount for notes payable (written promise to pay), payable to related parties, which are due after one year (or one business cycle).",
        "label": "Notes Payable, Related Parties, Noncurrent",
        "terseLabel": "Note payable - related party, net of current portion"
       }
      }
     },
     "localname": "NotesPayableRelatedPartiesNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NotesPayableToBanksMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A written promise to pay a note to a bank.",
        "label": "Notes Payable to Banks [Member]",
        "verboseLabel": "Notes Payable to Banks [Member]"
       }
      }
     },
     "localname": "NotesPayableToBanksMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NumberOfOperatingSegments": {
     "auth_ref": [
      "r144"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of operating segments. An operating segment is a component of an enterprise: (a) that engages in business activities from which it may earn revenues and incur expenses (including revenues and expenses relating to transactions with other components of the same enterprise), (b) whose operating results are regularly reviewed by the enterprise's chief operating decision maker to make decisions about resources to be allocated to the segment and assess its performance, and (c) for which discrete financial information is available. An operating segment may engage in business activities for which it has yet to earn revenues, for example, start-up operations may be operating segments before earning revenues.",
        "label": "Number of Operating Segments",
        "terseLabel": "Number of operating segments"
       }
      }
     },
     "localname": "NumberOfOperatingSegments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_NumberOfReportableSegments": {
     "auth_ref": [
      "r144"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of segments reported by the entity. A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements.",
        "label": "Number of Reportable Segments",
        "verboseLabel": "Number of reporting segments"
       }
      }
     },
     "localname": "NumberOfReportableSegments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_OperatingExpenses": {
     "auth_ref": [],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": 4.0,
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Generally recurring costs associated with normal operations except for the portion of these expenses which can be clearly related to production and included in cost of sales or services. Includes selling, general and administrative expense.",
        "label": "Operating Expenses",
        "totalLabel": "Total operating expenses"
       }
      }
     },
     "localname": "OperatingExpenses",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingExpensesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Expenses [Abstract]",
        "terseLabel": "OPERATING EXPENSES"
       }
      }
     },
     "localname": "OperatingExpensesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OperatingIncomeLoss": {
     "auth_ref": [
      "r150",
      "r158",
      "r161",
      "r164",
      "r166"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net result for the period of deducting operating expenses from operating revenues.",
        "label": "Operating Income (Loss)",
        "totalLabel": "LOSS FROM OPERATIONS BEFORE OTHER INCOME (EXPENSE)"
       }
      }
     },
     "localname": "OperatingIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseCost": {
     "auth_ref": [
      "r513",
      "r514"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of single lease cost, calculated by allocation of remaining cost of lease over remaining lease term. Includes, but is not limited to, single lease cost, after impairment of right-of-use asset, calculated by amortization of remaining right-of-use asset and accretion of lease liability.",
        "label": "Operating Lease, Cost",
        "terseLabel": "Lease cost"
       }
      }
     },
     "localname": "OperatingLeaseCost",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiabilityCurrent": {
     "auth_ref": [
      "r512"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 33.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease, classified as current.",
        "label": "Operating Lease, Liability, Current",
        "terseLabel": "Current portion of lease liability - operating lease"
       }
      }
     },
     "localname": "OperatingLeaseLiabilityCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiabilityNoncurrent": {
     "auth_ref": [
      "r512"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 19.0,
       "parentTag": "us-gaap_LiabilitiesNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease, classified as noncurrent.",
        "label": "Operating Lease, Liability, Noncurrent",
        "terseLabel": "Lease liability - operating lease, net of current portion"
       }
      }
     },
     "localname": "OperatingLeaseLiabilityNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseRightOfUseAsset": {
     "auth_ref": [
      "r511"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 8.0,
       "parentTag": "us-gaap_AssetsNoncurrentOtherThanNoncurrentInvestmentsAndPropertyPlantAndEquipment",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's right to use underlying asset under operating lease.",
        "label": "Operating Lease, Right-of-Use Asset",
        "terseLabel": "Right of use asset - operating lease"
       }
      }
     },
     "localname": "OperatingLeaseRightOfUseAsset",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Organization, Consolidation and Presentation of Financial Statements [Abstract]"
       }
      }
     },
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_PaymentsOfDividendsPreferredStockAndPreferenceStock": {
     "auth_ref": [
      "r67"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 21.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow in the form of ordinary dividends to preferred shareholders of the parent entity.",
        "label": "Payments of Ordinary Dividends, Preferred Stock and Preference Stock",
        "negatedLabel": "Preferred stock dividend"
       }
      }
     },
     "localname": "PaymentsOfDividendsPreferredStockAndPreferenceStock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireBusinessesGross": {
     "auth_ref": [
      "r63",
      "r439"
     ],
     "calculation": {
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail": {
       "order": 2.0,
       "parentTag": "us-gaap_BusinessCombinationConsiderationTransferred1",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "definitionGuidance": "Payment to acquire business, gross",
        "documentation": "The cash outflow associated with the acquisition of business during the period. The cash portion only of the acquisition price.",
        "label": "Payments to Acquire Businesses, Gross",
        "terseLabel": "Payments to Acquire Businesses, Gross",
        "verboseLabel": "Cash"
       }
      }
     },
     "localname": "PaymentsToAcquireBusinessesGross",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsAdditionalInformationDetail",
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail",
      "http://www.Castellum.com/role/DueToSellerAdditionalInformationDetail",
      "http://www.Castellum.com/role/SubsequentEventsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired": {
     "auth_ref": [
      "r63"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 31.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow associated with the acquisition of a business, net of the cash acquired from the purchase.",
        "label": "Payments to Acquire Businesses, Net of Cash Acquired",
        "negatedLabel": "Cash paid in acquisition of LSG"
       }
      }
     },
     "localname": "PaymentsToAcquireBusinessesNetOfCashAcquired",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquirePropertyPlantAndEquipment": {
     "auth_ref": [
      "r64"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 32.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow associated with the acquisition of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale; includes cash outflows to pay for construction of self-constructed assets.",
        "label": "Payments to Acquire Property, Plant, and Equipment",
        "negatedLabel": "Purchase of fixed assets"
       }
      }
     },
     "localname": "PaymentsToAcquirePropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PlanNameAxis": {
     "auth_ref": [
      "r347",
      "r348",
      "r349",
      "r352",
      "r353",
      "r354",
      "r355",
      "r356",
      "r357",
      "r358",
      "r359",
      "r361",
      "r362",
      "r363",
      "r364",
      "r365",
      "r366",
      "r368",
      "r369",
      "r371",
      "r372",
      "r375",
      "r376",
      "r377",
      "r378",
      "r379"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by plan name for share-based payment arrangement.",
        "label": "Plan Name [Axis]"
       }
      }
     },
     "localname": "PlanNameAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PlanNameDomain": {
     "auth_ref": [
      "r347",
      "r348",
      "r349",
      "r352",
      "r353",
      "r354",
      "r355",
      "r356",
      "r357",
      "r358",
      "r359",
      "r361",
      "r362",
      "r363",
      "r364",
      "r365",
      "r366",
      "r368",
      "r369",
      "r371",
      "r372",
      "r375",
      "r376",
      "r377",
      "r378",
      "r379"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plan name for share-based payment arrangement.",
        "label": "Plan Name [Domain]"
       }
      }
     },
     "localname": "PlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PreferredClassAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Outstanding nonredeemable preferred class A stock or outstanding convertible preferred class A stock. Classified within stockholders' equity if nonredeemable or redeemable solely at the option of the issuer. Classified within temporary equity if redemption is outside the control of the issuer.",
        "label": "Preferred Class A [Member]"
       }
      }
     },
     "localname": "PreferredClassAMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PreferredStockDividendRatePerDollarAmount": {
     "auth_ref": [
      "r286"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount per share used to calculated dividend payments on preferred stock.",
        "label": "Preferred Stock, Dividend Rate, Per-Dollar-Amount",
        "terseLabel": "Preferred stock, dividend rate, per dollar amount"
       }
      }
     },
     "localname": "PreferredStockDividendRatePerDollarAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_PreferredStockDividendsPerShareDeclared": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate dividends declared during the period for each share of preferred stock outstanding.",
        "label": "Preferred Stock, Dividends Per Share, Declared",
        "terseLabel": "Preferred stock dividend per share"
       }
      }
     },
     "localname": "PreferredStockDividendsPerShareDeclared",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/NatureOfOperationsAdditionalInformationDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_PreferredStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Preferred shares may provide a preferential dividend to the dividend on common stock and may take precedence over common stock in the event of a liquidation. Preferred shares typically represent an ownership interest in the company.",
        "label": "Preferred Stock [Member]",
        "terseLabel": "Preferred Stock"
       }
      }
     },
     "localname": "PreferredStockMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PreferredStockParOrStatedValuePerShare": {
     "auth_ref": [
      "r21",
      "r285"
     ],
     "lang": {
      "en-us": {
       "role": {
        "definitionGuidance": "Preferred stock, par value",
        "documentation": "Face amount or stated value per share of preferred stock nonredeemable or redeemable solely at the option of the issuer.",
        "label": "Preferred Stock, Par or Stated Value Per Share",
        "terseLabel": "Preferred stock par or stated value per share"
       }
      }
     },
     "localname": "PreferredStockParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheetsParenthetical",
      "http://www.Castellum.com/role/NatureOfOperationsAdditionalInformationDetail",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_PreferredStockRedemptionPricePerShare": {
     "auth_ref": [
      "r284",
      "r303",
      "r305"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The price per share at which the preferred stock of an entity that has priority over common stock in the distribution of dividends and in the event of liquidation of the entity is redeemed or may be called at. The redemption features of this preferred stock are solely within the control of the issuer.",
        "label": "Preferred Stock, Redemption Price Per Share",
        "terseLabel": "Preferred stock repurchase price per share",
        "verboseLabel": "Preferred stock, redemption price per share"
       }
      }
     },
     "localname": "PreferredStockRedemptionPricePerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/NatureOfOperationsAdditionalInformationDetail",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_PreferredStockSharesAuthorized": {
     "auth_ref": [
      "r21"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) permitted to be issued by an entity's charter and bylaws.",
        "label": "Preferred Stock, Shares Authorized",
        "terseLabel": "Preferred stock, shares authorized"
       }
      }
     },
     "localname": "PreferredStockSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheetsParenthetical",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredStockSharesIssued": {
     "auth_ref": [
      "r21",
      "r285"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) issued to shareholders (includes related preferred shares that were issued, repurchased, and remain in the treasury). May be all or portion of the number of preferred shares authorized. Excludes preferred shares that are classified as debt.",
        "label": "Preferred Stock, Shares Issued",
        "terseLabel": "Preferred stock, shares issued"
       }
      }
     },
     "localname": "PreferredStockSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheetsParenthetical",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredStockSharesOutstanding": {
     "auth_ref": [
      "r21"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate share number for all nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer) held by stockholders. Does not include preferred shares that have been repurchased.",
        "label": "Preferred Stock, Shares Outstanding",
        "terseLabel": "Preferred stock, shares outstanding"
       }
      }
     },
     "localname": "PreferredStockSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheetsParenthetical",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredStockValue": {
     "auth_ref": [
      "r21",
      "r528"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 13.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate par or stated value of issued nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable preferred shares, par value and other disclosure concepts are in another section within stockholders' equity.",
        "label": "Preferred Stock, Value, Issued"
       }
      }
     },
     "localname": "PreferredStockValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PreferredStockVotingRights": {
     "auth_ref": [
      "r21",
      "r303"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of voting rights of nonredeemable preferred stock. Includes eligibility to vote and votes per share owned. Include also, if any, unusual voting rights.",
        "label": "Preferred Stock, Voting Rights",
        "terseLabel": "Preferred stock, voting rights"
       }
      }
     },
     "localname": "PreferredStockVotingRights",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PrepaidExpenseAndOtherAssetsCurrent": {
     "auth_ref": [
      "r28"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 5.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of asset related to consideration paid in advance for costs that provide economic benefits in future periods, and amount of other assets that are expected to be realized or consumed within one year or the normal operating cycle, if longer.",
        "label": "Prepaid Expense and Other Assets, Current",
        "terseLabel": "Prepaid expenses and other current assets"
       }
      }
     },
     "localname": "PrepaidExpenseAndOtherAssetsCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PrepaidExpenseNoncurrent": {
     "auth_ref": [
      "r13"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of amounts paid in advance for expenses which will be charged against earnings in periods after one year or beyond the operating cycle, if longer.",
        "label": "Prepaid Expense, Noncurrent",
        "terseLabel": "Prepaid expenses"
       }
      }
     },
     "localname": "PrepaidExpenseNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfCommonStock": {
     "auth_ref": [
      "r65"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from the additional capital contribution to the entity.",
        "label": "Proceeds from Issuance of Common Stock",
        "terseLabel": "Proceeds from issuance of common stock"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail",
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfMediumTermNotes": {
     "auth_ref": [
      "r66"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 25.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from a debt funding received on a regular basis with maturities ranging from 5-10 years.",
        "label": "Proceeds from Issuance of Medium-term Notes",
        "terseLabel": "Proceeds from the issuance of medium term notes",
        "verboseLabel": "Proceeds from notes payable"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfMediumTermNotes",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows",
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyParentheticalDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromLongTermLinesOfCredit": {
     "auth_ref": [
      "r66"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 24.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from a contractual arrangement with the lender, including letter of credit, standby letter of credit and revolving credit arrangements, under which borrowings can be made up to a specific amount at any point in time with maturities due beyond one year or the operating cycle, if longer.",
        "label": "Proceeds from Long-Term Lines of Credit",
        "terseLabel": "Proceeds from revolving credit line"
       }
      }
     },
     "localname": "ProceedsFromLongTermLinesOfCredit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestments": {
     "auth_ref": [
      "r62"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 33.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow associated with the sale, maturity and collection of all investments such as debt, security and so forth during the period.",
        "label": "Proceeds from Sale, Maturity and Collection of Investments",
        "terseLabel": "Sale of investment"
       }
      }
     },
     "localname": "ProceedsFromSaleMaturityAndCollectionsOfInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromStockOptionsExercised": {
     "auth_ref": [
      "r65",
      "r383"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 22.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow from exercise of option under share-based payment arrangement.",
        "label": "Proceeds from Stock Options Exercised",
        "terseLabel": "Proceeds from exercise of stock options"
       }
      }
     },
     "localname": "ProceedsFromStockOptionsExercised",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProfitLoss": {
     "auth_ref": [
      "r2",
      "r45",
      "r46",
      "r50",
      "r70",
      "r89",
      "r100",
      "r110",
      "r111",
      "r150",
      "r158",
      "r161",
      "r164",
      "r166",
      "r179",
      "r230",
      "r231",
      "r232",
      "r235",
      "r236",
      "r237",
      "r238",
      "r239",
      "r241",
      "r242",
      "r451",
      "r454",
      "r455",
      "r458",
      "r459",
      "r479",
      "r495",
      "r589"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 18.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": 9.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest.",
        "label": "Net Income (Loss), Including Portion Attributable to Noncontrolling Interest",
        "terseLabel": "Net loss",
        "totalLabel": "NET LOSS"
       }
      }
     },
     "localname": "ProfitLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows",
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, Plant and Equipment [Abstract]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentByTypeAxis": {
     "auth_ref": [
      "r221"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of long-lived, physical assets used to produce goods and services and not intended for resale.",
        "label": "Long-Lived Tangible Asset [Axis]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentByTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FixedAssetsSummaryOfFixedAssetsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock": {
     "auth_ref": [
      "r222",
      "r624",
      "r625",
      "r626"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for long-lived, physical asset used in normal conduct of business and not intended for resale. Includes, but is not limited to, work of art, historical treasure, and similar asset classified as collections.",
        "label": "Property, Plant and Equipment Disclosure [Text Block]",
        "terseLabel": "Fixed Assets"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FixedAssets"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentGross": {
     "auth_ref": [
      "r9",
      "r219"
     ],
     "calculation": {
      "http://www.Castellum.com/role/FixedAssetsSummaryOfFixedAssetsDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_PropertyPlantAndEquipmentNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.",
        "label": "Property, Plant and Equipment, Gross",
        "terseLabel": "Furniture and equipment",
        "verboseLabel": "Fixed assets, gross"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentGross",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail",
      "http://www.Castellum.com/role/FixedAssetsSummaryOfFixedAssetsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Property, Plant and Equipment [Line Items]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FixedAssetsSummaryOfFixedAssetsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentNet": {
     "auth_ref": [
      "r221",
      "r528",
      "r590",
      "r599"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 11.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.Castellum.com/role/FixedAssetsSummaryOfFixedAssetsDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business to produce goods and services and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.",
        "label": "Property, Plant and Equipment, Net",
        "terseLabel": "Fixed assets, net",
        "totalLabel": "Fixed assets, net"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets",
      "http://www.Castellum.com/role/FixedAssetsSummaryOfFixedAssetsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentTextBlock": {
     "auth_ref": [
      "r221"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, balances by class of assets, depreciation and depletion expense and method used, including composite depreciation, and accumulated deprecation.",
        "label": "Property, Plant and Equipment [Table Text Block]",
        "terseLabel": "Summary of Fixed Assets"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FixedAssetsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentTypeDomain": {
     "auth_ref": [
      "r219"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Listing of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale. Examples include land, buildings, machinery and equipment, and other types of furniture and equipment including, but not limited to, office equipment, furniture and fixtures, and computer equipment and software.",
        "label": "Long-Lived Tangible Asset [Domain]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FixedAssetsSummaryOfFixedAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RealizedInvestmentGainsLosses": {
     "auth_ref": [
      "r605"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": 13.0,
       "parentTag": "us-gaap_NonoperatingIncomeExpense",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of realized gain (loss) on investment.",
        "label": "Realized Investment Gains (Losses)",
        "negatedLabel": "Realized gain on investment",
        "terseLabel": "Realized gain on investment"
       }
      }
     },
     "localname": "RealizedInvestmentGainsLosses",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows",
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ReceivablesFromStockholderMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Category of equity that is due from owners or affiliates of the reporting entity (including due from officers or directors) resulting from the sale of stock before the cash payment is received.",
        "label": "Receivables from Stockholder [Member]",
        "terseLabel": "Subscription Receivables [Member]"
       }
      }
     },
     "localname": "ReceivablesFromStockholderMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RelatedPartyDomain": {
     "auth_ref": [
      "r339",
      "r519",
      "r520"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related parties include affiliates; other entities for which investments are accounted for by the equity method by the entity; trusts for benefit of employees; and principal owners, management, and members of immediate families. It also may include other parties with which the entity may control or can significantly influence the management or operating policies of the other to an extent that one of the transacting parties might be prevented from fully pursuing its own separate interests.",
        "label": "Related Party [Domain]"
       }
      }
     },
     "localname": "RelatedPartyDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/NotePayableRelatedPartyAdditionalInformationDetails",
      "http://www.Castellum.com/role/NotePayableRelatedPartyScheduleOfNotesPayableToRelatedPartyDetails",
      "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableParentheticalDetail",
      "http://www.Castellum.com/role/RelatedPartyTransactionsAdditionalInformationDetails",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RelatedPartyTransactionAmountsOfTransaction": {
     "auth_ref": [
      "r519",
      "r523"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of transactions with related party during the financial reporting period.",
        "label": "Related Party Transaction, Amounts of Transaction",
        "terseLabel": "Related Party Transaction, Amounts of Transaction"
       }
      }
     },
     "localname": "RelatedPartyTransactionAmountsOfTransaction",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableParentheticalDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RelatedPartyTransactionAxis": {
     "auth_ref": [
      "r339",
      "r519",
      "r520",
      "r523"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of related party transaction.",
        "label": "Related Party Transaction [Axis]"
       }
      }
     },
     "localname": "RelatedPartyTransactionAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/NotePayableRelatedPartyAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionDomain": {
     "auth_ref": [
      "r339"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Transaction between related party.",
        "label": "Related Party Transaction [Domain]"
       }
      }
     },
     "localname": "RelatedPartyTransactionDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/NotePayableRelatedPartyAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RelatedPartyTransactionLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Related Party Transaction [Line Items]"
       }
      }
     },
     "localname": "RelatedPartyTransactionLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/RelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transactions [Abstract]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsByRelatedPartyAxis": {
     "auth_ref": [
      "r339",
      "r519",
      "r523",
      "r566",
      "r567",
      "r568",
      "r569",
      "r570",
      "r571",
      "r572",
      "r573",
      "r574",
      "r575",
      "r576",
      "r577"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of related party. Related parties include, but not limited to, affiliates; other entities for which investments are accounted for by the equity method by the entity; trusts for benefit of employees; and principal owners, management, and members of immediate families. It also may include other parties with which the entity may control or can significantly influence the management or operating policies of the other to an extent that one of the transacting parties might be prevented from fully pursuing its own separate interests.",
        "label": "Related Party [Axis]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsByRelatedPartyAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/NotePayableRelatedPartyAdditionalInformationDetails",
      "http://www.Castellum.com/role/NotePayableRelatedPartyScheduleOfNotesPayableToRelatedPartyDetails",
      "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableParentheticalDetail",
      "http://www.Castellum.com/role/RelatedPartyTransactionsAdditionalInformationDetails",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsDisclosureTextBlock": {
     "auth_ref": [
      "r517",
      "r518",
      "r520",
      "r524",
      "r525"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for related party transactions. Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates.",
        "label": "Related Party Transactions Disclosure [Text Block]",
        "terseLabel": "Related-Party Transactions"
       }
      }
     },
     "localname": "RelatedPartyTransactionsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/RelatedPartyTransactions"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RepaymentsOfConvertibleDebt": {
     "auth_ref": [
      "r68"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 23.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow from the repayment of a long-term debt instrument which can be exchanged for a specified amount of another security, typically the entity's common stock, at the option of the issuer or the holder.",
        "label": "Repayments of Convertible Debt",
        "negatedLabel": "Repayment of convertible note payable - related parties",
        "verboseLabel": "Repayment of convertible debt"
       }
      }
     },
     "localname": "RepaymentsOfConvertibleDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows",
      "http://www.Castellum.com/role/ConvertiblePromissoryNotesRelatedPartiesScheduleOfConvertiblePromissoryNotesRelatedPartyParentheticalDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RepaymentsOfLongTermLinesOfCredit": {
     "auth_ref": [
      "r68"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 27.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for the settlement of obligation drawn from a contractual arrangement with the lender, including letter of credit, standby letter of credit and revolving credit arrangements, under which borrowings can be made up to a specific amount at any point in time with maturities due beyond one year or the operating cycle, if longer.",
        "label": "Repayments of Long-Term Lines of Credit",
        "negatedLabel": "Repayment of line of credit, net"
       }
      }
     },
     "localname": "RepaymentsOfLongTermLinesOfCredit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RepaymentsOfMediumTermNotes": {
     "auth_ref": [
      "r68"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 28.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow to pay off borrowing used to receive debt funding on a regular basis with maturities ranging from 5-10 years.",
        "label": "Repayments of Medium-term Notes",
        "negatedLabel": "Repayment of note payable"
       }
      }
     },
     "localname": "RepaymentsOfMediumTermNotes",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RetainedEarningsAccumulatedDeficit": {
     "auth_ref": [
      "r24",
      "r311",
      "r528",
      "r597",
      "r613",
      "r618"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 16.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
        "label": "Retained Earnings (Accumulated Deficit)",
        "terseLabel": "Accumulated deficit"
       }
      }
     },
     "localname": "RetainedEarningsAccumulatedDeficit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RetainedEarningsMember": {
     "auth_ref": [
      "r0",
      "r97",
      "r98",
      "r99",
      "r101",
      "r108",
      "r111",
      "r180",
      "r384",
      "r385",
      "r386",
      "r403",
      "r404",
      "r477",
      "r609",
      "r611"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
        "label": "Retained Earnings [Member]",
        "terseLabel": "Accumulated Deficit [Member]"
       }
      }
     },
     "localname": "RetainedEarningsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax": {
     "auth_ref": [
      "r145",
      "r146",
      "r157",
      "r162",
      "r163",
      "r167",
      "r168",
      "r169",
      "r324",
      "r325",
      "r563"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, excluding tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer. Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value added and excise.",
        "label": "Revenue from Contract with Customer, Excluding Assessed Tax",
        "terseLabel": "Revenue from Contract with Customer, Excluding Assessed Tax"
       }
      }
     },
     "localname": "RevenueFromContractWithCustomerExcludingAssessedTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesScheduleOfCompanySRevenueByContractTypeDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenueFromContractWithCustomerPolicyTextBlock": {
     "auth_ref": [
      "r84",
      "r316",
      "r317",
      "r318",
      "r319",
      "r320",
      "r321",
      "r322",
      "r323",
      "r328"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for revenue from contract with customer.",
        "label": "Revenue from Contract with Customer [Policy Text Block]",
        "terseLabel": "Revenue Recognition"
       }
      }
     },
     "localname": "RevenueFromContractWithCustomerPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RevenueFromRightsConcentrationRiskMember": {
     "auth_ref": [
      "r136"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reflects the percentage that license fee or royalty revenues during the period from other parties from use of a specified patent, trademark, or other form of right granted to such parties are to a specified benchmark, such as total license fees, total revenues, segment revenues or product line revenues. May also reflect the percentage contribution the revenue made to operating results. Risk is materially adverse effects of a loss of such revenues, which could occur upon loss of rights to sell, distribute or license others; loss of patent or copyright protection; or technological obsolescence.",
        "label": "Revenue from Rights Concentration Risk [Member]"
       }
      }
     },
     "localname": "RevenueFromRightsConcentrationRiskMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/ConcentrationsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_Revenues": {
     "auth_ref": [
      "r52",
      "r89",
      "r145",
      "r146",
      "r157",
      "r162",
      "r163",
      "r167",
      "r168",
      "r169",
      "r179",
      "r230",
      "r231",
      "r232",
      "r235",
      "r236",
      "r237",
      "r238",
      "r239",
      "r241",
      "r242",
      "r495",
      "r589"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations": {
       "order": 2.0,
       "parentTag": "us-gaap_GrossProfit",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of revenue recognized from goods sold, services rendered, insurance premiums, or other activities that constitute an earning process. Includes, but is not limited to, investment and interest income before deduction of interest expense when recognized as a component of revenue, and sales and trading gain (loss).",
        "label": "Revenues",
        "terseLabel": "REVENUES"
       }
      }
     },
     "localname": "Revenues",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevolvingCreditFacilityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Arrangement in which loan proceeds can continuously be obtained following repayments, but the total amount borrowed cannot exceed a specified maximum amount.",
        "label": "Revolving Credit Facility [Member]"
       }
      }
     },
     "localname": "RevolvingCreditFacilityMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/RevolvingCreditFacilityAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RisksAndUncertaintiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risks and Uncertainties [Abstract]"
       }
      }
     },
     "localname": "RisksAndUncertaintiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_SaleOfStockNameOfTransactionDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sale of the entity's stock, including, but not limited to, initial public offering (IPO) and private placement.",
        "label": "Sale of Stock [Domain]"
       }
      }
     },
     "localname": "SaleOfStockNameOfTransactionDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/NatureOfOperationsAdditionalInformationDetail",
      "http://www.Castellum.com/role/SubsequentEventsAdditionalInformationDetail",
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SaleOfStockPricePerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share amount received by subsidiary or equity investee for each share of common stock issued or sold in the stock transaction.",
        "label": "Sale of Stock, Price Per Share",
        "terseLabel": "Sale of stock, price per share"
       }
      }
     },
     "localname": "SaleOfStockPricePerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/SubsequentEventsAdditionalInformationDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_SalesRevenueProductLineMember": {
     "auth_ref": [
      "r136"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Revenue from specified product or service, when it serves as benchmark in concentration of risk calculation. Includes, but is not limited to, revenue from contract with customer and other sources.",
        "label": "Revenue, Product and Service Benchmark [Member]"
       }
      }
     },
     "localname": "SalesRevenueProductLineMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/ConcentrationsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable": {
     "auth_ref": [
      "r422",
      "r423",
      "r427"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule reflecting each material business combination (or series of individually immaterial business combinations) completed during the period, including background, timing, and recognized assets and liabilities.",
        "label": "Schedule of Business Acquisitions, by Acquisition [Table]"
       }
      }
     },
     "localname": "ScheduleOfBusinessAcquisitionsByAcquisitionTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsAdditionalInformationDetail",
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail",
      "http://www.Castellum.com/role/AcquisitionsTables",
      "http://www.Castellum.com/role/DueToSellerAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock": {
     "auth_ref": [
      "r422",
      "r423"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of a material business combination completed during the period, including background, timing, and recognized assets and liabilities. This table does not include leveraged buyouts.",
        "label": "Schedule of Business Acquisitions, by Acquisition [Table Text Block]",
        "terseLabel": "Schedule of Assets and Liabilities Acquired"
       }
      }
     },
     "localname": "ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDerivativeInstrumentsTextBlock": {
     "auth_ref": [
      "r460",
      "r461",
      "r462",
      "r463",
      "r464",
      "r467",
      "r468",
      "r470",
      "r472"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of pertinent information about a derivative or group of derivatives on a disaggregated basis, such as for individual instruments, or small groups of similar instruments. May include a combination of the type of instrument, risks being hedged, notional amount, hedge designation, related hedged item, inception date, maturity date, or other relevant item.",
        "label": "Schedule of Derivative Instruments [Table Text Block]",
        "terseLabel": "Summary of derivative liabilities"
       }
      }
     },
     "localname": "ScheduleOfDerivativeInstrumentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FairValueTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable": {
     "auth_ref": [
      "r380",
      "r388"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about amount recognized for award under share-based payment arrangement. Includes, but is not limited to, amount expensed in statement of income or comprehensive income, amount capitalized in statement of financial position, and corresponding reporting line item in financial statements.",
        "label": "Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Table]"
       }
      }
     },
     "localname": "ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfOptionsDetail",
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfWarrantsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable": {
     "auth_ref": [
      "r208",
      "r212",
      "r564"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Schedule of Finite-Lived Intangible Assets [Table]"
       }
      }
     },
     "localname": "ScheduleOfFiniteLivedIntangibleAssetsTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillScheduleOfIntangibleAssetsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock": {
     "auth_ref": [
      "r208",
      "r212"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of assets, excluding financial assets and goodwill, lacking physical substance with a finite life, by either major class or business segment.",
        "label": "Schedule of Finite-Lived Intangible Assets [Table Text Block]",
        "terseLabel": "Schedule of Intangible Assets"
       }
      }
     },
     "localname": "ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfGoodwillTextBlock": {
     "auth_ref": [
      "r194",
      "r195",
      "r196",
      "r197",
      "r198",
      "r199",
      "r200",
      "r201",
      "r202",
      "r203",
      "r204",
      "r205"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of goodwill by reportable segment and in total which includes a rollforward schedule.",
        "label": "Schedule of Goodwill [Table Text Block]",
        "terseLabel": "Schedule of Goodwill"
       }
      }
     },
     "localname": "ScheduleOfGoodwillTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfOtherShareBasedCompensationActivityTableTextBlock": {
     "auth_ref": [
      "r360"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of activity for outstanding award under share-based payment arrangement excluding share and unit options and nonvested award.",
        "label": "Share-Based Payment Arrangement, Outstanding Award, Activity, Excluding Option [Table Text Block]",
        "terseLabel": "Schedule of warrants"
       }
      }
     },
     "localname": "ScheduleOfOtherShareBasedCompensationActivityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfPropertyPlantAndEquipmentTable": {
     "auth_ref": [
      "r221"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, balances by class of assets, depreciation and depletion expense and method used, including composite depreciation, and accumulated deprecation.",
        "label": "Property, Plant and Equipment [Table]"
       }
      }
     },
     "localname": "ScheduleOfPropertyPlantAndEquipmentTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FixedAssetsSummaryOfFixedAssetsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable": {
     "auth_ref": [
      "r521",
      "r523"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of quantitative and qualitative information pertaining to related party transactions. Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates.",
        "label": "Schedule of Related Party Transactions, by Related Party [Table]"
       }
      }
     },
     "localname": "ScheduleOfRelatedPartyTransactionsByRelatedPartyTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/RelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable": {
     "auth_ref": [
      "r345",
      "r346",
      "r347",
      "r348",
      "r349",
      "r352",
      "r353",
      "r354",
      "r355",
      "r356",
      "r357",
      "r358",
      "r359",
      "r361",
      "r362",
      "r363",
      "r364",
      "r365",
      "r366",
      "r368",
      "r369",
      "r371",
      "r372",
      "r375",
      "r376",
      "r377",
      "r378",
      "r379"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about share-based payment arrangement.",
        "label": "Schedule of Share-Based Compensation Arrangements by Share-Based Payment Award [Table]"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfStockOptionsValuationAssumptionsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock": {
     "auth_ref": [
      "r351",
      "r367",
      "r370"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure for stock option plans. Includes, but is not limited to, outstanding awards at beginning and end of year, grants, exercises, forfeitures, and weighted-average grant date fair value.",
        "label": "Share-Based Payment Arrangement, Option, Activity [Table Text Block]",
        "terseLabel": "Schedule of options"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock": {
     "auth_ref": [
      "r374"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the significant assumptions used during the year to estimate the fair value of stock options, including, but not limited to: (a) expected term of share options and similar instruments, (b) expected volatility of the entity's shares, (c) expected dividends, (d) risk-free rate(s), and (e) discount for post-vesting restrictions.",
        "label": "Schedule of Stock Options, Valuation Assumptions",
        "terseLabel": "Schedule of Stock Options, Valuation Assumptions"
       }
      }
     },
     "localname": "ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfStockByClassTable": {
     "auth_ref": [
      "r19",
      "r21",
      "r22",
      "r86",
      "r127",
      "r128",
      "r281",
      "r282",
      "r283",
      "r285",
      "r286",
      "r287",
      "r288",
      "r290",
      "r294",
      "r300",
      "r302",
      "r303",
      "r304",
      "r306",
      "r308",
      "r309",
      "r310",
      "r311"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule detailing information related to equity by class of stock. Class of stock includes common, convertible, and preferred stocks which are not redeemable or redeemable solely at the option of the issuer. It also includes preferred stock with redemption features that are solely within the control of the issuer and mandatorily redeemable stock if redemption is required to occur only upon liquidation or termination of the reporting entity.",
        "label": "Schedule of Stock by Class [Table]"
       }
      }
     },
     "localname": "ScheduleOfStockByClassTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock": {
     "auth_ref": [
      "r212"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the amount of amortization expense expected to be recorded in succeeding fiscal years for finite-lived intangible assets.",
        "label": "Schedule of Finite-Lived Intangible Assets, Future Amortization Expense [Table Text Block]",
        "terseLabel": "Schedule of Future Amortization of Intangible Assets"
       }
      }
     },
     "localname": "ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SegmentReportingPolicyPolicyTextBlock": {
     "auth_ref": [
      "r151",
      "r152",
      "r153",
      "r154",
      "r155",
      "r156",
      "r168"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for segment reporting.",
        "label": "Segment Reporting, Policy [Policy Text Block]",
        "terseLabel": "Business Segments"
       }
      }
     },
     "localname": "SegmentReportingPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SeriesAPreferredStockMember": {
     "auth_ref": [
      "r19",
      "r21",
      "r302"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Series A preferred stock.",
        "label": "Series A Preferred Stock [Member]",
        "terseLabel": "Series A Preferred"
       }
      }
     },
     "localname": "SeriesAPreferredStockMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets",
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheetsParenthetical",
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SeriesBPreferredStockMember": {
     "auth_ref": [
      "r19",
      "r21",
      "r302"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Series B preferred stock.",
        "label": "Series B Preferred Stock [Member]",
        "terseLabel": "Series B Preferred"
       }
      }
     },
     "localname": "SeriesBPreferredStockMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets",
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheetsParenthetical",
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail",
      "http://www.Castellum.com/role/SubsequentEventsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SeriesCPreferredStockMember": {
     "auth_ref": [
      "r19",
      "r21",
      "r302"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Series C preferred stock.",
        "label": "Series C Preferred Stock [Member]",
        "terseLabel": "Series C Preferred"
       }
      }
     },
     "localname": "SeriesCPreferredStockMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets",
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheetsParenthetical",
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity",
      "http://www.Castellum.com/role/RelatedPartyTransactionsAdditionalInformationDetails",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShareBasedArrangementsToObtainGoodsAndServicesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Payment Arrangement, Disclosure [Abstract]"
       }
      }
     },
     "localname": "ShareBasedArrangementsToObtainGoodsAndServicesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensation": {
     "auth_ref": [
      "r74"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of noncash expense for share-based payment arrangement.",
        "label": "Share-Based Payment Arrangement, Noncash Expense",
        "terseLabel": "Stock-based compensation"
       }
      }
     },
     "localname": "ShareBasedCompensation",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1": {
     "auth_ref": [
      "r347"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period over which grantee's right to exercise award under share-based payment arrangement is no longer contingent on satisfaction of service or performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Includes, but is not limited to, combination of market, performance or service condition.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Award Vesting Period",
        "terseLabel": "Vesting period",
        "verboseLabel": "Share based compensation by share based award vesting period of stock options"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod": {
     "auth_ref": [
      "r364"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of grants made during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Grants in Period",
        "terseLabel": "Share-based compensation arrangement by share-based payment award, equity instruments other than options, grants in period"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardExpirationDate": {
     "auth_ref": [
      "r348"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date the equity-based award expires, in YYYY-MM-DD format.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Expiration Date",
        "terseLabel": "Share based compensation by share based award expiration date"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardExpirationDate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate": {
     "auth_ref": [
      "r377"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The estimated dividend rate (a percentage of the share price) to be paid (expected dividends) to holders of the underlying shares over the option's term.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Expected Dividend Rate",
        "terseLabel": "Expected dividend yield"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfStockOptionsValuationAssumptionsDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The estimated measure of the maximum percentage by which a share price is expected to fluctuate during a period. Volatility also may be defined as a probability-weighted measure of the dispersion of returns about the mean. The volatility of a share price is the standard deviation of the continuously compounded rates of return on the share over a specified period. That is the same as the standard deviation of the differences in the natural logarithms of the stock prices plus dividends, if any, over the period.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Expected Volatility Rate, Maximum",
        "terseLabel": "Expected volatility maximum"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfStockOptionsValuationAssumptionsDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The estimated measure of the minimum percentage by which a share price is expected to fluctuate during a period. Volatility also may be defined as a probability-weighted measure of the dispersion of returns about the mean. The volatility of a share price is the standard deviation of the continuously compounded rates of return on the share over a specified period. That is the same as the standard deviation of the differences in the natural logarithms of the stock prices plus dividends, if any, over the period.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Expected Volatility Rate, Minimum",
        "terseLabel": "Expected volatility minimum"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfStockOptionsValuationAssumptionsDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate": {
     "auth_ref": [
      "r378"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The risk-free interest rate assumption that is used in valuing an option on its own shares.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Risk Free Interest Rate",
        "terseLabel": "Risk-free interest rate"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfStockOptionsValuationAssumptionsDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum risk-free interest rate assumption that is used in valuing an option on its own shares.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Risk Free Interest Rate, Maximum",
        "terseLabel": "Risk-free interest rate maximum"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfStockOptionsValuationAssumptionsDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The minimum risk-free interest rate assumption that is used in valuing an option on its own shares.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Risk Free Interest Rate, Minimum",
        "terseLabel": "Risk-free interest rate minimum"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfStockOptionsValuationAssumptionsDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfOptionsDetail",
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfStockOptionsValuationAssumptionsDetail",
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfWarrantsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized": {
     "auth_ref": [
      "r349"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares authorized for issuance under share-based payment arrangement.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Number of Shares Authorized",
        "terseLabel": "Share-based compensation arrangement by share-based payment award, number of shares authorized"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber": {
     "auth_ref": [
      "r354"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares into which fully or partially vested stock options outstanding as of the balance sheet date can be currently converted under the option plan.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercisable, Number",
        "terseLabel": "Warrants exercisable"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfWarrantsDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationsInPeriod": {
     "auth_ref": [
      "r359"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of options or other stock instruments for which the right to exercise has lapsed under the terms of the plan agreements.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Expirations in Period",
        "terseLabel": "Expired"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationsInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfOptionsDetail",
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfWarrantsDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod": {
     "auth_ref": [
      "r358"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares under options that were cancelled during the reporting period as a result of occurrence of a terminating event specified in contractual agreements pertaining to the stock option plan.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Forfeitures in Period",
        "negatedLabel": "Forfeited"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfOptionsDetail",
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfWarrantsDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross": {
     "auth_ref": [
      "r356"
     ],
     "lang": {
      "en-us": {
       "role": {
        "definitionGuidance": "Share based compensation by share based award options granted during the period",
        "documentation": "Gross number of share options (or share units) granted during the period.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Grants in Period, Gross",
        "terseLabel": "Number of options granted",
        "verboseLabel": "Granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail",
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfOptionsDetail",
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfWarrantsDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue": {
     "auth_ref": [
      "r382"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount by which the current fair value of the underlying stock exceeds the exercise price of options outstanding.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Intrinsic Value",
        "terseLabel": "Intrinsic value of options"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfOptionsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber": {
     "auth_ref": [
      "r352",
      "r353"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of options outstanding, including both vested and non-vested options.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Number",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfOptionsDetail",
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfWarrantsDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice": {
     "auth_ref": [
      "r352",
      "r353"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price at which grantees can acquire the shares reserved for issuance under the stock option plan.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Weighted Average Exercise Price",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfOptionsDetail",
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfWarrantsDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain": {
     "auth_ref": [
      "r347",
      "r348",
      "r349",
      "r352",
      "r353",
      "r354",
      "r355",
      "r356",
      "r357",
      "r358",
      "r359",
      "r361",
      "r362",
      "r363",
      "r364",
      "r365",
      "r366",
      "r368",
      "r369",
      "r371",
      "r372",
      "r375",
      "r376",
      "r377",
      "r378",
      "r379"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Award under share-based payment arrangement.",
        "label": "Award Type [Domain]"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails",
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail",
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfOptionsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [
      "r357"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price at which option holders acquired shares when converting their stock options into shares.",
        "label": "Share-Based Compensation Arrangements by Share-Based Payment Award, Options, Exercises in Period, Weighted Average Exercise Price",
        "negatedLabel": "Exercised Cashless",
        "negatedTerseLabel": "Exercised"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfOptionsDetail",
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfWarrantsDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExpirationsInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [
      "r359"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price at which grantees could have acquired the underlying shares with respect to stock options of the plan that expired.",
        "label": "Share-Based Compensation Arrangements by Share-Based Payment Award, Options, Expirations in Period, Weighted Average Exercise Price",
        "terseLabel": "Expired"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExpirationsInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfOptionsDetail",
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfWarrantsDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [
      "r358"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price at which grantees could have acquired the underlying shares with respect to stock options that were terminated.",
        "label": "Share-Based Compensation Arrangements by Share-Based Payment Award, Options, Forfeitures in Period, Weighted Average Exercise Price",
        "negatedLabel": "Forfeited"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfOptionsDetail",
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfWarrantsDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [
      "r356"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average per share amount at which grantees can acquire shares of common stock by exercise of options.",
        "label": "Share-Based Compensation Arrangements by Share-Based Payment Award, Options, Grants in Period, Weighted Average Exercise Price",
        "terseLabel": "Share based compensation arrangements by share based payment award, options, grants in period, weighted average exercise price",
        "verboseLabel": "Granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail",
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfOptionsDetail",
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfWarrantsDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy": {
     "auth_ref": [
      "r350",
      "r373",
      "r374",
      "r375",
      "r376",
      "r379",
      "r387",
      "r389"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for award under share-based payment arrangement. Includes, but is not limited to, methodology and assumption used in measuring cost.",
        "label": "Share-Based Payment Arrangement [Policy Text Block]",
        "terseLabel": "Share-Based Compensation"
       }
      }
     },
     "localname": "ShareBasedCompensationOptionAndIncentivePlansPolicy",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ShareBasedPaymentArrangementEmployeeMember": {
     "auth_ref": [
      "r346",
      "r347",
      "r348",
      "r349",
      "r352",
      "r353",
      "r354",
      "r355",
      "r356",
      "r357",
      "r358",
      "r359",
      "r361",
      "r362",
      "r363",
      "r364",
      "r365",
      "r366",
      "r368",
      "r369",
      "r371",
      "r372",
      "r375",
      "r376",
      "r377",
      "r378",
      "r379"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Recipient, of award granted under share-based payment arrangement, over whom grantor exercises or has right to exercise sufficient control to establish employer-employee relationship based on law of pertinent jurisdiction. Includes, but is not limited to, nonemployee director treated as employee when acting as member of board of directors, if elected by grantor's shareholders or appointed to board position to be filled by shareholder election when existing term expires.",
        "label": "Share-Based Payment Arrangement, Employee [Member]",
        "terseLabel": "Share-Based Payment Arrangement, Employee"
       }
      }
     },
     "localname": "ShareBasedPaymentArrangementEmployeeMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SharePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Price of a single share of a number of saleable stocks of a company.",
        "label": "Share Price",
        "terseLabel": "Share price"
       }
      }
     },
     "localname": "SharePrice",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage": {
     "auth_ref": [
      "r347"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of vesting of award under share-based payment arrangement.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Award Vesting Rights, Percentage",
        "terseLabel": "Share based compensation by share based award options vesting percentage"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod": {
     "auth_ref": [
      "r348"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period from grant date that an equity-based award expires, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Expiration Period",
        "terseLabel": "Share based compensation by share based award expiration period"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1": {
     "auth_ref": [
      "r375"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Expected term of award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Expected Term",
        "terseLabel": "Expected term"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfStockOptionsValuationAssumptionsDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1": {
     "auth_ref": [
      "r382"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of difference between fair value of the underlying shares reserved for issuance and exercise price of vested portions of options outstanding and currently exercisable.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercisable, Intrinsic Value",
        "terseLabel": "Intrinsic value of warrants"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfWarrantsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of non-vested options outstanding.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Nonvested, Number of Shares",
        "terseLabel": "Vested options"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfOptionsDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2": {
     "auth_ref": [
      "r371"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average remaining contractual term for option awards outstanding, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Weighted Average Remaining Contractual Term",
        "terseLabel": "Weighted Average Remaining Contractual Life (Years)"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfOptionsDetail",
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfWarrantsDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of options vested.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Vested, Number of Shares",
        "terseLabel": "Nonvested options"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfOptionsDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_SharesIssuedPricePerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or per unit amount of equity securities issued.",
        "label": "Shares Issued, Price Per Share",
        "terseLabel": "Shares Issued, Price Per Share"
       }
      }
     },
     "localname": "SharesIssuedPricePerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableParentheticalDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_SharesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares issued which are neither cancelled nor held in the treasury.",
        "label": "Shares, Outstanding",
        "periodEndLabel": "Balance Ending, Shares",
        "periodStartLabel": "Balance Beginning, Shares"
       }
      }
     },
     "localname": "SharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_SignificantAccountingPoliciesTextBlock": {
     "auth_ref": [
      "r83",
      "r96"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for all significant accounting policies of the reporting entity.",
        "label": "Significant Accounting Policies [Text Block]",
        "terseLabel": "Summary of Significant Accounting Policies"
       }
      }
     },
     "localname": "SignificantAccountingPoliciesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SoftwareAndSoftwareDevelopmentCostsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Purchased software applications and internally developed software for sale, licensing or long-term internal use.",
        "label": "Software and Software Development Costs [Member]",
        "terseLabel": "Software [Member]"
       }
      }
     },
     "localname": "SoftwareAndSoftwareDevelopmentCostsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FixedAssetsSummaryOfFixedAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_StatementClassOfStockAxis": {
     "auth_ref": [
      "r19",
      "r21",
      "r22",
      "r86",
      "r89",
      "r115",
      "r116",
      "r117",
      "r119",
      "r121",
      "r127",
      "r128",
      "r129",
      "r179",
      "r230",
      "r235",
      "r236",
      "r237",
      "r241",
      "r242",
      "r285",
      "r286",
      "r290",
      "r294",
      "r302",
      "r495",
      "r634"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by the different classes of stock of the entity.",
        "label": "Class of Stock [Axis]"
       }
      }
     },
     "localname": "StatementClassOfStockAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails",
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets",
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheetsParenthetical",
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity",
      "http://www.Castellum.com/role/RelatedPartyTransactionsAdditionalInformationDetails",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail",
      "http://www.Castellum.com/role/SubsequentEventsAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementEquityComponentsAxis": {
     "auth_ref": [
      "r0",
      "r41",
      "r48",
      "r49",
      "r50",
      "r97",
      "r98",
      "r99",
      "r101",
      "r108",
      "r111",
      "r126",
      "r180",
      "r302",
      "r311",
      "r384",
      "r385",
      "r386",
      "r403",
      "r404",
      "r477",
      "r497",
      "r498",
      "r499",
      "r500",
      "r501",
      "r502",
      "r516",
      "r609",
      "r610",
      "r611"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by component of equity.",
        "label": "Equity Components [Axis]"
       }
      }
     },
     "localname": "StatementEquityComponentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheetsParenthetical",
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity",
      "http://www.Castellum.com/role/RelatedPartyTransactionsAdditionalInformationDetails",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail",
      "http://www.Castellum.com/role/SubsequentEventsAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Statement [Line Items]",
        "terseLabel": "Statement [Line Items]"
       }
      }
     },
     "localname": "StatementLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails",
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets",
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheetsParenthetical",
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity",
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows",
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfCashFlowsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Cash Flows [Abstract]"
       }
      }
     },
     "localname": "StatementOfCashFlowsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfFinancialPositionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Financial Position [Abstract]"
       }
      }
     },
     "localname": "StatementOfFinancialPositionAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfStockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Stockholders' Equity [Abstract]"
       }
      }
     },
     "localname": "StatementOfStockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementTable": {
     "auth_ref": [
      "r97",
      "r98",
      "r99",
      "r126",
      "r563"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule reflecting a Statement of Income, Statement of Cash Flows, Statement of Financial Position, Statement of Shareholders' Equity and Other Comprehensive Income, or other statement as needed.",
        "label": "Statement [Table]",
        "terseLabel": "Statement [Table]"
       }
      }
     },
     "localname": "StatementTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails",
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets",
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheetsParenthetical",
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity",
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows",
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockIssued1": {
     "auth_ref": [
      "r79",
      "r80",
      "r81"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The fair value of stock issued in noncash financing activities.",
        "label": "Stock Issued",
        "terseLabel": "Common shares issued for obligation to issue common stock"
       }
      }
     },
     "localname": "StockIssued1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesAcquisitions": {
     "auth_ref": [
      "r21",
      "r22",
      "r311"
     ],
     "lang": {
      "en-us": {
       "role": {
        "definitionGuidance": "Stock issued during the period shares acquisition",
        "documentation": "Number of shares of stock issued during the period pursuant to acquisitions.",
        "label": "Stock Issued During Period, Shares, Acquisitions",
        "terseLabel": "Shares issued in acquisition, Shares",
        "verboseLabel": "Stock issued during period, shares, acquisitions"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesAcquisitions",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsAdditionalInformationDetail",
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities": {
     "auth_ref": [
      "r40",
      "r261",
      "r302",
      "r303",
      "r311"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares issued during the period as a result of the conversion of convertible securities.",
        "label": "Stock Issued During Period, Shares, Conversion of Convertible Securities",
        "terseLabel": "Common shares issued in conversion of Series B Preferred Stock, Shares"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesIssuedForServices": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "definitionGuidance": "Stock issued during period, shares, issued for services",
        "documentation": "Number of shares issued in lieu of cash for services contributed to the entity. Number of shares includes, but is not limited to, shares issued for services contributed by vendors and founders.",
        "label": "Stock Issued During Period, Shares, Issued for Services",
        "terseLabel": "Stock issued during period, Shares, Issued for services",
        "verboseLabel": "Shares issued for services, net of amounts prepaid, Shares"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesIssuedForServices",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity",
      "http://www.Castellum.com/role/RelatedPartyTransactionsAdditionalInformationDetails",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesNewIssues": {
     "auth_ref": [
      "r21",
      "r22",
      "r302",
      "r311"
     ],
     "lang": {
      "en-us": {
       "role": {
        "definitionGuidance": "Stock issued during period, Shares, New issues",
        "documentation": "Number of new stock issued during the period.",
        "label": "Stock Issued During Period, Shares, New Issues",
        "terseLabel": "Stock issued during period, shares, new issues",
        "verboseLabel": "Shares issued for cash in Series C Preferred Subscription Agreements, Shares"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesNewIssues",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity",
      "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableParentheticalDetail",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail",
      "http://www.Castellum.com/role/SubsequentEventsAdditionalInformationDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesReverseStockSplits": {
     "auth_ref": [
      "r302"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reduction in the number of shares during the period as a result of a reverse stock split.",
        "label": "Stock Issued During Period, Shares, Reverse Stock Splits",
        "terseLabel": "Stock issued during period, Shares, reverse stock splits"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesReverseStockSplits",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/SubsequentEventsAdditionalInformationDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised": {
     "auth_ref": [
      "r21",
      "r22",
      "r302",
      "r311",
      "r357"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of share options (or share units) exercised during the current period.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercises in Period",
        "negatedLabel": "Exercised Cashless",
        "negatedTerseLabel": "Exercised",
        "presentationGuidance": "Share based compensation arrangement by share based payment award, options, exercises in period",
        "terseLabel": "Shares issued in exercise of stock options, Shares"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesStockOptionsExercised",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail",
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfOptionsDetail",
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfWarrantsDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueAcquisitions": {
     "auth_ref": [
      "r41",
      "r302",
      "r311"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of stock issued pursuant to acquisitions during the period.",
        "label": "Stock Issued During Period, Value, Acquisitions",
        "terseLabel": "Shares issued in acquisition"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueAcquisitions",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities": {
     "auth_ref": [
      "r41",
      "r302",
      "r311"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The gross value of stock issued during the period upon the conversion of convertible securities.",
        "label": "Stock Issued During Period, Value, Conversion of Convertible Securities",
        "terseLabel": "Common shares issued in conversion of Series B Preferred Stock"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueConversionOfConvertibleSecurities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueIssuedForServices": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of stock issued in lieu of cash for services contributed to the entity. Value of the stock issued includes, but is not limited to, services contributed by vendors and founders.",
        "label": "Stock Issued During Period, Value, Issued for Services",
        "terseLabel": "Stock issued during period, Value, Issued for services",
        "verboseLabel": "Shares issued for services, net of amounts prepaid"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueIssuedForServices",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity",
      "http://www.Castellum.com/role/RelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueNewIssues": {
     "auth_ref": [
      "r21",
      "r22",
      "r302",
      "r311"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "definitionGuidance": "Stock issued during period, value, new issues",
        "documentation": "Equity impact of the value of new stock issued during the period. Includes shares issued in an initial public offering or a secondary public offering.",
        "label": "Stock Issued During Period, Value, New Issues",
        "terseLabel": "Stock Issued During Period, Value, New Issues",
        "verboseLabel": "Shares issued for cash in Series C Preferred Subscription Agreements"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueNewIssues",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity",
      "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableParentheticalDetail",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised": {
     "auth_ref": [
      "r41",
      "r302",
      "r311"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of stock issued as a result of the exercise of stock options.",
        "label": "Stock Issued During Period, Value, Stock Options Exercised",
        "terseLabel": "Shares issued in exercise of stock options",
        "verboseLabel": "Stock issued during period, value, stock options exercised"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueStockOptionsExercised",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquity": {
     "auth_ref": [
      "r22",
      "r25",
      "r26",
      "r89",
      "r173",
      "r179",
      "r495",
      "r528"
     ],
     "calculation": {
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets": {
       "order": 12.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity.",
        "label": "Stockholders' Equity Attributable to Parent",
        "periodEndLabel": "Balance Ending",
        "periodStartLabel": "Balance Beginning",
        "totalLabel": "Total stockholders' equity"
       }
      }
     },
     "localname": "StockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets",
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholders' Equity Attributable to Parent [Abstract]",
        "terseLabel": "STOCKHOLDERS' EQUITY"
       }
      }
     },
     "localname": "StockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockholdersEquityNoteDisclosureTextBlock": {
     "auth_ref": [
      "r87",
      "r286",
      "r289",
      "r290",
      "r291",
      "r292",
      "r293",
      "r294",
      "r295",
      "r296",
      "r298",
      "r299",
      "r301",
      "r311",
      "r312",
      "r475"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for shareholders' equity comprised of portions attributable to the parent entity and noncontrolling interest, including other comprehensive income. Includes, but is not limited to, balances of common stock, preferred stock, additional paid-in capital, other capital and retained earnings, accumulated balance for each classification of other comprehensive income and amount of comprehensive income.",
        "label": "Stockholders' Equity Note Disclosure [Text Block]",
        "terseLabel": "Stockholders' Equity (Deficit)"
       }
      }
     },
     "localname": "StockholdersEquityNoteDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficit"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SubsequentEventLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Detail information of subsequent event by type. User is expected to use existing line items from elsewhere in the taxonomy as the primary line items for this disclosure, which is further associated with dimension and member elements pertaining to a subsequent event.",
        "label": "Subsequent Event [Line Items]"
       }
      }
     },
     "localname": "SubsequentEventLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/SubsequentEventsAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventMember": {
     "auth_ref": [
      "r503",
      "r530"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identifies event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event [Member]"
       }
      }
     },
     "localname": "SubsequentEventMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/SubsequentEventsAdditionalInformationDetail",
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventTable": {
     "auth_ref": [
      "r503",
      "r530"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Discloses pertinent information about one or more significant events or transactions that occurred after the balance sheet date through the date the financial statements were issued or the date the financial statements were available to be issued.",
        "label": "Subsequent Event [Table]"
       }
      }
     },
     "localname": "SubsequentEventTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/SubsequentEventsAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventTypeAxis": {
     "auth_ref": [
      "r503",
      "r530"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Axis]"
       }
      }
     },
     "localname": "SubsequentEventTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/NatureOfOperationsAdditionalInformationDetail",
      "http://www.Castellum.com/role/SubsequentEventsAdditionalInformationDetail",
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventTypeDomain": {
     "auth_ref": [
      "r503",
      "r530"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Domain]"
       }
      }
     },
     "localname": "SubsequentEventTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/NatureOfOperationsAdditionalInformationDetail",
      "http://www.Castellum.com/role/SubsequentEventsAdditionalInformationDetail",
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Events [Abstract]"
       }
      }
     },
     "localname": "SubsequentEventsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventsTextBlock": {
     "auth_ref": [
      "r529",
      "r531"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for significant events or transactions that occurred after the balance sheet date through the date the financial statements were issued or the date the financial statements were available to be issued. Examples include: the sale of a capital stock issue, purchase of a business, settlement of litigation, catastrophic loss, significant foreign exchange rate changes, loans to insiders or affiliates, and transactions not in the ordinary course of business.",
        "label": "Subsequent Events [Text Block]",
        "terseLabel": "Subsequent Events"
       }
      }
     },
     "localname": "SubsequentEventsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/SubsequentEvents"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SubsidiarySaleOfStockAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of sale of the entity's stock.",
        "label": "Sale of Stock [Axis]"
       }
      }
     },
     "localname": "SubsidiarySaleOfStockAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/NatureOfOperationsAdditionalInformationDetail",
      "http://www.Castellum.com/role/SubsequentEventsAdditionalInformationDetail",
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SupplementalCashFlowInformationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Supplemental Cash Flow Information [Abstract]",
        "terseLabel": "SUPPLEMENTAL DISCLOSURES:"
       }
      }
     },
     "localname": "SupplementalCashFlowInformationAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TradeNamesMember": {
     "auth_ref": [
      "r429"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rights acquired through registration of a business name to gain or protect exclusive use thereof.",
        "label": "Trade Names [Member]"
       }
      }
     },
     "localname": "TradeNamesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillScheduleOfIntangibleAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TrademarksAndTradeNamesMember": {
     "auth_ref": [
      "r429"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rights acquired through registration of a trademark to gain or protect exclusive use of a business name, symbol or other device or style, or rights either acquired through registration of a business name to gain or protect exclusive use thereof.",
        "label": "Trademarks and Trade Names [Member]",
        "terseLabel": "Trademarks [Member]"
       }
      }
     },
     "localname": "TrademarksAndTradeNamesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/AcquisitionsScheduleOfAssetsAndLiabilitiesAcquiredDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TrademarksMember": {
     "auth_ref": [
      "r429"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Rights acquired through registration of a trademark to gain or protect exclusive use of a business name, symbol or other device or style.",
        "label": "Trademarks [Member]"
       }
      }
     },
     "localname": "TrademarksMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/IntangibleAssetsAndGoodwillScheduleOfIntangibleAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain": {
     "auth_ref": [
      "r174",
      "r175",
      "r176",
      "r177",
      "r178",
      "r269",
      "r300",
      "r474",
      "r532",
      "r533",
      "r534",
      "r535",
      "r536",
      "r537",
      "r538",
      "r539",
      "r540",
      "r541",
      "r542",
      "r543",
      "r544",
      "r545",
      "r546",
      "r547",
      "r548",
      "r549",
      "r550",
      "r551",
      "r552",
      "r553",
      "r554",
      "r555",
      "r556",
      "r557",
      "r558",
      "r559",
      "r560",
      "r561",
      "r634",
      "r635",
      "r636",
      "r637",
      "r638",
      "r639",
      "r640"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Instrument or contract that imposes a contractual obligation to deliver cash or another financial instrument or to exchange other financial instruments on potentially unfavorable terms and conveys a contractual right to receive cash or another financial instrument or to exchange other financial instruments on potentially favorable terms.",
        "label": "Financial Instruments [Domain]"
       }
      }
     },
     "localname": "TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfWarrantsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_UseOfEstimates": {
     "auth_ref": [
      "r131",
      "r132",
      "r133",
      "r134",
      "r140",
      "r141",
      "r142"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for the use of estimates in the preparation of financial statements in conformity with generally accepted accounting principles.",
        "label": "Use of Estimates, Policy [Policy Text Block]",
        "terseLabel": "Use of Estimates"
       }
      }
     },
     "localname": "UseOfEstimates",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_VariableRateAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of variable rate.",
        "label": "Variable Rate [Axis]"
       }
      }
     },
     "localname": "VariableRateAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/NotesPayableAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_VariableRateDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest rate that fluctuates over time as a result of an underlying benchmark interest rate or index.",
        "label": "Variable Rate [Domain]"
       }
      }
     },
     "localname": "VariableRateDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/NotesPayableAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_VestingAxis": {
     "auth_ref": [
      "r347",
      "r348",
      "r349",
      "r352",
      "r353",
      "r354",
      "r355",
      "r356",
      "r357",
      "r358",
      "r359",
      "r361",
      "r362",
      "r363",
      "r364",
      "r365",
      "r366",
      "r368",
      "r369",
      "r371",
      "r372",
      "r375",
      "r376",
      "r377",
      "r378",
      "r379"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by vesting schedule of award under share-based payment arrangement.",
        "label": "Vesting [Axis]"
       }
      }
     },
     "localname": "VestingAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_VestingDomain": {
     "auth_ref": [
      "r347",
      "r348",
      "r349",
      "r352",
      "r353",
      "r354",
      "r355",
      "r356",
      "r357",
      "r358",
      "r359",
      "r361",
      "r362",
      "r363",
      "r364",
      "r365",
      "r366",
      "r368",
      "r369",
      "r371",
      "r372",
      "r375",
      "r376",
      "r377",
      "r378",
      "r379"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vesting schedule of award under share-based payment arrangement.",
        "label": "Vesting [Domain]"
       }
      }
     },
     "localname": "VestingDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_WarrantMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Security that gives the holder the right to purchase shares of stock in accordance with the terms of the instrument, usually upon payment of a specified amount.",
        "label": "Warrant [Member]",
        "terseLabel": "Warrant"
       }
      }
     },
     "localname": "WarrantMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails",
      "http://www.Castellum.com/role/CondensedConsolidatedStatementOfChangesInStockholdersEquity",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail",
      "http://www.Castellum.com/role/StockholdersEquityDeficitScheduleOfWarrantsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_WarrantsAndRightsOutstanding": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of outstanding derivative securities that permit the holder the right to purchase securities (usually equity) from the issuer at a specified price.",
        "label": "Warrants and Rights Outstanding",
        "terseLabel": "Warrants and rights outstanding"
       }
      }
     },
     "localname": "WarrantsAndRightsOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_WarrantsAndRightsOutstandingMaturityDate": {
     "auth_ref": [
      "r483"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Expiration date 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 YYYY-MM-DD format.",
        "label": "Warrants and Rights Outstanding, Maturity Date",
        "terseLabel": "Warrants and Rights Outstanding, Maturity Date",
        "verboseLabel": "Warrants and rights outstanding, maturity date"
       }
      }
     },
     "localname": "WarrantsAndRightsOutstandingMaturityDate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/NotesPayableScheduleOfNotesPayableParentheticalDetail",
      "http://www.Castellum.com/role/StockholdersEquityDeficitAdditionalInformationDetail"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_WarrantsAndRightsOutstandingMeasurementInput": {
     "auth_ref": [
      "r483"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of input used to measure outstanding warrant and right embodying unconditional obligation requiring redemption by transferring asset at specified or determinable date or upon event certain to occur.",
        "label": "Warrants and Rights Outstanding, Measurement Input",
        "terseLabel": "Warrants and Rights Outstanding, Measurement Input"
       }
      }
     },
     "localname": "WarrantsAndRightsOutstandingMeasurementInput",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/FairValueSummaryOfFairValueMeasurementsDetail"
     ],
     "xbrltype": "decimalItemType"
    },
    "us-gaap_WarrantsAndRightsOutstandingTerm": {
     "auth_ref": [
      "r483"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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.",
        "label": "Warrants and Rights Outstanding, Term",
        "terseLabel": "Warrants and rights outstanding, Term"
       }
      }
     },
     "localname": "WarrantsAndRightsOutstandingTerm",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding": {
     "auth_ref": [
      "r114",
      "r121"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The average number of shares or units issued and outstanding that are used in calculating diluted EPS or earnings per unit (EPU), determined based on the timing of issuance of shares or units in the period.",
        "label": "Weighted Average Number of Shares Outstanding, Diluted",
        "terseLabel": "WEIGHTED AVERAGE SHARES OUTSTANDING - DILUTED"
       }
      }
     },
     "localname": "WeightedAverageNumberOfDilutedSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic": {
     "auth_ref": [
      "r113",
      "r121"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period.",
        "label": "Weighted Average Number of Shares Outstanding, Basic",
        "terseLabel": "WEIGHTED AVERAGE SHARES OUTSTANDING - BASIC"
       }
      }
     },
     "localname": "WeightedAverageNumberOfSharesOutstandingBasic",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.Castellum.com/role/CondensedConsolidatedStatementsOfOperations"
     ],
     "xbrltype": "sharesItemType"
    }
   },
   "unitCount": 9
  }
 },
 "std_ref": {
  "r0": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "105",
   "URI": "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695"
  },
  "r1": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "105",
   "URI": "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695"
  },
  "r10": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(14))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r100": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(2)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r101": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(3)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r102": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794"
  },
  "r103": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794"
  },
  "r104": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=SL124452830-107794"
  },
  "r105": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22583-107794"
  },
  "r106": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22595-107794"
  },
  "r107": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794"
  },
  "r108": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794"
  },
  "r109": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794"
  },
  "r11": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(15))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r110": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22658-107794"
  },
  "r111": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22663-107794"
  },
  "r112": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.M.Q2)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=122038215&loc=d3e31137-122693"
  },
  "r113": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1448-109256"
  },
  "r114": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1505-109256"
  },
  "r115": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1252-109256"
  },
  "r116": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1278-109256"
  },
  "r117": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "55",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e2626-109256"
  },
  "r118": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=SL5780133-109256"
  },
  "r119": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=SL5780133-109256"
  },
  "r12": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(16))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r120": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1337-109256"
  },
  "r121": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257"
  },
  "r122": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257"
  },
  "r123": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3630-109257"
  },
  "r124": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=128363288&loc=d3e3842-109258"
  },
  "r125": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "52",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=128363288&loc=d3e4984-109258"
  },
  "r126": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=125520817&loc=d3e70191-108054"
  },
  "r127": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=125520817&loc=d3e70229-108054"
  },
  "r128": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=6373374&loc=d3e70434-108055"
  },
  "r129": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=6373374&loc=d3e70478-108055"
  },
  "r13": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(17))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r130": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
  },
  "r131": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
  },
  "r132": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
  },
  "r133": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6161-108592"
  },
  "r134": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6191-108592"
  },
  "r135": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6327-108592"
  },
  "r136": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592"
  },
  "r137": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592"
  },
  "r138": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6404-108592"
  },
  "r139": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6442-108592"
  },
  "r14": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(18))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r140": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6061-108592"
  },
  "r141": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6132-108592"
  },
  "r142": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6143-108592"
  },
  "r143": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "275",
   "URI": "https://asc.fasb.org/topic&trid=2134479"
  },
  "r144": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8672-108599"
  },
  "r145": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599"
  },
  "r146": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599"
  },
  "r147": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599"
  },
  "r148": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599"
  },
  "r149": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599"
  },
  "r15": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(19))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r150": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599"
  },
  "r151": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8864-108599"
  },
  "r152": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8864-108599"
  },
  "r153": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8864-108599"
  },
  "r154": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8864-108599"
  },
  "r155": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8864-108599"
  },
  "r156": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8864-108599"
  },
  "r157": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599"
  },
  "r158": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599"
  },
  "r159": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599"
  },
  "r16": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(20))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r160": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599"
  },
  "r161": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "31",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8924-108599"
  },
  "r162": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599"
  },
  "r163": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599"
  },
  "r164": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599"
  },
  "r165": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599"
  },
  "r166": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599"
  },
  "r167": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9031-108599"
  },
  "r168": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9038-108599"
  },
  "r169": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "42",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9054-108599"
  },
  "r17": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(22))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r170": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=124259787&loc=d3e4647-111522"
  },
  "r171": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=124259787&loc=d3e4428-111522"
  },
  "r172": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=124259787&loc=d3e4531-111522"
  },
  "r173": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 4.E)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=122038336&loc=d3e74512-122707"
  },
  "r174": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27232-111563"
  },
  "r175": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=SL120269820-111563"
  },
  "r176": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "321",
   "URI": "https://asc.fasb.org/extlink&oid=126980263&loc=SL75117539-209714"
  },
  "r177": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "321",
   "URI": "https://asc.fasb.org/extlink&oid=126980263&loc=SL75117539-209714"
  },
  "r178": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "321",
   "URI": "https://asc.fasb.org/extlink&oid=126980263&loc=SL75117539-209714"
  },
  "r179": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r18": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(23))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r180": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r181": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(3)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r182": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(4)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r183": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919244-210447"
  },
  "r184": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447"
  },
  "r185": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919253-210447"
  },
  "r186": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919258-210447"
  },
  "r187": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919230-210447"
  },
  "r188": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455"
  },
  "r189": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124269663&loc=SL82922895-210455"
  },
  "r19": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(27)(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r190": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124269663&loc=SL82922900-210455"
  },
  "r191": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=121590138&loc=SL82922954-210456"
  },
  "r192": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=99380562&loc=d3e13770-109266"
  },
  "r193": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=99380562&loc=d3e13777-109266"
  },
  "r194": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
  },
  "r195": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
  },
  "r196": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
  },
  "r197": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
  },
  "r198": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
  },
  "r199": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
  },
  "r2": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "https://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760"
  },
  "r20": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(27))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r200": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
  },
  "r201": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
  },
  "r202": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
  },
  "r203": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=SL108378252-109267"
  },
  "r204": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13854-109267"
  },
  "r205": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=122137925&loc=d3e14258-109268"
  },
  "r206": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=6388964&loc=d3e16212-109274"
  },
  "r207": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=6388964&loc=d3e16225-109274"
  },
  "r208": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275"
  },
  "r209": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(1)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275"
  },
  "r21": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(28))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r210": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275"
  },
  "r211": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "((a)(1),(b))",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r212": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r213": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(1)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r214": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(2)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r215": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(3)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r216": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r217": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "350",
   "URI": "https://asc.fasb.org/topic&trid=2144416"
  },
  "r218": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r219": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r22": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(29))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r220": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r221": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r222": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "360",
   "URI": "https://asc.fasb.org/topic&trid=2155823"
  },
  "r223": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "410",
   "URI": "https://asc.fasb.org/extlink&oid=6393242&loc=d3e13237-110859"
  },
  "r224": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "440",
   "URI": "https://asc.fasb.org/topic&trid=2144648"
  },
  "r225": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349"
  },
  "r226": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349"
  },
  "r227": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB Topic 5.Y.Q2)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751"
  },
  "r228": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB Topic 5.Y.Q4)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751"
  },
  "r229": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123465755&loc=SL6230698-112601"
  },
  "r23": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r230": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
  },
  "r231": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(ii))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
  },
  "r232": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
  },
  "r233": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(B))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
  },
  "r234": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
  },
  "r235": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
  },
  "r236": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(5))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
  },
  "r237": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(i))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756"
  },
  "r238": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756"
  },
  "r239": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(B))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756"
  },
  "r24": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(3))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r240": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(C))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756"
  },
  "r241": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756"
  },
  "r242": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(5))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756"
  },
  "r243": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r244": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r245": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r246": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r247": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r248": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r249": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r25": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r250": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r251": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(i)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r252": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r253": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611"
  },
  "r254": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611"
  },
  "r255": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495334-112611"
  },
  "r256": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
  },
  "r257": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
  },
  "r258": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
  },
  "r259": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
  },
  "r26": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(31))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r260": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
  },
  "r261": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
  },
  "r262": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
  },
  "r263": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
  },
  "r264": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
  },
  "r265": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
  },
  "r266": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
  },
  "r267": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
  },
  "r268": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
  },
  "r269": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
  },
  "r27": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(32))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r270": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
  },
  "r271": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870"
  },
  "r272": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870"
  },
  "r273": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466204&loc=SL6031898-161870"
  },
  "r274": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466204&loc=SL6036836-161870"
  },
  "r275": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69B",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612"
  },
  "r276": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69C",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612"
  },
  "r277": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69E",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495743-112612"
  },
  "r278": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495745-112612"
  },
  "r279": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "470",
   "URI": "https://asc.fasb.org/topic&trid=2208564"
  },
  "r28": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(9))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r280": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "10",
   "Topic": "480",
   "URI": "https://asc.fasb.org/extlink&oid=109262497&loc=d3e20148-110875"
  },
  "r281": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(CFRR 211.02)",
   "Topic": "480",
   "URI": "https://asc.fasb.org/extlink&oid=122040564&loc=d3e177068-122764"
  },
  "r282": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=65888546&loc=d3e21300-112643"
  },
  "r283": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21553-112644"
  },
  "r284": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21564-112644"
  },
  "r285": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644"
  },
  "r286": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644"
  },
  "r287": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644"
  },
  "r288": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644"
  },
  "r289": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644"
  },
  "r29": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(a))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r290": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644"
  },
  "r291": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(i)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644"
  },
  "r292": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644"
  },
  "r293": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496171-112644"
  },
  "r294": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496171-112644"
  },
  "r295": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496171-112644"
  },
  "r296": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496180-112644"
  },
  "r297": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496180-112644"
  },
  "r298": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496189-112644"
  },
  "r299": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496189-112644"
  },
  "r3": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
  },
  "r30": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(b),22(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r300": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496189-112644"
  },
  "r301": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496189-112644"
  },
  "r302": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644"
  },
  "r303": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21475-112644"
  },
  "r304": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21484-112644"
  },
  "r305": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21488-112644"
  },
  "r306": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21488-112644"
  },
  "r307": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21506-112644"
  },
  "r308": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21506-112644"
  },
  "r309": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21521-112644"
  },
  "r31": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19,20)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r310": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21538-112644"
  },
  "r311": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3-04)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770"
  },
  "r312": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "505",
   "URI": "https://asc.fasb.org/topic&trid=2208762"
  },
  "r313": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126919976&loc=SL49130531-203044"
  },
  "r314": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126919976&loc=SL49130532-203044"
  },
  "r315": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126919976&loc=SL49130533-203044"
  },
  "r316": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130561-203045"
  },
  "r317": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130563-203045"
  },
  "r318": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130563-203045"
  },
  "r319": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130564-203045"
  },
  "r32": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19-26)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r320": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130566-203045"
  },
  "r321": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130566-203045"
  },
  "r322": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130566-203045"
  },
  "r323": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130566-203045"
  },
  "r324": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130543-203045"
  },
  "r325": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130545-203045"
  },
  "r326": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130549-203045"
  },
  "r327": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046"
  },
  "r328": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "606",
   "URI": "https://asc.fasb.org/topic&trid=49130388"
  },
  "r329": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "10",
   "Topic": "710",
   "URI": "https://asc.fasb.org/extlink&oid=6409733&loc=d3e19524-108361"
  },
  "r33": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.20)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r330": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "30",
   "SubTopic": "10",
   "Topic": "710",
   "URI": "https://asc.fasb.org/extlink&oid=6409875&loc=d3e20015-108363"
  },
  "r331": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(i)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r332": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(ii)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r333": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(01)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r334": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r335": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(A)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r336": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(B)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r337": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(C)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r338": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(03)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r339": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(n)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r34": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.21)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r340": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123450688&loc=d3e4179-114921"
  },
  "r341": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450702-114947"
  },
  "r342": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(d)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947"
  },
  "r343": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450673-114947"
  },
  "r344": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "80",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=35742348&loc=SL14450788-114948"
  },
  "r345": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=126961718&loc=SL116886442-113899"
  },
  "r346": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=126961718&loc=d3e4549-113899"
  },
  "r347": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r348": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r349": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r35": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22(a)(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r350": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r351": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r352": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r353": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r354": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r355": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r356": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(01)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r357": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(02)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r358": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(03)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r359": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(04)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r36": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22(a)(2))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r360": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r361": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r362": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r363": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r364": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(01)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r365": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(02)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r366": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(03)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r367": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r368": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r369": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r37": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22(a))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r370": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r371": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r372": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r373": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r374": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r375": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r376": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r377": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r378": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iv)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r379": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(v)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r38": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r380": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r381": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(1)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r382": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
  },
  "r383": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=SL79508275-113901"
  },
  "r384": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333"
  },
  "r385": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333"
  },
  "r386": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333"
  },
  "r387": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 14.D.2.Q6)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=122041274&loc=d3e301413-122809"
  },
  "r388": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 14.F)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=122041274&loc=d3e301413-122809"
  },
  "r389": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "718",
   "URI": "https://asc.fasb.org/topic&trid=2228938"
  },
  "r39": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.23)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r390": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=d3e32247-109318"
  },
  "r391": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=d3e32280-109318"
  },
  "r392": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=d3e31917-109318"
  },
  "r393": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=d3e31931-109318"
  },
  "r394": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32672-109319"
  },
  "r395": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32687-109319"
  },
  "r396": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32705-109319"
  },
  "r397": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32809-109319"
  },
  "r398": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32840-109319"
  },
  "r399": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32847-109319"
  },
  "r4": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6904-107765"
  },
  "r40": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29-30)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r400": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32857-109319"
  },
  "r401": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319"
  },
  "r402": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319"
  },
  "r403": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277"
  },
  "r404": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(3)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277"
  },
  "r405": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 6.I.5.Q1)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r406": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 6.I.7)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r407": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.7)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r408": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.Fact.1)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r409": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.Fact.2)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r41": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29-31)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r410": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.C)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330215-122817"
  },
  "r411": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123586238&loc=d3e38679-109324"
  },
  "r412": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "270",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=6424409&loc=d3e44925-109338"
  },
  "r413": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=6424122&loc=d3e41874-109331"
  },
  "r414": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "740",
   "URI": "https://asc.fasb.org/topic&trid=2144680"
  },
  "r415": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=123586518&loc=d3e961-128460"
  },
  "r416": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=123586518&loc=d3e845-128460"
  },
  "r417": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=123586518&loc=d3e848-128460"
  },
  "r418": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
  },
  "r419": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
  },
  "r42": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312"
  },
  "r420": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(2)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
  },
  "r421": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(3)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
  },
  "r422": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
  },
  "r423": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=79982066&loc=d3e1486-128463"
  },
  "r424": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "37",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=123455525&loc=d3e2207-128464"
  },
  "r425": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=128092470&loc=d3e4845-128472"
  },
  "r426": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(1)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=128092470&loc=d3e4845-128472"
  },
  "r427": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=128092470&loc=d3e4946-128472"
  },
  "r428": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=128092470&loc=d3e4946-128472"
  },
  "r429": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=123410050&loc=d3e5263-128473"
  },
  "r43": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=99393222&loc=SL20226008-175313"
  },
  "r430": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=123410050&loc=d3e5263-128473"
  },
  "r431": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=123410050&loc=d3e5333-128473"
  },
  "r432": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "30",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=6911189&loc=d3e6405-128476"
  },
  "r433": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "30",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=6911189&loc=d3e6408-128476"
  },
  "r434": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "30",
   "SubTopic": "30",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=126966197&loc=d3e6578-128477"
  },
  "r435": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "30",
   "SubTopic": "30",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=126966197&loc=d3e6613-128477"
  },
  "r436": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=126966325&loc=d3e6819-128478"
  },
  "r437": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "30",
   "Subparagraph": "b",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=126966325&loc=d3e6819-128478"
  },
  "r438": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=126975305&loc=d3e6927-128479"
  },
  "r439": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(1)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=126975305&loc=d3e6927-128479"
  },
  "r44": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=99393222&loc=SL20226052-175313"
  },
  "r440": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(2)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=126975305&loc=d3e6927-128479"
  },
  "r441": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(3)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=126975305&loc=d3e6927-128479"
  },
  "r442": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(4)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=126975305&loc=d3e6927-128479"
  },
  "r443": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(c)(1)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=126975305&loc=d3e6927-128479"
  },
  "r444": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(1)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=126975305&loc=d3e7008-128479"
  },
  "r445": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "15",
   "SubTopic": "50",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=6911878&loc=d3e8732-128492"
  },
  "r446": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "50",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=127000608&loc=d3e9135-128495"
  },
  "r447": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "30",
   "SubTopic": "50",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=126928898&loc=d3e9212-128498"
  },
  "r448": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "30",
   "SubTopic": "50",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=126928898&loc=d3e9215-128498"
  },
  "r449": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "50",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=6829253&loc=SL6831962-166255"
  },
  "r45": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669619-108580"
  },
  "r450": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "805",
   "URI": "https://asc.fasb.org/topic&trid=2303972"
  },
  "r451": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=SL4569616-111683"
  },
  "r452": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988"
  },
  "r453": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988"
  },
  "r454": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r455": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r456": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bb)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685"
  },
  "r457": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685"
  },
  "r458": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4J",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=120409616&loc=SL4591551-111686"
  },
  "r459": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=120409616&loc=SL4591552-111686"
  },
  "r46": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669625-108580"
  },
  "r460": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5579240-113959"
  },
  "r461": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5579245-113959"
  },
  "r462": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5580258-113959"
  },
  "r463": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=d3e41620-113959"
  },
  "r464": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=d3e41638-113959"
  },
  "r465": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5618551-113959"
  },
  "r466": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959"
  },
  "r467": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959"
  },
  "r468": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959"
  },
  "r469": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624177-113959"
  },
  "r47": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL116659661-227067"
  },
  "r470": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=d3e41641-113959"
  },
  "r471": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=d3e41675-113959"
  },
  "r472": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=d3e41678-113959"
  },
  "r473": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "25",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=121577467&loc=d3e76258-113986"
  },
  "r474": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126731327&loc=d3e90205-114008"
  },
  "r475": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126731327&loc=SL126733271-114008"
  },
  "r476": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(b)(2)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011"
  },
  "r477": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(3)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011"
  },
  "r478": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(4)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011"
  },
  "r479": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011"
  },
  "r48": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124442407-227067"
  },
  "r480": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258"
  },
  "r481": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258"
  },
  "r482": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258"
  },
  "r483": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(2)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258"
  },
  "r484": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258"
  },
  "r485": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258"
  },
  "r486": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258"
  },
  "r487": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258"
  },
  "r488": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19279-110258"
  },
  "r489": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "60",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=7493716&loc=d3e21868-110260"
  },
  "r49": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124442411-227067"
  },
  "r490": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13279-108611"
  },
  "r491": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13433-108611"
  },
  "r492": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13531-108611"
  },
  "r493": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13537-108611"
  },
  "r494": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13537-108611"
  },
  "r495": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612"
  },
  "r496": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=123444420&loc=d3e33268-110906"
  },
  "r497": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32136-110900"
  },
  "r498": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r499": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r5": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 201.5-02(24))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r50": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124452729-227067"
  },
  "r500": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r501": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r502": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=6450520&loc=d3e32583-110901"
  },
  "r503": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=6450520&loc=d3e32618-110901"
  },
  "r504": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=6450988&loc=d3e26243-108391"
  },
  "r505": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124435984&loc=d3e28541-108399"
  },
  "r506": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399"
  },
  "r507": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399"
  },
  "r508": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629"
  },
  "r509": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400"
  },
  "r51": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(210.5-03(11))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r510": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(1)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128293352&loc=SL126838806-209984"
  },
  "r511": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977"
  },
  "r512": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977"
  },
  "r513": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980"
  },
  "r514": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "53",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=123414884&loc=SL77918982-209971"
  },
  "r515": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)(iii)(01)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846"
  },
  "r516": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)(iii)(03)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846"
  },
  "r517": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r518": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r519": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r52": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(1))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r520": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r521": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r522": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39599-107864"
  },
  "r523": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39603-107864"
  },
  "r524": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39691-107864"
  },
  "r525": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "850",
   "URI": "https://asc.fasb.org/topic&trid=2122745"
  },
  "r526": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765"
  },
  "r527": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765"
  },
  "r528": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=84165509&loc=d3e56426-112766"
  },
  "r529": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "855",
   "URI": "https://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662"
  },
  "r53": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(10))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r530": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "855",
   "URI": "https://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662"
  },
  "r531": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "855",
   "URI": "https://asc.fasb.org/topic&trid=2122774"
  },
  "r532": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)(i)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r533": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)(ii)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r534": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r535": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r536": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r537": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r538": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r539": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r54": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(20))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r540": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r541": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r542": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r543": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r544": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r545": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=66007379&loc=d3e113888-111728"
  },
  "r546": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=109249958&loc=SL34722452-111729"
  },
  "r547": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122625-111746"
  },
  "r548": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122625-111746"
  },
  "r549": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122625-111746"
  },
  "r55": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(25))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r550": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(4)(i)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122625-111746"
  },
  "r551": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
  },
  "r552": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
  },
  "r553": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
  },
  "r554": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(4)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
  },
  "r555": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(5)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
  },
  "r556": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(6)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
  },
  "r557": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(7)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
  },
  "r558": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(b)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
  },
  "r559": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
  },
  "r56": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.1,2)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r560": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
  },
  "r561": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746"
  },
  "r562": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "910",
   "URI": "https://asc.fasb.org/extlink&oid=126937589&loc=SL119991595-234733"
  },
  "r563": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.L)",
   "Topic": "924",
   "URI": "https://asc.fasb.org/extlink&oid=6472922&loc=d3e499488-122856"
  },
  "r564": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "926",
   "URI": "https://asc.fasb.org/extlink&oid=120154696&loc=d3e54445-107959"
  },
  "r565": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "340",
   "Topic": "928",
   "URI": "https://asc.fasb.org/extlink&oid=6473545&loc=d3e61844-108004"
  },
  "r566": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e61929-109447"
  },
  "r567": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e61929-109447"
  },
  "r568": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62059-109447"
  },
  "r569": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62059-109447"
  },
  "r57": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.2)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r570": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62395-109447"
  },
  "r571": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62395-109447"
  },
  "r572": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62479-109447"
  },
  "r573": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62479-109447"
  },
  "r574": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=SL6807758-109447"
  },
  "r575": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=SL6807758-109447"
  },
  "r576": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(c)(1)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e61872-109447"
  },
  "r577": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(c)(2)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e61872-109447"
  },
  "r578": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "940",
   "URI": "https://asc.fasb.org/extlink&oid=126941158&loc=d3e41242-110953"
  },
  "r579": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(10)(1))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
  },
  "r58": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.4)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r580": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(11))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
  },
  "r581": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(13))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
  },
  "r582": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(16))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
  },
  "r583": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(23))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
  },
  "r584": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(15))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r585": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(22))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r586": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(27))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r587": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.10)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r588": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.9)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r589": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "235",
   "Subparagraph": "(SX 210.9-05(b)(2))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399901&loc=d3e537907-122884"
  },
  "r59": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.7)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r590": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=124429447&loc=SL124453093-239630"
  },
  "r591": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "405",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=6957935&loc=d3e64057-112817"
  },
  "r592": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "470",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823"
  },
  "r593": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(16))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
  },
  "r594": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(12))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
  },
  "r595": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(16)(a))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
  },
  "r596": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(16))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
  },
  "r597": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(4))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
  },
  "r598": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(25))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
  },
  "r599": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(8))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
  },
  "r6": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 201.5-02(25))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r60": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.8)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r600": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.17)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
  },
  "r601": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(18))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r602": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(23))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r603": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(8))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r604": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(9))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r605": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04.3(a))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r606": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(d)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124506351&loc=SL117782755-158439"
  },
  "r607": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13H",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Subparagraph": "(c)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126561865&loc=SL117783719-158441"
  },
  "r608": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126561865&loc=SL117819544-158441"
  },
  "r609": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r61": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3179-108585"
  },
  "r610": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(1)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r611": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(2)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r612": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(1)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r613": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(i)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r614": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(ii)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r615": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(iii)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r616": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(iv)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r617": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(h)(1)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r618": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(h)(2)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r619": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "825",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=123600520&loc=SL75241803-196195"
  },
  "r62": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3179-108585"
  },
  "r620": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "210",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=118262064&loc=SL116631418-115840"
  },
  "r621": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "210",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=118262064&loc=SL116631419-115840"
  },
  "r622": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.6-04(13))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=120401414&loc=d3e603758-122996"
  },
  "r623": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Topic": "954",
   "URI": "https://asc.fasb.org/extlink&oid=126942805&loc=d3e3115-115594"
  },
  "r624": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Subparagraph": "(d)",
   "Topic": "958",
   "URI": "https://asc.fasb.org/extlink&oid=126982197&loc=d3e99779-112916"
  },
  "r625": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "958",
   "URI": "https://asc.fasb.org/extlink&oid=126982197&loc=d3e99893-112916"
  },
  "r626": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "958",
   "URI": "https://asc.fasb.org/extlink&oid=126982197&loc=SL120174063-112916"
  },
  "r627": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(c)",
   "Topic": "976",
   "URI": "https://asc.fasb.org/extlink&oid=6497875&loc=d3e22274-108663"
  },
  "r628": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(b)",
   "Topic": "978",
   "URI": "https://asc.fasb.org/extlink&oid=126945304&loc=d3e27327-108691"
  },
  "r629": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b"
  },
  "r63": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585"
  },
  "r630": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r631": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "d1-1"
  },
  "r632": {
   "Name": "Form 10-Q",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "308",
   "Subsection": "a"
  },
  "r633": {
   "Name": "Forms 10-K, 10-Q, 20-F",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "13",
   "Subsection": "a-1"
  },
  "r634": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1402"
  },
  "r635": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(1)"
  },
  "r636": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)"
  },
  "r637": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(3)"
  },
  "r638": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(i)"
  },
  "r639": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(ii)"
  },
  "r64": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585"
  },
  "r640": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(iii)"
  },
  "r641": {
   "Name": "Regulation S-T",
   "Number": "232",
   "Publisher": "SEC",
   "Section": "405"
  },
  "r642": {
   "Name": "Securities Act",
   "Number": "7A",
   "Publisher": "SEC",
   "Section": "B",
   "Subsection": "2"
  },
  "r65": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585"
  },
  "r66": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585"
  },
  "r67": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585"
  },
  "r68": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585"
  },
  "r69": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3367-108585"
  },
  "r7": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 201.5-02(26))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r70": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3000-108585"
  },
  "r71": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3521-108585"
  },
  "r72": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3536-108585"
  },
  "r73": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3536-108585"
  },
  "r74": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585"
  },
  "r75": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585"
  },
  "r76": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585"
  },
  "r77": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3044-108585"
  },
  "r78": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4297-108586"
  },
  "r79": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4304-108586"
  },
  "r8": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r80": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4313-108586"
  },
  "r81": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4332-108586"
  },
  "r82": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=SL98516268-108586"
  },
  "r83": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18726-107790"
  },
  "r84": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18823-107790"
  },
  "r85": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(c))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r86": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(d))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r87": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(e)(1))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r88": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(f))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r89": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r9": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(13))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r90": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h)(1)(Note 1))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r91": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h)(2))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r92": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r93": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(k)(1))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r94": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(n))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r95": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-04(a))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e24072-122690"
  },
  "r96": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "235",
   "URI": "https://asc.fasb.org/topic&trid=2122369"
  },
  "r97": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21914-107793"
  },
  "r98": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21930-107793"
  },
  "r99": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21711-107793"
  }
 },
 "version": "2.1"
}
