{
 "version": "2.2",
 "instance": {
  "ef20015312_20f.htm": {
   "nsprefix": "ctrm",
   "nsuri": "http://castormaritime.com/20231231",
   "dts": {
    "schema": {
     "local": [
      "ctrm-20231231.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/2004/ref-2004-08-10.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://www.xbrl.org/dtr/type/2022-03-31/types.xsd",
      "https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd",
      "https://xbrl.fasb.org/srt/2023/elts/srt-roles-2023.xsd",
      "https://xbrl.fasb.org/srt/2023/elts/srt-types-2023.xsd",
      "https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd",
      "https://xbrl.fasb.org/us-gaap/2023/elts/us-roles-2023.xsd",
      "https://xbrl.fasb.org/us-gaap/2023/elts/us-types-2023.xsd",
      "https://xbrl.sec.gov/country/2023/country-2023.xsd",
      "https://xbrl.sec.gov/currency/2023/currency-2023.xsd",
      "https://xbrl.sec.gov/dei/2023/dei-2023.xsd",
      "https://xbrl.sec.gov/ecd/2023/ecd-2023.xsd",
      "https://xbrl.sec.gov/exch/2023/exch-2023.xsd",
      "https://xbrl.sec.gov/naics/2023/naics-2023.xsd",
      "https://xbrl.sec.gov/sic/2023/sic-2023.xsd",
      "https://xbrl.sec.gov/stpr/2023/stpr-2023.xsd"
     ]
    },
    "calculationLink": {
     "local": [
      "ctrm-20231231_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "ctrm-20231231_def.xml"
     ]
    },
    "labelLink": {
     "local": [
      "ctrm-20231231_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "ctrm-20231231_pre.xml"
     ]
    },
    "inline": {
     "local": [
      "ef20015312_20f.htm"
     ]
    }
   },
   "keyStandard": 317,
   "keyCustom": 165,
   "axisStandard": 30,
   "axisCustom": 0,
   "memberStandard": 28,
   "memberCustom": 138,
   "hidden": {
    "total": 68,
    "http://castormaritime.com/20231231": 54,
    "http://xbrl.sec.gov/dei/2023": 6,
    "http://fasb.org/us-gaap/2023": 8
   },
   "contextCount": 448,
   "entityCount": 1,
   "segmentCount": 168,
   "elementCount": 841,
   "unitCount": 16,
   "baseTaxonomies": {
    "http://fasb.org/us-gaap/2023": 1107,
    "http://xbrl.sec.gov/dei/2023": 85,
    "http://fasb.org/srt/2023": 1
   },
   "report": {
    "R1": {
     "role": "http://castormaritime.com/role/DocumentAndEntityInformation",
     "longName": "000100 - Document - Document and Entity Information",
     "shortName": "Document and Entity Information",
     "isDefault": "true",
     "groupType": "document",
     "subGroupType": "",
     "menuCat": "Cover",
     "order": "1",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "dei:DocumentType",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "dei:DocumentType",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R2": {
     "role": "http://castormaritime.com/role/ConsolidatedBalanceSheets",
     "longName": "010000 - Statement - CONSOLIDATED BALANCE SHEETS",
     "shortName": "CONSOLIDATED BALANCE SHEETS",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "2",
     "firstAnchor": {
      "contextRef": "c20231231",
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20231231",
      "name": "us-gaap:CapitalizedContractCostNetCurrent",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "unique": true
     }
    },
    "R3": {
     "role": "http://castormaritime.com/role/ConsolidatedBalanceSheetsParenthetical",
     "longName": "010100 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)",
     "shortName": "CONSOLIDATED BALANCE SHEETS (Parenthetical)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "parenthetical",
     "menuCat": "Statements",
     "order": "3",
     "firstAnchor": {
      "contextRef": "c20231231",
      "name": "us-gaap:CommonStockParOrStatedValuePerShare",
      "unitRef": "U004",
      "xsiNil": "false",
      "lang": null,
      "decimals": "3",
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20231231_StatementClassOfStockAxis_SeriesDPreferredStockMember",
      "name": "us-gaap:TemporaryEquityLiquidationPreference",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "unique": true
     }
    },
    "R4": {
     "role": "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
     "longName": "020000 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME",
     "shortName": "CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "4",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:OperatingLeaseLeaseIncome",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:CostsAndExpenses",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "unique": true
     }
    },
    "R5": {
     "role": "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncomeParenthetical",
     "longName": "020100 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (Parenthetical)",
     "shortName": "CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (Parenthetical)",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "parenthetical",
     "menuCat": "Statements",
     "order": "5",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "ctrm:VoyageExpenses",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231_RelatedPartyTransactionsByRelatedPartyAxis_RelatedPartyMember",
      "name": "ctrm:VoyageExpenses",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "unique": true
     }
    },
    "R6": {
     "role": "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity",
     "longName": "030000 - Statement - CONSOLIDATED STATEMENTS OF SHAREHOLDERS' EQUITY AND MEZZANINE EQUITY",
     "shortName": "CONSOLIDATED STATEMENTS OF SHAREHOLDERS' EQUITY AND MEZZANINE EQUITY",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "6",
     "firstAnchor": {
      "contextRef": "c20201231_StatementEquityComponentsAxis_ParValueOfSharesIssuedMember",
      "name": "us-gaap:StockholdersEquity",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20201231_StatementEquityComponentsAxis_ParValueOfSharesIssuedMember",
      "name": "us-gaap:StockholdersEquity",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R7": {
     "role": "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows",
     "longName": "040000 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS",
     "shortName": "CONSOLIDATED STATEMENTS OF CASH FLOWS",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "7",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:NetIncomeLoss",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "us-gaap:ComprehensiveIncomeNetOfTax",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "ctrm:DepreciationAndAmortizationOfDeferredDryDockingCosts",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "unique": true
     }
    },
    "R8": {
     "role": "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformation",
     "longName": "060100 - Disclosure - Basis of Presentation and General information",
     "shortName": "Basis of Presentation and General information",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "8",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R9": {
     "role": "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncements",
     "longName": "060200 - Disclosure - Significant Accounting Policies and Recent Accounting Pronouncements",
     "shortName": "Significant Accounting Policies and Recent Accounting Pronouncements",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "9",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R10": {
     "role": "http://castormaritime.com/role/DiscontinuedOperations",
     "longName": "060300 - Disclosure - Discontinued operations",
     "shortName": "Discontinued operations",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "10",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R11": {
     "role": "http://castormaritime.com/role/TransactionsWithRelatedParties",
     "longName": "060400 - Disclosure - Transactions with Related Parties",
     "shortName": "Transactions with Related Parties",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "11",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R12": {
     "role": "http://castormaritime.com/role/DeferredChargesNet",
     "longName": "060500 - Disclosure - Deferred Charges, net",
     "shortName": "Deferred Charges, net",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "12",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:OtherAssetsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:OtherAssetsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R13": {
     "role": "http://castormaritime.com/role/FairValueOfAcquiredTimeCharters",
     "longName": "060600 - Disclosure - Fair Value of Acquired Time Charters",
     "shortName": "Fair Value of Acquired Time Charters",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "13",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:OtherLiabilitiesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:OtherLiabilitiesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R14": {
     "role": "http://castormaritime.com/role/VesselsNetAssetsHeldForSale",
     "longName": "060700 - Disclosure - Vessels, net/Assets held for sale",
     "shortName": "Vessels, net/Assets held for sale",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "14",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R15": {
     "role": "http://castormaritime.com/role/LongtermDebt",
     "longName": "060800 - Disclosure - Long-Term Debt",
     "shortName": "Long-Term Debt",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "15",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:LongTermDebtTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:LongTermDebtTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R16": {
     "role": "http://castormaritime.com/role/InvestmentInEquitySecurities",
     "longName": "060900 - Disclosure - Investment in equity securities",
     "shortName": "Investment in equity securities",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "16",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R17": {
     "role": "http://castormaritime.com/role/EquityCapitalStructure",
     "longName": "061000 - Disclosure - Equity Capital Structure",
     "shortName": "Equity Capital Structure",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "17",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R18": {
     "role": "http://castormaritime.com/role/FinancialInstrumentsAndFairValueDisclosures",
     "longName": "061100 - Disclosure - Financial Instruments and Fair Value Disclosures",
     "shortName": "Financial Instruments and Fair Value Disclosures",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "18",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R19": {
     "role": "http://castormaritime.com/role/CommitmentsAndContingencies",
     "longName": "061200 - Disclosure - Commitments and Contingencies",
     "shortName": "Commitments and Contingencies",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "19",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R20": {
     "role": "http://castormaritime.com/role/EarningsPerCommonShare",
     "longName": "061300 - Disclosure - Earnings Per Common Share",
     "shortName": "Earnings Per Common Share",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "20",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R21": {
     "role": "http://castormaritime.com/role/TotalVesselRevenues",
     "longName": "061400 - Disclosure - Total Vessel Revenues",
     "shortName": "Total Vessel Revenues",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "21",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:RevenueFromContractWithCustomerTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:RevenueFromContractWithCustomerTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R22": {
     "role": "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpenses",
     "longName": "061500 - Disclosure - Vessel Operating Expenses and Voyage Expenses",
     "shortName": "Vessel Operating Expenses and Voyage Expenses",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "22",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "ctrm:VesselOperatingAndVoyageExpensesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "ctrm:VesselOperatingAndVoyageExpensesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R23": {
     "role": "http://castormaritime.com/role/GeneralAndAdministrativeExpenses",
     "longName": "061600 - Disclosure - General and Administrative Expenses",
     "shortName": "General and Administrative Expenses",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "23",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "ctrm:GeneralAndAdministrativeExpensesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "ctrm:GeneralAndAdministrativeExpensesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R24": {
     "role": "http://castormaritime.com/role/InterestAndFinanceCosts",
     "longName": "061700 - Disclosure - Interest and Finance Costs",
     "shortName": "Interest and Finance Costs",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "24",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:OtherNonoperatingIncomeAndExpenseTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:OtherNonoperatingIncomeAndExpenseTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R25": {
     "role": "http://castormaritime.com/role/IncomeTaxes",
     "longName": "061800 - Disclosure - Income Taxes",
     "shortName": "Income Taxes",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "25",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R26": {
     "role": "http://castormaritime.com/role/SegmentInformation",
     "longName": "061900 - Disclosure - Segment Information",
     "shortName": "Segment Information",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "26",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:SegmentReportingDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:SegmentReportingDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R27": {
     "role": "http://castormaritime.com/role/SubsequentEvents",
     "longName": "062000 - Disclosure - Subsequent Events",
     "shortName": "Subsequent Events",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "27",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R28": {
     "role": "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies",
     "longName": "070200 - Disclosure - Significant Accounting Policies and Recent Accounting Pronouncements (Policies)",
     "shortName": "Significant Accounting Policies and Recent Accounting Pronouncements (Policies)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "policies",
     "menuCat": "Policies",
     "order": "28",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:ConsolidationPolicyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:ConsolidationPolicyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R29": {
     "role": "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationTables",
     "longName": "080100 - Disclosure - Basis of Presentation and General Information (Tables)",
     "shortName": "Basis of Presentation and General Information (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "29",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "srt:ScheduleOfCondensedBalanceSheetTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "srt:ScheduleOfCondensedBalanceSheetTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R30": {
     "role": "http://castormaritime.com/role/DiscontinuedOperationsTables",
     "longName": "080300 - Disclosure - Discontinued operations (Tables)",
     "shortName": "Discontinued operations (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "30",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R31": {
     "role": "http://castormaritime.com/role/TransactionsWithRelatedPartiesTables",
     "longName": "080400 - Disclosure - Transactions with Related Parties (Tables)",
     "shortName": "Transactions with Related Parties (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "31",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R32": {
     "role": "http://castormaritime.com/role/DeferredChargesNetTables",
     "longName": "080500 - Disclosure - Deferred Charges, net (Tables)",
     "shortName": "Deferred Charges, net (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "32",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R33": {
     "role": "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleTables",
     "longName": "080700 - Disclosure - Vessels, net/Assets held for sale (Tables)",
     "shortName": "Vessels, net/Assets held for sale (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "33",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R34": {
     "role": "http://castormaritime.com/role/LongtermDebtTables",
     "longName": "080800 - Disclosure - Long-Term Debt (Tables)",
     "shortName": "Long-Term Debt (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "34",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:ScheduleOfDebtTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:ScheduleOfDebtTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R35": {
     "role": "http://castormaritime.com/role/InvestmentInEquitySecuritiesTables",
     "longName": "080900 - Disclosure - Investment in equity securities (Tables)",
     "shortName": "Investment in equity securities (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "35",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:TradingSecuritiesAndCertainTradingAssetsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:TradingSecuritiesAndCertainTradingAssetsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R36": {
     "role": "http://castormaritime.com/role/CommitmentsAndContingenciesTables",
     "longName": "081200 - Disclosure - Commitments and Contingencies (Tables)",
     "shortName": "Commitments and Contingencies (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "36",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:LessorOperatingLeasePaymentsToBeReceivedMaturityTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:LessorOperatingLeasePaymentsToBeReceivedMaturityTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R37": {
     "role": "http://castormaritime.com/role/EarningsPerCommonShareTables",
     "longName": "081300 - Disclosure - Earnings Per Common Share (Tables)",
     "shortName": "Earnings Per Common Share (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "37",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R38": {
     "role": "http://castormaritime.com/role/TotalVesselRevenuesTables",
     "longName": "081400 - Disclosure - Total Vessel Revenues (Tables)",
     "shortName": "Total Vessel Revenues (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "38",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:DisaggregationOfRevenueTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:DisaggregationOfRevenueTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R39": {
     "role": "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesTables",
     "longName": "081500 - Disclosure - Vessel Operating Expenses and Voyage Expenses (Tables)",
     "shortName": "Vessel Operating Expenses and Voyage Expenses (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "39",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "ctrm:VesselOperatingExpensesTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "ctrm:VesselOperatingExpensesTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R40": {
     "role": "http://castormaritime.com/role/GeneralAndAdministrativeExpensesTables",
     "longName": "081600 - Disclosure - General and Administrative Expenses (Tables)",
     "shortName": "General and Administrative Expenses (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "40",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "ctrm:GeneralAndAdministrativeExpensesTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "ctrm:GeneralAndAdministrativeExpensesTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R41": {
     "role": "http://castormaritime.com/role/InterestAndFinanceCostsTables",
     "longName": "081700 - Disclosure - Interest and Finance Costs (Tables)",
     "shortName": "Interest and Finance Costs (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "41",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:ScheduleOfOtherNonoperatingIncomeExpenseTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:ScheduleOfOtherNonoperatingIncomeExpenseTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R42": {
     "role": "http://castormaritime.com/role/SegmentInformationTables",
     "longName": "081900 - Disclosure - Segment Information (Tables)",
     "shortName": "Segment Information (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "42",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R43": {
     "role": "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
     "longName": "090100 - Disclosure - Basis of Presentation and General information, General Information (Details)",
     "shortName": "Basis of Presentation and General information, General Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "43",
     "firstAnchor": {
      "contextRef": "c20170922",
      "name": "us-gaap:CommonStockParOrStatedValuePerShare",
      "unitRef": "U004",
      "xsiNil": "false",
      "lang": null,
      "decimals": "3",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230307",
      "name": "ctrm:NumberOfSharesOfCommonStockHeldToReceiveStockIssuedUponCompletionOfSpinOff",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "unique": true
     }
    },
    "R44": {
     "role": "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails",
     "longName": "090102 - Disclosure - Basis of Presentation and General information, Assets and Liabilities of Toro (Details)",
     "shortName": "Basis of Presentation and General information, Assets and Liabilities of Toro (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "44",
     "firstAnchor": {
      "contextRef": "c20231231",
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230307_CounterpartyNameAxis_ToroCorpMember_RelatedPartyTransactionsByRelatedPartyAxis_RelatedPartyMember",
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "unique": true
     }
    },
    "R45": {
     "role": "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
     "longName": "090104 - Disclosure - Basis of Presentation and General information, Vessel Owning Subsidiaries (Details)",
     "shortName": "Basis of Presentation and General information, Vessel Owning Subsidiaries (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "45",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "dei:EntityIncorporationStateCountryCode",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231_PropertyPlantAndEquipmentByTypeAxis_MagicPMember",
      "name": "ctrm:VesselDeadWeightTonnage",
      "unitRef": "U007",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "unique": true
     }
    },
    "R46": {
     "role": "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationRevenueFromChartersDetails",
     "longName": "090106 - Disclosure - Basis of Presentation and General information, Revenue from Charters (Details)",
     "shortName": "Basis of Presentation and General information, Revenue from Charters (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "46",
     "firstAnchor": {
      "contextRef": "c20230101to20231231_ConcentrationRiskByBenchmarkAxis_SalesRevenueNetMember_ConcentrationRiskByTypeAxis_CustomerConcentrationRiskMember_MajorCustomersAxis_CharterersMember",
      "name": "us-gaap:ConcentrationRiskPercentage1",
      "unitRef": "U003",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231_ConcentrationRiskByBenchmarkAxis_SalesRevenueNetMember_ConcentrationRiskByTypeAxis_CustomerConcentrationRiskMember_MajorCustomersAxis_CharterersMember",
      "name": "us-gaap:ConcentrationRiskPercentage1",
      "unitRef": "U003",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R47": {
     "role": "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsSegmentReportingDetails",
     "longName": "090200 - Disclosure - Significant Accounting Policies and Recent Accounting Pronouncements, Segment Reporting (Details)",
     "shortName": "Significant Accounting Policies and Recent Accounting Pronouncements, Segment Reporting (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "47",
     "firstAnchor": {
      "contextRef": "c20221001to20221231",
      "name": "us-gaap:NumberOfReportableSegments",
      "unitRef": "U008",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true
     },
     "uniqueAnchor": null
    },
    "R48": {
     "role": "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsAccountsReceivableTradeNetDetails",
     "longName": "090202 - Disclosure - Significant Accounting Policies and Recent Accounting Pronouncements, Accounts Receivable Trade, Net (Details)",
     "shortName": "Significant Accounting Policies and Recent Accounting Pronouncements, Accounts Receivable Trade, Net (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "48",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:ProvisionForDoubtfulAccounts",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true
     },
     "uniqueAnchor": null
    },
    "R49": {
     "role": "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsInsuranceClaimsDetails",
     "longName": "090204 - Disclosure - Significant Accounting Policies and Recent Accounting Pronouncements, Insurance Claims (Details)",
     "shortName": "Significant Accounting Policies and Recent Accounting Pronouncements, Insurance Claims (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "49",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:ProvisionForOtherCreditLosses",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "us-gaap:ProvisionForOtherCreditLosses",
       "span",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:ProvisionForOtherCreditLosses",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "us-gaap:ProvisionForOtherCreditLosses",
       "span",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R50": {
     "role": "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsVesselsDepreciationDetails",
     "longName": "090206 - Disclosure - Significant Accounting Policies and Recent Accounting Pronouncements, Vessels' Depreciation (Details)",
     "shortName": "Significant Accounting Policies and Recent Accounting Pronouncements, Vessels' Depreciation (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "50",
     "firstAnchor": {
      "contextRef": "c20231231",
      "name": "us-gaap:PropertyPlantAndEquipmentUsefulLife",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20231231",
      "name": "us-gaap:PropertyPlantAndEquipmentUsefulLife",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R51": {
     "role": "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsImpairmentOfLonglivedAssetsDetails",
     "longName": "090208 - Disclosure - Significant Accounting Policies and Recent Accounting Pronouncements, Impairment of Long-lived Assets (Details)",
     "shortName": "Significant Accounting Policies and Recent Accounting Pronouncements, Impairment of Long-lived Assets (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "51",
     "firstAnchor": {
      "contextRef": "c20231231",
      "name": "ctrm:NumberOfImpairedVessels",
      "unitRef": "U006",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "ctrm:NumberOfImpairedVessels",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20231231",
      "name": "ctrm:NumberOfImpairedVessels",
      "unitRef": "U006",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "ctrm:NumberOfImpairedVessels",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R52": {
     "role": "http://castormaritime.com/role/DiscontinuedOperationsDetails",
     "longName": "090300 - Disclosure - Discontinued operations (Details)",
     "shortName": "Discontinued operations (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "52",
     "firstAnchor": {
      "contextRef": "c20231231",
      "name": "us-gaap:AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20221231_DisposalGroupClassificationAxis_ToroCorpMember",
      "name": "us-gaap:DisposalGroupIncludingDiscontinuedOperationCashAndCashEquivalents",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "unique": true
     }
    },
    "R53": {
     "role": "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails",
     "longName": "090400 - Disclosure - Transactions with Related Parties, Summary (Details)",
     "shortName": "Transactions with Related Parties, Summary (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "53",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "ctrm:RelatedPartyTransactionManagementFees",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231_CounterpartyNameAxis_CastorShipsSAMember_RelatedPartyTransactionsByRelatedPartyAxis_RelatedPartyMember",
      "name": "ctrm:RelatedPartyTransactionManagementFees",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "unique": true
     }
    },
    "R54": {
     "role": "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
     "longName": "090402 - Disclosure - Transactions with Related Parties, Castor Ships (Details)",
     "shortName": "Transactions with Related Parties, Castor Ships (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "54",
     "firstAnchor": {
      "contextRef": "c20231231",
      "name": "us-gaap:OtherReceivableAfterAllowanceForCreditLossNoncurrent",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20220101to20221231_CounterpartyNameAxis_CastorShipsSAMember_PropertyPlantAndEquipmentByTypeAxis_PanamaxVesselMember",
      "name": "ctrm:NumberOfVesselsAcquired",
      "unitRef": "U006",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "unique": true
     }
    },
    "R55": {
     "role": "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
     "longName": "090404 - Disclosure - Transactions with Related Parties, Pavimar (Details)",
     "shortName": "Transactions with Related Parties, Pavimar (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "55",
     "firstAnchor": {
      "contextRef": "c20231231",
      "name": "us-gaap:OtherLiabilitiesCurrent",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20220701to20231231_CounterpartyNameAxis_PavimarSAMember_RelatedPartyTransactionAxis_TechnicalShipmanagementAgreementsMember_RelatedPartyTransactionsByRelatedPartyAxis_RelatedPartyMember",
      "name": "ctrm:RelatedPartyTransactionFixedDailyFee",
      "unitRef": "U009",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "unique": true
     }
    },
    "R56": {
     "role": "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails",
     "longName": "090406 - Disclosure - Transactions with Related Parties, Investment in Related Party (Details)",
     "shortName": "Transactions with Related Parties, Investment in Related Party (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "56",
     "firstAnchor": {
      "contextRef": "c20231231",
      "name": "us-gaap:PreferredStockParOrStatedValuePerShare",
      "unitRef": "U004",
      "xsiNil": "false",
      "lang": null,
      "decimals": "3",
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231_ValuationTechniqueAxis_ValuationTechniqueDiscountedCashFlowMember",
      "name": "ctrm:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsWeightedAverageCostOfCapital",
      "unitRef": "U003",
      "xsiNil": "false",
      "lang": null,
      "decimals": "4",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "unique": true
     }
    },
    "R57": {
     "role": "http://castormaritime.com/role/TransactionsWithRelatedPartiesIssuanceOfSeriesDPreferredSharesToToroCorpDetails",
     "longName": "090408 - Disclosure - Transactions with Related Parties, Issuance of Series D Preferred shares to Toro Corp (Details)",
     "shortName": "Transactions with Related Parties, Issuance of Series D Preferred shares to Toro Corp (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "57",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:ProceedsFromIssuanceOfPreferredStockAndPreferenceStock",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230807_CounterpartyNameAxis_ToroCorpMember_RelatedPartyTransactionsByRelatedPartyAxis_RelatedPartyMember_StatementClassOfStockAxis_SeriesDPreferredStockMember",
      "name": "us-gaap:PreferredStockSharesIssued",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "unique": true
     }
    },
    "R58": {
     "role": "http://castormaritime.com/role/TransactionsWithRelatedPartiesThalassaDetails",
     "longName": "090410 - Disclosure - Transactions with Related Parties, Thalassa (Details)",
     "shortName": "Transactions with Related Parties, Thalassa (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "58",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:RepaymentsOfRelatedPartyDebt",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20190830_CounterpartyNameAxis_ThalassaInvestmentCoSAMember_DebtInstrumentAxis_TermLoanFacilityMember_RelatedPartyTransactionsByRelatedPartyAxis_RelatedPartyMember",
      "name": "us-gaap:DebtInstrumentFaceAmount",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "unique": true
     }
    },
    "R59": {
     "role": "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDisposalsDetails",
     "longName": "090412 - Disclosure - Transactions with Related Parties, Vessel Acquisitions/ Disposals (Details)",
     "shortName": "Transactions with Related Parties, Vessel Acquisitions/ Disposals (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "59",
     "firstAnchor": {
      "contextRef": "c20221231_DebtInstrumentAxis_SeniorSecuredTeamLoanFacilityChaileaseInternationalFinancialServicesSingaporePteLtdTwoMember",
      "name": "us-gaap:DebtInstrumentFaceAmount",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20221026to20221026_RelatedPartyTransactionsByRelatedPartyAxis_EntityBeneficiallyOwnedByFamilyMemberOfPetrosPanagiotidisMember",
      "name": "ctrm:NumberOfWhollyOwnedSubsidiariesEnteringIntoAgreementsWithRelatedParty",
      "unitRef": "U005",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "unique": true
     }
    },
    "R60": {
     "role": "http://castormaritime.com/role/DeferredChargesNetDetails",
     "longName": "090500 - Disclosure - Deferred Charges, net (Details)",
     "shortName": "Deferred Charges, net (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "60",
     "firstAnchor": {
      "contextRef": "c20221231",
      "name": "us-gaap:CapitalizedContractCostNetNoncurrent",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "ctrm:CapitalizedContractCostAdditions",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "unique": true
     }
    },
    "R61": {
     "role": "http://castormaritime.com/role/FairValueOfAcquiredTimeChartersDetails",
     "longName": "090600 - Disclosure - Fair Value of Acquired Time Charters (Details)",
     "shortName": "Fair Value of Acquired Time Charters (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "61",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:AmortizationOfAboveAndBelowMarketLeases",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20210531_PropertyPlantAndEquipmentByTypeAxis_MagicPlutoMember",
      "name": "us-gaap:BelowMarketLeaseNet",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "unique": true
     }
    },
    "R62": {
     "role": "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleNetBookValueDetails",
     "longName": "090700 - Disclosure - Vessels, net/Assets held for sale, Net Book Value (Details)",
     "shortName": "Vessels, net/Assets held for sale, Net Book Value (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "62",
     "firstAnchor": {
      "contextRef": "c20221231",
      "name": "us-gaap:PropertyPlantAndEquipmentNet",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20211231_PropertyPlantAndEquipmentByTypeAxis_VesselsMember",
      "name": "us-gaap:PropertyPlantAndEquipmentGross",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "unique": true
     }
    },
    "R63": {
     "role": "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails",
     "longName": "090702 - Disclosure - Vessels, net/Assets held for sale, Vessel Acquisitions and Other Capital Expenditures (Details)",
     "shortName": "Vessels, net/Assets held for sale, Vessel Acquisitions and Other Capital Expenditures (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "63",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "ctrm:VesselDeadWeightTonnage",
      "unitRef": "U007",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:ImpairmentOfLongLivedAssetsToBeDisposedOf",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "us-gaap:ImpairmentOfLongLivedAssetsToBeDisposedOf",
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "unique": true
     }
    },
    "R64": {
     "role": "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails",
     "longName": "090800 - Disclosure - Long-Term Debt, Long-Term Debt (Details)",
     "shortName": "Long-Term Debt, Long-Term Debt (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "64",
     "firstAnchor": {
      "contextRef": "c20231231",
      "name": "us-gaap:DebtInstrumentCarryingAmount",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20231231",
      "name": "us-gaap:DeferredFinanceCostsNet",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "unique": true
     }
    },
    "R65": {
     "role": "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
     "longName": "090802 - Disclosure - Long-Term Debt, $11.0 Million Term Loan Facility (Details)",
     "shortName": "Long-Term Debt, $11.0 Million Term Loan Facility (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "65",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:RepaymentsOfSecuredDebt",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20191122_DebtInstrumentAxis_SeniorSecuredTeamLoanFacilityAlphaBankSA2019Member",
      "name": "ctrm:NumberOfShipOwningSubsidiariesEnteringIntoTermLoanFacility",
      "unitRef": "U005",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "unique": true
     }
    },
    "R66": {
     "role": "http://castormaritime.com/role/LongtermDebt45MillionTermLoanFacilityDetails",
     "longName": "090804 - Disclosure - Long-Term Debt, $4.5 Million Term Loan Facility (Details)",
     "shortName": "Long-Term Debt, $4.5 Million Term Loan Facility (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "66",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:RepaymentsOfSecuredDebt",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231_DebtInstrumentAxis_SeniorSecuredTeamLoanFacilityChaileaseInternationalInternationalFinancialServicesCoLtdMember",
      "name": "ctrm:DebtInstrumentNumberOfPaymentInstallments",
      "unitRef": "U014",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "unique": true
     }
    },
    "R67": {
     "role": "http://castormaritime.com/role/LongtermDebt1529MillionTermLoanFacilityDetails",
     "longName": "090806 - Disclosure - Long-Term Debt, $15.29 Million Term Loan Facility (Details)",
     "shortName": "Long-Term Debt, $15.29 Million Term Loan Facility (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "67",
     "firstAnchor": {
      "contextRef": "c20210122_DebtInstrumentAxis_SeniorSecuredTeamLoanFacilityHamburgCommercialBankAgJanuary2021Member",
      "name": "ctrm:NumberOfShipOwningSubsidiariesEnteringIntoTermLoanFacility",
      "unitRef": "U005",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20210122_DebtInstrumentAxis_SeniorSecuredTeamLoanFacilityHamburgCommercialBankAgJanuary2021Member",
      "name": "ctrm:NumberOfShipOwningSubsidiariesEnteringIntoTermLoanFacility",
      "unitRef": "U005",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R68": {
     "role": "http://castormaritime.com/role/LongtermDebt4075MillionTermLoanFacilityDetails",
     "longName": "090810 - Disclosure - Long-Term Debt, $40.75 Million Term Loan Facility (Details)",
     "shortName": "Long-Term Debt, $40.75 Million Term Loan Facility (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "68",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:RepaymentsOfSecuredDebt",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20210723_DebtInstrumentAxis_SeniorSecuredTeamLoanFacilityHamburgCommercialBankAgJuly2021Member",
      "name": "ctrm:NumberOfShipOwningSubsidiariesEnteringIntoTermLoanFacility",
      "unitRef": "U005",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "unique": true
     }
    },
    "R69": {
     "role": "http://castormaritime.com/role/LongtermDebt2315MillionTermLoanFacilityDetails",
     "longName": "090812 - Disclosure - Long-Term Debt, $23.15 Million Term Loan Facility (Details)",
     "shortName": "Long-Term Debt, $23.15 Million Term Loan Facility (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "69",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:RepaymentsOfSecuredDebt",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20211122_DebtInstrumentAxis_SeniorSecuredTeamLoanFacilityChaileaseInternationalFinancialServicesSingaporePteLtdMember",
      "name": "ctrm:NumberOfShipOwningSubsidiariesEnteringIntoTermLoanFacility",
      "unitRef": "U005",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "unique": true
     }
    },
    "R70": {
     "role": "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails",
     "longName": "090814 - Disclosure - Long-Term Debt, $55.0 Million Term Loan Facility (Details)",
     "shortName": "Long-Term Debt, $55.0 Million Term Loan Facility (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "70",
     "firstAnchor": {
      "contextRef": "c20231231_DebtInstrumentAxis_SeniorSecuredTeamLoanFacilityDeutscheBankAgMember",
      "name": "us-gaap:DebtInstrumentFaceAmount",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-4",
      "ancestors": [
       "span",
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20220113_DebtInstrumentAxis_SeniorSecuredTeamLoanFacilityDeutscheBankAgMember",
      "name": "ctrm:NumberOfSubsidiariesProvidingSecurityForTermLoanFacility",
      "unitRef": "U005",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "unique": true
     }
    },
    "R71": {
     "role": "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
     "longName": "090816 - Disclosure - Long-Term Debt, $22.5 Million Term Loan Facility (Details)",
     "shortName": "Long-Term Debt, $22.5 Million Term Loan Facility (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "71",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:ProceedsFromIssuanceOfDebt",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20221122_DebtInstrumentAxis_SeniorSecuredTeamLoanFacilityChaileaseInternationalFinancialServicesSingaporePteLtdTwoMember",
      "name": "ctrm:NumberOfSubsidiariesProvidingSecurityForTermLoanFacility",
      "unitRef": "U005",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "unique": true
     }
    },
    "R72": {
     "role": "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails",
     "longName": "090818 - Disclosure - Long-Term Debt, Annual Principal Payments (Details)",
     "shortName": "Long-Term Debt, Annual Principal Payments (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "72",
     "firstAnchor": {
      "contextRef": "c20231231",
      "name": "us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20231231",
      "name": "us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R73": {
     "role": "http://castormaritime.com/role/InvestmentInEquitySecuritiesDetails",
     "longName": "090900 - Disclosure - Investment in equity securities (Details)",
     "shortName": "Investment in equity securities (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "73",
     "firstAnchor": {
      "contextRef": "c20221231",
      "name": "us-gaap:EquitySecuritiesFvNi",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230623_EquityMethodInvestmentNonconsolidatedInvesteeAxis_EagleBulkShippingIncMember",
      "name": "us-gaap:InvestmentOwnedBalanceShares",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "unique": true
     }
    },
    "R74": {
     "role": "http://castormaritime.com/role/EquityCapitalStructureCapitalStockDetails",
     "longName": "091000 - Disclosure - Equity Capital Structure, Capital Stock (Details)",
     "shortName": "Equity Capital Structure, Capital Stock (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "74",
     "firstAnchor": {
      "contextRef": "c20231231",
      "name": "ctrm:CapitalStockSharesAuthorized",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20231231",
      "name": "ctrm:CapitalStockSharesAuthorized",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R75": {
     "role": "http://castormaritime.com/role/EquityCapitalStructureCommonSharesDetails",
     "longName": "091002 - Disclosure - Equity Capital Structure, Common Shares (Details)",
     "shortName": "Equity Capital Structure, Common Shares (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "75",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "ctrm:CommonStockVotingRightsNumberOfVotes",
      "unitRef": "U010",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "ctrm:CommonStockVotingRightsNumberOfVotes",
      "unitRef": "U010",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R76": {
     "role": "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails",
     "longName": "091004 - Disclosure - Equity Capital Structure, 2020 June Equity Offering (Details)",
     "shortName": "Equity Capital Structure, 2020 June Equity Offering (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "76",
     "firstAnchor": {
      "contextRef": "c20200623",
      "name": "ctrm:PublicOfferingNumberOfUnits",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20200623",
      "name": "ctrm:PublicOfferingNumberOfUnits",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R77": {
     "role": "http://castormaritime.com/role/EquityCapitalStructure2020JulyEquityOfferingDetails",
     "longName": "091006 - Disclosure - Equity Capital Structure, 2020 July Equity Offering (Details)",
     "shortName": "Equity Capital Structure, 2020 July Equity Offering (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "77",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:PaymentsForRepurchaseOfWarrants",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20200712to20200712_SubsidiarySaleOfStockAxis_EquityOfferingJuly2020Member",
      "name": "us-gaap:StockIssuedDuringPeriodSharesNewIssues",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "unique": true
     }
    },
    "R78": {
     "role": "http://castormaritime.com/role/EquityCapitalStructure2021FirstRegisteredDirectEquityOfferingDetails",
     "longName": "091008 - Disclosure - Equity Capital Structure, 2021 First Registered Direct Equity Offering (Details)",
     "shortName": "Equity Capital Structure, 2021 First Registered Direct Equity Offering (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "78",
     "firstAnchor": {
      "contextRef": "c20210210to20210210_ClassOfWarrantOrRightAxis_January5WarrantsMember",
      "name": "us-gaap:StockIssuedDuringPeriodSharesNewIssues",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20210210to20210210_ClassOfWarrantOrRightAxis_January5WarrantsMember",
      "name": "us-gaap:StockIssuedDuringPeriodSharesNewIssues",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R79": {
     "role": "http://castormaritime.com/role/EquityCapitalStructure2021SecondRegisteredDirectEquityOfferingDetails",
     "longName": "091010 - Disclosure - Equity Capital Structure, 2021 Second Registered Direct Equity Offering (Details)",
     "shortName": "Equity Capital Structure, 2021 Second Registered Direct Equity Offering (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "79",
     "firstAnchor": {
      "contextRef": "c20210210to20210210_ClassOfWarrantOrRightAxis_January12WarrantsMember",
      "name": "us-gaap:StockIssuedDuringPeriodSharesNewIssues",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20210210to20210210_ClassOfWarrantOrRightAxis_January12WarrantsMember",
      "name": "us-gaap:StockIssuedDuringPeriodSharesNewIssues",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R80": {
     "role": "http://castormaritime.com/role/EquityCapitalStructure2021ThirdRegisteredDirectEquityOfferingDetails",
     "longName": "091012 - Disclosure - Equity Capital Structure, 2021 Third Registered Direct Equity Offering (Details)",
     "shortName": "Equity Capital Structure, 2021 Third Registered Direct Equity Offering (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "80",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:PaymentsForRepurchaseOfWarrants",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20210405_ClassOfWarrantOrRightAxis_April7WarrantsMember",
      "name": "us-gaap:ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "unique": true
     }
    },
    "R81": {
     "role": "http://castormaritime.com/role/EquityCapitalStructureJune2021AtthemarketCommonStockOfferingProgramDetails",
     "longName": "091014 - Disclosure - Equity Capital Structure, June 2021 At-the-Market Common Stock Offering Program (Details)",
     "shortName": "Equity Capital Structure, June 2021 At-the-Market Common Stock Offering Program (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "81",
     "firstAnchor": {
      "contextRef": "c20220101to20221231_SubsidiarySaleOfStockAxis_AtTheMarketProgramMember",
      "name": "us-gaap:StockIssuedDuringPeriodSharesNewIssues",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20220101to20221231_SubsidiarySaleOfStockAxis_AtTheMarketProgramMember",
      "name": "us-gaap:StockIssuedDuringPeriodSharesNewIssues",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R82": {
     "role": "http://castormaritime.com/role/EquityCapitalStructureMay2023AtthemarketCommonStockOfferingProgramDetails",
     "longName": "091020 - Disclosure - Equity Capital Structure, May 2023 At-the-Market Common Stock Offering Program (Details)",
     "shortName": "Equity Capital Structure, May 2023 At-the-Market Common Stock Offering Program (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "82",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "ctrm:MinimumPeriodForAggregateOfferingPrice",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "ctrm:MinimumPeriodForAggregateOfferingPrice",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R83": {
     "role": "http://castormaritime.com/role/EquityCapitalStructureSeriesPreferredSharesRedemptionDetails",
     "longName": "091024 - Disclosure - Equity Capital Structure, Series A Preferred Shares Redemption (Details)",
     "shortName": "Equity Capital Structure, Series A Preferred Shares Redemption (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "83",
     "firstAnchor": {
      "contextRef": "c20170922",
      "name": "us-gaap:CommonStockParOrStatedValuePerShare",
      "unitRef": "U004",
      "xsiNil": "false",
      "lang": null,
      "decimals": "3",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20170922to20170922_StatementClassOfStockAxis_SeriesAPreferredStockMember",
      "name": "us-gaap:StockIssuedDuringPeriodSharesNewIssues",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "unique": true
     }
    },
    "R84": {
     "role": "http://castormaritime.com/role/EquityCapitalStructureDescriptionOfSeriesBPreferredSharesDetails",
     "longName": "091026 - Disclosure - Equity Capital Structure, Description of Series B Preferred Shares (Details)",
     "shortName": "Equity Capital Structure, Description of Series B Preferred Shares (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "84",
     "firstAnchor": {
      "contextRef": "c20230101to20231231_StatementClassOfStockAxis_SeriesBPreferredStockMember",
      "name": "ctrm:PreferredStockVotingPowerInNumberOfCommonShares",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231_StatementClassOfStockAxis_SeriesBPreferredStockMember",
      "name": "ctrm:PreferredStockVotingPowerInNumberOfCommonShares",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R85": {
     "role": "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
     "longName": "091028 - Disclosure - Equity Capital Structure, Series D Cumulative Perpetual Convertible Preferred Shares (Details)",
     "shortName": "Equity Capital Structure, Series D Cumulative Perpetual Convertible Preferred Shares (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "85",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:ProceedsFromIssuanceOfPreferredStockAndPreferenceStock",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "ctrm:NumberOfSharesOfJuniorStockThatCanBeExchangedOrConverted",
      "unitRef": "U001",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "unique": true
     }
    },
    "R86": {
     "role": "http://castormaritime.com/role/CommitmentsAndContingenciesCommitmentsUnderLongtermLeaseContractsDetails",
     "longName": "091200 - Disclosure - Commitments and Contingencies, Commitments Under Long-Term Lease Contracts (Details)",
     "shortName": "Commitments and Contingencies, Commitments Under Long-Term Lease Contracts (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "86",
     "firstAnchor": {
      "contextRef": "c20231231",
      "name": "us-gaap:LessorOperatingLeasePaymentsToBeReceivedNextTwelveMonths",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20231231",
      "name": "us-gaap:LessorOperatingLeasePaymentsToBeReceivedNextTwelveMonths",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R87": {
     "role": "http://castormaritime.com/role/CommitmentsAndContingenciesClaimsDetails",
     "longName": "091202 - Disclosure - Commitments and Contingencies, Claims (Details)",
     "shortName": "Commitments and Contingencies, Claims (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "87",
     "firstAnchor": {
      "contextRef": "c20230101to20231231_RangeAxis_MinimumMember",
      "name": "ctrm:PeriodBeforeArbitratorIsToIssueAward",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231_RangeAxis_MinimumMember",
      "name": "ctrm:PeriodBeforeArbitratorIsToIssueAward",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R88": {
     "role": "http://castormaritime.com/role/EarningsPerCommonShareDetails",
     "longName": "091300 - Disclosure - Earnings Per Common Share (Details)",
     "shortName": "Earnings Per Common Share (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "88",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:NetIncomeLossAvailableToCommonStockholdersDiluted",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "unique": true
     }
    },
    "R89": {
     "role": "http://castormaritime.com/role/TotalVesselRevenuesDetails",
     "longName": "091400 - Disclosure - Total Vessel Revenues (Details)",
     "shortName": "Total Vessel Revenues (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "89",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:OperatingLeaseLeaseIncome",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231_RangeAxis_MinimumMember",
      "name": "ctrm:TimeCharterContractTerm",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "unique": true
     }
    },
    "R90": {
     "role": "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails",
     "longName": "091500 - Disclosure - Vessel Operating Expenses and Voyage Expenses (Details)",
     "shortName": "Vessel Operating Expenses and Voyage Expenses (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "90",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:LaborAndRelatedExpense",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:LaborAndRelatedExpense",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R91": {
     "role": "http://castormaritime.com/role/GeneralAndAdministrativeExpensesDetails",
     "longName": "091600 - Disclosure - General and Administrative Expenses (Details)",
     "shortName": "General and Administrative Expenses (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "91",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:OfficersCompensation",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:OfficersCompensation",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R92": {
     "role": "http://castormaritime.com/role/InterestAndFinanceCostsDetails",
     "longName": "091700 - Disclosure - Interest and Finance Costs (Details)",
     "shortName": "Interest and Finance Costs (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "92",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:AmortizationOfFinancingCosts",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:InterestExpenseOther",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "unique": true
     }
    },
    "R93": {
     "role": "http://castormaritime.com/role/IncomeTaxesDetails",
     "longName": "091800 - Disclosure - Income Taxes (Details)",
     "shortName": "Income Taxes (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "93",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:IncomeTaxExpenseBenefit",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true
     },
     "uniqueAnchor": null
    },
    "R94": {
     "role": "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
     "longName": "091900 - Disclosure - Segment Information, Information about Company's Reportable Segments (Details)",
     "shortName": "Segment Information, Information about Company's Reportable Segments (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "94",
     "firstAnchor": {
      "contextRef": "c20220101to20221231",
      "name": "ctrm:NumberOfContainershipsAcquired",
      "unitRef": "U006",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20220101to20221231",
      "name": "ctrm:NumberOfContainershipsAcquired",
      "unitRef": "U006",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R95": {
     "role": "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails",
     "longName": "091902 - Disclosure - Segment Information, Reconciliation of Total Segment Assets to Total Assets (Details)",
     "shortName": "Segment Information, Reconciliation of Total Segment Assets to Total Assets (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "95",
     "firstAnchor": {
      "contextRef": "c20231231",
      "name": "us-gaap:Assets",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20231231",
      "name": "ctrm:AssetsFromContinuingOperations",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "unique": true
     }
    },
    "R96": {
     "role": "http://castormaritime.com/role/SubsequentEventsDetails",
     "longName": "092000 - Disclosure - Subsequent Events (Details)",
     "shortName": "Subsequent Events (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "96",
     "firstAnchor": {
      "contextRef": "c20230101to20231231",
      "name": "us-gaap:RepaymentsOfSecuredDebt",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "c20240101to20240331_PropertyPlantAndEquipmentByTypeAxis_MagicHorizonMember_RelatedPartyTransactionsByRelatedPartyAxis_EntityBeneficiallyOwnedByFamilyMemberOfPetrosPanagiotidisMember_StatementScenarioAxis_ScenarioPlanMember",
      "name": "us-gaap:GainLossOnDispositionOfAssets",
      "unitRef": "U002",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ef20015312_20f.htm",
      "unique": true
     }
    }
   },
   "tag": {
    "ctrm_AboveMarketLeaseAmortizationYearOne": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "AboveMarketLeaseAmortizationYearOne",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/FairValueOfAcquiredTimeChartersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization expense for lease with finite life acquired as part of real property acquisition at above market lease rate 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": "Above Market Lease, Amortization, Year One",
        "terseLabel": "Amortization to vessel revenues in 2024"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AccountingPoliciesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AccountingPoliciesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Significant Accounting Policies and Recent Accounting Pronouncements [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AccountsPayableCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AccountsPayableCurrent",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0,
       "order": 2.0
      },
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails": {
       "parentTag": "us-gaap_AssetsNet",
       "weight": -1.0,
       "order": 11.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails",
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Accounts payable",
        "negatedLabel": "Accounts payable",
        "label": "Accounts Payable, Current",
        "documentation": "Carrying value as of the balance sheet date of liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer)."
       }
      }
     },
     "auth_ref": [
      "r28",
      "r759"
     ]
    },
    "us-gaap_AccountsReceivableNetAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AccountsReceivableNetAbstract",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsAccountsReceivableTradeNetDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accounts Receivable Trade, Net [Abstract]",
        "label": "Accounts Receivable, after Allowance for Credit Loss [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AccountsReceivableNetCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AccountsReceivableNetCurrent",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails": {
       "parentTag": "us-gaap_AssetsNet",
       "weight": 1.0,
       "order": 1.0
      },
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails",
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accounts receivable trade, net",
        "label": "Accounts Receivable, after Allowance for Credit Loss, Current",
        "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."
       }
      }
     },
     "auth_ref": [
      "r345",
      "r346"
     ]
    },
    "ctrm_AccruedInterestRelatedPartiesCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "AccruedInterestRelatedPartiesCurrent",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesThalassaDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest payable on debt due to related parties. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Accrued Interest, Related Parties, Current",
        "verboseLabel": "Accrued loan interest"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AccruedLiabilitiesCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AccruedLiabilitiesCurrent",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0,
       "order": 5.0
      },
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails": {
       "parentTag": "us-gaap_AssetsNet",
       "weight": -1.0,
       "order": 12.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails",
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accrued liabilities",
        "negatedLabel": "Accrued liabilities",
        "label": "Accrued Liabilities, Current",
        "documentation": "Carrying value as of the balance sheet date of obligations incurred and payable, pertaining to costs that are statutory in nature, are incurred on contractual obligations, or accumulate over time and for which invoices have not yet been received or will not be rendered. Examples include taxes, interest, rent and utilities. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer)."
       }
      }
     },
     "auth_ref": [
      "r29"
     ]
    },
    "us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleNetBookValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedPeriodEndLabel": "Ending balance",
        "negatedPeriodStartLabel": "Beginning balance",
        "label": "Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment",
        "documentation": "Amount of accumulated depreciation, depletion and amortization for physical assets used in the normal conduct of business to produce goods and services."
       }
      }
     },
     "auth_ref": [
      "r67",
      "r229",
      "r570"
     ]
    },
    "us-gaap_AccumulatedDepreciationDepletionAndAmortizationReclassificationsFromPropertyPlantAndEquipment1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AccumulatedDepreciationDepletionAndAmortizationReclassificationsFromPropertyPlantAndEquipment1",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleNetBookValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Transfer to Assets held for sale",
        "label": "Accumulated Depreciation, Depletion and Amortization, Reclassifications from Property, Plant and Equipment",
        "documentation": "Amount of decrease in accumulated depreciation, depletion and amortization as a result of reclassifications from property, plant and equipment."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AccumulatedDepreciationDepletionAndAmortizationSaleOfPropertyPlantAndEquipment1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AccumulatedDepreciationDepletionAndAmortizationSaleOfPropertyPlantAndEquipment1",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleNetBookValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Vessel disposals",
        "label": "Accumulated Depreciation, Depletion and Amortization, Sale or Disposal of Property, Plant and Equipment",
        "documentation": "Amount of decrease in accumulated depreciation, depletion and amortization as a result of sale or disposal of property, plant and equipment."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AdditionalPaidInCapital": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AdditionalPaidInCapital",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional paid-in capital",
        "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."
       }
      }
     },
     "auth_ref": [
      "r129",
      "r759",
      "r867"
     ]
    },
    "us-gaap_AdditionalPaidInCapitalMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AdditionalPaidInCapitalMember",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Additional Paid-in Capital [Member]",
        "label": "Additional Paid-in Capital [Member]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r469",
      "r470",
      "r471",
      "r621",
      "r815",
      "r816",
      "r817",
      "r844",
      "r871"
     ]
    },
    "dei_AddressTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "AddressTypeDomain",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Address Type [Domain]",
        "documentation": "An entity may have several addresses for different purposes and this domain represents all such types."
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_AdjustmentsToAdditionalPaidInCapitalCapitalContributionPursuantToIssuanceOfStock": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "AdjustmentsToAdditionalPaidInCapitalCapitalContributionPursuantToIssuanceOfStock",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase in additional paid in capital (APIC) for the capital contribution pursuant to the issuance of preferred stock.",
        "label": "Adjustments to Additional Paid in Capital, Capital Contribution Pursuant to Issuance of Stock",
        "terseLabel": "Capital contribution from Toro, pursuant to the issuance of Series D Preferred Shares (Note 10)",
        "verboseLabel": "Capital contribution"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_AdjustmentsToAdditionalPaidInCapitalWarrantRepurchased": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "AdjustmentsToAdditionalPaidInCapitalWarrantRepurchased",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of decrease in additional paid in capital (APIC) resulting from the repurchase of warrants.",
        "label": "Adjustments to Additional Paid in Capital Warrant Repurchased",
        "negatedLabel": "Warrants repurchase (Note 10)"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments to reconcile net income from Continuing operations to net cash provided by Operating Activities:"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_AframaxLR2AndHandysizeTankerBusinessMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "AframaxLR2AndHandysizeTankerBusinessMember",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Refers to the name of discontinue operations.",
        "label": "Aframax/LR2 and Handysize tanker business [Member]",
        "terseLabel": "Aframax/LR2 and Handysize Tanker Business [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_AmendedCastorShipManagementAgreementsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "AmendedCastorShipManagementAgreementsMember",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Effective July 1, 2022, the Company and each of the Company's vessel owning subsidiaries entered, by mutual consent, into an amended and restated master management agreement with Castor Ships (the \"Amended and Restated Master Management Agreement\"), appointing Castor Ships as commercial and technical manager for the Company's vessels. The Amended and Restated Master Management Agreement along with new ship management agreements signed between each vessel owning subsidiary and Castor Ships (together, the \"Amended Castor Ship Management Agreements\") superseded in their entirety the Castor Ships Management Agreements. Pursuant to the Amended and Restated Master Management Agreement, Castor Ships manages the Company's overall business and provides the Company's vessel owning subsidiaries with a wide range of shipping services such as crew management, technical management, operational employment management, insurance management, provisioning, bunkering, accounting and audit support services, commercial, chartering and administrative services, including, but not limited to, securing employment for the Company's fleet, arranging and supervising the vessels' commercial operations, providing technical assistance where requested in connection with the sale of a vessel, negotiating loan and credit terms for new financing upon request and providing general corporate and administrative services, among other matters, which it may choose to subcontract to other parties at its discretion.",
        "label": "Amended Castor Ship Management Agreements [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "dei_AmendmentFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "AmendmentFlag",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Amendment Flag",
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AmortizationOfAboveAndBelowMarketLeases": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AmortizationOfAboveAndBelowMarketLeases",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations",
       "weight": 1.0,
       "order": 12.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows",
      "http://castormaritime.com/role/FairValueOfAcquiredTimeChartersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Amortization of fair value of acquired charter",
        "terseLabel": "Amortization of fair value of acquired time charters",
        "label": "Amortization of above and below Market Leases",
        "documentation": "Amount of non-cash amortization of intangible asset (liability) for above and below market leases."
       }
      }
     },
     "auth_ref": [
      "r807"
     ]
    },
    "us-gaap_AmortizationOfFinancingCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AmortizationOfFinancingCosts",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations",
       "weight": 1.0,
       "order": 2.0
      },
      "http://castormaritime.com/role/InterestAndFinanceCostsDetails": {
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows",
      "http://castormaritime.com/role/InterestAndFinanceCostsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Amortization and write-off of deferred finance charges",
        "verboseLabel": "Amortization and write-off of deferred finance charges",
        "label": "Amortization of Debt Issuance Costs",
        "documentation": "Amount of amortization expense attributable to debt issuance costs."
       }
      }
     },
     "auth_ref": [
      "r138",
      "r411",
      "r521",
      "r807"
     ]
    },
    "ctrm_April7WarrantsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "April7WarrantsMember",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2021ThirdRegisteredDirectEquityOfferingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "'A registered direct offering of common shares and warrants with certain investors that closed on April 7, 2021, pursuant to which it offered and sold 19,230,770 common shares and warrants to purchase up to 19,230,770 common shares.",
        "label": "April 7 Warrants [Member]",
        "terseLabel": "April 7 Warrants [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_ArianaAMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "ArianaAMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/FairValueOfAcquiredTimeChartersDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 38,117 dwt.",
        "label": "Ariana A [Member]",
        "terseLabel": "M/V Ariana A [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_AssetHeldForSaleNotPartOfDisposalGroupCurrentInventory": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "AssetHeldForSaleNotPartOfDisposalGroupCurrentInventory",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of inventory that is not part of a disposal group, expected to be sold within a year or the normal operating cycle, if longer.",
        "label": "Asset Held for Sale, Not Part of Disposal Group, Current, Inventory",
        "terseLabel": "Inventory held for sale"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_Assets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "Assets",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      },
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total assets",
        "label": "Assets",
        "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."
       }
      }
     },
     "auth_ref": [
      "r174",
      "r231",
      "r262",
      "r310",
      "r331",
      "r337",
      "r352",
      "r383",
      "r384",
      "r386",
      "r387",
      "r388",
      "r390",
      "r392",
      "r394",
      "r395",
      "r487",
      "r489",
      "r507",
      "r562",
      "r656",
      "r759",
      "r772",
      "r834",
      "r835",
      "r850"
     ]
    },
    "us-gaap_AssetsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AssetsAbstract",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "ASSETS",
        "verboseLabel": "Assets [Abstract]",
        "label": "Assets [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AssetsCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AssetsCurrent",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total current assets",
        "label": "Assets, Current",
        "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."
       }
      }
     },
     "auth_ref": [
      "r224",
      "r238",
      "r262",
      "r352",
      "r383",
      "r384",
      "r386",
      "r387",
      "r388",
      "r390",
      "r392",
      "r394",
      "r395",
      "r487",
      "r489",
      "r507",
      "r759",
      "r834",
      "r835",
      "r850"
     ]
    },
    "us-gaap_AssetsCurrentAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AssetsCurrentAbstract",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "CURRENT ASSETS:"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_AssetsFromContinuingOperations": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "AssetsFromContinuingOperations",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount classified as assets from continuing operations.",
        "label": "Assets from Continuing Operations",
        "terseLabel": "Total assets from continuing operations"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AssetsHeldForSaleNotPartOfDisposalGroupCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AssetsHeldForSaleNotPartOfDisposalGroupCurrent",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets held for sale",
        "documentation": "Amount of assets held-for-sale that are not part of a disposal group, expected to be sold within a year or the normal operating cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r154",
      "r759"
     ]
    },
    "us-gaap_AssetsNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AssetsNet",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails": {
       "parentTag": "ctrm_DistributionOfNetAssetsToShareholders",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net assets of Toro",
        "label": "Net Assets",
        "documentation": "Amount of net assets (liabilities)."
       }
      }
     },
     "auth_ref": [
      "r15"
     ]
    },
    "us-gaap_AssetsNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AssetsNoncurrent",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total non-current assets",
        "label": "Assets, Noncurrent",
        "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 after one year or beyond the normal operating cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r262",
      "r352",
      "r383",
      "r384",
      "r386",
      "r387",
      "r388",
      "r390",
      "r392",
      "r394",
      "r395",
      "r487",
      "r489",
      "r507",
      "r834",
      "r835",
      "r850"
     ]
    },
    "us-gaap_AssetsNoncurrentAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AssetsNoncurrentAbstract",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "NON-CURRENT ASSETS:",
        "label": "Assets, Noncurrent [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AssetsOfDisposalGroupIncludingDiscontinuedOperation",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails": {
       "parentTag": "us-gaap_Assets",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Total assets from discontinued operations",
        "label": "Disposal Group, Including Discontinued Operation, Assets",
        "documentation": "Amount classified as assets attributable to disposal group held for sale or disposed of."
       }
      }
     },
     "auth_ref": [
      "r4",
      "r97",
      "r114",
      "r158",
      "r222",
      "r223"
     ]
    },
    "us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0,
       "order": 9.0
      },
      "http://castormaritime.com/role/DiscontinuedOperationsDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current assets of discontinued operations",
        "totalLabel": "Total current assets of discontinued operations",
        "documentation": "Amount classified as assets attributable to disposal group held for sale or disposed of, expected to be disposed of within one year or the normal operating cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r4",
      "r97",
      "r114",
      "r156",
      "r158",
      "r222",
      "r223"
     ]
    },
    "us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrentAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrentAbstract",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "CURRENT ASSETS",
        "label": "Disposal Group, Including Discontinued Operation, Assets, Current [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationNoncurrentAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AssetsOfDisposalGroupIncludingDiscontinuedOperationNoncurrentAbstract",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "NON-CURRENT ASSETS"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_AsterixShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "AsterixShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Asterix Shipping Co [Member]",
        "terseLabel": "Asterix Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_AtTheMarketProgramMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "AtTheMarketProgramMember",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureJune2021AtthemarketCommonStockOfferingProgramDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "On June 14, 2021 (the \"ATM Program Effective Date\"), the Company entered into an equity distribution agreement which was amended and restated on March 31, 2022 (the \"Equity Distribution Agreement'). Under the Equity Distribution Agreement, which expired on June 14, 2022, the Company could, from time to time, offer and sell its common shares through an at-the-market offering (the \"ATM Program\"), having an aggregate offering price of up to $150.0 million.",
        "label": "June 2021 At-the-Market Common Stock Offering Program [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_AuditFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "AuditFees",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/GeneralAndAdministrativeExpensesDetails": {
       "parentTag": "us-gaap_GeneralAndAdministrativeExpense",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/GeneralAndAdministrativeExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of fees paid to an independent registered public accounting firm for professional services rendered for the audit of the consolidated financial statements and any other audit services required for the SEC or other regulatory filings.",
        "label": "Audit fees",
        "terseLabel": "Audit fees"
       }
      }
     },
     "auth_ref": []
    },
    "dei_AuditorFirmId": {
     "xbrltype": "nonemptySequenceNumberItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "AuditorFirmId",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Firm ID",
        "documentation": "PCAOB issued Audit Firm Identifier"
       }
      }
     },
     "auth_ref": [
      "r777",
      "r778",
      "r779"
     ]
    },
    "dei_AuditorLocation": {
     "xbrltype": "internationalNameItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "AuditorLocation",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Location"
       }
      }
     },
     "auth_ref": [
      "r777",
      "r778",
      "r779"
     ]
    },
    "dei_AuditorName": {
     "xbrltype": "internationalNameItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "AuditorName",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Name"
       }
      }
     },
     "auth_ref": [
      "r777",
      "r778",
      "r779"
     ]
    },
    "ctrm_BagheeraShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "BagheeraShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Bagheera Shipping Co. [Member]",
        "terseLabel": "Bagheera Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BalanceSheetLocationAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BalanceSheetLocationAxis",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesClaimsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Balance Sheet Location [Axis]",
        "documentation": "Information by location on balance sheet (statement of financial position)."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BalanceSheetLocationDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BalanceSheetLocationDomain",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesClaimsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Balance Sheet Location [Domain]",
        "documentation": "Location in the balance sheet (statement of financial position)."
       }
      }
     },
     "auth_ref": [
      "r81",
      "r82"
     ]
    },
    "ctrm_BallastWaterTreatmentSystemsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "BallastWaterTreatmentSystemsMember",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ballast Water Treatment Systems (BWTS) are systems designed to remove and destroy inactive biological organisms (zooplankton, algae, bacteria) from ballast water on a vessel.",
        "label": "Ballast Water Treatment Systems [Member]",
        "terseLabel": "BWTS Installations [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_BasisOfPresentationAndOrganizationAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "BasisOfPresentationAndOrganizationAbstract",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Basis of Presentation and Organization [Abstract]",
        "terseLabel": "Basis of Presentation [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BelowMarketLeaseAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BelowMarketLeaseAbstract",
     "presentation": [
      "http://castormaritime.com/role/FairValueOfAcquiredTimeChartersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value of Acquired Time Charters [Abstract]",
        "label": "Below Market Lease [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BelowMarketLeaseNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BelowMarketLeaseNet",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/FairValueOfAcquiredTimeChartersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Intangible liability for below market time charter",
        "label": "Below Market Lease, Net",
        "documentation": "Amount after amortization of leases acquired as part of a real property acquisition at below market lease rate with a finite life."
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_BistroMaritimeCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "BistroMaritimeCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Bistro Maritime Co. [Member]",
        "terseLabel": "Bistro Maritime Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_BridgeLoan75MillionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "BridgeLoan75MillionMember",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "An interest free unsecured bridge loan, which was provided to the Company by Thalassa Investment Co. S.A, a company controlled by Petros Panagiotidis, who is also the Company's Chairman, Chief Executive Officer and Chief Financial Officer.",
        "label": "Bridge Loan $7.5 Million [Member]",
        "terseLabel": "$7.5 Million Bridge Loan [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_BrokerageCommissions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "BrokerageCommissions",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails": {
       "parentTag": "ctrm_VoyageExpenses",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commissions paid to brokers for time-charter and voyage-charter arrangements.",
        "label": "Brokerage commissions",
        "verboseLabel": "Brokerage commissions"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_BrokerageCommissionsRelatedParty": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "BrokerageCommissionsRelatedParty",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails": {
       "parentTag": "ctrm_VoyageExpenses",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commissions paid to related party for time-charter and voyage-charter arrangements.",
        "label": "Brokerage Commissions, Related Party",
        "terseLabel": "Brokerage commissions- related party"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_BunkersConsumption": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "BunkersConsumption",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails": {
       "parentTag": "ctrm_VoyageExpenses",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of bunkers (or energy) consumption related to fuel stored on a ship and used as fuel for machinery operation.",
        "label": "Bunkers consumption",
        "terseLabel": "Bunkers consumption"
       }
      }
     },
     "auth_ref": []
    },
    "dei_BusinessContactMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "BusinessContactMember",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Contact [Member]",
        "documentation": "Business contact for the entity"
       }
      }
     },
     "auth_ref": [
      "r778",
      "r779"
     ]
    },
    "ctrm_CapesizeVesselMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "CapesizeVesselMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A large-sized dry bulk vessel.",
        "label": "Capesize Vessel [Member]",
        "terseLabel": "Capesize [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CapitalExpendituresIncurredButNotYetPaid": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CapitalExpendituresIncurredButNotYetPaid",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Unpaid vessel acquisition and other vessel improvement costs (included in Accounts payable and Accrued liabilities)",
        "label": "Capital Expenditures Incurred but Not yet Paid",
        "documentation": "Future cash outflow to pay for purchases of fixed assets that have occurred."
       }
      }
     },
     "auth_ref": [
      "r44",
      "r45",
      "r46"
     ]
    },
    "ctrm_CapitalStockParOrStatedValuePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "CapitalStockParOrStatedValuePerShare",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureCapitalStockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face amount or stated value per share of capital shares, including preferred and common stock.",
        "label": "Capital Stock, Par or Stated Value Per Share",
        "verboseLabel": "Capital shares, par value (in dollars per share)"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_CapitalStockSharesAuthorized": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "CapitalStockSharesAuthorized",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureCapitalStockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of capital shares, including preferred and common stock, permitted to be issued by an entity's charter and bylaws.",
        "label": "Capital Stock, Shares Authorized",
        "terseLabel": "Capital shares, shares authorized (in shares)"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_CapitalizedContractCostAdditions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "CapitalizedContractCostAdditions",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/DeferredChargesNetDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of additions to asset recognized from cost incurred to obtain or fulfill contract with customer.",
        "label": "Capitalized Contract Cost, Additions",
        "terseLabel": "Additions"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CapitalizedContractCostAmortization": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CapitalizedContractCostAmortization",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/DeferredChargesNetDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Amortization and write-offs",
        "label": "Capitalized Contract Cost, Amortization",
        "documentation": "Amount of amortization expense for asset recognized from cost incurred to obtain or fulfill contract with customer."
       }
      }
     },
     "auth_ref": [
      "r360"
     ]
    },
    "ctrm_CapitalizedContractCostDisposalsAsset": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "CapitalizedContractCostDisposalsAsset",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/DeferredChargesNetDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of disposals for asset recognized from cost incurred to obtain or fulfill contract with customer.",
        "label": "Capitalized Contract Cost, Disposals Asset",
        "negatedLabel": "Disposals"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_CapitalizedContractCostInsuranceClaimRecognized": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "CapitalizedContractCostInsuranceClaimRecognized",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/DeferredChargesNetDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of insurance claim recognized related to asset recognized from cost incurred to obtain or fulfill contract with customer.",
        "label": "Capitalized Contract Cost, Insurance Claim Recognized",
        "negatedLabel": "Less: Insurance claim recognized"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CapitalizedContractCostLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CapitalizedContractCostLineItems",
     "presentation": [
      "http://castormaritime.com/role/DeferredChargesNetDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capitalized Contract Cost [Line Items]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r359"
     ]
    },
    "us-gaap_CapitalizedContractCostNetClassifiedAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CapitalizedContractCostNetClassifiedAbstract",
     "presentation": [
      "http://castormaritime.com/role/DeferredChargesNetDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Deferred Charges, net [Abstract]",
        "label": "Capitalized Contract Cost, Net, Classified [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CapitalizedContractCostNetCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CapitalizedContractCostNetCurrent",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred charges, net",
        "documentation": "Amount, after accumulated amortization and accumulated impairment loss, of asset recognized from cost incurred to obtain or fulfill contract with customer; classified as current."
       }
      }
     },
     "auth_ref": [
      "r359"
     ]
    },
    "us-gaap_CapitalizedContractCostNetNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CapitalizedContractCostNetNoncurrent",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0,
       "order": 9.0
      },
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails": {
       "parentTag": "us-gaap_AssetsNet",
       "weight": 1.0,
       "order": 9.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails",
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/DeferredChargesNetDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Deferred charges, net",
        "periodStartLabel": "Balance at beginning of period",
        "periodEndLabel": "Balance at end of period",
        "label": "Capitalized Contract Cost, Net, Noncurrent",
        "documentation": "Amount, after accumulated amortization and accumulated impairment loss, of asset recognized from cost incurred to obtain or fulfill contract with customer; classified as noncurrent."
       }
      }
     },
     "auth_ref": [
      "r359"
     ]
    },
    "us-gaap_CapitalizedContractCostTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CapitalizedContractCostTable",
     "presentation": [
      "http://castormaritime.com/role/DeferredChargesNetDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capitalized Contract Cost [Table]",
        "documentation": "Disclosure of information about cost capitalized in obtaining or fulfilling contract with customer."
       }
      }
     },
     "auth_ref": [
      "r359"
     ]
    },
    "ctrm_CapitalizedContractCostTransferToAssetsHeldForSale": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "CapitalizedContractCostTransferToAssetsHeldForSale",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/DeferredChargesNetDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Transfer to assets held for sale recognized from cost incurred to obtain or fulfill contract with customer.",
        "label": "Capitalized Contract Cost, Transfer to Assets Held for Sale",
        "negatedLabel": "Transfer to Assets held for sale (Note 7(b))"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CashAndCashEquivalentsAtCarryingValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CashAndCashEquivalentsAtCarryingValue",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0,
       "order": 0.0
      },
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails": {
       "parentTag": "us-gaap_AssetsNet",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails",
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Cash and cash equivalents",
        "terseLabel": "Cash and cash equivalents",
        "label": "Cash and Cash Equivalents, at Carrying Value",
        "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. 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. Excludes cash and cash equivalents within disposal group and discontinued operation."
       }
      }
     },
     "auth_ref": [
      "r42",
      "r227",
      "r726"
     ]
    },
    "ctrm_CashAndCashEquivalentsAtCarryingValueIncludingDiscontinuedOperation": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "CashAndCashEquivalentsAtCarryingValueIncludingDiscontinuedOperation",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of currency on hand as well as demand deposits with banks or financial institutions, including amounts attributable to disposal group held for sale or disposed of. 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": "Cash and Cash Equivalents, at Carrying Value, Including Discontinued Operation",
        "periodEndLabel": "Cash and cash equivalents"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CashAndCashEquivalentsPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CashAndCashEquivalentsPolicyTextBlock",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cash and Cash Equivalents",
        "label": "Cash and Cash Equivalents, Policy [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for cash and cash equivalents, including the policy for determining which items are treated as cash equivalents. Other information that may be disclosed includes (1) the nature of any restrictions on the entity's use of its cash and cash equivalents, (2) whether the entity's cash and cash equivalents are insured or expose the entity to credit risk, (3) the classification of any negative balance accounts (overdrafts), and (4) the carrying basis of cash equivalents (for example, at cost) and whether the carrying amount of cash equivalents approximates fair value."
       }
      }
     },
     "auth_ref": [
      "r43"
     ]
    },
    "us-gaap_CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CashAndCashEquivalentsRestrictedCashAndCashEquivalentsPolicy",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Restricted Cash",
        "label": "Cash and Cash Equivalents, Restricted Cash and Cash Equivalents, Policy [Policy Text Block]",
        "documentation": "Entity's cash and cash equivalents accounting policy with respect to restricted balances. Restrictions may include legally restricted deposits held as compensating balances against short-term borrowing arrangements, contracts entered into with others, or company statements of intention with regard to particular deposits; however, time deposits and short-term certificates of deposit are not generally included in legally restricted deposits."
       }
      }
     },
     "auth_ref": [
      "r43",
      "r172"
     ]
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodStartLabel": "Cash, cash equivalents and restricted cash at the beginning of the period",
        "periodEndLabel": "Cash, cash equivalents and restricted cash at the end of the period",
        "label": "Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents",
        "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."
       }
      }
     },
     "auth_ref": [
      "r42",
      "r148",
      "r259"
     ]
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsAbstract",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "RECONCILIATION OF CASH, CASH EQUIVALENTS AND RESTRICTED CASH"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net increase/(decrease) in cash, cash equivalents, and restricted cash",
        "label": "Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents, Period Increase (Decrease), Including Exchange Rate Effect",
        "documentation": "Amount of increase (decrease) in cash, cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; including 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."
       }
      }
     },
     "auth_ref": [
      "r3",
      "r148"
     ]
    },
    "us-gaap_CashProvidedByUsedInFinancingActivitiesDiscontinuedOperations": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CashProvidedByUsedInFinancingActivitiesDiscontinuedOperations",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInDiscontinuedOperations",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net cash provided by / (used in) Financing Activities from discontinued operations",
        "documentation": "Amount of cash inflow (outflow) of financing activities of 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."
       }
      }
     },
     "auth_ref": [
      "r148"
     ]
    },
    "us-gaap_CashProvidedByUsedInInvestingActivitiesDiscontinuedOperations": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CashProvidedByUsedInInvestingActivitiesDiscontinuedOperations",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInDiscontinuedOperations",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net cash (used in) / provided by Investing Activities from discontinued operations",
        "documentation": "Amount of cash inflow (outflow) of investing activities of 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."
       }
      }
     },
     "auth_ref": [
      "r113",
      "r148"
     ]
    },
    "us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInDiscontinuedOperations",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net cash provided by Operating Activities from discontinued operations",
        "documentation": "Amount of cash inflow (outflow) of operating activities of discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities."
       }
      }
     },
     "auth_ref": [
      "r113",
      "r148"
     ]
    },
    "ctrm_CastorMaritimeScrCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "CastorMaritimeScrCorpMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands. This entity serves as the Company's vessel owning subsidiaries' cash manager with effect from November 1, 2021.",
        "label": "Castor Maritime SCR Corp. [Member]",
        "terseLabel": "Castor Maritime SCR Corp. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_CastorShipManagementAgreementsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "CastorShipManagementAgreementsMember",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "During the period from September 1, 2020 (being the initial Castor Ships Management Agreements effective date), and up to June 30, 2022, pursuant to the terms and conditions stipulated in a master management agreement (the \"Master Management Agreement\") and separate commercial ship management agreements (the \"Ship Management Agreements\") with Castor Ships (together, the \"Castor Ships Management Agreements\"), Castor Ships managed the Company's business and provided commercial ship management, chartering and administrative services to the Company and its vessel owning subsidiaries.",
        "label": "Castor Ship Management Agreements [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_CastorShipsSAMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "CastorShipsSAMember",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A company ultimately beneficially owned by the Company's Chairman, Chief Executive Officer and Chief Financial Officer.",
        "label": "Castor Ships S.A. [Member]",
        "terseLabel": "Castor Ships [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_ChartererAMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "ChartererAMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationRevenueFromChartersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "External customer with whom the entity does business.",
        "label": "Charterer A [Member]",
        "terseLabel": "Charterer A [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_ChartererBMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "ChartererBMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationRevenueFromChartersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "External customer with whom the entity does business.",
        "label": "Charterer B [Member]",
        "terseLabel": "Charterer B [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_ChartererCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "ChartererCMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationRevenueFromChartersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "External customer with whom the entity does business.",
        "label": "Charterer C [Member]",
        "terseLabel": "Charterer C [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_ChartererDMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "ChartererDMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationRevenueFromChartersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "External customer with whom the entity does business.",
        "label": "Charterer D [Member]",
        "terseLabel": "Charterer D [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_ChartererEMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "ChartererEMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationRevenueFromChartersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "External customer with whom the entity does business.",
        "label": "Charterer E [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_ChartererFMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "ChartererFMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationRevenueFromChartersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "External customer with whom the entity does business.",
        "label": "Charterer F [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_CharterersMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "CharterersMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationRevenueFromChartersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "External customers with whom the entity does business.",
        "label": "Charterers [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_CinderellaShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "CinderellaShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Cinderella Shipping Co. [Member]",
        "terseLabel": "Cinderella Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "dei_CityAreaCode": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "CityAreaCode",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "City Area Code",
        "documentation": "Area code of city"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_ClassAAndPrefundedWarrantMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "ClassAAndPrefundedWarrantMember",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Class A and prefunded warrant 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": "Class A and Prefunded Warrant [Member]",
        "terseLabel": "Class A and Prefunded Warrant [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_ClassAWarrantMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "ClassAWarrantMember",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Class A security that gives the holder the right to purchase one share of common stock in accordance with the terms of the instrument, usually upon payment of a specified amount.",
        "label": "Class A Warrant [Member]",
        "terseLabel": "Class A Warrant [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ClassOfStockDisclosuresAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ClassOfStockDisclosuresAbstract",
     "presentation": [
      "http://castormaritime.com/role/SubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Subsequent Events [Abstract]",
        "label": "Class of Stock Disclosures [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ClassOfStockDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ClassOfStockDomain",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity",
      "http://castormaritime.com/role/DocumentAndEntityInformation",
      "http://castormaritime.com/role/EarningsPerCommonShareDetails",
      "http://castormaritime.com/role/EquityCapitalStructureDescriptionOfSeriesBPreferredSharesDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesPreferredSharesRedemptionDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesIssuanceOfSeriesDPreferredSharesToToroCorpDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class of Stock [Domain]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r206",
      "r233",
      "r234",
      "r235",
      "r262",
      "r287",
      "r288",
      "r295",
      "r297",
      "r304",
      "r305",
      "r352",
      "r383",
      "r386",
      "r387",
      "r388",
      "r394",
      "r395",
      "r417",
      "r418",
      "r422",
      "r425",
      "r432",
      "r507",
      "r612",
      "r613",
      "r614",
      "r615",
      "r621",
      "r622",
      "r623",
      "r624",
      "r625",
      "r626",
      "r627",
      "r628",
      "r629",
      "r630",
      "r631",
      "r632",
      "r644",
      "r665",
      "r689",
      "r711",
      "r712",
      "r713",
      "r714",
      "r715",
      "r784",
      "r809",
      "r819"
     ]
    },
    "us-gaap_ClassOfStockLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ClassOfStockLineItems",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JulyEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021FirstRegisteredDirectEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021SecondRegisteredDirectEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021ThirdRegisteredDirectEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructureDescriptionOfSeriesBPreferredSharesDetails",
      "http://castormaritime.com/role/EquityCapitalStructureJune2021AtthemarketCommonStockOfferingProgramDetails",
      "http://castormaritime.com/role/EquityCapitalStructureMay2023AtthemarketCommonStockOfferingProgramDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesPreferredSharesRedemptionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class of Stock [Line Items]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r233",
      "r234",
      "r235",
      "r304",
      "r417",
      "r418",
      "r420",
      "r422",
      "r425",
      "r430",
      "r432",
      "r612",
      "r613",
      "r614",
      "r615",
      "r745",
      "r784",
      "r809"
     ]
    },
    "us-gaap_ClassOfWarrantOrRightAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ClassOfWarrantOrRightAxis",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JulyEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021FirstRegisteredDirectEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021SecondRegisteredDirectEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021ThirdRegisteredDirectEquityOfferingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class of Warrant or Right [Axis]",
        "documentation": "Information by type of warrant or right issued."
       }
      }
     },
     "auth_ref": [
      "r79"
     ]
    },
    "us-gaap_ClassOfWarrantOrRightDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ClassOfWarrantOrRightDomain",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JulyEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021FirstRegisteredDirectEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021SecondRegisteredDirectEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021ThirdRegisteredDirectEquityOfferingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class of Warrant or Right [Domain]",
        "documentation": "Name of the class or type of warrant or right outstanding. Warrants and rights represent derivative securities that give the holder the right to purchase securities (usually equity) from the issuer at a specific price within a certain time frame. Warrants are often included in a new debt issue to entice investors by a higher return potential. The main difference between warrants and call options is that warrants are issued and guaranteed by the company, whereas options are exchange instruments and are not issued by the company. Also, the lifetime of a warrant is often measured in years, while the lifetime of a typical option is measured in months."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JulyEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021FirstRegisteredDirectEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021SecondRegisteredDirectEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021ThirdRegisteredDirectEquityOfferingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Warrant exercise price (in dollars per share)",
        "terseLabel": "Warrant exercise price per share (in dollars per share)",
        "documentation": "Exercise price per share or per unit of warrants or rights outstanding."
       }
      }
     },
     "auth_ref": [
      "r433"
     ]
    },
    "ctrm_ClassOfWarrantOrRightExercised": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "ClassOfWarrantOrRightExercised",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JulyEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021ThirdRegisteredDirectEquityOfferingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of warrants or rights exercised during the period.",
        "label": "Class of Warrant or Right, Exercised",
        "terseLabel": "Warrants exercised (in shares)"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_ClassOfWarrantOrRightIssued": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "ClassOfWarrantOrRightIssued",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of warrants issued during the period.",
        "label": "Class of Warrant or Right, Issued",
        "terseLabel": "Issuance of warrants (in shares)"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByEachWarrantOrRight": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ClassOfWarrantOrRightNumberOfSecuritiesCalledByEachWarrantOrRight",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021ThirdRegisteredDirectEquityOfferingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Number of securities called by each warrant (in shares)",
        "documentation": "Number of securities into which each warrant or right may be converted. For example, but not limited to, each warrant may be converted into two shares."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JulyEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021FirstRegisteredDirectEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021SecondRegisteredDirectEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021ThirdRegisteredDirectEquityOfferingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Number of securities called by warrants (in shares)",
        "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."
       }
      }
     },
     "auth_ref": [
      "r433"
     ]
    },
    "us-gaap_ClassOfWarrantOrRightOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ClassOfWarrantOrRightOutstanding",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JulyEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021ThirdRegisteredDirectEquityOfferingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Warrants outstanding (in shares)",
        "documentation": "Number of warrants or rights outstanding."
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_ClassOfWarrantOrRightRepurchasePricePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "ClassOfWarrantOrRightRepurchasePricePerShare",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JulyEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021ThirdRegisteredDirectEquityOfferingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Price paid per share or per unit of warrants or rights repurchased.",
        "label": "Class of Warrant or Right, Repurchase Price per Share",
        "terseLabel": "Repurchase of warrants (in dollars per share)"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_ClassOfWarrantOrRightRepurchases": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "ClassOfWarrantOrRightRepurchases",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JulyEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021ThirdRegisteredDirectEquityOfferingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of warrants or rights repurchased during the period.",
        "label": "Class of Warrant or Right, Repurchases",
        "terseLabel": "Repurchase of warrants (in shares)"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_ColossusShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "ColossusShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Colossus Shipping Co. [Member]",
        "terseLabel": "Colossus Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CommitmentsAndContingencies": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommitmentsAndContingencies",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and contingencies",
        "documentation": "Represents the caption on the face of the balance sheet to indicate that the entity has entered into (1) purchase or supply arrangements that will require expending a portion of its resources to meet the terms thereof, and (2) is exposed to potential losses or, less frequently, gains, arising from (a) possible claims against a company's resources due to future performance under contract terms, and (b) possible losses or likely gains from uncertainties that will ultimately be resolved when one or more future events that are deemed likely to occur do occur or fail to occur."
       }
      }
     },
     "auth_ref": [
      "r34",
      "r92",
      "r563",
      "r643"
     ]
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommitmentsAndContingenciesDisclosureAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and Contingencies [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommitmentsAndContingenciesDisclosureTextBlock",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingencies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Commitments and Contingencies",
        "label": "Commitments and Contingencies Disclosure [Text Block]",
        "documentation": "The entire disclosure for commitments and contingencies."
       }
      }
     },
     "auth_ref": [
      "r161",
      "r375",
      "r376",
      "r718",
      "r828"
     ]
    },
    "us-gaap_CommitmentsAndContingenciesPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommitmentsAndContingenciesPolicyTextBlock",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Commitments, Contingencies and Provisions",
        "label": "Commitments and Contingencies, Policy [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for commitments and contingencies, which may include policies for recognizing and measuring loss and gain contingencies."
       }
      }
     },
     "auth_ref": [
      "r69",
      "r719"
     ]
    },
    "us-gaap_CommonStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommonStockMember",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity",
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructureMay2023AtthemarketCommonStockOfferingProgramDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesPreferredSharesRedemptionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Common Shares [Member]",
        "label": "Common Stock [Member]",
        "documentation": "Stock that is subordinate to all other stock of the issuer."
       }
      }
     },
     "auth_ref": [
      "r762",
      "r763",
      "r764",
      "r766",
      "r767",
      "r768",
      "r769",
      "r815",
      "r816",
      "r844",
      "r866",
      "r871"
     ]
    },
    "us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureCommonSharesDetails",
      "http://castormaritime.com/role/EquityCapitalStructureJune2021AtthemarketCommonStockOfferingProgramDetails",
      "http://castormaritime.com/role/EquityCapitalStructureMay2023AtthemarketCommonStockOfferingProgramDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common Shares [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CommonStockParOrStatedValuePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommonStockParOrStatedValuePerShare",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesPreferredSharesRedemptionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Common shares, par value (in dollars per share)",
        "label": "Common Stock, Par or Stated Value Per Share",
        "documentation": "Face amount or stated value per share of common stock."
       }
      }
     },
     "auth_ref": [
      "r128"
     ]
    },
    "us-gaap_CommonStockSharesAuthorized": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommonStockSharesAuthorized",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://castormaritime.com/role/EquityCapitalStructureCapitalStockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Common shares, authorized (in shares)",
        "label": "Common Stock, Shares Authorized",
        "documentation": "The maximum number of common shares permitted to be issued by an entity's charter and bylaws."
       }
      }
     },
     "auth_ref": [
      "r128",
      "r644"
     ]
    },
    "us-gaap_CommonStockSharesIssued": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommonStockSharesIssued",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/ConsolidatedBalanceSheetsParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Common shares, shares issued (in shares)",
        "label": "Common Stock, Shares, Issued",
        "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."
       }
      }
     },
     "auth_ref": [
      "r128"
     ]
    },
    "us-gaap_CommonStockSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommonStockSharesOutstanding",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/ConsolidatedBalanceSheetsParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common shares, shares outstanding (in shares)",
        "documentation": "Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation."
       }
      }
     },
     "auth_ref": [
      "r16",
      "r128",
      "r644",
      "r662",
      "r871",
      "r872"
     ]
    },
    "ctrm_CommonStockThatCanBeSoldValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "CommonStockThatCanBeSoldValue",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureJune2021AtthemarketCommonStockOfferingProgramDetails",
      "http://castormaritime.com/role/EquityCapitalStructureMay2023AtthemarketCommonStockOfferingProgramDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The value of common stock that can be issued and sold from time to time under an at-the-market (ATM) continuous equity offering program.",
        "label": "Common Stock that Can be Sold, Value",
        "terseLabel": "Common stock that can be sold under ATM"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CommonStockValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommonStockValue",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common shares, $0.001 par value; 1,950,000,000 shares authorized; 94,610,088 and 96,623,876 issued and outstanding as of December 31, 2022, and December 31, 2023, respectively",
        "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."
       }
      }
     },
     "auth_ref": [
      "r128",
      "r565",
      "r759"
     ]
    },
    "ctrm_CommonStockVotingRightsNumberOfVotes": {
     "xbrltype": "integerItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "CommonStockVotingRightsNumberOfVotes",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureCommonSharesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of votes each outstanding common share is entitled to vote per share owned on all matters submitted to a vote of shareholders.",
        "label": "Common Stock, Voting Rights, Number of Votes",
        "terseLabel": "Number of votes per share"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ComprehensiveIncomeNetOfTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ComprehensiveIncomeNetOfTax",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/EarningsPerCommonShareDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Comprehensive income",
        "verboseLabel": "Comprehensive income",
        "documentation": "Amount after tax of increase (decrease) in equity from transactions and other events and circumstances from net income and other comprehensive income, attributable to parent entity. Excludes changes in equity resulting from investments by owners and distributions to owners."
       }
      }
     },
     "auth_ref": [
      "r36",
      "r240",
      "r242",
      "r248",
      "r558",
      "r575"
     ]
    },
    "us-gaap_ComprehensiveIncomePolicyPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ComprehensiveIncomePolicyPolicyTextBlock",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other Comprehensive Income",
        "label": "Comprehensive Income, Policy [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for comprehensive income."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ConcentrationRiskBenchmarkDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ConcentrationRiskBenchmarkDomain",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationRevenueFromChartersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Concentration Risk Benchmark [Domain]",
        "documentation": "The denominator in a calculation of a disclosed concentration risk percentage."
       }
      }
     },
     "auth_ref": [
      "r53",
      "r55",
      "r83",
      "r84",
      "r344",
      "r717"
     ]
    },
    "us-gaap_ConcentrationRiskByBenchmarkAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ConcentrationRiskByBenchmarkAxis",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationRevenueFromChartersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Concentration Risk Benchmark [Axis]",
        "documentation": "Information by benchmark of concentration risk."
       }
      }
     },
     "auth_ref": [
      "r53",
      "r55",
      "r83",
      "r84",
      "r344",
      "r605",
      "r717"
     ]
    },
    "us-gaap_ConcentrationRiskByTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ConcentrationRiskByTypeAxis",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationRevenueFromChartersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Concentration Risk Type [Axis]",
        "documentation": "Information by type of concentration risk, for example, but not limited to, asset, liability, net assets, geographic, customer, employees, supplier, lender."
       }
      }
     },
     "auth_ref": [
      "r53",
      "r55",
      "r83",
      "r84",
      "r344",
      "r717",
      "r789"
     ]
    },
    "us-gaap_ConcentrationRiskLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ConcentrationRiskLineItems",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationRevenueFromChartersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Concentration Risk [Line Items]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r717"
     ]
    },
    "us-gaap_ConcentrationRiskPercentage1": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ConcentrationRiskPercentage1",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationRevenueFromChartersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Concentration risk percentage",
        "label": "Concentration Risk, Percentage",
        "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."
       }
      }
     },
     "auth_ref": [
      "r53",
      "r55",
      "r83",
      "r84",
      "r344"
     ]
    },
    "us-gaap_ConcentrationRiskTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ConcentrationRiskTable",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationRevenueFromChartersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Concentration Risk [Table]",
        "documentation": "Describes the nature of a concentration, a benchmark to which it is compared, and the percentage that the risk is to the benchmark."
       }
      }
     },
     "auth_ref": [
      "r52",
      "r53",
      "r55",
      "r56",
      "r83",
      "r170",
      "r717"
     ]
    },
    "us-gaap_ConcentrationRiskTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ConcentrationRiskTypeDomain",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationRevenueFromChartersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Concentration Risk Type [Domain]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r53",
      "r55",
      "r83",
      "r84",
      "r344",
      "r717"
     ]
    },
    "ctrm_ConsecutiveTradingDayPeriod": {
     "xbrltype": "durationItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "ConsecutiveTradingDayPeriod",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Consecutive trading day period, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Consecutive Trading Day Period",
        "terseLabel": "Consecutive trading day period"
       }
      }
     },
     "auth_ref": []
    },
    "srt_ConsolidatedEntitiesAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "ConsolidatedEntitiesAxis",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDisposalsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidated Entities [Axis]",
        "documentation": "Information by consolidated entity or group of entities."
       }
      }
     },
     "auth_ref": [
      "r209",
      "r268",
      "r487",
      "r488",
      "r489",
      "r490",
      "r535",
      "r720",
      "r792",
      "r795",
      "r796",
      "r833",
      "r836",
      "r837"
     ]
    },
    "srt_ConsolidatedEntitiesDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "ConsolidatedEntitiesDomain",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDisposalsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidated Entities [Domain]",
        "documentation": "Entity or group of entities consolidated into reporting entity."
       }
      }
     },
     "auth_ref": [
      "r209",
      "r268",
      "r487",
      "r488",
      "r489",
      "r490",
      "r535",
      "r720",
      "r792",
      "r795",
      "r796",
      "r833",
      "r836",
      "r837"
     ]
    },
    "ctrm_ConsolidatedSubsidiariesFormedToAcquireVesselsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "ConsolidatedSubsidiariesFormedToAcquireVesselsTableTextBlock",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of information regarding subsidiaries formed to acquire vessels.",
        "label": "Consolidated Subsidiaries Formed to Acquire Vessels [Table Text Block]",
        "terseLabel": "Consolidated Subsidiaries Formed to Acquire Vessels"
       }
      }
     },
     "auth_ref": []
    },
    "srt_ConsolidationItemsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "ConsolidationItemsAxis",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidation Items [Axis]",
        "documentation": "Information by components, eliminations, non-segment corporate-level activity and reconciling items used in consolidating a parent entity and its subsidiaries or its operating segments."
       }
      }
     },
     "auth_ref": [
      "r210",
      "r211",
      "r212",
      "r213",
      "r214",
      "r215",
      "r216",
      "r217",
      "r218",
      "r268",
      "r312",
      "r329",
      "r330",
      "r331",
      "r332",
      "r333",
      "r335",
      "r339",
      "r383",
      "r384",
      "r385",
      "r386",
      "r388",
      "r389",
      "r391",
      "r393",
      "r394",
      "r793",
      "r794",
      "r834",
      "r835"
     ]
    },
    "srt_ConsolidationItemsDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "ConsolidationItemsDomain",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidation Items [Domain]",
        "documentation": "Components, elimination, non-segment corporate-level activity and reconciling items used in consolidating a parent entity and its subsidiaries or its operating segments."
       }
      }
     },
     "auth_ref": [
      "r210",
      "r211",
      "r212",
      "r213",
      "r214",
      "r215",
      "r216",
      "r217",
      "r218",
      "r268",
      "r312",
      "r329",
      "r330",
      "r331",
      "r332",
      "r333",
      "r335",
      "r339",
      "r383",
      "r384",
      "r385",
      "r386",
      "r388",
      "r389",
      "r391",
      "r393",
      "r394",
      "r793",
      "r794",
      "r834",
      "r835"
     ]
    },
    "us-gaap_ConsolidationPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ConsolidationPolicyTextBlock",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Principles of Consolidation",
        "label": "Consolidation, Policy [Policy Text Block]",
        "documentation": "Disclosure of accounting policy regarding (1) the principles it follows in consolidating or combining the separate financial statements, including the principles followed in determining the inclusion or exclusion of subsidiaries or other entities in the consolidated or combined financial statements and (2) its treatment of interests (for example, common stock, a partnership interest or other means of exerting influence) in other entities, for example consolidation or use of the equity or cost methods of accounting. The accounting policy may also address the accounting treatment for intercompany accounts and transactions, noncontrolling interest, and the income statement treatment in consolidation for issuances of stock by a subsidiary."
       }
      }
     },
     "auth_ref": [
      "r80",
      "r732"
     ]
    },
    "dei_ContactPersonnelFaxNumber": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "ContactPersonnelFaxNumber",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Contact Personnel Fax Number",
        "documentation": "Fax Number of contact personnel."
       }
      }
     },
     "auth_ref": [
      "r778"
     ]
    },
    "dei_ContactPersonnelName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "ContactPersonnelName",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Contact Personnel Name",
        "documentation": "Name of contact personnel"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_ContaincoShippingIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "ContaincoShippingIncMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Containco Shipping Inc [Member]",
        "terseLabel": "Containco Shipping Inc [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_ContainerMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "ContainerMember",
     "presentation": [
      "http://castormaritime.com/role/DeferredChargesNetDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A container ship is a cargo ship that carries all of its load in truck-size intermodal containers.",
        "label": "Container [Member]",
        "terseLabel": "Container Vessels [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_ContainerShipSegmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "ContainerShipSegmentMember",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Provides transportation of containerized goods.",
        "label": "Container Ship Segment [Member]",
        "terseLabel": "Container Ship Segment [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_ContainershipAndDryBulkCarrierMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "ContainershipAndDryBulkCarrierMember",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A container ship is a cargo ship that carries all of its load in truck-size intermodal containers and a dry bulk vessel is a vessel designed to carry dry cargoes in bulk.",
        "label": "Containership and Dry Bulk Carrier [Member]",
        "terseLabel": "Containership and Dry Bulk Vessels [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_ContainershipMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "ContainershipMember",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A container ship is a cargo ship that carries all of its load in truck-size intermodal containers.",
        "label": "Containership [Member]",
        "terseLabel": "Containership [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ContractWithCustomerLiabilityCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ContractWithCustomerLiabilityCurrent",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred revenue",
        "documentation": "Amount of obligation to transfer good or service to customer for which consideration has been received or is receivable, classified as current."
       }
      }
     },
     "auth_ref": [
      "r435",
      "r436",
      "r454"
     ]
    },
    "us-gaap_CorporateNonSegmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CorporateNonSegmentMember",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Corporate [Member]",
        "documentation": "Corporate headquarters or functional department that may not earn revenues or may earn revenues that are only incidental to the activities of the entity and is not considered an operating segment."
       }
      }
     },
     "auth_ref": [
      "r20",
      "r330",
      "r331",
      "r332",
      "r333",
      "r339",
      "r822"
     ]
    },
    "us-gaap_CostsAndExpenses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CostsAndExpenses",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome": {
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": -1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTotalLabel": "Total expenses",
        "label": "Costs and Expenses",
        "documentation": "Total costs of sales and operating expenses for the period."
       }
      }
     },
     "auth_ref": [
      "r139"
     ]
    },
    "us-gaap_CostsAndExpensesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CostsAndExpensesAbstract",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncomeParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "EXPENSES:",
        "label": "Costs and Expenses [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_CounterSecurityPayment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "CounterSecurityPayment",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesClaimsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Counter-security paid to the Korean courts for the purpose of lifting the arrest of a vessel.",
        "label": "Counter-Security Payment",
        "terseLabel": "Counter-security payment"
       }
      }
     },
     "auth_ref": []
    },
    "srt_CounterpartyNameAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "CounterpartyNameAxis",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails",
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesIssuanceOfSeriesDPreferredSharesToToroCorpDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesThalassaDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Counterparty Name [Axis]",
        "documentation": "Information by name of counterparty. A counterparty is the other party that participates in a financial transaction. Examples include, but not limited to, the name of the financial institution."
       }
      }
     },
     "auth_ref": [
      "r219",
      "r266",
      "r267",
      "r399",
      "r420",
      "r533",
      "r729",
      "r731"
     ]
    },
    "dei_CountryRegion": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "CountryRegion",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Country Region",
        "documentation": "Region code of country"
       }
      }
     },
     "auth_ref": []
    },
    "dei_CoverAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "CoverAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Cover [Abstract]",
        "documentation": "Cover page."
       }
      }
     },
     "auth_ref": []
    },
    "dei_CurrentFiscalYearEndDate": {
     "xbrltype": "gMonthDayItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "CurrentFiscalYearEndDate",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current Fiscal Year End Date",
        "documentation": "End date of current fiscal year in the format --MM-DD."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_CustomerConcentrationRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CustomerConcentrationRiskMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationRevenueFromChartersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Customer Concentration [Member]",
        "documentation": "Reflects the percentage that revenues in the period from one or more significant customers is to net revenues, as defined by the entity, such as total net revenues, product line revenues, segment revenues. The risk is the materially adverse effects of loss of a significant customer."
       }
      }
     },
     "auth_ref": [
      "r54",
      "r344"
     ]
    },
    "us-gaap_DebtDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtDisclosureAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-Term Debt [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentAxis",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt1529MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt2315MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt4075MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt45MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails",
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesThalassaDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDisposalsDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instrument [Axis]",
        "documentation": "Information by type of debt instrument, including, but not limited to, draws against credit facilities."
       }
      }
     },
     "auth_ref": [
      "r23",
      "r122",
      "r123",
      "r175",
      "r177",
      "r268",
      "r396",
      "r397",
      "r398",
      "r399",
      "r400",
      "r401",
      "r402",
      "r403",
      "r404",
      "r405",
      "r406",
      "r407",
      "r408",
      "r409",
      "r410",
      "r411",
      "r522",
      "r740",
      "r741",
      "r742",
      "r743",
      "r744",
      "r810"
     ]
    },
    "us-gaap_DebtInstrumentBasisSpreadOnVariableRate1": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentBasisSpreadOnVariableRate1",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt2315MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt45MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Margin on variable rate",
        "label": "Debt Instrument, Basis Spread on Variable Rate",
        "documentation": "Percentage points added to the reference rate to compute the variable rate on the debt instrument."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentCarryingAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentCarryingAmount",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails": {
       "parentTag": "us-gaap_LongTermDebt",
       "weight": 1.0,
       "order": 0.0
      },
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails",
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Total long-term debt including Debt related to assets held for sale",
        "totalLabel": "Total long-term debt",
        "label": "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."
       }
      }
     },
     "auth_ref": [
      "r23",
      "r177",
      "r413"
     ]
    },
    "us-gaap_DebtInstrumentFaceAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentFaceAmount",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt1529MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt2315MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt4075MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt45MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesThalassaDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDisposalsDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Face amount",
        "label": "Face amount",
        "documentation": "Face (par) amount of debt instrument at time of issuance."
       }
      }
     },
     "auth_ref": [
      "r87",
      "r89",
      "r396",
      "r522",
      "r741",
      "r742"
     ]
    },
    "us-gaap_DebtInstrumentFrequencyOfPeriodicPayment": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentFrequencyOfPeriodicPayment",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt1529MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt2315MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt4075MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt45MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Frequency of periodic payment",
        "label": "Frequency of periodic payment",
        "documentation": "Description of the frequency of periodic payments (monthly, quarterly, annual)."
       }
      }
     },
     "auth_ref": [
      "r33",
      "r94"
     ]
    },
    "us-gaap_DebtInstrumentInterestRateStatedPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentInterestRateStatedPercentage",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesThalassaDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest rate",
        "label": "Debt Instrument, Interest Rate, Stated Percentage",
        "documentation": "Contractual interest rate for funds borrowed, under the debt agreement."
       }
      }
     },
     "auth_ref": [
      "r32",
      "r397"
     ]
    },
    "us-gaap_DebtInstrumentIssuer": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentIssuer",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Borrowers",
        "label": "Debt Instrument, Issuer",
        "documentation": "Identification of the contractual issuer of the debt instrument (for example, a subsidiary of the reporting entity)."
       }
      }
     },
     "auth_ref": [
      "r23",
      "r74"
     ]
    },
    "us-gaap_DebtInstrumentLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentLineItems",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt1529MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt2315MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt4075MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt45MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails",
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instrument [Line Items]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r268",
      "r396",
      "r397",
      "r398",
      "r399",
      "r400",
      "r401",
      "r402",
      "r403",
      "r404",
      "r405",
      "r406",
      "r407",
      "r408",
      "r409",
      "r410",
      "r411",
      "r412",
      "r522",
      "r740",
      "r741",
      "r742",
      "r743",
      "r744",
      "r810"
     ]
    },
    "us-gaap_DebtInstrumentMaturityDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentMaturityDate",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Maturity date",
        "label": "Debt Instrument, Maturity Date",
        "documentation": "Date when the debt instrument is scheduled to be fully repaid, in YYYY-MM-DD format."
       }
      }
     },
     "auth_ref": [
      "r204",
      "r740",
      "r846"
     ]
    },
    "us-gaap_DebtInstrumentNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentNameDomain",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt1529MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt2315MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt4075MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt45MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails",
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesThalassaDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDisposalsDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instrument, Name [Domain]",
        "documentation": "The name for the particular debt instrument or borrowing that distinguishes it from other debt instruments or borrowings, including draws against credit facilities."
       }
      }
     },
     "auth_ref": [
      "r33",
      "r268",
      "r396",
      "r397",
      "r398",
      "r399",
      "r400",
      "r401",
      "r402",
      "r403",
      "r404",
      "r405",
      "r406",
      "r407",
      "r408",
      "r409",
      "r410",
      "r411",
      "r522",
      "r740",
      "r741",
      "r742",
      "r743",
      "r744",
      "r810"
     ]
    },
    "ctrm_DebtInstrumentNumberOfPaymentInstallments": {
     "xbrltype": "integerItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "DebtInstrumentNumberOfPaymentInstallments",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt1529MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt2315MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt4075MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt45MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of periodic payment installments in which the debt is to be repaid.",
        "label": "Debt Instrument, Number of Payment Installments",
        "terseLabel": "Number of payment installments"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_DebtInstrumentNumberOfTranches": {
     "xbrltype": "integerItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "DebtInstrumentNumberOfTranches",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt1529MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt2315MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt4075MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of tranches in which the debt instrument was drawn down.",
        "label": "Debt Instrument, Number of Tranches",
        "terseLabel": "Number of tranches drawn"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentPeriodicPayment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentPeriodicPayment",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt1529MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt2315MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt4075MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt45MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Installment payment",
        "label": "Debt Instrument, Periodic Payment",
        "documentation": "Amount of the required periodic payments including both interest and principal payments."
       }
      }
     },
     "auth_ref": [
      "r33",
      "r94"
     ]
    },
    "us-gaap_DebtInstrumentPeriodicPaymentTermsBalloonPaymentToBePaid": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentPeriodicPaymentTermsBalloonPaymentToBePaid",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt1529MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt2315MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt4075MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt45MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Balloon installment payable at maturity",
        "documentation": "Amount of payment greater than the preceding installment payments to be paid at final maturity date of debt."
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_DebtInstrumentRedemptionMonthlyPeriodOneMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "DebtInstrumentRedemptionMonthlyPeriodOneMember",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt2315MillionTermLoanFacilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period one representing most current monthly period of debt redemption features under terms of the debt agreement.",
        "label": "Debt Instrument, Redemption, Monthly Period One [Member]",
        "terseLabel": "Installments 1 to 18 [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_DebtInstrumentRedemptionMonthlyPeriodTwoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "DebtInstrumentRedemptionMonthlyPeriodTwoMember",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt2315MillionTermLoanFacilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period two representing second most current monthly period of debt redemption features under terms of the debt agreement.",
        "label": "Debt Instrument, Redemption, Monthly Period Two [Member]",
        "terseLabel": "Installments 19 to 59 [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentRedemptionPeriodAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentRedemptionPeriodAxis",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt2315MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instrument, Redemption, Period [Axis]",
        "documentation": "Information about timing of debt redemption features under terms of the debt agreement."
       }
      }
     },
     "auth_ref": [
      "r19"
     ]
    },
    "us-gaap_DebtInstrumentRedemptionPeriodDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentRedemptionPeriodDomain",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt2315MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instrument, Redemption, Period [Domain]",
        "documentation": "Period as defined under terms of the debt agreement for debt redemption features."
       }
      }
     },
     "auth_ref": [
      "r19"
     ]
    },
    "us-gaap_DebtInstrumentRedemptionPeriodOneMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentRedemptionPeriodOneMember",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Installments 1 to 9 [Member]",
        "verboseLabel": "Installments 1 to 6 [Member]",
        "label": "Debt Instrument, Redemption, Period One [Member]",
        "documentation": "Period one representing most current period of debt redemption features under terms of the debt agreement."
       }
      }
     },
     "auth_ref": [
      "r19"
     ]
    },
    "us-gaap_DebtInstrumentRedemptionPeriodThreeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentRedemptionPeriodThreeMember",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Installments 13 to 59 [Member]",
        "label": "Installments 13 to 20 [Member]",
        "documentation": "Period three representing third most current period of debt redemption features under terms of the debt agreement."
       }
      }
     },
     "auth_ref": [
      "r19"
     ]
    },
    "us-gaap_DebtInstrumentRedemptionPeriodTwoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentRedemptionPeriodTwoMember",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Installments 10 to 12 [Member]",
        "verboseLabel": "Installments 7 to 12 [Member]",
        "label": "Debt Instrument, Redemption, Period Two [Member]",
        "documentation": "Period two representing second most current period of debt redemption features under terms of the debt agreement."
       }
      }
     },
     "auth_ref": [
      "r19"
     ]
    },
    "us-gaap_DebtInstrumentTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentTable",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt1529MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt2315MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt4075MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt45MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails",
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Long-term Debt Instruments [Table]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r33",
      "r74",
      "r77",
      "r86",
      "r87",
      "r89",
      "r93",
      "r165",
      "r166",
      "r268",
      "r396",
      "r397",
      "r398",
      "r399",
      "r400",
      "r401",
      "r402",
      "r403",
      "r404",
      "r405",
      "r406",
      "r407",
      "r408",
      "r409",
      "r410",
      "r411",
      "r412",
      "r522",
      "r740",
      "r741",
      "r742",
      "r743",
      "r744",
      "r810"
     ]
    },
    "us-gaap_DebtInstrumentTerm": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentTerm",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt2315MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Term of loan",
        "label": "Debt Instrument, Term",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_DebtInstrumentTermOfExtension": {
     "xbrltype": "durationItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "DebtInstrumentTermOfExtension",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesThalassaDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Term of extension 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 of extension",
        "terseLabel": "Term of extension"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_DebtInstrumentTrailingPeriodToMaintainEbitdaToNetInterestExpenseRatio": {
     "xbrltype": "durationItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "DebtInstrumentTrailingPeriodToMaintainEbitdaToNetInterestExpenseRatio",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trailing period to maintain earnings before interest, taxes, depreciation, and amortization (EBITDA) to net interest expense ratio above a certain level in the debt agreement, in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Debt Instrument, Trailing period to maintain EBITDA to net interest expense ratio",
        "terseLabel": "Trailing period to maintain EBITDA to net interest expense ratio"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentsAbstract",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt1529MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt2315MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt4075MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt45MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails",
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Long-Term Debt [Abstract]",
        "verboseLabel": "Loan Facilities [Abstract]",
        "label": "Debt Instruments [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_DebtRelatedToAssetsHeldForSaleCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "DebtRelatedToAssetsHeldForSaleCurrent",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0,
       "order": 10.0
      },
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after deduction of unamortized premium (discount) and debt issuance cost, of long-term debt related to assets held for sale, classified as current.",
        "label": "Debt Related to Assets Held for Sale, Current",
        "totalLabel": "Debt related to assets held for sale, net of deferred finance costs",
        "terseLabel": "Debt related to assets held for sale, net"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_DebtRelatedToAssetsHeldForSaleDeferredFinanceCostsCurrentNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "DebtRelatedToAssetsHeldForSaleDeferredFinanceCostsCurrentNet",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails": {
       "parentTag": "us-gaap_DeferredFinanceCostsNet",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after accumulated amortization, of debt issuance costs classified as current related to debt related to assets held for sale.",
        "label": "Debt Related to Assets Held for Sale, Deferred Finance Costs, Current, Net",
        "negatedLabel": "Less: Current portion of deferred finance costs"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_DebtRelatedToAssetsHeldForSaleGrossCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "DebtRelatedToAssetsHeldForSaleGrossCurrent",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails": {
       "parentTag": "ctrm_DebtRelatedToAssetsHeldForSaleCurrent",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before deduction of unamortized premium (discount) and debt issuance cost, of long-term debt related to assets held for sale, classified as current.",
        "label": "Debt Related to Assets Held for Sale, Gross, Current",
        "terseLabel": "Debt related to assets held for sale"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtSecuritiesTradingAndEquitySecuritiesFvNiAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtSecuritiesTradingAndEquitySecuritiesFvNiAbstract",
     "presentation": [
      "http://castormaritime.com/role/InvestmentInEquitySecuritiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Securities [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtWeightedAverageInterestRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtWeightedAverageInterestRate",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted average interest rate",
        "label": "Debt, Weighted Average Interest Rate",
        "documentation": "Weighted average interest rate of debt outstanding."
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_DeemedDividendOnWarrantsRepurchase": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "DeemedDividendOnWarrantsRepurchase",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome": {
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic",
       "weight": -1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows",
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/EarningsPerCommonShareDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021ThirdRegisteredDirectEquityOfferingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the difference between the repurchase amount and the fair value of the repurchased warrants on the measurement date, recognized as a deemed dividend.",
        "label": "Deemed Dividend on Warrants Repurchase",
        "verboseLabel": "Deemed dividend on warrants repurchase",
        "negatedLabel": "Deemed dividend on warrants repurchase",
        "negatedTerseLabel": "Less: Deemed dividend on warrants repurchased"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DeferredChargesPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DeferredChargesPolicyTextBlock",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Dry-Docking and Special Survey Costs",
        "label": "Deferred Charges, Policy [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for deferral and amortization of significant deferred charges."
       }
      }
     },
     "auth_ref": [
      "r230"
     ]
    },
    "us-gaap_DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred Charges, net [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock",
     "presentation": [
      "http://castormaritime.com/role/DeferredChargesNetTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Deferred Dry-Docking Costs, net",
        "label": "Deferred Costs, Capitalized, Prepaid, and Other Assets Disclosure [Table Text Block]",
        "documentation": "Tabular disclosure of the amounts paid in advance for capitalized costs that will be expensed with the passage of time or the occurrence of a triggering event, and will be charged against earnings within one year or the normal operating cycle, if longer; the aggregate carrying amount of current assets, not separately presented elsewhere in the balance sheet; and other deferred costs."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DeferredFinanceCostsCurrentNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DeferredFinanceCostsCurrentNet",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails": {
       "parentTag": "us-gaap_SecuredDebtCurrent",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Less: Current portion of deferred finance costs",
        "label": "Debt Issuance Costs, Current, Net",
        "documentation": "Amount, after accumulated amortization, of debt issuance costs classified as current. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs."
       }
      }
     },
     "auth_ref": [
      "r88"
     ]
    },
    "us-gaap_DeferredFinanceCostsNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DeferredFinanceCostsNet",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails": {
       "parentTag": "us-gaap_LongTermDebt",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTotalLabel": "Less: Deferred financing costs",
        "label": "Debt Issuance Costs, Net",
        "documentation": "Amount, after accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs."
       }
      }
     },
     "auth_ref": [
      "r88",
      "r839"
     ]
    },
    "us-gaap_DeferredFinanceCostsNoncurrentNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DeferredFinanceCostsNoncurrentNet",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails": {
       "parentTag": "us-gaap_DeferredFinanceCostsNet",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Less: Non-Current portion of deferred finance costs",
        "label": "Debt Issuance Costs, Noncurrent, Net",
        "documentation": "Amount, after accumulated amortization, of debt issuance costs classified as noncurrent. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs."
       }
      }
     },
     "auth_ref": [
      "r88"
     ]
    },
    "us-gaap_Depreciation": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "Depreciation",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleNetBookValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTerseLabel": "Period depreciation",
        "label": "Depreciation",
        "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."
       }
      }
     },
     "auth_ref": [
      "r10",
      "r66"
     ]
    },
    "us-gaap_DepreciationAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DepreciationAbstract",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsVesselsDepreciationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Vessels' Depreciation [Abstract]",
        "label": "Depreciation [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_DepreciationAndAmortizationOfDeferredDryDockingCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "DepreciationAndAmortizationOfDeferredDryDockingCosts",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate amount of vessels' depreciation and amortization of deferred dry-docking costs.",
        "label": "Depreciation and Amortization of Deferred Dry-Docking Costs",
        "terseLabel": "Depreciation and amortization"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DepreciationDepletionAndAmortization": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DepreciationDepletionAndAmortization",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome": {
       "parentTag": "us-gaap_CostsAndExpenses",
       "weight": 1.0,
       "order": 3.0
      },
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails": {
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": -1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Depreciation and amortization",
        "label": "Depreciation, Depletion and Amortization",
        "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."
       }
      }
     },
     "auth_ref": [
      "r10",
      "r315"
     ]
    },
    "us-gaap_DepreciationDepletionAndAmortizationPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DepreciationDepletionAndAmortizationPolicyTextBlock",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Vessels' Depreciation",
        "label": "Depreciation, Depletion, and Amortization [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for depreciation, depletion, and amortization of property and equipment costs, including methods used and estimated useful lives and how impairment of such assets is assessed and recognized."
       }
      }
     },
     "auth_ref": [
      "r733"
     ]
    },
    "us-gaap_DisaggregationOfRevenueAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DisaggregationOfRevenueAbstract",
     "presentation": [
      "http://castormaritime.com/role/TotalVesselRevenuesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disaggregation of Revenue [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DisaggregationOfRevenueLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DisaggregationOfRevenueLineItems",
     "presentation": [
      "http://castormaritime.com/role/TotalVesselRevenuesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disaggregation of Revenue [Line Items]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r453",
      "r746",
      "r747",
      "r748",
      "r749",
      "r750",
      "r751",
      "r752"
     ]
    },
    "us-gaap_DisaggregationOfRevenueTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DisaggregationOfRevenueTable",
     "presentation": [
      "http://castormaritime.com/role/TotalVesselRevenuesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disaggregation of Revenue [Table]",
        "documentation": "Disclosure of information about disaggregation of revenue into categories depicting how nature, amount, timing, and uncertainty of revenue and cash flows are affected by economic factor."
       }
      }
     },
     "auth_ref": [
      "r453",
      "r746",
      "r747",
      "r748",
      "r749",
      "r750",
      "r751",
      "r752"
     ]
    },
    "us-gaap_DisaggregationOfRevenueTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DisaggregationOfRevenueTableTextBlock",
     "presentation": [
      "http://castormaritime.com/role/TotalVesselRevenuesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Vessel Revenues",
        "label": "Disaggregation of Revenue [Table Text Block]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r842"
     ]
    },
    "us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/DiscontinuedOperationsDetails": {
       "parentTag": "us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity",
       "weight": 1.0,
       "order": 1.0
      },
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails": {
       "parentTag": "ctrm_IncomeLossFromContinuingOperationsAndDiscontinuedOperationsBeforeIncomeTaxes",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net (loss) / income and comprehensive (loss)/ income from discontinued operations, before taxes",
        "terseLabel": "Net (loss) / income and Comprehensive (loss) / income from discontinued operations, before taxes",
        "label": "Discontinued Operation, Income (Loss) from Discontinued Operation, before Income Tax",
        "documentation": "Amount before tax of income (loss) from a discontinued operation. Includes, but is not limited to, the income (loss) from operations during the phase-out period, gain (loss) on disposal, gain (loss) for reversal of write-down (write-down) to fair value, less cost to sell, and adjustments to a prior period gain (loss) on disposal."
       }
      }
     },
     "auth_ref": [
      "r101",
      "r102",
      "r103",
      "r104",
      "r105",
      "r111",
      "r136",
      "r862"
     ]
    },
    "us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationNetOfTaxPerBasicShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DiscontinuedOperationIncomeLossFromDiscontinuedOperationNetOfTaxPerBasicShare",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/EarningsPerCommonShareDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "(Loss) / Earnings per common share, basic, discontinued operations (in dollars per share)",
        "terseLabel": "(Loss) / Earnings per common share, basic, discontinued operations (in dollars per share)",
        "documentation": "Per basic share amount, after tax, of income (loss) from the day-to-day business activities of the discontinued operation."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationNetOfTaxPerDilutedShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DiscontinuedOperationIncomeLossFromDiscontinuedOperationNetOfTaxPerDilutedShare",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/EarningsPerCommonShareDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "(Loss) / Earnings per common share, diluted, discontinued operations (in dollars per share)",
        "terseLabel": "(Loss) / Earnings per common share, diluted, discontinued operations (in dollars per share)",
        "documentation": "Per diluted share amount, after tax, of income (loss) from the day-to-day business activities of the discontinued operation."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DiscontinuedOperationTaxEffectOfDiscontinuedOperation",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/DiscontinuedOperationsDetails": {
       "parentTag": "us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity",
       "weight": -1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Income taxes",
        "label": "Discontinued Operation, Tax Effect of Discontinued Operation",
        "documentation": "Amount of tax expense (benefit) related to a discontinued operation. Includes, but is not limited to, tax expense (benefit) related to income (loss) from operations during the phase-out period, tax expense (benefit) related to gain (loss) on disposal, tax expense (benefit) related to gain (loss) for reversal of write-down (write-down) to fair value, less cost to sell, and tax expense (benefit) related to adjustments of a prior period gain (loss) on disposal."
       }
      }
     },
     "auth_ref": [
      "r102",
      "r103",
      "r104",
      "r105",
      "r111",
      "r116",
      "r474",
      "r481",
      "r483"
     ]
    },
    "us-gaap_DiscontinuedOperationsAndDisposalGroupsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DiscontinuedOperationsAndDisposalGroupsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Discontinued operations [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DiscontinuedOperationsPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DiscontinuedOperationsPolicyTextBlock",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Discontinued Operations",
        "label": "Discontinued Operations, Policy [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for discontinued operations. Includes, but is not limited to, method of interest allocation to a discontinued operation."
       }
      }
     },
     "auth_ref": [
      "r14",
      "r27"
     ]
    },
    "us-gaap_DisposalGroupClassificationAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DisposalGroupClassificationAxis",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disposal Group Classification [Axis]",
        "documentation": "Information by disposal group classification."
       }
      }
     },
     "auth_ref": [
      "r222"
     ]
    },
    "us-gaap_DisposalGroupClassificationDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DisposalGroupClassificationDomain",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disposal Group Classification [Domain]",
        "documentation": "Component or group of components disposed of, including but not limited to, disposal group held-for-sale or disposed of by sale, disposed of by means other than sale, and discontinued operations."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsNotesAndLoansReceivableNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DisposalGroupIncludingDiscontinuedOperationAccountsNotesAndLoansReceivableNet",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/DiscontinuedOperationsDetails": {
       "parentTag": "us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounts receivable trade, net",
        "documentation": "Amount classified as accounts, notes and loans receivable attributable to disposal group held for sale or disposed of."
       }
      }
     },
     "auth_ref": [
      "r4",
      "r97",
      "r114",
      "r158"
     ]
    },
    "us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayableCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DisposalGroupIncludingDiscontinuedOperationAccountsPayableCurrent",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/DiscontinuedOperationsDetails": {
       "parentTag": "us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounts payable",
        "documentation": "Amount classified as accounts payable attributable to disposal group held for sale or disposed of, expected to be disposed of within one year or the normal operating cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r4",
      "r97",
      "r114",
      "r156",
      "r158"
     ]
    },
    "us-gaap_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilitiesCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DisposalGroupIncludingDiscontinuedOperationAccruedLiabilitiesCurrent",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/DiscontinuedOperationsDetails": {
       "parentTag": "us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accrued liabilities",
        "documentation": "Amount classified as accrued liabilities attributable to disposal group held for sale or disposed of, expected to be disposed of within one year or the normal operating cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r4",
      "r97",
      "r114",
      "r156",
      "r158"
     ]
    },
    "us-gaap_DisposalGroupIncludingDiscontinuedOperationAssetsNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DisposalGroupIncludingDiscontinuedOperationAssetsNoncurrent",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0,
       "order": 11.0
      },
      "http://castormaritime.com/role/DiscontinuedOperationsDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Non-current assets of discontinued operations",
        "totalLabel": "Total non-current assets of discontinued operations",
        "label": "Disposal Group, Including Discontinued Operation, Assets, Noncurrent",
        "documentation": "Amount classified as assets attributable to disposal group held for sale or disposed of, expected to be disposed of after one year or the normal operating cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r4",
      "r5",
      "r97",
      "r114",
      "r158",
      "r222",
      "r223"
     ]
    },
    "us-gaap_DisposalGroupIncludingDiscontinuedOperationBalanceSheetDisclosuresAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DisposalGroupIncludingDiscontinuedOperationBalanceSheetDisclosuresAbstract",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Discontinued Operation, Balance Sheet [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DisposalGroupIncludingDiscontinuedOperationCashAndCashEquivalents": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DisposalGroupIncludingDiscontinuedOperationCashAndCashEquivalents",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/DiscontinuedOperationsDetails": {
       "parentTag": "us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash and cash equivalents",
        "documentation": "Amount classified as cash and cash equivalents attributable to disposal group held for sale or disposed of."
       }
      }
     },
     "auth_ref": [
      "r4",
      "r97",
      "r114",
      "r158"
     ]
    },
    "ctrm_DisposalGroupIncludingDiscontinuedOperationDeferredChargesNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "DisposalGroupIncludingDiscontinuedOperationDeferredChargesNoncurrent",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/DiscontinuedOperationsDetails": {
       "parentTag": "us-gaap_DisposalGroupIncludingDiscontinuedOperationAssetsNoncurrent",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount classified as deferred charges, net attributable to disposal group held for sale or disposed of.",
        "label": "Disposal Group, Including Discontinued Operation, Deferred Charges, Noncurrent",
        "terseLabel": "Deferred charges, net"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DisposalGroupIncludingDiscontinuedOperationDepreciationAndAmortization": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DisposalGroupIncludingDiscontinuedOperationDepreciationAndAmortization",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/DiscontinuedOperationsDetails": {
       "parentTag": "us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingExpense",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Depreciation and amortization",
        "label": "Disposal Group, Including Discontinued Operation, Depreciation and Amortization",
        "documentation": "Amount of depreciation and amortization expense attributable to disposal group, including, but not limited to, discontinued operation."
       }
      }
     },
     "auth_ref": [
      "r112"
     ]
    },
    "ctrm_DisposalGroupIncludingDiscontinuedOperationExpensesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "DisposalGroupIncludingDiscontinuedOperationExpensesAbstract",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disposal Group, Including Discontinued Operation, Expenses [Abstract]",
        "terseLabel": "EXPENSES:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DisposalGroupIncludingDiscontinuedOperationForeignCurrencyTranslationGainsLosses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DisposalGroupIncludingDiscontinuedOperationForeignCurrencyTranslationGainsLosses",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/DiscontinuedOperationsDetails": {
       "parentTag": "ctrm_DisposalGroupIncludingDiscontinuedOperationOtherExpensesIncomeNet",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Foreign exchange losses / (gains)",
        "documentation": "Amount of foreign currency translation gain (loss) in the disposal group, including discontinued operation, recognized in the statement of income as a result of the sale or complete or substantially complete liquidation of an investment in a foreign entity."
       }
      }
     },
     "auth_ref": [
      "r85"
     ]
    },
    "ctrm_DisposalGroupIncludingDiscontinuedOperationGainLossOnSaleOfVessel": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "DisposalGroupIncludingDiscontinuedOperationGainLossOnSaleOfVessel",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/DiscontinuedOperationsDetails": {
       "parentTag": "us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingExpense",
       "weight": -1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain (loss) on sale or disposal of property, plant and equipment assets attributable to disposal group, including, but not limited to, discontinued operation.",
        "label": "Disposal Group, Including Discontinued Operation, Gain (Loss) on Sale of Vessel",
        "terseLabel": "Gain on sale of vessel"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DisposalGroupIncludingDiscontinuedOperationInterestExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DisposalGroupIncludingDiscontinuedOperationInterestExpense",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/DiscontinuedOperationsDetails": {
       "parentTag": "ctrm_DisposalGroupIncludingDiscontinuedOperationOtherExpensesIncomeNet",
       "weight": -1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Interest and finance costs",
        "label": "Disposal Group, Including Discontinued Operation, Interest Expense",
        "documentation": "Amount of interest expense attributable to disposal group, including, but not limited to, discontinued operation."
       }
      }
     },
     "auth_ref": [
      "r24",
      "r25",
      "r27",
      "r112"
     ]
    },
    "us-gaap_DisposalGroupIncludingDiscontinuedOperationInterestIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DisposalGroupIncludingDiscontinuedOperationInterestIncome",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/DiscontinuedOperationsDetails": {
       "parentTag": "ctrm_DisposalGroupIncludingDiscontinuedOperationOtherExpensesIncomeNet",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest income",
        "label": "Disposal Group, Including Discontinued Operation, Interest Income",
        "documentation": "Amount of interest income attributable to disposal group, including, but not limited to, discontinued operation."
       }
      }
     },
     "auth_ref": [
      "r112"
     ]
    },
    "us-gaap_DisposalGroupIncludingDiscontinuedOperationInventoryCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DisposalGroupIncludingDiscontinuedOperationInventoryCurrent",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/DiscontinuedOperationsDetails": {
       "parentTag": "us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Inventories",
        "documentation": "Amount classified as inventory attributable to disposal group, expected to be disposed of within one year or the normal operating cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r4",
      "r97",
      "r114",
      "r156",
      "r158"
     ]
    },
    "ctrm_DisposalGroupIncludingDiscontinuedOperationLongTermNetCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "DisposalGroupIncludingDiscontinuedOperationLongTermNetCurrent",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/DiscontinuedOperationsDetails": {
       "parentTag": "us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount classified as long-term debt current attributable to disposal group held for sale or disposed of.",
        "label": "Disposal Group, Including Discontinued Operation, Long-term. Net, Current",
        "terseLabel": "Current portion of long-term debt, net"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_DisposalGroupIncludingDiscontinuedOperationLongTermNetNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "DisposalGroupIncludingDiscontinuedOperationLongTermNetNoncurrent",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/DiscontinuedOperationsDetails": {
       "parentTag": "us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationNoncurrent",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount classified as long-term debt non-current attributable to disposal group held for sale or disposed of.",
        "label": "Disposal Group, Including Discontinued Operation, Long-term. Net, Noncurrent",
        "terseLabel": "Long-term debt, net"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DisposalGroupIncludingDiscontinuedOperationOperatingExpense",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/DiscontinuedOperationsDetails": {
       "parentTag": "us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingIncomeLoss",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTotalLabel": "Total expenses",
        "label": "Disposal Group, Including Discontinued Operation, Operating Expense",
        "documentation": "Amount of operating expense attributable to disposal group, including, but not limited to, discontinued operation."
       }
      }
     },
     "auth_ref": [
      "r112"
     ]
    },
    "us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingIncomeLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DisposalGroupIncludingDiscontinuedOperationOperatingIncomeLoss",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/DiscontinuedOperationsDetails": {
       "parentTag": "us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Operating income",
        "label": "Disposal Group, Including Discontinued Operation, Operating Income (Loss)",
        "documentation": "Amount of operating income (loss) attributable to disposal group, including, but not limited to, discontinued operation."
       }
      }
     },
     "auth_ref": [
      "r112"
     ]
    },
    "ctrm_DisposalGroupIncludingDiscontinuedOperationOtherExpensesIncomeNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "DisposalGroupIncludingDiscontinuedOperationOtherExpensesIncomeNet",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/DiscontinuedOperationsDetails": {
       "parentTag": "us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of other (expenses) and income, net attributable to disposal group, including, but not limited to, discontinued operation.",
        "label": "Disposal Group, Including Discontinued Operation, Other (Expenses)/ Income, Net",
        "totalLabel": "Total other (expenses)/income, net"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_DisposalGroupIncludingDiscontinuedOperationOtherIncomeExpensesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "DisposalGroupIncludingDiscontinuedOperationOtherIncomeExpensesAbstract",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disposal Group, Including Discontinued Operation, Other Income Expenses [Abstract]",
        "terseLabel": "OTHER INCOME/(EXPENSES):"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_DisposalGroupIncludingDiscontinuedOperationOtherReceivablesNetCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "DisposalGroupIncludingDiscontinuedOperationOtherReceivablesNetCurrent",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/DiscontinuedOperationsDetails": {
       "parentTag": "us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount classified as other receivable attributable to disposal group, classified as other, due within one year or the operating cycle, if longer.",
        "label": "Disposal Group, Including Discontinued Operation, Other Receivables Net Current",
        "terseLabel": "Due from related parties"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_DisposalGroupIncludingDiscontinuedOperationOtherReceivablesNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "DisposalGroupIncludingDiscontinuedOperationOtherReceivablesNoncurrent",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/DiscontinuedOperationsDetails": {
       "parentTag": "us-gaap_DisposalGroupIncludingDiscontinuedOperationAssetsNoncurrent",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount classified as other receivable noncurrent attributable to disposal group, classified as other, due within one year or the operating cycle, if longer.",
        "label": "Disposal Group, Including Discontinued Operation, Other Receivables, Noncurrent",
        "terseLabel": "Due from related parties"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DisposalGroupIncludingDiscontinuedOperationPrepaidAndOtherAssetsCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DisposalGroupIncludingDiscontinuedOperationPrepaidAndOtherAssetsCurrent",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/DiscontinuedOperationsDetails": {
       "parentTag": "us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Prepaid expenses and other assets",
        "label": "Disposal Group, Including Discontinued Operation, Prepaid and Other Assets, Current",
        "documentation": "Amount classified as prepaid and other assets attributable to disposal group held for sale or disposed of, expected to be disposed of within one year or the normal operating cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r4",
      "r97",
      "r114",
      "r156",
      "r158"
     ]
    },
    "ctrm_DisposalGroupIncludingDiscontinuedOperationPrepaidAndOtherAssetsNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "DisposalGroupIncludingDiscontinuedOperationPrepaidAndOtherAssetsNoncurrent",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/DiscontinuedOperationsDetails": {
       "parentTag": "us-gaap_DisposalGroupIncludingDiscontinuedOperationAssetsNoncurrent",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount classified as prepaid and other assets non current, attributable to disposal group held for sale or disposed of, expected to be disposed of within one year or the normal operating cycle, if longer.",
        "label": "Disposal Group, Including Discontinued Operation, Prepaid and Other Assets, Noncurrent",
        "terseLabel": "Prepaid expenses and other assets"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_DisposalGroupIncludingDiscontinuedOperationRecoveryOfProvisionForDoubtfulAccounts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "DisposalGroupIncludingDiscontinuedOperationRecoveryOfProvisionForDoubtfulAccounts",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/DiscontinuedOperationsDetails": {
       "parentTag": "us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingExpense",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of recovery of provision for doubtful accounts attributable to disposal group, including, but not limited to, discontinued operation.",
        "label": "Disposal Group, Including Discontinued Operation, Recovery of Provision for Doubtful Accounts",
        "negatedLabel": "(Provision) / Recovery of provision for doubtful accounts"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_DisposalGroupIncludingDiscontinuedOperationRelatedPartyTransactionManagementFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "DisposalGroupIncludingDiscontinuedOperationRelatedPartyTransactionManagementFees",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/DiscontinuedOperationsDetails": {
       "parentTag": "us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingExpense",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of related party transaction management fees attributable to disposal group, including, but not limited to, discontinued operation.",
        "label": "Disposal Group, Including Discontinued Operation, Related Party Transaction Management Fees",
        "negatedLabel": "Management fees to related parties"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_DisposalGroupIncludingDiscontinuedOperationRestrictedCashNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "DisposalGroupIncludingDiscontinuedOperationRestrictedCashNoncurrent",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/DiscontinuedOperationsDetails": {
       "parentTag": "us-gaap_DisposalGroupIncludingDiscontinuedOperationAssetsNoncurrent",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount classified as restricted cash, non current attributable to disposal group held for sale or disposed of.",
        "label": "Disposal Group, Including Discontinued Operation, Restricted Cash, Noncurrent",
        "terseLabel": "Restricted cash"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DisposalGroupIncludingDiscontinuedOperationRevenue",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/DiscontinuedOperationsDetails": {
       "parentTag": "us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingIncomeLoss",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Vessel revenues",
        "documentation": "Amount of revenue attributable to disposal group, including, but not limited to, discontinued operation."
       }
      }
     },
     "auth_ref": [
      "r112",
      "r223"
     ]
    },
    "ctrm_DisposalGroupIncludingDiscontinuedOperationRevenueAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "DisposalGroupIncludingDiscontinuedOperationRevenueAbstract",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disposal Group, Including Discontinued Operation, Revenue [Abstract]",
        "terseLabel": "REVENUES [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_DisposalGroupIncludingDiscontinuedOperationVesselOperatingExpenses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "DisposalGroupIncludingDiscontinuedOperationVesselOperatingExpenses",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/DiscontinuedOperationsDetails": {
       "parentTag": "us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingExpense",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of voyage operating expense attributable to disposal group, including, but not limited to, discontinued operation.",
        "label": "Disposal Group, Including Discontinued Operation, Vessel Operating Expenses",
        "negatedLabel": "Vessel operating expenses"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_DisposalGroupIncludingDiscontinuedOperationVesselsNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "DisposalGroupIncludingDiscontinuedOperationVesselsNoncurrent",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/DiscontinuedOperationsDetails": {
       "parentTag": "us-gaap_DisposalGroupIncludingDiscontinuedOperationAssetsNoncurrent",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount classified as vessels attributable to disposal group held for sale or disposed of.",
        "label": "Disposal Group, Including Discontinued Operation, Vessels, Noncurrent",
        "terseLabel": "Vessels, net"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_DisposalGroupIncludingDiscontinuedOperationVoyageExpenses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "DisposalGroupIncludingDiscontinuedOperationVoyageExpenses",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/DiscontinuedOperationsDetails": {
       "parentTag": "us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingExpense",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of voyage expense attributable to disposal group, including, but not limited to, discontinued operation.",
        "label": "Disposal Group, Including Discontinued Operation, Voyage Expenses",
        "negatedLabel": "Voyage expenses (including $372,037, $1,437,276, and $294,831 to related party for the years ended December 31, 2021, 2022 and for the period January 1, 2023 through March 7, 2023)"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_DisposalGroupIncludingDiscontinuedOperationVoyageExpensesToRelatedParty": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "DisposalGroupIncludingDiscontinuedOperationVoyageExpensesToRelatedParty",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of voyage expenses to related party expense attributable to disposal group, including, but not limited to, discontinued operation",
        "label": "Disposal Group, Including Discontinued Operation, Voyage Expenses to Related Party",
        "terseLabel": "Voyage expenses, related party"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DisposalGroupNotDiscontinuedOperationIncomeStatementDisclosuresAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DisposalGroupNotDiscontinuedOperationIncomeStatementDisclosuresAbstract",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Discontinued Operation, Comprehensive Income Statement [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperations"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Discontinued operations",
        "documentation": "The entire disclosure related to a disposal group. Includes, but is not limited to, a discontinued operation, disposal classified as held-for-sale or disposed of by means other than sale or disposal of an individually significant component."
       }
      }
     },
     "auth_ref": [
      "r96",
      "r153"
     ]
    },
    "us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DisposalGroupsIncludingDiscontinuedOperationsNameDomain",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disposal Group Name [Domain]",
        "documentation": "Name of disposal group."
       }
      }
     },
     "auth_ref": [
      "r756",
      "r757"
     ]
    },
    "ctrm_DistributionOfNetAssetsToShareholders": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "DistributionOfNetAssetsToShareholders",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net assets of related party distributed to shareholders.",
        "label": "Distribution of Net Assets to Shareholders",
        "totalLabel": "Distribution of net assets of Toro to the Company's shareholders"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_DividendMultiplierFactor": {
     "xbrltype": "pureItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "DividendMultiplierFactor",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage multiplier factor applied to the prior quarterly dividend period for each dividend period commencing on or after the reset date, the seventh anniversary.",
        "label": "Dividend Multiplier Factor",
        "terseLabel": "Dividend multiplier factor"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DividendPayableDateToBePaidDayMonthAndYear": {
     "xbrltype": "dateItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DividendPayableDateToBePaidDayMonthAndYear",
     "presentation": [
      "http://castormaritime.com/role/SubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend paid, date",
        "documentation": "Date the declared dividend will be paid, in YYYY-MM-DD format."
       }
      }
     },
     "auth_ref": [
      "r44"
     ]
    },
    "ctrm_DividendsAccumulatedDueOrOverdue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "DividendsAccumulatedDueOrOverdue",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureSeriesPreferredSharesRedemptionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of dividends accumulated, due or overdue.",
        "label": "Dividends Accumulated, Due or Overdue",
        "terseLabel": "Accumulated, due or overdue dividends"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DividendsPayableCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DividendsPayableCurrent",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesIssuanceOfSeriesDPreferredSharesToToroCorpDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accrued dividends",
        "terseLabel": "Dividend payable",
        "documentation": "Carrying value as of the balance sheet date of dividends declared but unpaid on equity securities issued by the entity and outstanding. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer)."
       }
      }
     },
     "auth_ref": [
      "r29"
     ]
    },
    "us-gaap_DividendsPayableCurrentAndNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DividendsPayableCurrentAndNoncurrent",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Dividend declared but unpaid",
        "label": "Dividends Payable",
        "documentation": "Carrying value as of the balance sheet date of dividends declared but unpaid on equity securities issued by the entity and outstanding."
       }
      }
     },
     "auth_ref": [
      "r123",
      "r125",
      "r176",
      "r770",
      "r859"
     ]
    },
    "us-gaap_DividendsPayableDateDeclaredDayMonthAndYear": {
     "xbrltype": "dateItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DividendsPayableDateDeclaredDayMonthAndYear",
     "presentation": [
      "http://castormaritime.com/role/SubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend declared, date",
        "documentation": "Date the dividend to be paid was declared, in YYYY-MM-DD format."
       }
      }
     },
     "auth_ref": [
      "r44"
     ]
    },
    "us-gaap_DividendsPreferredStockCash": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DividendsPreferredStockCash",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Dividend on Series D Preferred Shares",
        "label": "Dividends, Preferred Stock, Cash",
        "documentation": "Amount of paid and unpaid preferred stock dividends declared with the form of settlement in cash."
       }
      }
     },
     "auth_ref": [
      "r8",
      "r167"
     ]
    },
    "dei_DocumentAccountingStandard": {
     "xbrltype": "accountingStandardItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentAccountingStandard",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Accounting Standard",
        "documentation": "The basis of accounting the registrant has used to prepare the financial statements included in this filing This can either be 'U.S. GAAP', 'International Financial Reporting Standards', or 'Other'."
       }
      }
     },
     "auth_ref": [
      "r778"
     ]
    },
    "dei_DocumentAnnualReport": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentAnnualReport",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Annual Report",
        "documentation": "Boolean flag that is true only for a form used as an annual report."
       }
      }
     },
     "auth_ref": [
      "r777",
      "r778",
      "r779"
     ]
    },
    "dei_DocumentFinStmtErrorCorrectionFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentFinStmtErrorCorrectionFlag",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Financial Statement Error Correction [Flag]",
        "documentation": "Indicates whether any of the financial statement period in the filing include a restatement due to error correction."
       }
      }
     },
     "auth_ref": [
      "r777",
      "r778",
      "r779",
      "r781"
     ]
    },
    "dei_DocumentFiscalPeriodFocus": {
     "xbrltype": "fiscalPeriodItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentFiscalPeriodFocus",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Fiscal Period Focus",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentFiscalYearFocus": {
     "xbrltype": "gYearItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentFiscalYearFocus",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Fiscal Year Focus",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentPeriodEndDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentPeriodEndDate",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Period End Date",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentRegistrationStatement": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentRegistrationStatement",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Registration Statement",
        "documentation": "Boolean flag that is true only for a form used as a registration statement."
       }
      }
     },
     "auth_ref": [
      "r773"
     ]
    },
    "dei_DocumentShellCompanyReport": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentShellCompanyReport",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Shell Company Report",
        "documentation": "Boolean flag that is true for a Shell Company Report pursuant to section 13 or 15(d) of the Exchange Act."
       }
      }
     },
     "auth_ref": [
      "r778"
     ]
    },
    "dei_DocumentTransitionReport": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentTransitionReport",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Transition Report",
        "documentation": "Boolean flag that is true only for a form used as a transition report."
       }
      }
     },
     "auth_ref": [
      "r780"
     ]
    },
    "dei_DocumentType": {
     "xbrltype": "submissionTypeItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentType",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Type",
        "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'."
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_DraxShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "DraxShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Drax Shipping Co [Member]",
        "terseLabel": "Drax Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_DryBulkCarrierMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "DryBulkCarrierMember",
     "presentation": [
      "http://castormaritime.com/role/DeferredChargesNetDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A vessel designed to carry dry cargoes in bulk.",
        "label": "Dry Bulk Carrier [Member]",
        "verboseLabel": "Dry Bulk Vessels [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_DryBulkSegmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "DryBulkSegmentMember",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Provides dry bulk commodities transportation services.",
        "label": "Dry Bulk Segment [Member]",
        "terseLabel": "Dry Bulk Segment [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_EagleBulkShippingIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "EagleBulkShippingIncMember",
     "presentation": [
      "http://castormaritime.com/role/InvestmentInEquitySecuritiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Subsidiary entity.",
        "label": "Eagle Bulk Shipping Inc [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EarningsPerShareAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EarningsPerShareAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings Per Common Share [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EarningsPerShareBasic": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EarningsPerShareBasic",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/EarningsPerCommonShareDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings per common share, basic, Total (in dollars per share)",
        "verboseLabel": "Earnings per common share, basic, Total (in dollars per share)",
        "documentation": "The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period."
       }
      }
     },
     "auth_ref": [
      "r249",
      "r274",
      "r275",
      "r276",
      "r277",
      "r278",
      "r284",
      "r287",
      "r295",
      "r296",
      "r297",
      "r301",
      "r499",
      "r500",
      "r559",
      "r576",
      "r735"
     ]
    },
    "us-gaap_EarningsPerShareDiluted": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EarningsPerShareDiluted",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/EarningsPerCommonShareDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings per common share, diluted, Total (in dollars per share)",
        "verboseLabel": "Earnings per common share, diluted, Total (in dollars per share)",
        "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."
       }
      }
     },
     "auth_ref": [
      "r249",
      "r274",
      "r275",
      "r276",
      "r277",
      "r278",
      "r287",
      "r295",
      "r296",
      "r297",
      "r301",
      "r499",
      "r500",
      "r559",
      "r576",
      "r735"
     ]
    },
    "us-gaap_EarningsPerShareDilutedLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EarningsPerShareDilutedLineItems",
     "presentation": [
      "http://castormaritime.com/role/EarningsPerCommonShareDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Earnings Per Share [Line Items]",
        "label": "Earnings Per Share, Diluted, by Common Class, Including Two Class Method [Line Items]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r287",
      "r288",
      "r295"
     ]
    },
    "us-gaap_EarningsPerSharePolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EarningsPerSharePolicyTextBlock",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Earnings/ (Losses) per Common Share",
        "label": "Earnings Per Share, Policy [Policy Text Block]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r49",
      "r50"
     ]
    },
    "us-gaap_EarningsPerShareTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EarningsPerShareTextBlock",
     "presentation": [
      "http://castormaritime.com/role/EarningsPerCommonShare"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings Per Common Share",
        "documentation": "The entire disclosure for earnings per share."
       }
      }
     },
     "auth_ref": [
      "r283",
      "r298",
      "r299",
      "r300"
     ]
    },
    "ctrm_ElektraShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "ElektraShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Elektra Shipping Co. [Member]",
        "terseLabel": "Elektra Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_EntitiesComprisingDiscontinuedOperationsAsPartOfSpinOffTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "EntitiesComprisingDiscontinuedOperationsAsPartOfSpinOffTableTextBlock",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of information regarding subsidiaries entities comprising the discontinued operations as part of the spin-off.",
        "label": "Entities Comprising Discontinued Operations as Part of Spin-off [Table Text Block]",
        "terseLabel": "Entities Comprising Discontinued Operations as Part of Spin-Off"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressAddressLine1": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityAddressAddressLine1",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, Address Line One",
        "documentation": "Address Line 1 such as Attn, Building Name, Street Name"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressAddressLine2": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityAddressAddressLine2",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, Address Line Two",
        "documentation": "Address Line 2 such as Street or Suite number"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressCityOrTown": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityAddressCityOrTown",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, City or Town",
        "documentation": "Name of the City or Town"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressCountry": {
     "xbrltype": "countryCodeItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityAddressCountry",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, Country",
        "documentation": "ISO 3166-1 alpha-2 country code."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressPostalZipCode": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityAddressPostalZipCode",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, Postal Zip Code",
        "documentation": "Code for the postal or zip code"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressesAddressTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityAddressesAddressTypeAxis",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Addresses, Address Type [Axis]",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_EntityBeneficiallyOwnedByFamilyMemberOfPetrosPanagiotidisMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "EntityBeneficiallyOwnedByFamilyMemberOfPetrosPanagiotidisMember",
     "presentation": [
      "http://castormaritime.com/role/SubsequentEventsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDisposalsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Entity beneficially owned by family member of Petros Panagiotidis, the Company's Chairman, Chief Executive Officer and Chief Financial Officer.",
        "label": "Entity Beneficially Owned by Family Member of Petros Panagiotidis [Member]",
        "terseLabel": "Entity Beneficially Owned by Family Member of Petros Panagiotidis [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityCentralIndexKey": {
     "xbrltype": "centralIndexKeyItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityCentralIndexKey",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Central Index Key",
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK."
       }
      }
     },
     "auth_ref": [
      "r775"
     ]
    },
    "dei_EntityCommonStockSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityCommonStockSharesOutstanding",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Common Stock, Shares Outstanding",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityCurrentReportingStatus": {
     "xbrltype": "yesNoItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityCurrentReportingStatus",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Current Reporting Status",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityDomain",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity [Domain]",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityEmergingGrowthCompany": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityEmergingGrowthCompany",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Emerging Growth Company",
        "documentation": "Indicate if registrant meets the emerging growth company criteria."
       }
      }
     },
     "auth_ref": [
      "r775"
     ]
    },
    "dei_EntityFileNumber": {
     "xbrltype": "fileNumberItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityFileNumber",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity File Number",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityFilerCategory": {
     "xbrltype": "filerCategoryItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityFilerCategory",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Filer Category",
        "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."
       }
      }
     },
     "auth_ref": [
      "r775"
     ]
    },
    "dei_EntityIncorporationStateCountryCode": {
     "xbrltype": "edgarStateCountryItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityIncorporationStateCountryCode",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Incorporation, State or Country Code",
        "terseLabel": "Country of incorporation",
        "documentation": "Two-character EDGAR code representing the state or country of incorporation."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityInteractiveDataCurrent": {
     "xbrltype": "yesNoItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityInteractiveDataCurrent",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Interactive Data Current",
        "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)."
       }
      }
     },
     "auth_ref": [
      "r782"
     ]
    },
    "dei_EntityListingsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityListingsLineItems",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Listings [Line Items]",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityListingsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityListingsTable",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Listings [Table]",
        "documentation": "Container for exchange listing information for an entity"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityRegistrantName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityRegistrantName",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Registrant Name",
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC."
       }
      }
     },
     "auth_ref": [
      "r775"
     ]
    },
    "dei_EntityShellCompany": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityShellCompany",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Shell Company",
        "documentation": "Boolean flag that is true when the registrant is a shell company as defined in Rule 12b-2 of the Exchange Act."
       }
      }
     },
     "auth_ref": [
      "r775"
     ]
    },
    "dei_EntityVoluntaryFilers": {
     "xbrltype": "yesNoItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityVoluntaryFilers",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Voluntary Filers",
        "documentation": "Indicate 'Yes' or 'No' if the registrant is not required to file reports pursuant to Section 13 or Section 15(d) of the Act."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityWellKnownSeasonedIssuer": {
     "xbrltype": "yesNoItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityWellKnownSeasonedIssuer",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Well-known Seasoned Issuer",
        "documentation": "Indicate 'Yes' or 'No' if the registrant is a well-known seasoned issuer, as defined in Rule 405 of the Securities Act. Is used on Form Type: 10-K, 10-Q, 8-K, 20-F, 6-K, 10-K/A, 10-Q/A, 20-F/A, 6-K/A, N-CSR, N-Q, N-1A."
       }
      }
     },
     "auth_ref": [
      "r783"
     ]
    },
    "us-gaap_EquityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EquityAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Capital Structure [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EquityComponentDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EquityComponentDomain",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity",
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructureMay2023AtthemarketCommonStockOfferingProgramDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesPreferredSharesRedemptionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Component [Domain]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r16",
      "r220",
      "r243",
      "r244",
      "r245",
      "r269",
      "r270",
      "r271",
      "r273",
      "r279",
      "r281",
      "r303",
      "r353",
      "r354",
      "r434",
      "r469",
      "r470",
      "r471",
      "r478",
      "r479",
      "r491",
      "r492",
      "r493",
      "r494",
      "r495",
      "r496",
      "r498",
      "r513",
      "r514",
      "r515",
      "r516",
      "r517",
      "r518",
      "r526",
      "r600",
      "r601",
      "r602",
      "r621",
      "r689"
     ]
    },
    "us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EquityMethodInvestmentNonconsolidatedInvesteeAxis",
     "presentation": [
      "http://castormaritime.com/role/InvestmentInEquitySecuritiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Method Investment, Nonconsolidated Investee [Axis]",
        "documentation": "Information by nonconsolidated equity method investee. Excludes information consolidated by reporting entity."
       }
      }
     },
     "auth_ref": [
      "r223",
      "r262",
      "r352",
      "r507"
     ]
    },
    "us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EquityMethodInvestmentNonconsolidatedInvesteeDomain",
     "presentation": [
      "http://castormaritime.com/role/InvestmentInEquitySecuritiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Method Investment, Nonconsolidated Investee [Domain]",
        "documentation": "Nonconsolidated equity method investee. Excludes information consolidated by reporting entity."
       }
      }
     },
     "auth_ref": [
      "r223",
      "r262",
      "r352",
      "r507"
     ]
    },
    "ctrm_EquityOfferingJuly2020Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "EquityOfferingJuly2020Member",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JulyEquityOfferingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "On July 15, 2020, the Company completed a registered direct offering with certain unaffiliated institutional investors pursuant to which it issued and sold an aggregate of 57,750,000 of its common shares at an offering price of $0.30 per common share, while, in a concurrent private placement the Company issued and sold warrants to purchase up to 57,750,000 of its common shares at an exercise price of $0.35 per common share (the \"July Equity Offering\").",
        "label": "Equity Offering, July 2020 [Member]",
        "verboseLabel": "2020 July Equity Offering [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_EquityOfferingJune2020Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "EquityOfferingJune2020Member",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "On June 23, 2020, the Company entered into an agreement with Maxim Group LLC, or Maxim, acting as underwriter pursuant to which it offered and sold 59,110,000 units, each unit consisting of (i) one common share or a pre-funded warrant to purchase one common share at an exercise price equal to $0.01 per common share (a \"Pre-Funded Warrant\"), and (ii) one Class A Warrant to purchase one common share (a \"Class A Warrant\"), for $0.35 per unit (or $0.34 per unit including a pre-funded warrant), or the June Equity Offering.",
        "label": "Equity Offering, June 2020 [Member]",
        "verboseLabel": "2020 June Equity Offering [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_EquityOwnershipPercentageExcludingConsolidatedEntityAndEquityMethodInvestee": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EquityOwnershipPercentageExcludingConsolidatedEntityAndEquityMethodInvestee",
     "presentation": [
      "http://castormaritime.com/role/InvestmentInEquitySecuritiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Percentage of shares held",
        "label": "Equity Ownership, Excluding Consolidated Entity and Equity Method Investee, Percentage",
        "documentation": "Percentage of ownership of equity interest excluding interest in entity that is consolidated and equity method investee."
       }
      }
     },
     "auth_ref": [
      "r787"
     ]
    },
    "us-gaap_EquitySecuritiesFvNi": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EquitySecuritiesFvNi",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/InvestmentInEquitySecuritiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investment in equity securities",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance",
        "label": "Equity Securities, FV-NI, Current",
        "documentation": "Amount of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI), classified as current."
       }
      }
     },
     "auth_ref": [
      "r232",
      "r506",
      "r728"
     ]
    },
    "us-gaap_EquitySecuritiesFvNiGainLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EquitySecuritiesFvNiGainLoss",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome": {
       "parentTag": "us-gaap_NonoperatingIncomeExpense",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gains on equity securities",
        "documentation": "Amount of unrealized and realized gain (loss) on investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI)."
       }
      }
     },
     "auth_ref": [
      "r579",
      "r823"
     ]
    },
    "us-gaap_EquitySecuritiesFvNiRealizedGain": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EquitySecuritiesFvNiRealizedGain",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations",
       "weight": -1.0,
       "order": 16.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows",
      "http://castormaritime.com/role/InvestmentInEquitySecuritiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Realized gain on sale of equity securities",
        "terseLabel": "Gain on sale of equity securities",
        "label": "Equity Securities, FV-NI, Realized Gain",
        "documentation": "Amount of realized gain from sale of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI)."
       }
      }
     },
     "auth_ref": [
      "r823"
     ]
    },
    "us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EquitySecuritiesFvNiUnrealizedGainLoss",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations",
       "weight": -1.0,
       "order": 15.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows",
      "http://castormaritime.com/role/InvestmentInEquitySecuritiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Unrealized gains on equity securities",
        "terseLabel": "Unrealized gain on equity securities revalued at fair value at end of the period",
        "label": "Equity Securities, FV-NI, Unrealized Gain (Loss)",
        "documentation": "Amount of unrealized gain (loss) on investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI)."
       }
      }
     },
     "auth_ref": [
      "r578",
      "r823"
     ]
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Valuation Methodology and Significant Other Observable Inputs",
        "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."
       }
      }
     },
     "auth_ref": [
      "r17"
     ]
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Hierarchy and NAV [Axis]",
        "documentation": "Information by level within fair value hierarchy and fair value measured at net asset value per share as practical expedient."
       }
      }
     },
     "auth_ref": [
      "r404",
      "r457",
      "r458",
      "r459",
      "r460",
      "r461",
      "r462",
      "r502",
      "r539",
      "r540",
      "r541",
      "r741",
      "r742",
      "r753",
      "r754",
      "r755"
     ]
    },
    "us-gaap_FairValueDisclosuresAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueDisclosuresAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Instruments and Fair Value Disclosures [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueDisclosuresTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueDisclosuresTextBlock",
     "presentation": [
      "http://castormaritime.com/role/FinancialInstrumentsAndFairValueDisclosures"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Financial Instruments and Fair Value Disclosures",
        "label": "Fair Value Disclosures [Text Block]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r501"
     ]
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueInputsLevel3Member",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Level 3 [Member]",
        "label": "Fair Value, Inputs, Level 3 [Member]",
        "documentation": "Unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing."
       }
      }
     },
     "auth_ref": [
      "r404",
      "r457",
      "r458",
      "r459",
      "r460",
      "r461",
      "r462",
      "r502",
      "r541",
      "r741",
      "r742",
      "r753",
      "r754",
      "r755"
     ]
    },
    "us-gaap_FairValueMeasurementPolicyPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueMeasurementPolicyPolicyTextBlock",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value Measurements",
        "label": "Fair Value Measurement, Policy [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for fair value measurements of financial and non-financial assets, liabilities and instruments classified in shareholders' equity. Disclosures include, but are not limited to, how an entity that manages a group of financial assets and liabilities on the basis of its net exposure measures the fair value of those assets and liabilities."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Hierarchy and NAV [Domain]",
        "documentation": "Categories used to prioritize the inputs to valuation techniques to measure fair value."
       }
      }
     },
     "auth_ref": [
      "r404",
      "r457",
      "r458",
      "r459",
      "r460",
      "r461",
      "r462",
      "r539",
      "r540",
      "r541",
      "r741",
      "r742",
      "r753",
      "r754",
      "r755"
     ]
    },
    "us-gaap_FairValueOfFinancialInstrumentsPolicy": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueOfFinancialInstrumentsPolicy",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accounting for Financial Instruments",
        "label": "Fair Value of Financial Instruments, Policy [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for determining the fair value of financial instruments."
       }
      }
     },
     "auth_ref": [
      "r13",
      "r21"
     ]
    },
    "ctrm_FiniteLivedIntangibleAssetOffMarketLeaseFavorableNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "FiniteLivedIntangibleAssetOffMarketLeaseFavorableNet",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/FairValueOfAcquiredTimeChartersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after accumulated amortization of the identifiable intangible asset established upon acquisition based on a favorable difference between the terms of an acquired lease and the current market terms for that lease at the acquisition date.",
        "label": "Finite Lived Intangible Asset Off Market Lease Favorable, Net",
        "terseLabel": "Fair value of acquired time charters"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_FirstRegisteredDirectEquityOffering2021Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "FirstRegisteredDirectEquityOffering2021Member",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2021FirstRegisteredDirectEquityOfferingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "On December 30, 2020, the Company entered into agreements with certain unaffiliated institutional investors pursuant to which it offered and sold 9,475,000 common shares and warrants to purchase up to 9,475,000 common shares (the \"January 5 Warrants\") in a registered direct offering or the 2021 First Registered Direct Equity Offering.",
        "label": "First Registered Direct Equity Offering 2021 [Member]",
        "terseLabel": "2021 First Registered Direct Equity Offering [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ForeignCurrencyTransactionGainLossBeforeTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ForeignCurrencyTransactionGainLossBeforeTax",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome": {
       "parentTag": "us-gaap_NonoperatingIncomeExpense",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Foreign exchange gains / (losses)",
        "label": "Foreign exchange (losses)/gains",
        "documentation": "Amount, before tax, of realized and unrealized gain (loss) from foreign currency transaction."
       }
      }
     },
     "auth_ref": [
      "r509",
      "r510",
      "r511",
      "r512",
      "r686"
     ]
    },
    "us-gaap_ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Foreign Currency Translation",
        "label": "Foreign Currency Transactions and Translations Policy [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for (1) transactions denominated in a currency other than the reporting enterprise's functional currency, (2) translating foreign currency financial statements that are incorporated into the financial statements of the reporting enterprise by consolidation, combination, or the equity method of accounting, and (3) remeasurement of the financial statements of a foreign reporting enterprise in a hyperinflationary economy."
       }
      }
     },
     "auth_ref": [
      "r508"
     ]
    },
    "ctrm_FundingPeriodForAdvanceToCoverVesselDailyOperatingCosts": {
     "xbrltype": "durationItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "FundingPeriodForAdvanceToCoverVesselDailyOperatingCosts",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Funding period for an advance to cover vessel daily operating costs, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Funding Period for Advance to Cover Vessel Daily Operating Costs",
        "terseLabel": "Funding period for advance to cover vessel daily operating costs"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_GabrielaAMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "GabrielaAMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/FairValueOfAcquiredTimeChartersDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 38,121 dwt.",
        "label": "Gabriela A [Member]",
        "terseLabel": "M/V Gabriela A [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_GainLossOnDispositionOfAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "GainLossOnDispositionOfAssets",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome": {
       "parentTag": "us-gaap_CostsAndExpenses",
       "weight": -1.0,
       "order": 6.0
      },
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails": {
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": 1.0,
       "order": 7.0
      },
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations",
       "weight": -1.0,
       "order": 13.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows",
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Net gain on sale of vessels",
        "label": "Net gain on sale of vessels",
        "terseLabel": "Gain (loss) on sale of vessel",
        "negatedLabel": "Net gain on sale of vessels",
        "documentation": "Amount of gain (loss) on sale or disposal of property, plant and equipment assets, excluding oil and gas property and timber property."
       }
      }
     },
     "auth_ref": [
      "r807",
      "r825",
      "r826"
     ]
    },
    "ctrm_GainLossOnSaleOfPropertyMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "GainLossOnSaleOfPropertyMember",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing gain (loss) on sale or disposal of property, plant and equipment assets, excluding oil and gas property and timber property.",
        "label": "Gain (Loss) on Sale of Property [Member]",
        "terseLabel": "Gain on Sale of Vessel [Member]",
        "verboseLabel": "Net Gain on Sale of Vessels [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_GamoraShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "GamoraShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Gamora Shipping Co. [Member]",
        "terseLabel": "Gamora Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_GarfieldShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "GarfieldShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Garfield Shipping Co [Member]",
        "terseLabel": "Garfield Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_GeneralAndAdministrativeExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "GeneralAndAdministrativeExpense",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome": {
       "parentTag": "us-gaap_CostsAndExpenses",
       "weight": 1.0,
       "order": 5.0
      },
      "http://castormaritime.com/role/GeneralAndAdministrativeExpensesDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncomeParenthetical",
      "http://castormaritime.com/role/GeneralAndAdministrativeExpensesDetails",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "General and administrative expenses",
        "negatedLabel": "General and administrative expenses (including $1,200,000, $2,100,000 and $3,099,000 to related party for the years ended December 31, 2021, 2022, and 2023, respectively)",
        "negatedTerseLabel": "Unallocated general and administrative expenses",
        "totalLabel": "General and administrative expenses",
        "label": "General and Administrative Expense",
        "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."
       }
      }
     },
     "auth_ref": [
      "r141",
      "r667"
     ]
    },
    "us-gaap_GeneralAndAdministrativeExpenseAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "GeneralAndAdministrativeExpenseAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "General and Administrative Expenses [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_GeneralAndAdministrativeExpensesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "GeneralAndAdministrativeExpensesLineItems",
     "presentation": [
      "http://castormaritime.com/role/GeneralAndAdministrativeExpensesDetails"
     ],
     "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": "General and Administrative Expenses [Line Items]",
        "terseLabel": "General and Administrative Expenses [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_GeneralAndAdministrativeExpensesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "GeneralAndAdministrativeExpensesTable",
     "presentation": [
      "http://castormaritime.com/role/GeneralAndAdministrativeExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about general and administrative expenses.",
        "label": "General and Administrative Expenses [Table]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_GeneralAndAdministrativeExpensesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "GeneralAndAdministrativeExpensesTableTextBlock",
     "presentation": [
      "http://castormaritime.com/role/GeneralAndAdministrativeExpensesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of general and administrative expenses related to company administration.",
        "label": "General and Administrative Expenses [Table Text Block]",
        "terseLabel": "Company Administration Expenses"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_GeneralAndAdministrativeExpensesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "GeneralAndAdministrativeExpensesTextBlock",
     "presentation": [
      "http://castormaritime.com/role/GeneralAndAdministrativeExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for general and administrative expenses.",
        "label": "General and Administrative Expenses [Text Block]",
        "terseLabel": "General and Administrative Expenses"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_GeneralInsuranceExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "GeneralInsuranceExpense",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails": {
       "parentTag": "us-gaap_OperatingCostsAndExpenses",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Insurances",
        "label": "General Insurance Expense",
        "documentation": "The expense in the period incurred with respect to protection provided by insurance entities against risks other than risks associated with production (which are allocated to cost of sales)."
       }
      }
     },
     "auth_ref": [
      "r141"
     ]
    },
    "ctrm_HawkeyeShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "HawkeyeShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Hawkeye Shipping Co. [Member]",
        "terseLabel": "Hawkeye Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "dei_IcfrAuditorAttestationFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "IcfrAuditorAttestationFlag",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ICFR Auditor Attestation Flag"
       }
      }
     },
     "auth_ref": [
      "r777",
      "r778",
      "r779"
     ]
    },
    "us-gaap_ImpairmentOfLongLivedAssetsToBeDisposedOf": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ImpairmentOfLongLivedAssetsToBeDisposedOf",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Impairment charges",
        "label": "Impairment of Long-Lived Assets to be Disposed of",
        "documentation": "The aggregate amount of write-downs for impairments recognized during the period for long-lived assets held for abandonment, exchange or sale."
       }
      }
     },
     "auth_ref": [
      "r10",
      "r155"
     ]
    },
    "us-gaap_ImpairmentOrDisposalOfLongLivedAssetsPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ImpairmentOrDisposalOfLongLivedAssetsPolicyTextBlock",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Impairment of Vessels",
        "label": "Impairment or Disposal of Long-Lived Assets, Policy [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for recognizing and measuring the impairment of long-lived assets. An entity also may disclose its accounting policy for long-lived assets to be sold. This policy excludes goodwill and intangible assets."
       }
      }
     },
     "auth_ref": [
      "r1",
      "r160"
     ]
    },
    "ctrm_IncomeLossFromContinuingOperationsAndDiscontinuedOperationsBeforeIncomeTaxes": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "IncomeLossFromContinuingOperationsAndDiscontinuedOperationsBeforeIncomeTaxes",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before tax of income (loss) from continuing operations and discontinued operations.",
        "label": "Income (Loss) from Continuing Operations and Discontinued Operations, before Income Taxes",
        "totalLabel": "Net income and Comprehensive income, before taxes"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails": {
       "parentTag": "ctrm_IncomeLossFromContinuingOperationsAndDiscontinuedOperationsBeforeIncomeTaxes",
       "weight": 1.0,
       "order": 0.0
      },
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome": {
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net income and comprehensive income, from continuing operations, before taxes",
        "terseLabel": "Net income and comprehensive income from continuing operations, before taxes",
        "label": "Income (Loss) from Continuing Operations before Income Taxes, Noncontrolling Interest",
        "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."
       }
      }
     },
     "auth_ref": [
      "r2",
      "r135",
      "r181",
      "r310",
      "r330",
      "r336",
      "r339",
      "r560",
      "r572",
      "r736"
     ]
    },
    "us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations",
       "weight": 1.0,
       "order": 0.0
      },
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome": {
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows",
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/EarningsPerCommonShareDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net income and comprehensive income from continuing operations, net of taxes",
        "label": "Net income and comprehensive income from continuing operations, net of taxes",
        "terseLabel": "Net income from continuing operations, net of taxes",
        "documentation": "Amount after tax of income (loss) from continuing operations including portion attributable to the noncontrolling interest."
       }
      }
     },
     "auth_ref": [
      "r169",
      "r262",
      "r272",
      "r310",
      "r330",
      "r336",
      "r339",
      "r352",
      "r383",
      "r384",
      "r386",
      "r387",
      "r388",
      "r390",
      "r392",
      "r394",
      "r395",
      "r500",
      "r507",
      "r572",
      "r736",
      "r834"
     ]
    },
    "us-gaap_IncomeLossFromContinuingOperationsPerBasicShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncomeLossFromContinuingOperationsPerBasicShare",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/EarningsPerCommonShareDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Earnings per common share, basic, continuing operations (in dollars per share)",
        "verboseLabel": "Earnings per common share, basic, continuing operations (in dollars per share)",
        "label": "Income (Loss) from Continuing Operations, Per Basic Share",
        "documentation": "The amount of net income (loss) from continuing operations per each share of common stock or unit outstanding during the reporting period."
       }
      }
     },
     "auth_ref": [
      "r134",
      "r179",
      "r182",
      "r249",
      "r272",
      "r274",
      "r275",
      "r276",
      "r277",
      "r287",
      "r295",
      "r296",
      "r500",
      "r559",
      "r863"
     ]
    },
    "us-gaap_IncomeLossFromContinuingOperationsPerDilutedShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncomeLossFromContinuingOperationsPerDilutedShare",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/EarningsPerCommonShareDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings per common share, diluted, continuing operations (in dollars per share)",
        "terseLabel": "Earnings per common share, diluted, continuing operations (in dollars per share)",
        "documentation": "The amount of net income (loss) derived from continuing operations during 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."
       }
      }
     },
     "auth_ref": [
      "r134",
      "r249",
      "r272",
      "r274",
      "r275",
      "r276",
      "r277",
      "r287",
      "r295",
      "r296",
      "r297",
      "r500",
      "r559",
      "r863"
     ]
    },
    "us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncomeLossFromDiscontinuedOperationsNetOfTax",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome": {
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows",
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/EarningsPerCommonShareDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Net (loss) / income and comprehensive income from discontinued operations, net of taxes",
        "negatedLabel": "Less: Net loss / (income) from discontinued operations, net of taxes",
        "label": "Net (loss) / income and comprehensive income / (loss) from discontinued operations, net of taxes",
        "documentation": "Amount after tax of income (loss) from a discontinued operation including the portion attributable to the noncontrolling interest. Includes, but is not limited to, the income (loss) from operations during the phase-out period, gain (loss) on disposal, gain (loss) for reversal of write-down (write-down) to fair value, less cost to sell, and adjustments to a prior period gain (loss) on disposal."
       }
      }
     },
     "auth_ref": [
      "r101",
      "r102",
      "r103",
      "r104",
      "r105",
      "r116",
      "r223",
      "r484",
      "r573"
     ]
    },
    "us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/DiscontinuedOperationsDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net (loss) / income and comprehensive (loss)/ income from discontinued operations, net of taxes",
        "label": "Income (Loss) from Discontinued Operations, Net of Tax, Attributable to Parent",
        "documentation": "Amount after tax of income (loss) from a discontinued operation attributable to the parent. Includes, but is not limited to, the income (loss) from operations during the phase-out period, gain (loss) on disposal, gain (loss) for reversal of write-down (write-down) to fair value, less cost to sell, and adjustments to a prior period gain (loss) on disposal."
       }
      }
     },
     "auth_ref": [
      "r101",
      "r102",
      "r103",
      "r104",
      "r105",
      "r111",
      "r116",
      "r169"
     ]
    },
    "us-gaap_IncomeStatementAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncomeStatementAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disposal Group Name [Axis]",
        "documentation": "Information by name of disposal group."
       }
      }
     },
     "auth_ref": [
      "r756",
      "r757"
     ]
    },
    "us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Discontinued Operations [Line Items]",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disposal Groups, Including Discontinued Operations [Table]",
        "documentation": "Disclosure of information about a disposal group. Includes, but is not limited to, a discontinued operation, disposal classified as held-for-sale or disposed of by means other than sale or disposal of an individually significant component."
       }
      }
     },
     "auth_ref": [
      "r14",
      "r18",
      "r26",
      "r97",
      "r106",
      "r107",
      "r108",
      "r109",
      "r110",
      "r115",
      "r117",
      "r118",
      "r159"
     ]
    },
    "us-gaap_IncomeStatementLocationAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncomeStatementLocationAxis",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Statement Location [Axis]",
        "documentation": "Information by location in the income statement."
       }
      }
     },
     "auth_ref": [
      "r370",
      "r372",
      "r672"
     ]
    },
    "us-gaap_IncomeStatementLocationDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncomeStatementLocationDomain",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Statement Location [Domain]",
        "documentation": "Location in the income statement."
       }
      }
     },
     "auth_ref": [
      "r372",
      "r672"
     ]
    },
    "us-gaap_IncomeTaxDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncomeTaxDisclosureAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Taxes [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncomeTaxDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncomeTaxDisclosureTextBlock",
     "presentation": [
      "http://castormaritime.com/role/IncomeTaxes"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Taxes",
        "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."
       }
      }
     },
     "auth_ref": [
      "r263",
      "r473",
      "r475",
      "r476",
      "r477",
      "r480",
      "r482",
      "r485",
      "r486",
      "r617"
     ]
    },
    "us-gaap_IncomeTaxExpenseBenefit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncomeTaxExpenseBenefit",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome": {
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest",
       "weight": -1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/IncomeTaxesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Income taxes",
        "label": "US source income taxes",
        "documentation": "Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations."
       }
      }
     },
     "auth_ref": [
      "r193",
      "r203",
      "r280",
      "r281",
      "r318",
      "r474",
      "r481",
      "r581"
     ]
    },
    "us-gaap_IncreaseDecreaseInAccountsPayable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncreaseDecreaseInAccountsPayable",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations",
       "weight": 1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accounts payable",
        "label": "Increase (Decrease) in Accounts Payable",
        "documentation": "The increase (decrease) during the reporting period in the aggregate amount of liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business."
       }
      }
     },
     "auth_ref": [
      "r9"
     ]
    },
    "us-gaap_IncreaseDecreaseInAccountsReceivable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncreaseDecreaseInAccountsReceivable",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations",
       "weight": -1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Accounts receivable trade, net",
        "label": "Increase (Decrease) in Accounts Receivable",
        "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."
       }
      }
     },
     "auth_ref": [
      "r9"
     ]
    },
    "us-gaap_IncreaseDecreaseInAccruedLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncreaseDecreaseInAccruedLiabilities",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations",
       "weight": 1.0,
       "order": 9.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accrued liabilities",
        "label": "Increase (Decrease) in Accrued Liabilities",
        "documentation": "The increase (decrease) during the reporting period in the aggregate amount of expenses incurred but not yet paid."
       }
      }
     },
     "auth_ref": [
      "r9"
     ]
    },
    "us-gaap_IncreaseDecreaseInDeferredCharges": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncreaseDecreaseInDeferredCharges",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations",
       "weight": -1.0,
       "order": 11.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Dry-dock costs paid",
        "label": "Increase (Decrease) in Deferred Charges",
        "documentation": "The increase (decrease) during the reporting period in the value of expenditures made during the current reporting period for benefits that will be received over a period of years. Deferred charges differ from prepaid expenses in that they usually extend over a long period of time and may or may not be regularly recurring costs of operation."
       }
      }
     },
     "auth_ref": [
      "r9"
     ]
    },
    "us-gaap_IncreaseDecreaseInDeferredRevenue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncreaseDecreaseInDeferredRevenue",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations",
       "weight": 1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Deferred revenue",
        "label": "Increase (Decrease) in Deferred Revenue",
        "documentation": "Amount of increase (decrease) in deferred income and obligation to transfer product and service to customer for which consideration has been received or is receivable."
       }
      }
     },
     "auth_ref": [
      "r723"
     ]
    },
    "us-gaap_IncreaseDecreaseInDueFromRelatedParties": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncreaseDecreaseInDueFromRelatedParties",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations",
       "weight": -1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Due from/to related parties",
        "label": "Increase (Decrease) in Due from Related Parties",
        "documentation": "The increase (decrease) during the reporting period in receivables to be collected from other entities that could exert significant influence over the reporting entity."
       }
      }
     },
     "auth_ref": [
      "r9"
     ]
    },
    "us-gaap_IncreaseDecreaseInInventories": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncreaseDecreaseInInventories",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations",
       "weight": -1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Inventories",
        "label": "Increase (Decrease) in Inventories",
        "documentation": "The increase (decrease) during the reporting period in the aggregate value of all inventory held by the reporting entity, associated with underlying transactions that are classified as operating activities."
       }
      }
     },
     "auth_ref": [
      "r9"
     ]
    },
    "us-gaap_IncreaseDecreaseInOperatingCapitalAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncreaseDecreaseInOperatingCapitalAbstract",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Changes in operating assets and liabilities:"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_IncreaseDecreaseInOtherDeferredCharges": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "IncreaseDecreaseInOtherDeferredCharges",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations",
       "weight": -1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the value of other expenditures made during the current reporting period for benefits that will be received over a period of years. Deferred charges differ from prepaid expenses in that they usually extend over a long period of time and may or may not be regularly recurring costs of operation.",
        "label": "Increase (Decrease ) in Other Deferred Charges",
        "negatedLabel": "Other deferred charges"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations",
       "weight": -1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Prepaid expenses and other assets",
        "label": "Increase (Decrease) in Prepaid Expense and Other Assets",
        "documentation": "Amount of increase (decrease) in prepaid expenses, and assets classified as other."
       }
      }
     },
     "auth_ref": [
      "r9"
     ]
    },
    "us-gaap_IncreaseDecreaseInStockholdersEquityRollForward": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncreaseDecreaseInStockholdersEquityRollForward",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (Decrease) in Shareholders' Equity [Roll Forward]",
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncreaseDecreaseInTemporaryEquityRollForward": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncreaseDecreaseInTemporaryEquityRollForward",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (Decrease) in Temporary Equity [Roll Forward]",
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncreaseInCarryingAmountOfRedeemablePreferredStock": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncreaseInCarryingAmountOfRedeemablePreferredStock",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Deemed dividend on Preferred Shares",
        "label": "Increase in Carrying Amount of Redeemable Preferred Stock",
        "documentation": "Adjustment to retained earnings for the increase in carrying amount of redeemable preferred stock that is classified as temporary equity."
       }
      }
     },
     "auth_ref": [
      "r163"
     ]
    },
    "ctrm_InstallationOfNewEquipmentPursuantToEnvironmentalRegulationsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "InstallationOfNewEquipmentPursuantToEnvironmentalRegulationsMember",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The installation of new equipment pursuant to environmental regulations.",
        "label": "Installation of New Equipment Pursuant to Environmental Regulations [Member]",
        "terseLabel": "Installation of New Equipment Pursuant to Environmental Regulations [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_InsuranceClaimsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "InsuranceClaimsAbstract",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsInsuranceClaimsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Insurance Claims [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_InsuranceClaimsPolicyPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "InsuranceClaimsPolicyPolicyTextBlock",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for insurance claim recoveries from an insurance company when the Company has suffered a loss covered under an insurance policy.",
        "label": "Insurance Claims, Policy [Policy Text Block]",
        "terseLabel": "Insurance Claims"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_IntangibleAssetsLiabilitiesRelatedToTimeChartersAcquiredPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "IntangibleAssetsLiabilitiesRelatedToTimeChartersAcquiredPolicyTextBlock",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "'Disclosure of accounting policy for intangible assets or liabilities related to time charters acquired associated with the acquisition of a vessel.",
        "label": "Intangible Assets/Liabilities Related to Time Charters Acquired [Policy Text Block]",
        "terseLabel": "Intangible Assets/Liabilities Related to Time Charters Acquired"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestAndDebtExpenseAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestAndDebtExpenseAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest and Finance Costs [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_InterestAndFinanceCostsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "InterestAndFinanceCostsLineItems",
     "presentation": [
      "http://castormaritime.com/role/InterestAndFinanceCostsDetails"
     ],
     "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": "Interest and Finance Costs [Line Items]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_InterestAndFinanceCostsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "InterestAndFinanceCostsTable",
     "presentation": [
      "http://castormaritime.com/role/InterestAndFinanceCostsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about interest and finance costs.",
        "label": "Interest and Finance Costs [Table]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestExpense",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome": {
       "parentTag": "us-gaap_NonoperatingIncomeExpense",
       "weight": -1.0,
       "order": 0.0
      },
      "http://castormaritime.com/role/InterestAndFinanceCostsDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncomeParenthetical",
      "http://castormaritime.com/role/InterestAndFinanceCostsDetails",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesThalassaDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Interest and finance costs (including $204,167, $0 and $0 to related party for the years ended December 31, 2021, 2022 and 2023, respectively)",
        "terseLabel": "Interest expense",
        "totalLabel": "Total",
        "negatedTerseLabel": "Interest and finance costs",
        "label": "Interest Expense",
        "documentation": "Amount of the cost of borrowed funds accounted for as interest expense."
       }
      }
     },
     "auth_ref": [
      "r88",
      "r185",
      "r246",
      "r314",
      "r520",
      "r673",
      "r771",
      "r868"
     ]
    },
    "us-gaap_InterestExpenseAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestExpenseAbstract",
     "presentation": [
      "http://castormaritime.com/role/InterestAndFinanceCostsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest and Financial Costs [Abstract]",
        "label": "Interest Expense [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestExpenseDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestExpenseDebt",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/InterestAndFinanceCostsDetails": {
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/InterestAndFinanceCostsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest on long-term debt",
        "label": "Interest Expense, Debt",
        "documentation": "Amount of the cost of borrowed funds accounted for as interest expense for debt."
       }
      }
     },
     "auth_ref": [
      "r145",
      "r409",
      "r415",
      "r743",
      "r744"
     ]
    },
    "us-gaap_InterestExpenseLongTermDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestExpenseLongTermDebt",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest incurred on long-term debt",
        "documentation": "Aggregate amount of interest paid or due on all long-term debt."
       }
      }
     },
     "auth_ref": [
      "r184",
      "r206",
      "r207"
     ]
    },
    "us-gaap_InterestExpenseOther": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestExpenseOther",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/InterestAndFinanceCostsDetails": {
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/InterestAndFinanceCostsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other finance charges",
        "documentation": "Amount of interest expense classified as other."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestExpensePolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestExpensePolicyTextBlock",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Costs",
        "documentation": "Disclosure of accounting policy for recognizing interest expense, including the method of amortizing debt issuance costs."
       }
      }
     },
     "auth_ref": [
      "r0"
     ]
    },
    "us-gaap_InterestPaidNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestPaidNet",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash paid for interest",
        "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."
       }
      }
     },
     "auth_ref": [
      "r254",
      "r257",
      "r258"
     ]
    },
    "us-gaap_InventoryNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InventoryNet",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails": {
       "parentTag": "us-gaap_AssetsNet",
       "weight": 1.0,
       "order": 3.0
      },
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails",
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Inventories",
        "label": "Inventory, Net",
        "documentation": "Amount after valuation and LIFO reserves of inventory expected to be sold, or consumed within one year or operating cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r237",
      "r727",
      "r759"
     ]
    },
    "us-gaap_InventoryPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InventoryPolicyTextBlock",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Inventories",
        "label": "Inventory, Policy [Policy Text Block]",
        "documentation": "Disclosure of inventory accounting policy for inventory classes, including, but not limited to, basis for determining inventory amounts, methods by which amounts are added and removed from inventory classes, loss recognition on impairment of inventories, and situations in which inventories are stated above cost."
       }
      }
     },
     "auth_ref": [
      "r195",
      "r226",
      "r236",
      "r356",
      "r357",
      "r358",
      "r544",
      "r734"
     ]
    },
    "ctrm_InvestmentInPreferredSharesIssuedToEntity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "InvestmentInPreferredSharesIssuedToEntity",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails": {
       "parentTag": "ctrm_DistributionOfNetAssetsToShareholders",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment in preferred shares of related party issued as part of spin-off.",
        "label": "Investment in Preferred Shares Issued to Entity",
        "verboseLabel": "Investment in related party",
        "negatedLabel": "Less: Investment in Preferred Shares of Toro issued as part of Spin-Off (refer Note 4(c) )"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_InvestmentInRelatedParty": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "InvestmentInRelatedParty",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment in equity security without readily determinable fair value.",
        "label": "Investment in Related Party",
        "verboseLabel": "Investment in related party - non-current",
        "terseLabel": "Investment in related party"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_InvestmentInRelatedPartyAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "InvestmentInRelatedPartyAbstract",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment in Related Party [Abstract]",
        "terseLabel": "Investment in Related Party [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_InvestmentInRelatedPartyPolicyPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "InvestmentInRelatedPartyPolicyPolicyTextBlock",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for investment in related party.",
        "label": "Investment in Related Party, Policy [Policy Text Block]",
        "terseLabel": "Investment in related party (Financial Instruments, Recognition and Measurement)"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentIncomeDividend": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentIncomeDividend",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome": {
       "parentTag": "us-gaap_NonoperatingIncomeExpense",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/InvestmentInEquitySecuritiesDetails",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Dividend income on equity securities",
        "label": "Dividend income on equity securities",
        "documentation": "Amount of dividend income on nonoperating securities."
       }
      }
     },
     "auth_ref": [
      "r142"
     ]
    },
    "ctrm_InvestmentIncomeDividendRelatedParty": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "InvestmentIncomeDividendRelatedParty",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome": {
       "parentTag": "us-gaap_NonoperatingIncomeExpense",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of dividend income on nonoperating securities from related party.",
        "label": "Investment Income, Dividend, Related Party",
        "terseLabel": "Dividend income from related party"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentIncomeInterest": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentIncomeInterest",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome": {
       "parentTag": "us-gaap_NonoperatingIncomeExpense",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest income",
        "documentation": "Amount before accretion (amortization) of purchase discount (premium) of interest income on nonoperating securities."
       }
      }
     },
     "auth_ref": [
      "r143",
      "r313"
     ]
    },
    "us-gaap_InvestmentOwnedBalanceShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentOwnedBalanceShares",
     "presentation": [
      "http://castormaritime.com/role/InvestmentInEquitySecuritiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Number of shares held (in shares)",
        "label": "Investment Owned, Balance, Shares",
        "documentation": "Number of shares of investment owned."
       }
      }
     },
     "auth_ref": [
      "r633",
      "r634",
      "r699",
      "r707",
      "r710",
      "r764"
     ]
    },
    "us-gaap_InvestmentPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentPolicyTextBlock",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment in equity securities",
        "documentation": "Disclosure of accounting policy for investment in financial asset."
       }
      }
     },
     "auth_ref": [
      "r577",
      "r608",
      "r609",
      "r610",
      "r611",
      "r700",
      "r701"
     ]
    },
    "us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentsDebtAndEquitySecuritiesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment in equity securities [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
     "presentation": [
      "http://castormaritime.com/role/InvestmentInEquitySecurities"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investment in equity securities",
        "label": "Investments in Debt and Marketable Equity Securities (and Certain Trading Assets) Disclosure [Text Block]",
        "documentation": "The entire disclosure for investments in certain debt and equity securities."
       }
      }
     },
     "auth_ref": [
      "r171",
      "r186",
      "r187",
      "r208",
      "r350",
      "r351",
      "r504",
      "r505"
     ]
    },
    "ctrm_January12WarrantsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "January12WarrantsMember",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2021SecondRegisteredDirectEquityOfferingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A registered direct offering of warrants with certain investors that closed on January 12, 2021, pursuant to which it offered 13,700,000 common shares and warrants to purchase 13,700,000 common shares.",
        "label": "January 12 Warrants [Member]",
        "terseLabel": "January 12 Warrants [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_January5WarrantsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "January5WarrantsMember",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2021FirstRegisteredDirectEquityOfferingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A registered direct offering of warrants with certain unaffiliated institutional investors that closed on January 5, 2021, pursuant to which it offered and sold 9,475,000 common shares and warrants to purchase 9,475,000 common shares.",
        "label": "January 5 Warrants [Member]",
        "terseLabel": "January 5 Warrants [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_JerryMaritimeLtdMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "JerryMaritimeLtdMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in Malta.",
        "label": "Jerry Maritime Ltd [Member]",
        "terseLabel": "Jerry Maritime Ltd [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_JerryShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "JerryShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDisposalsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Jerry Shipping Co [Member]",
        "terseLabel": "Jerry S [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_JohnnyBravoShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "JohnnyBravoShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Johnny Bravo Shipping Co [Member]",
        "terseLabel": "Johnny Bravo Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_JumaruShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "JumaruShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Jumaru Shipping Co. [Member]",
        "terseLabel": "Jumaru Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_KabamaruShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "KabamaruShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Kabamaru Shipping Co. [Member]",
        "terseLabel": "Kabamaru Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_KamsarmaxVesselMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "KamsarmaxVesselMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A medium-sized vessel with a carrying capacity between 80,000 and 85,000 deadweight tonnage (DWT).",
        "label": "Kamsarmax Vessel [Member]",
        "terseLabel": "Kamsarmax [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LaborAndRelatedExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LaborAndRelatedExpense",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails": {
       "parentTag": "us-gaap_OperatingCostsAndExpenses",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Crew &amp; crew related costs",
        "documentation": "Amount of expense for salary, wage, profit sharing; incentive and equity-based compensation; and other employee benefit."
       }
      }
     },
     "auth_ref": [
      "r804"
     ]
    },
    "dei_LegalEntityAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "LegalEntityAxis",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Legal Entity [Axis]",
        "documentation": "The set of legal entities associated with a report."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LessorOperatingLeasePaymentsFiscalYearMaturityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LessorOperatingLeasePaymentsFiscalYearMaturityAbstract",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesCommitmentsUnderLongtermLeaseContractsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Future Minimum Contracted Lease Payments [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LessorOperatingLeasePaymentsToBeReceived": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LessorOperatingLeasePaymentsToBeReceived",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/CommitmentsAndContingenciesCommitmentsUnderLongtermLeaseContractsDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesCommitmentsUnderLongtermLeaseContractsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total",
        "label": "Lessor, Operating Lease, Payment to be Received",
        "documentation": "Amount of lease payments to be received by lessor for operating lease."
       }
      }
     },
     "auth_ref": [
      "r524"
     ]
    },
    "us-gaap_LessorOperatingLeasePaymentsToBeReceivedMaturityTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LessorOperatingLeasePaymentsToBeReceivedMaturityTableTextBlock",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Future Minimum Contracted Lease Payments",
        "label": "Lessor, Operating Lease, Payment to be Received, Maturity [Table Text Block]",
        "documentation": "Tabular disclosure of maturity of undiscounted cash flows to be received by lessor on annual basis for operating lease."
       }
      }
     },
     "auth_ref": [
      "r848"
     ]
    },
    "us-gaap_LessorOperatingLeasePaymentsToBeReceivedNextTwelveMonths": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LessorOperatingLeasePaymentsToBeReceivedNextTwelveMonths",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/CommitmentsAndContingenciesCommitmentsUnderLongtermLeaseContractsDetails": {
       "parentTag": "us-gaap_LessorOperatingLeasePaymentsToBeReceived",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesCommitmentsUnderLongtermLeaseContractsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "2024",
        "documentation": "Amount of lease payment to be received by lessor for operating lease 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)."
       }
      }
     },
     "auth_ref": [
      "r524"
     ]
    },
    "us-gaap_LiabilitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LiabilitiesAbstract",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LiabilitiesAndStockholdersEquity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LiabilitiesAndStockholdersEquity",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total liabilities, mezzanine equity and shareholders' equity",
        "label": "Liabilities and Equity",
        "documentation": "Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any."
       }
      }
     },
     "auth_ref": [
      "r133",
      "r178",
      "r568",
      "r759",
      "r811",
      "r824",
      "r847"
     ]
    },
    "us-gaap_LiabilitiesAndStockholdersEquityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LiabilitiesAndStockholdersEquityAbstract",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/ConsolidatedBalanceSheetsParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "LIABILITIES, MEZZANINE EQUITY AND SHAREHOLDERS' EQUITY",
        "label": "Liabilities and Equity [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LiabilitiesCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LiabilitiesCurrent",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total current liabilities",
        "label": "Liabilities, Current",
        "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."
       }
      }
     },
     "auth_ref": [
      "r31",
      "r225",
      "r262",
      "r352",
      "r383",
      "r384",
      "r386",
      "r387",
      "r388",
      "r390",
      "r392",
      "r394",
      "r395",
      "r488",
      "r489",
      "r490",
      "r507",
      "r759",
      "r834",
      "r850",
      "r851"
     ]
    },
    "us-gaap_LiabilitiesCurrentAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LiabilitiesCurrentAbstract",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "CURRENT LIABILITIES:",
        "label": "Liabilities, Current [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LiabilitiesNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LiabilitiesNoncurrent",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total non-current liabilities",
        "label": "Liabilities, Noncurrent",
        "documentation": "Amount of obligation due after one year or beyond the normal operating cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r23",
      "r119",
      "r120",
      "r121",
      "r124",
      "r262",
      "r352",
      "r383",
      "r384",
      "r386",
      "r387",
      "r388",
      "r390",
      "r392",
      "r394",
      "r395",
      "r488",
      "r489",
      "r490",
      "r507",
      "r834",
      "r850",
      "r851"
     ]
    },
    "us-gaap_LiabilitiesNoncurrentAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LiabilitiesNoncurrentAbstract",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "NON-CURRENT LIABILITIES:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0,
       "order": 9.0
      },
      "http://castormaritime.com/role/DiscontinuedOperationsDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current liabilities of discontinued operations",
        "totalLabel": "Total current liabilities of discontinued operations",
        "documentation": "Amount classified as liabilities attributable to disposal group held for sale or disposed of, expected to be disposed of within one year or the normal operating cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r4",
      "r97",
      "r114",
      "r156",
      "r158",
      "r222",
      "r223"
     ]
    },
    "us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrentAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrentAbstract",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "CURRENT LIABILITIES"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationNoncurrent",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "parentTag": "us-gaap_LiabilitiesNoncurrent",
       "weight": 1.0,
       "order": 1.0
      },
      "http://castormaritime.com/role/DiscontinuedOperationsDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Non-current liabilities of discontinued operations",
        "totalLabel": "Total non-current liabilities of discontinued operations",
        "label": "Disposal Group, Including Discontinued Operation, Liabilities, Noncurrent",
        "documentation": "Amount classified as liabilities attributable to disposal group held for sale or disposed of, expected to be disposed of beyond one year or the normal operating cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r4",
      "r5",
      "r97",
      "r114",
      "r158",
      "r222",
      "r223"
     ]
    },
    "us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationNoncurrentAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationNoncurrentAbstract",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "NON-CURRENT LIABILITIES",
        "label": "Disposal Group, Including Discontinued Operation, Liabilities, Noncurrent [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_LionoShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "LionoShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Liono Shipping Co. [Member]",
        "terseLabel": "Liono Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "dei_LocalPhoneNumber": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "LocalPhoneNumber",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Local Phone Number",
        "documentation": "Local phone number for entity."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LongTermDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LongTermDebt",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total long-term debt including Debt related to assets held for sale, net of deferred finance costs",
        "label": "Long-Term Debt",
        "documentation": "Amount, after deduction of unamortized premium (discount) and debt issuance cost, of long-term debt. Excludes lease obligation."
       }
      }
     },
     "auth_ref": [
      "r23",
      "r177",
      "r403",
      "r414",
      "r741",
      "r742",
      "r860"
     ]
    },
    "us-gaap_LongTermDebtByCurrentAndNoncurrentAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LongTermDebtByCurrentAndNoncurrentAbstract",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Presented [Abstract]",
        "label": "Long-Term Debt, by Current and Noncurrent [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LongTermDebtByMaturityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LongTermDebtByMaturityAbstract",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Annual Principal Payments [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_LongTermDebtGrossCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "LongTermDebtGrossCurrent",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails": {
       "parentTag": "us-gaap_SecuredDebtCurrent",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt classified as current.",
        "label": "Long-term Debt, Gross, Current",
        "terseLabel": "Current portion of long-term debt"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_LongTermDebtGrossNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "LongTermDebtGrossNoncurrent",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails": {
       "parentTag": "us-gaap_SecuredLongTermDebt",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt classified as noncurrent.",
        "label": "Long-term Debt, Gross, Noncurrent",
        "terseLabel": "Non-Current portion of long-term debt"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails": {
       "parentTag": "us-gaap_DebtInstrumentCarryingAmount",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2024",
        "label": "Long-Term Debt, Maturity, Year One",
        "documentation": "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing 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)."
       }
      }
     },
     "auth_ref": [
      "r12",
      "r268",
      "r407"
     ]
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails": {
       "parentTag": "us-gaap_DebtInstrumentCarryingAmount",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2027",
        "label": "Long-Term Debt, Maturity, Year Four",
        "documentation": "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in fourth 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)."
       }
      }
     },
     "auth_ref": [
      "r12",
      "r268",
      "r407"
     ]
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails": {
       "parentTag": "us-gaap_DebtInstrumentCarryingAmount",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2026",
        "label": "Long-Term Debt, Maturity, Year Three",
        "documentation": "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in third 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)."
       }
      }
     },
     "auth_ref": [
      "r12",
      "r268",
      "r407"
     ]
    },
    "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails": {
       "parentTag": "us-gaap_DebtInstrumentCarryingAmount",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "2025",
        "label": "Long-Term Debt, Maturity, Year Two",
        "documentation": "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in second 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)."
       }
      }
     },
     "auth_ref": [
      "r12",
      "r268",
      "r407"
     ]
    },
    "us-gaap_LongTermDebtTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LongTermDebtTextBlock",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Long-Term Debt",
        "label": "Long-Term Debt [Text Block]",
        "documentation": "The entire disclosure for long-term debt."
       }
      }
     },
     "auth_ref": [
      "r162"
     ]
    },
    "us-gaap_LossContingenciesByNatureOfContingencyAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LossContingenciesByNatureOfContingencyAxis",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesClaimsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loss Contingency Nature [Axis]",
        "documentation": "Information by type of existing condition, situation, or set of circumstances involving uncertainty as to possible loss to an enterprise that will ultimately be resolved when one or more future events occur or fail to occur."
       }
      }
     },
     "auth_ref": [
      "r377",
      "r378",
      "r379",
      "r382",
      "r829",
      "r830"
     ]
    },
    "us-gaap_LossContingenciesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LossContingenciesLineItems",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesClaimsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loss Contingencies [Line Items]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r377",
      "r378",
      "r379",
      "r382",
      "r829",
      "r830"
     ]
    },
    "us-gaap_LossContingenciesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LossContingenciesTable",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesClaimsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loss Contingencies [Table]",
        "documentation": "Discloses the specific components (such as the nature, name, and date) of the loss contingency and gives an estimate of the possible loss or range of loss, or states that a reasonable estimate cannot be made. Excludes environmental contingencies, warranties and unconditional purchase obligations."
       }
      }
     },
     "auth_ref": [
      "r377",
      "r378",
      "r379",
      "r382",
      "r829",
      "r830"
     ]
    },
    "us-gaap_LossContingencyAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LossContingencyAbstract",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesClaimsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Claims [Abstract]",
        "label": "Loss Contingency [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_LossContingencyDamagesAndRelatedExpenses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "LossContingencyDamagesAndRelatedExpenses",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesClaimsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of damages suffered and related expenses incurred by the Company.",
        "label": "Loss Contingency, Damages and Related Expenses",
        "terseLabel": "Damages and related expenses"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_LossContingencyNatureDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LossContingencyNatureDomain",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesClaimsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loss Contingency, Nature [Domain]",
        "documentation": "An existing condition, situation, or set of circumstances involving uncertainty as to possible loss to an enterprise that will ultimately be resolved when one or more future events occur or fail to occur. Resolution of the uncertainty may confirm the incurrence of a loss or impairment of an asset or the incurrence of a liability."
       }
      }
     },
     "auth_ref": [
      "r377",
      "r378",
      "r379",
      "r382",
      "r829",
      "r830"
     ]
    },
    "ctrm_LossGainOnBunkerFuel": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "LossGainOnBunkerFuel",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails": {
       "parentTag": "ctrm_VoyageExpenses",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of loss (gain) on bunker fuel during the period. The gain or loss is the difference between the cost of bunker fuel delivered by the terminating charterer and the bunker fuel sold to the new charterer.",
        "label": "Loss (Gain) on Bunker Fuel",
        "verboseLabel": "(Gain) / loss on bunkers"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_LubricantExpenses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "LubricantExpenses",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails": {
       "parentTag": "us-gaap_OperatingCostsAndExpenses",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of operating expense for lubricants.",
        "label": "Lubricant Expenses",
        "terseLabel": "Lubricants"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_LuffyShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "LuffyShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Luffy Shipping Co. [Member]",
        "terseLabel": "Luffy Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_MVMagicCallistoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "MVMagicCallistoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 74,930 dwt.",
        "label": "M/V Magic Callisto [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_MagicArgoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "MagicArgoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 82,338 dwt.",
        "label": "Magic Argo [Member]",
        "verboseLabel": "M/V Magic Argo [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_MagicCallistoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "MagicCallistoMember",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDisposalsDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A Japanese-built Panamax dry bulk carrier.",
        "label": "Magic Callisto [Member]",
        "terseLabel": "M/V Magic Callisto [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_MagicEclipseMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "MagicEclipseMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 74,940 dwt.",
        "label": "Magic Eclipse [Member]",
        "verboseLabel": "M/V Magic Eclipse [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_MagicHorizonMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "MagicHorizonMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 76,619 dwt.",
        "label": "Magic Horizon [Member]",
        "terseLabel": "M/V Magic Horizon [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_MagicMarsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "MagicMarsMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 76,822 dwt.",
        "label": "Magic Mars [Member]",
        "verboseLabel": "M/V Magic Mars [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_MagicMoonMagicOrionAndMagicVenusMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "MagicMoonMagicOrionAndMagicVenusMember",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Magic Moon is a vessel with a carrying capacity of 76,602 dwt. Magic Orion is a vessel with a carrying capacity of 180,200 dwt and Magic Venus is a vessel with a carrying capacity of 83,416 dwt.",
        "label": "Magic Moon, Magic Orion and Magic Venus [Member]",
        "terseLabel": "M/V Magic Moon, M/V Magic Orion and M/V Magic Venus [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_MagicMoonMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "MagicMoonMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 76,602 dwt.",
        "label": "Magic Moon [Member]",
        "verboseLabel": "M/V Magic Moon [Member]",
        "terseLabel": "M/V Magic Moon [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_MagicNebulaMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "MagicNebulaMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 80,281 dwt.",
        "label": "Magic Nebula [Member]",
        "verboseLabel": "M/V Magic Nebula [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_MagicNovaMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "MagicNovaMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 78,833 dwt.",
        "label": "Magic Nova [Member]",
        "terseLabel": "M/V Magic Nova [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_MagicOrionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "MagicOrionMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 180,200 dwt.",
        "label": "Magic Orion [Member]",
        "verboseLabel": "M/V Magic Orion [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_MagicPMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "MagicPMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Panamax vessel with a carrying capacity of 76,453 dwt.",
        "label": "Magic P [Member]",
        "terseLabel": "M/V Magic P [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_MagicPerseusMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "MagicPerseusMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 82,158 dwt.",
        "label": "Magic Perseus [Member]",
        "verboseLabel": "M/V Magic Perseus [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_MagicPhoenixMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "MagicPhoenixMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/LongtermDebt2315MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 76,636 dwt.",
        "label": "Magic Phoenix [Member]",
        "verboseLabel": "M/V Magic Phoenix [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_MagicPlutoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "MagicPlutoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/FairValueOfAcquiredTimeChartersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 74,940 dwt.",
        "label": "Magic Pluto [Member]",
        "verboseLabel": "M/V Magic Pluto [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_MagicRainbowMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "MagicRainbowMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/LongtermDebt2315MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 73,593 dwt.",
        "label": "Magic Rainbow [Member]",
        "terseLabel": "M/V Magic Rainbow [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_MagicStarlightMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "MagicStarlightMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 81,048 dwt.",
        "label": "Magic Starlight [Member]",
        "verboseLabel": "M/V Magic Starlight [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_MagicSunMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "MagicSunMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/LongtermDebt45MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 75,311 dwt.",
        "label": "Magic Sun [Member]",
        "terseLabel": "M/V Magic Sun [Member]",
        "verboseLabel": "M/V Magic Sun [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_MagicThunderMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "MagicThunderMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 83,375 dwt.",
        "label": "Magic Thunder [Member]",
        "verboseLabel": "M/V Magic Thunder [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_MagicTwilightMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "MagicTwilightMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/LongtermDebt4075MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 80,283 dwt.",
        "label": "Magic Twilight [Member]",
        "verboseLabel": "M/V Magic Twilight [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_MagicVelaMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "MagicVelaMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 75,003 dwt.",
        "label": "Magic Vela [Member]",
        "verboseLabel": "M/V Magic Vela [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_MagicVenusMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "MagicVenusMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDisposalsDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 83,416 dwt.",
        "label": "Magic Venus [Member]",
        "terseLabel": "M/V Magic Venus [Member]",
        "verboseLabel": "M/V Magic Venus [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_MaintenanceCostPolicyPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "MaintenanceCostPolicyPolicyTextBlock",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Repairs and Maintenance",
        "documentation": "Disclosure of the accounting policy for maintenance costs. Does not include planned major maintenance activities."
       }
      }
     },
     "auth_ref": []
    },
    "srt_MajorCustomersAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "MajorCustomersAxis",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationRevenueFromChartersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Customer [Axis]",
        "documentation": "Information by name or description of a single external customer or a group of external customers."
       }
      }
     },
     "auth_ref": [
      "r344",
      "r748",
      "r842",
      "r864",
      "r865"
     ]
    },
    "us-gaap_MaterialReconcilingItemsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "MaterialReconcilingItemsMember",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reconciling Items [Member]",
        "documentation": "Items used in reconciling reportable segments' amounts to consolidated amount. Excludes corporate-level activity."
       }
      }
     },
     "auth_ref": [
      "r64"
     ]
    },
    "srt_MaximumMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "MaximumMember",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesClaimsDetails",
      "http://castormaritime.com/role/EquityCapitalStructureJune2021AtthemarketCommonStockOfferingProgramDetails",
      "http://castormaritime.com/role/EquityCapitalStructureMay2023AtthemarketCommonStockOfferingProgramDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/TotalVesselRevenuesDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum [Member]",
        "documentation": "Upper limit of the provided range."
       }
      }
     },
     "auth_ref": [
      "r378",
      "r379",
      "r380",
      "r381",
      "r464",
      "r543",
      "r599",
      "r635",
      "r636",
      "r697",
      "r702",
      "r705",
      "r706",
      "r708",
      "r721",
      "r722",
      "r738",
      "r745",
      "r758",
      "r761",
      "r838",
      "r852",
      "r853",
      "r854",
      "r855",
      "r856",
      "r857"
     ]
    },
    "ctrm_MickeyShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "MickeyShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Mickey Shipping Co. [Member]",
        "terseLabel": "Mickey Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "srt_MinimumMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "MinimumMember",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesClaimsDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/TotalVesselRevenuesDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Minimum [Member]",
        "documentation": "Lower limit of the provided range."
       }
      }
     },
     "auth_ref": [
      "r378",
      "r379",
      "r380",
      "r381",
      "r464",
      "r543",
      "r599",
      "r635",
      "r636",
      "r697",
      "r702",
      "r705",
      "r706",
      "r708",
      "r721",
      "r722",
      "r738",
      "r745",
      "r758",
      "r761",
      "r838",
      "r852",
      "r853",
      "r854",
      "r855",
      "r856",
      "r857"
     ]
    },
    "ctrm_MinimumPeriodForAggregateOfferingPrice": {
     "xbrltype": "durationItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "MinimumPeriodForAggregateOfferingPrice",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureMay2023AtthemarketCommonStockOfferingProgramDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate offering price minimum period in which the Company's stock price is required to be maintained at a minimum price level to regain compliance with the Bid Price Requirement, in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Minimum Period for Aggregate Offering Price",
        "terseLabel": "Minimum period for aggregate offering price"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_MovementInAccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipmentRollForward": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "MovementInAccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipmentRollForward",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleNetBookValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Accumulated Depreciation [Abstract]",
        "label": "Movement in Accumulated Depreciation, Depletion and Amortization, Property, Plant and Equipment [Roll Forward]",
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_MovementInPropertyPlantAndEquipmentRollForward": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "MovementInPropertyPlantAndEquipmentRollForward",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleNetBookValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Vessel Cost [Abstract]",
        "label": "Movement in Property, Plant and Equipment [Roll Forward]",
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period."
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_MulanShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "MulanShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Mulan Shipping Co. [Member]",
        "terseLabel": "Mulan Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "srt_NameOfMajorCustomerDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "NameOfMajorCustomerDomain",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationRevenueFromChartersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Customer [Domain]",
        "documentation": "Single external customer or group of external customers."
       }
      }
     },
     "auth_ref": [
      "r344",
      "r748",
      "r842",
      "r864",
      "r865"
     ]
    },
    "ctrm_NetAssetsOfAffiliateDiscontinuedOperations": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "NetAssetsOfAffiliateDiscontinuedOperations",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net assets distribution as a result of a spin-off transaction (a regular or reverse spin-off) which is based on the recorded amounts.",
        "label": "Net Assets of Affiliate, Discontinued Operations",
        "terseLabel": "Net assets of Toro (discontinued operations)"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetCashProvidedByUsedInDiscontinuedOperations": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NetCashProvidedByUsedInDiscontinuedOperations",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net cash provided by / (used in) discontinued operations",
        "label": "Net Cash Provided by (Used in) Discontinued Operations",
        "documentation": "Increase (decrease) in cash associated with the entity's discontinued operations."
       }
      }
     },
     "auth_ref": [
      "r148"
     ]
    },
    "us-gaap_NetCashProvidedByUsedInDiscontinuedOperationsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NetCashProvidedByUsedInDiscontinuedOperationsAbstract",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash flows of discontinued operations:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NetCashProvidedByUsedInFinancingActivitiesContinuingOperations",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net cash provided by/ (used in) Financing Activities from continuing operations",
        "label": "Net Cash Provided by (Used in) Financing Activities, Continuing Operations",
        "documentation": "Amount of cash inflow (outflow) of financing activities, excluding 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."
       }
      }
     },
     "auth_ref": [
      "r806"
     ]
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash flows provided by / (used in) Financing Activities of Continuing Operations:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NetCashProvidedByUsedInInvestingActivitiesContinuingOperations",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net cash used in Investing Activities from Continuing Operations",
        "label": "Net Cash Provided by (Used in) Investing Activities, Continuing Operations",
        "documentation": "Amount of cash inflow (outflow) of investing activities, excluding 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."
       }
      }
     },
     "auth_ref": [
      "r806"
     ]
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash flow used in Investing Activities of Continuing Operations:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NetCashProvidedByUsedInOperatingActivitiesContinuingOperations",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net Cash (used in) / provided by Operating Activities from Continuing Operations",
        "label": "Net Cash Provided by (Used in) Operating Activities, Continuing Operations",
        "documentation": "Amount of cash inflow (outflow) from operating activities, excluding discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities."
       }
      }
     },
     "auth_ref": [
      "r148",
      "r149",
      "r150"
     ]
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash Flows (used in) / provided by Operating Activities of Continuing Operations:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetIncomeLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NetIncomeLoss",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome": {
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows",
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity",
      "http://castormaritime.com/role/EarningsPerCommonShareDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net income",
        "label": "Net income and comprehensive income",
        "terseLabel": "Net income",
        "documentation": "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent."
       }
      }
     },
     "auth_ref": [
      "r137",
      "r150",
      "r183",
      "r223",
      "r239",
      "r241",
      "r245",
      "r262",
      "r272",
      "r274",
      "r275",
      "r276",
      "r277",
      "r280",
      "r281",
      "r293",
      "r310",
      "r330",
      "r336",
      "r339",
      "r352",
      "r383",
      "r384",
      "r386",
      "r387",
      "r388",
      "r390",
      "r392",
      "r394",
      "r395",
      "r500",
      "r507",
      "r574",
      "r664",
      "r687",
      "r688",
      "r736",
      "r771",
      "r834"
     ]
    },
    "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NetIncomeLossAvailableToCommonStockholdersBasic",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/EarningsPerCommonShareDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net income attributable to common shareholders",
        "label": "Net Income (Loss) Available to Common Stockholders, Basic",
        "documentation": "Amount, after deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities; of income (loss) available to common shareholders."
       }
      }
     },
     "auth_ref": [
      "r253",
      "r274",
      "r275",
      "r276",
      "r277",
      "r284",
      "r285",
      "r294",
      "r297",
      "r310",
      "r330",
      "r336",
      "r339",
      "r736"
     ]
    },
    "us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NetIncomeLossAvailableToCommonStockholdersDiluted",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/EarningsPerCommonShareDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net income attributable to common shareholders, diluted",
        "label": "Net Income (Loss) Available to Common Stockholders, Diluted",
        "documentation": "Amount, after deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities, and addition from assumption of issuance of common shares for dilutive potential common shares; of income (loss) available to common shareholders."
       }
      }
     },
     "auth_ref": [
      "r253",
      "r286",
      "r289",
      "r290",
      "r291",
      "r292",
      "r294",
      "r297"
     ]
    },
    "us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NewAccountingPronouncementsPolicyPolicyTextBlock",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Recent Accounting Pronouncements",
        "label": "New Accounting Pronouncements, Policy [Policy Text Block]",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_NonVesselOwningSubsidiariesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "NonVesselOwningSubsidiariesTableTextBlock",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of information regarding subsidiaries not owning vessels.",
        "label": "Non-Vessel Owning Subsidiaries [Table Text Block]",
        "terseLabel": "Consolidated Non-Vessel Owning Subsidiaries"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_NoncashTransactionsDividendConvertiblePreferredStock": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "NoncashTransactionsDividendConvertiblePreferredStock",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The dividends (noncash) deemed for beneficial conversion on convertible preferred stock.",
        "label": "Noncash Transactions Dividend Convertible Preferred Stock",
        "terseLabel": "Deemed dividend on Series D Preferred Shares"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NonoperatingIncomeExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NonoperatingIncomeExpense",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome": {
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total other expenses, net",
        "label": "Nonoperating Income (Expense)",
        "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)."
       }
      }
     },
     "auth_ref": [
      "r144"
     ]
    },
    "us-gaap_NonrelatedPartyMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NonrelatedPartyMember",
     "presentation": [
      "http://castormaritime.com/role/InterestAndFinanceCostsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Nonrelated Party [Member]",
        "documentation": "Party not related to reporting entity."
       }
      }
     },
     "auth_ref": [
      "r812",
      "r813"
     ]
    },
    "ctrm_NumberOfAgreementsEnteredIntoWithRelatedParty": {
     "xbrltype": "integerItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "NumberOfAgreementsEnteredIntoWithRelatedParty",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDisposalsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of agreements entered into with a related party.",
        "label": "Number of Agreements Entered into with Related Party",
        "terseLabel": "Number of agreements entered into with related party"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_NumberOfConsecutiveTradingDayCommencingOnDistributionDate": {
     "xbrltype": "durationItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "NumberOfConsecutiveTradingDayCommencingOnDistributionDate",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of consecutive trading day commencing on distribution date, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Number of Consecutive Trading Day Commencing on Distribution Date",
        "terseLabel": "Number of consecutive trading day commencing on distribution date"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_NumberOfConsecutiveTradingDayExpiringOnTradingDay": {
     "xbrltype": "durationItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "NumberOfConsecutiveTradingDayExpiringOnTradingDay",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of consecutive trading day commencing on distribution date, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Number of Consecutive Trading Day Expiring on Trading Day",
        "terseLabel": "Number of consecutive trading day expiring on trading day"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_NumberOfContainershipsAcquired": {
     "xbrltype": "integerItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "NumberOfContainershipsAcquired",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of containerships acquired during period.",
        "label": "Number of Containerships Acquired",
        "terseLabel": "Number of containerships acquired"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_NumberOfEntitiesBeneficiallyOwnedByRelatedParty": {
     "xbrltype": "integerItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "NumberOfEntitiesBeneficiallyOwnedByRelatedParty",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDisposalsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of entities beneficially owned by a related party.",
        "label": "Number of Entities Beneficially Owned by Related Party",
        "terseLabel": "Number of entities beneficially owned by related party"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_NumberOfFormerTankerOwningSubsidiaries": {
     "xbrltype": "integerItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "NumberOfFormerTankerOwningSubsidiaries",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of former tanker-owning subsidiaries.",
        "label": "Number of Former Tanker-owning Subsidiaries",
        "terseLabel": "Number of former tanker-owning subsidiaries"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_NumberOfImpairedVessels": {
     "xbrltype": "integerItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "NumberOfImpairedVessels",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsImpairmentOfLonglivedAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of impaired vessels.",
        "label": "Number of Impaired Vessels",
        "terseLabel": "Number of impaired vessels"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_NumberOfPreferredDirectorsRightToElectWithParityStock": {
     "xbrltype": "integerItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "NumberOfPreferredDirectorsRightToElectWithParityStock",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of preferred directors right to elect with parity stock, in certain circumstances upon nonpayment of dividends.",
        "label": "Number of Preferred Directors Right to Elect with Parity Stock",
        "terseLabel": "Number of preferred directors right to elect with parity stock"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NumberOfReportableSegments": {
     "xbrltype": "integerItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NumberOfReportableSegments",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsSegmentReportingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Number of reportable segments",
        "label": "Number of Reportable Segments",
        "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."
       }
      }
     },
     "auth_ref": [
      "r821"
     ]
    },
    "ctrm_NumberOfSecuritiesIncludedInUnitOffered": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "NumberOfSecuritiesIncludedInUnitOffered",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of securities included in the unit offered.",
        "label": "Number of Securities Included in Unit Offered",
        "terseLabel": "Number of securities included in each unit offered (in shares)"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_NumberOfSharesOfCommonStockHeldToReceiveStockIssuedUponCompletionOfSpinOff": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "NumberOfSharesOfCommonStockHeldToReceiveStockIssuedUponCompletionOfSpinOff",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of the Company's common stock held to receive one share of the subsidiary's common stock issued upon completion of spin-off of the wholly owned subsidiary.",
        "label": "Number of Shares of Common Stock Held to Receive Stock Issued Upon Completion of Spin-Off",
        "terseLabel": "Number of shares of Company stock held to receive one share of Toro common stock (in shares)"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_NumberOfSharesOfCommonStockIssuedUponCompletionOfSpinOff": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "NumberOfSharesOfCommonStockIssuedUponCompletionOfSpinOff",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of the subsidiary's common stock that was issued for every 10 shares of the Company's common stock upon completion of spin-off of the wholly owned subsidiary.",
        "label": "Number of Shares of Common Stock Issued upon Completion of Spin-Off",
        "terseLabel": "Number of shares of Toro common stock issued for every 10 shares of Company stock (in shares)"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_NumberOfSharesOfJuniorStockThatCanBeExchangedOrConverted": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "NumberOfSharesOfJuniorStockThatCanBeExchangedOrConverted",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of Junior Stock that can be exchanged or converted for or into another share of stock that ranks junior to the Series D Preferred Shares in the payment of dividends and in the distribution of assets on any liquidation, dissolution or winding up of the Company.",
        "label": "Number of shares of Junior Stock that can be exchanged or converted"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_NumberOfShipOwningSubsidiariesEnteringIntoTermLoanFacility": {
     "xbrltype": "integerItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "NumberOfShipOwningSubsidiariesEnteringIntoTermLoanFacility",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt1529MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt2315MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt4075MillionTermLoanFacilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of the Company's ship-owning subsidiaries that entered into a senior secured term loan facility.",
        "label": "Number of ship-owning subsidiaries entering into term loan facility",
        "terseLabel": "Number of ship-owning subsidiaries entering into term loan facility"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_NumberOfSubsidiariesProvidingSecurityForTermLoanFacility": {
     "xbrltype": "integerItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "NumberOfSubsidiariesProvidingSecurityForTermLoanFacility",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of the Company's subsidiaries that provided security for a senior secured term loan facility.",
        "label": "Number of subsidiaries providing security for term loan facility",
        "terseLabel": "Number of subsidiaries providing security for term loan facility"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_NumberOfTradingDays": {
     "xbrltype": "durationItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "NumberOfTradingDays",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of trading days volume weighted average, in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Number of Trading Days",
        "terseLabel": "Number of trading days"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_NumberOfVessels": {
     "xbrltype": "integerItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "NumberOfVessels",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of vessels in the Company's fleet.",
        "label": "Number of vessels",
        "terseLabel": "Number of vessels"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_NumberOfVesselsAcquired": {
     "xbrltype": "integerItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "NumberOfVesselsAcquired",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of vessels acquired by the entity during the period.",
        "label": "Number of vessels acquired",
        "terseLabel": "Number of vessels acquired"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_NumberOfVesselsCompletingScheduledDrydockingRepairs": {
     "xbrltype": "integerItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "NumberOfVesselsCompletingScheduledDrydockingRepairs",
     "presentation": [
      "http://castormaritime.com/role/DeferredChargesNetDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of vessels completing scheduled drydocking repairs.",
        "label": "Number of Vessels Completing Scheduled Drydocking Repairs",
        "terseLabel": "Number of vessels completing scheduled drydocking repairs"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_NumberOfVesselsMortgagedAsCollateral": {
     "xbrltype": "integerItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "NumberOfVesselsMortgagedAsCollateral",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of vessels first priority mortgaged as collateral to their loan facilities.",
        "label": "Number of vessels mortgaged as collateral",
        "terseLabel": "Number of vessels first priority mortgaged as collateral to loan facilities"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_NumberOfVesselsSold": {
     "xbrltype": "integerItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "NumberOfVesselsSold",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of vessels sold by the entity during the period.",
        "label": "Number of Vessels Sold",
        "terseLabel": "Number of vessels sold"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_NumberOfVesselsUnderTechnicalManagement": {
     "xbrltype": "integerItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "NumberOfVesselsUnderTechnicalManagement",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of vessels under technical management with sub-contracted, third-party ship-management companies.",
        "label": "Number of vessels under technical management",
        "terseLabel": "Number of vessels under technical management"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_NumberOfWhollyOwnedSubsidiariesEnteringIntoAgreementsWithRelatedParty": {
     "xbrltype": "integerItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "NumberOfWhollyOwnedSubsidiariesEnteringIntoAgreementsWithRelatedParty",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDisposalsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of wholly-owned subsidiaries of the Company entering into agreements with a related party.",
        "label": "Number of Wholly Owned Subsidiaries Entering into Agreements with Related Party",
        "terseLabel": "Number of wholly owned subsidiaries entering into agreements with related party"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_OfferingCostsPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "OfferingCostsPolicyTextBlock",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy related to offering costs.",
        "label": "Offering Costs [Policy Text Block]",
        "terseLabel": "Offering Costs"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OfficersCompensation": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OfficersCompensation",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/GeneralAndAdministrativeExpensesDetails": {
       "parentTag": "us-gaap_GeneralAndAdministrativeExpense",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/GeneralAndAdministrativeExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Non-executive directors' compensation",
        "label": "Salary and Wage, Officer, Excluding Cost of Good and Service Sold",
        "documentation": "Amount of expense for salary and wage arising from service rendered by officer. Excludes allocated cost, labor-related nonsalary expense, and direct and overhead labor cost included in cost of good and service sold."
       }
      }
     },
     "auth_ref": [
      "r803"
     ]
    },
    "us-gaap_OperatingCostsAndExpenses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OperatingCostsAndExpenses",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome": {
       "parentTag": "us-gaap_CostsAndExpenses",
       "weight": 1.0,
       "order": 1.0
      },
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails": {
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": -1.0,
       "order": 3.0
      },
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Vessel operating expenses",
        "totalLabel": "Total Vessel operating expenses",
        "label": "Operating Costs and Expenses",
        "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. Excludes Selling, General and Administrative Expense."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OperatingCostsAndExpensesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OperatingCostsAndExpensesAbstract",
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Vessel Operating Expenses [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_OperatingExpensesPaymentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "OperatingExpensesPaymentsMember",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Payments for operating expenses made by Castor Ships on behalf of the Company.",
        "label": "Operating Expenses Payments [Member]",
        "terseLabel": "Operating Expenses Payments [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OperatingIncomeLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OperatingIncomeLoss",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome": {
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0,
       "order": 0.0
      },
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Operating income",
        "label": "Operating Income (Loss)",
        "documentation": "The net result for the period of deducting operating expenses from operating revenues."
       }
      }
     },
     "auth_ref": [
      "r310",
      "r330",
      "r336",
      "r339",
      "r736"
     ]
    },
    "us-gaap_OperatingLeaseLeaseIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OperatingLeaseLeaseIncome",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome": {
       "parentTag": "us-gaap_Revenues",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/TotalVesselRevenuesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Time charter revenues",
        "terseLabel": "Vessel revenues",
        "label": "Operating Lease, Lease Income",
        "documentation": "Amount of operating lease income from lease payments and variable lease payments paid and payable to lessor. Includes, but is not limited to, variable lease payments not included in measurement of lease receivable."
       }
      }
     },
     "auth_ref": [
      "r302",
      "r523",
      "r525"
     ]
    },
    "us-gaap_OperatingSegmentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OperatingSegmentsMember",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Segment [Member]",
        "documentation": "Identifies components of an entity that engage in business activities from which they may earn revenue and incur expenses, including transactions with other components of the same entity."
       }
      }
     },
     "auth_ref": [
      "r329",
      "r330",
      "r331",
      "r332",
      "r333",
      "r339"
     ]
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Basis of Presentation and General information [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Basis of Presentation and General information",
        "label": "Organization, Consolidation and Presentation of Financial Statements Disclosure [Text Block]",
        "documentation": "The entire disclosure for organization, consolidation and basis of presentation of financial statements disclosure."
       }
      }
     },
     "auth_ref": [
      "r95",
      "r168",
      "r606",
      "r607"
     ]
    },
    "ctrm_OrganizationLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "OrganizationLineItems",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails",
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "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": "Organization [Line Items]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_OrganizationTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "OrganizationTable",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails",
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information on the organization.",
        "label": "Organization [Table]",
        "terseLabel": "Organization [Table]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OtherAssetsDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OtherAssetsDisclosureTextBlock",
     "presentation": [
      "http://castormaritime.com/role/DeferredChargesNet"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Deferred Charges, net",
        "label": "Other Assets Disclosure [Text Block]",
        "documentation": "The entire disclosure for other assets. This disclosure includes other current assets and other noncurrent assets."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OtherCostAndExpenseOperating": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OtherCostAndExpenseOperating",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails": {
       "parentTag": "us-gaap_OperatingCostsAndExpenses",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other",
        "label": "Other Cost and Expense, Operating",
        "documentation": "The total amount of other operating cost and expense items that are associated with the entity's normal revenue producing operation."
       }
      }
     },
     "auth_ref": [
      "r140",
      "r580"
     ]
    },
    "us-gaap_OtherIncomeAndExpensesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OtherIncomeAndExpensesAbstract",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncomeParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "OTHER INCOME/(EXPENSES):"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OtherLiabilitiesCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OtherLiabilitiesCurrent",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0,
       "order": 7.0
      },
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails": {
       "parentTag": "us-gaap_AssetsNet",
       "weight": -1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails",
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Due to related party - current",
        "verboseLabel": "Due to related parties",
        "negatedLabel": "Due to Related Parties",
        "label": "Other Liabilities, Current",
        "documentation": "Amount of liabilities classified as other, due within one year or the normal operating cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r29",
      "r759"
     ]
    },
    "us-gaap_OtherLiabilitiesDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OtherLiabilitiesDisclosureAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value of Acquired Time Charters [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OtherLiabilitiesDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OtherLiabilitiesDisclosureTextBlock",
     "presentation": [
      "http://castormaritime.com/role/FairValueOfAcquiredTimeCharters"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value of Acquired Time Charters",
        "label": "Other Liabilities Disclosure [Text Block]",
        "documentation": "The entire disclosure for other liabilities."
       }
      }
     },
     "auth_ref": [
      "r30"
     ]
    },
    "us-gaap_OtherLiabilityCurrentRelatedPartyTypeExtensibleEnumeration": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OtherLiabilityCurrentRelatedPartyTypeExtensibleEnumeration",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Liability, Current, Related Party, Type [Extensible Enumeration]",
        "documentation": "Indicates type of related party for liability classified as other and current."
       }
      }
     },
     "auth_ref": [
      "r849"
     ]
    },
    "us-gaap_OtherNonoperatingIncomeAndExpenseTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OtherNonoperatingIncomeAndExpenseTextBlock",
     "presentation": [
      "http://castormaritime.com/role/InterestAndFinanceCosts"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest and Finance Costs",
        "documentation": "The entire disclosure for the components of non-operating income or non-operating expense, including, but not limited to, amounts earned from dividends, interest on securities, gain (loss) on securities sold, equity earnings of unconsolidated affiliates, gain (loss) on sales of business, interest expense and other miscellaneous income or expense items."
       }
      }
     },
     "auth_ref": [
      "r251",
      "r252"
     ]
    },
    "us-gaap_OtherReceivableAfterAllowanceForCreditLossCurrentRelatedPartyTypeExtensibleEnumeration": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OtherReceivableAfterAllowanceForCreditLossCurrentRelatedPartyTypeExtensibleEnumeration",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Receivable, after Allowance for Credit Loss, Current, Related Party, Type [Extensible Enumeration]",
        "documentation": "Indicates type of related party for receivable, after allowance for credit loss, classified as other and current."
       }
      }
     },
     "auth_ref": [
      "r849"
     ]
    },
    "us-gaap_OtherReceivableAfterAllowanceForCreditLossNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OtherReceivableAfterAllowanceForCreditLossNoncurrent",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails": {
       "parentTag": "us-gaap_AssetsNet",
       "weight": 1.0,
       "order": 7.0
      },
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails",
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Due from related party - non-current",
        "label": "Due from related parties",
        "terseLabel": "Due from related parties - non-current",
        "documentation": "Amount, after allowance for credit loss, of receivable classified as other and noncurrent."
       }
      }
     },
     "auth_ref": [
      "r798"
     ]
    },
    "us-gaap_OtherReceivableAfterAllowanceForCreditLossNoncurrentRelatedPartyTypeExtensibleEnumeration": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OtherReceivableAfterAllowanceForCreditLossNoncurrentRelatedPartyTypeExtensibleEnumeration",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Receivable, after Allowance for Credit Loss, Noncurrent, Related Party, Type [Extensible Enumeration]",
        "documentation": "Indicates type of related party for receivable, after allowance for credit loss, classified as other and noncurrent."
       }
      }
     },
     "auth_ref": [
      "r849"
     ]
    },
    "us-gaap_OtherReceivablesNetCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OtherReceivablesNetCurrent",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails": {
       "parentTag": "us-gaap_AssetsNet",
       "weight": 1.0,
       "order": 2.0
      },
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails",
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Due from related party - current",
        "terseLabel": "Due from related parties",
        "label": "Due from related parties - current",
        "documentation": "Amount, after allowance, of receivables classified as other, due within one year or the operating cycle, if longer."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OverAllotmentOptionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OverAllotmentOptionMember",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Over-Allotment Option [Member]",
        "label": "Over-Allotment Option [Member]",
        "documentation": "Right given to the underwriter to sell additional shares over the initial allotment."
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_PanamaxVesselMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "PanamaxVesselMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A dry bulk carrier with a dead-weight carrying capacity of about 75,000 tons.",
        "label": "Panamax Vessel [Member]",
        "terseLabel": "Panamax Dry Bulk [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_ParValueOfSharesIssuedMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "ParValueOfSharesIssuedMember",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Capital stock, including shares designated as common shares and preferred shares.",
        "label": "Par Value of Shares Issued [Member]",
        "terseLabel": "Par Value of Shares Issued [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_PavimarSAMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "PavimarSAMember",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pavimar S.A. (Pavimar) is a company controlled by Ismini Panagiotidis, the sister of Petros Panagiotidis, the Company's Chairman, Chief Executive Officer and Chief Financial Officer.",
        "label": "Pavimar S.A. [Member]",
        "terseLabel": "Pavimar [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_PaymentsForPreferredStockIssuanceCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "PaymentsForPreferredStockIssuanceCosts",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations",
       "weight": -1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for cost incurred directly with the issuance of an preferred stock.",
        "label": "Payments for Preferred Stock Issuance Costs",
        "negatedLabel": "Series D Preferred Shares issuance expenses"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PaymentsForRepurchaseOfRedeemablePreferredStock": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PaymentsForRepurchaseOfRedeemablePreferredStock",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations",
       "weight": -1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Redemption of Series A Preferred Shares",
        "label": "Payments for Repurchase of Redeemable Preferred Stock",
        "documentation": "The cash outflow for reacquisition of callable preferred stock."
       }
      }
     },
     "auth_ref": [
      "r40"
     ]
    },
    "us-gaap_PaymentsForRepurchaseOfWarrants": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PaymentsForRepurchaseOfWarrants",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations",
       "weight": -1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows",
      "http://castormaritime.com/role/EquityCapitalStructure2020JulyEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021ThirdRegisteredDirectEquityOfferingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Repurchase of warrants",
        "terseLabel": "Repurchase of warrants",
        "label": "Payments for Repurchase of Warrants",
        "documentation": "The aggregate amount paid by the entity to reacquire the right to purchase equity shares at a predetermined price, usually issued together with corporate debt."
       }
      }
     },
     "auth_ref": [
      "r40"
     ]
    },
    "ctrm_PaymentsOfAdvancesForVesselAcquisitions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "PaymentsOfAdvancesForVesselAcquisitions",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations",
       "weight": -1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of cash outflows associated with advance amount for vessel acquisitions.",
        "label": "Payments of Advances for Vessel Acquisitions",
        "negatedLabel": "Advances for vessel acquisition"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PaymentsOfDividendsPreferredStockAndPreferenceStock": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PaymentsOfDividendsPreferredStockAndPreferenceStock",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations",
       "weight": -1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Dividends paid on Series D Preferred Shares",
        "label": "Payments of Ordinary Dividends, Preferred Stock and Preference Stock",
        "documentation": "Amount of cash outflow in the form of ordinary dividends to preferred shareholders of the parent entity."
       }
      }
     },
     "auth_ref": [
      "r40"
     ]
    },
    "us-gaap_PaymentsOfFinancingCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PaymentsOfFinancingCosts",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations",
       "weight": -1.0,
       "order": 14.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Payment of deferred financing costs",
        "label": "Payments of Financing Costs",
        "documentation": "The cash outflow for loan and debt issuance costs."
       }
      }
     },
     "auth_ref": [
      "r39"
     ]
    },
    "us-gaap_PaymentsOfStockIssuanceCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PaymentsOfStockIssuanceCosts",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations",
       "weight": -1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Common share issuance expenses",
        "label": "Payments of Stock Issuance Costs",
        "documentation": "The cash outflow for cost incurred directly with the issuance of an equity security."
       }
      }
     },
     "auth_ref": [
      "r39"
     ]
    },
    "us-gaap_PaymentsToAcquireEquitySecuritiesFvNi": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PaymentsToAcquireEquitySecuritiesFvNi",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations",
       "weight": -1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows",
      "http://castormaritime.com/role/InvestmentInEquitySecuritiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Purchase of equity securities",
        "terseLabel": "Equity securities acquired",
        "label": "Payments to Acquire Equity Securities, FV-NI",
        "documentation": "Amount of cash outflow to acquire investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI), classified as investing activity."
       }
      }
     },
     "auth_ref": [
      "r191",
      "r255"
     ]
    },
    "us-gaap_PaymentsToAcquirePropertyPlantAndEquipment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PaymentsToAcquirePropertyPlantAndEquipment",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations",
       "weight": -1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Vessel acquisitions (including time charters attached) and other vessel improvements",
        "label": "Payments to Acquire Property, Plant, and Equipment",
        "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."
       }
      }
     },
     "auth_ref": [
      "r147"
     ]
    },
    "ctrm_PercentageOfPurchasePriceRequiredAsDepositIntoEscrowAccount": {
     "xbrltype": "percentItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "PercentageOfPurchasePriceRequiredAsDepositIntoEscrowAccount",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesClaimsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of the purchase price of the vessel being sold under a Memorandum of Agreement that the buyers were required to deposit into an escrow account administered by the escrow agent as security for completion of the transaction.",
        "label": "Percentage of Purchase Price Required as Deposit into Escrow Account",
        "terseLabel": "Percentage of purchase price required as deposit into escrow account"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_PercentageOfSharesHeld": {
     "xbrltype": "percentItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "PercentageOfSharesHeld",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of the Company's shares held by another entity.",
        "label": "Percentage of shares held",
        "terseLabel": "Percentage of shares held"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_PercentageOfVolumeWeightedAveragePrice": {
     "xbrltype": "percentItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "PercentageOfVolumeWeightedAveragePrice",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of volume weighted average price (\"VWAP\") of common shares used in the calculation of the conversion price of preferred shares.",
        "label": "Percentage of Volume Weighted Average Price",
        "terseLabel": "Percentage of volume weighted average price of common shares"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_PeriodBeforeArbitratorIsToIssueAward": {
     "xbrltype": "durationItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "PeriodBeforeArbitratorIsToIssueAward",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesClaimsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period of time before arbitrator is expected to issue an award, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Period before Arbitrator is to Issue Award",
        "terseLabel": "Period before arbitrator is expected to issue award"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_PikachuShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "PikachuShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Pikachu Shipping Co. [Member]",
        "terseLabel": "Pikachu Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_PocahontasShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "PocahontasShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Pocahontas Shipping Co. [Member]",
        "terseLabel": "Pocahontas Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_PoolAgreementsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "PoolAgreementsMember",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Revenue generated from pool agreements.",
        "label": "Pool Agreements [Member]",
        "terseLabel": "Pool [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_PortAndOtherExpenses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "PortAndOtherExpenses",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails": {
       "parentTag": "ctrm_VoyageExpenses",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed charges, such as wharfage, towage, and pilotage, levied against a ship or its cargo in port and other expenses.",
        "label": "Port and Other Expenses",
        "terseLabel": "Port &amp; other expenses"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PreferredStockConvertibleConversionPrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PreferredStockConvertibleConversionPrice",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Conversion price (in dollars per share)",
        "label": "Conversion price (in dollars per share)",
        "documentation": "Per share conversion price of preferred stock."
       }
      }
     },
     "auth_ref": [
      "r419"
     ]
    },
    "us-gaap_PreferredStockDividendRatePercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PreferredStockDividendRatePercentage",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesPreferredSharesRedemptionDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesIssuanceOfSeriesDPreferredSharesToToroCorpDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Preferred shares, dividend rate",
        "verboseLabel": "Percentage of cash dividends",
        "label": "Preferred Stock, Dividend Rate, Percentage",
        "documentation": "The percentage rate used to calculate dividend payments on preferred stock."
       }
      }
     },
     "auth_ref": [
      "r418",
      "r698",
      "r703",
      "r704",
      "r709"
     ]
    },
    "us-gaap_PreferredStockDividendsIncomeStatementImpact": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PreferredStockDividendsIncomeStatementImpact",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome": {
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic",
       "weight": -1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/EarningsPerCommonShareDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Deemed dividend on Preferred Shares",
        "negatedTerseLabel": "Less: Deemed dividend on Preferred Shares",
        "terseLabel": "Deemed dividend on Series D Preferred Shares",
        "verboseLabel": "Dividend paid",
        "label": "Less: Deemed preferred dividend",
        "documentation": "The amount of preferred stock dividends that is an adjustment to net income apportioned to common stockholders."
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_PreferredStockEffectiveInterestRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "PreferredStockEffectiveInterestRate",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The effective interest rate used to calculate the accretion of dividends.",
        "label": "Preferred Stock Effective Interest Rate",
        "terseLabel": "Effective interest rate"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_PreferredStockExpectedLife": {
     "xbrltype": "durationItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "PreferredStockExpectedLife",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Expected life of preferred stock, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Preferred Stock Expected Life",
        "terseLabel": "Preferred stock, redemption period"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_PreferredStockIssuanceCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "PreferredStockIssuanceCosts",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of stock issuance costs on issuance of temporary equity.",
        "label": "Preferred Stock, Issuance Costs",
        "terseLabel": "Issuance costs"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PreferredStockLiquidationPreference": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PreferredStockLiquidationPreference",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureSeriesPreferredSharesRedemptionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liquidation preference per share (in dollars per share)",
        "documentation": "The per share liquidation preference (or restrictions) of nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer) that has a preference in involuntary liquidation considerably in excess of the par or stated value of the shares. The liquidation preference is the difference between the preference in liquidation and the par or stated values of the share."
       }
      }
     },
     "auth_ref": [
      "r74",
      "r75",
      "r127",
      "r809",
      "r840"
     ]
    },
    "us-gaap_PreferredStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PreferredStockMember",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Preferred Shares [Member]",
        "label": "Preferred Stock [Member]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r762",
      "r763",
      "r766",
      "r767",
      "r768",
      "r769",
      "r866",
      "r871"
     ]
    },
    "us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureDescriptionOfSeriesBPreferredSharesDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesPreferredSharesRedemptionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Preferred Shares [Abstract]",
        "label": "Preferred Stock, Number of Shares, Par Value and Other Disclosure [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PreferredStockParOrStatedValuePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PreferredStockParOrStatedValuePerShare",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesPreferredSharesRedemptionDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Preferred shares, par value (in dollars per share)",
        "label": "Preferred Stock, Par or Stated Value Per Share",
        "documentation": "Face amount or stated value per share of preferred stock nonredeemable or redeemable solely at the option of the issuer."
       }
      }
     },
     "auth_ref": [
      "r127",
      "r417"
     ]
    },
    "us-gaap_PreferredStockSharesAuthorized": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PreferredStockSharesAuthorized",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://castormaritime.com/role/EquityCapitalStructureCapitalStockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Preferred shares, shares authorized (in shares)",
        "label": "Preferred Stock, Shares Authorized",
        "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."
       }
      }
     },
     "auth_ref": [
      "r127",
      "r644"
     ]
    },
    "us-gaap_PreferredStockSharesIssued": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PreferredStockSharesIssued",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesIssuanceOfSeriesDPreferredSharesToToroCorpDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Preferred shares, shares issued (in shares)",
        "terseLabel": "Preferred shares, shares issued (in shares)",
        "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."
       }
      }
     },
     "auth_ref": [
      "r127",
      "r417"
     ]
    },
    "us-gaap_PreferredStockSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PreferredStockSharesOutstanding",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/ConsolidatedBalanceSheetsParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Preferred shares, shares outstanding (in shares)",
        "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."
       }
      }
     },
     "auth_ref": [
      "r127",
      "r644",
      "r662",
      "r871",
      "r872"
     ]
    },
    "ctrm_PreferredStockStatedValuePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "PreferredStockStatedValuePerShare",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stated value per share of preferred stock nonredeemable or redeemable solely at the option of the issuer.",
        "label": "Preferred Stock, Stated Value per Share",
        "terseLabel": "Preferred shares, stated amount (in dollars per share)"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PreferredStockValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PreferredStockValue",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Preferred shares",
        "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."
       }
      }
     },
     "auth_ref": [
      "r127",
      "r564",
      "r759"
     ]
    },
    "ctrm_PreferredStockVotingPowerInNumberOfCommonShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "PreferredStockVotingPowerInNumberOfCommonShares",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureDescriptionOfSeriesBPreferredSharesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of common shares each preferred share has in voting power.",
        "label": "Preferred Stock, Voting power in number of common shares",
        "terseLabel": "Voting power of each preferred share in number of common shares (in shares)"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_PreferredStockVotingRightsNumberOfVotes": {
     "xbrltype": "integerItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "PreferredStockVotingRightsNumberOfVotes",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureDescriptionOfSeriesBPreferredSharesDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of votes each outstanding preferred share is entitled to vote per share owned on all matters submitted to a vote of shareholders.",
        "label": "Preferred Stock, Voting Rights, Number of Votes",
        "terseLabel": "Number of votes per share"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_PrefundedWarrantMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "PrefundedWarrantMember",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Prefunded security that gives the holder the right to purchase one share of common stock in accordance with the terms of the instrument, usually upon payment of a specified amount.",
        "label": "Prefunded Warrant [Member]",
        "terseLabel": "Prefunded Warrant [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PrepaidExpenseAndOtherAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PrepaidExpenseAndOtherAssets",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Prepaid expenses and other assets",
        "label": "Prepaid Expense and Other Assets",
        "documentation": "Amount of asset related to consideration paid in advance for costs that provide economic benefits in future periods, and amount of other assets."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PrepaidExpenseAndOtherAssetsCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PrepaidExpenseAndOtherAssetsCurrent",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails": {
       "parentTag": "us-gaap_AssetsNet",
       "weight": 1.0,
       "order": 4.0
      },
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails",
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prepaid expenses and other assets",
        "verboseLabel": "Prepaid expenses and other assets, current",
        "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."
       }
      }
     },
     "auth_ref": [
      "r802"
     ]
    },
    "us-gaap_PrepaidExpenseAndOtherAssetsNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PrepaidExpenseAndOtherAssetsNoncurrent",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0,
       "order": 6.0
      },
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails": {
       "parentTag": "us-gaap_AssetsNet",
       "weight": 1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails",
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Prepaid expenses and other assets",
        "label": "Prepaid expenses and other assets, non-current",
        "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 after one year or the normal operating cycle, if longer."
       }
      }
     },
     "auth_ref": [
      "r173",
      "r799"
     ]
    },
    "us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PrepaidExpensesAndOtherCurrentAssetsMember",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesClaimsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Prepaid Expenses and Other Assets [Member]",
        "label": "Prepaid Expenses and Other Current Assets [Member]",
        "documentation": "Primary financial statement caption encompassing prepaid expenses and other current assets."
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_PrivatePlacementWarrantsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "PrivatePlacementWarrantsMember",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JulyEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021ThirdRegisteredDirectEquityOfferingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A direct offering of warrants issued in the July 2020 Equity Offering pursuant to a placement agency agreement between Maxim Group, LLC and the Company that gives the holder the right to purchase one share of common stock in accordance with the terms of the instrument, usually upon payment of a specified amount.",
        "label": "Private Placement Warrants [Member]",
        "terseLabel": "Private Placement Warrants [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ProceedsFromContributionsFromAffiliates": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ProceedsFromContributionsFromAffiliates",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations",
       "weight": 1.0,
       "order": 9.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds received from Toro Corp. related to Spin-Off",
        "terseLabel": "Proceeds received related to Spin-Off",
        "documentation": "The cash inflow from an entity that is affiliated with the entity by means of direct or indirect ownership."
       }
      }
     },
     "auth_ref": [
      "r37"
     ]
    },
    "us-gaap_ProceedsFromInterestAndDividendsReceived": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ProceedsFromInterestAndDividendsReceived",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividends received from related parties",
        "documentation": "Cash received for dividends and interest on the entity's equity and debt investments during the current period."
       }
      }
     },
     "auth_ref": [
      "r192",
      "r256"
     ]
    },
    "ctrm_ProceedsFromIssuanceOfCommonStockAndWarrants": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "ProceedsFromIssuanceOfCommonStockAndWarrants",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from the issuance of common stock, preferred stock, treasury stock, stock options, and other types of equity.",
        "label": "Proceeds from Issuance of Common Stock and Warrants",
        "terseLabel": "Gross proceeds from issuance of common shares and warrants"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ProceedsFromIssuanceOfDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ProceedsFromIssuanceOfDebt",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations",
       "weight": 1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows",
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds from long-term debt",
        "verboseLabel": "Proceeds from debt",
        "documentation": "The cash inflow during the period from additional borrowings in aggregate debt. Includes proceeds from short-term and long-term debt."
       }
      }
     },
     "auth_ref": [
      "r805"
     ]
    },
    "us-gaap_ProceedsFromIssuanceOfPreferredStockAndPreferenceStock": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ProceedsFromIssuanceOfPreferredStockAndPreferenceStock",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesIssuanceOfSeriesDPreferredSharesToToroCorpDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consideration received for preferred shares issued",
        "verboseLabel": "Gross proceeds from Series D Preferred Shares",
        "documentation": "Proceeds from issuance of capital stock which provides for a specific dividend that is paid to the shareholders before any dividends to common stockholders and which takes precedence over common stockholders in the event of liquidation."
       }
      }
     },
     "auth_ref": [
      "r6"
     ]
    },
    "us-gaap_ProceedsFromIssuanceOrSaleOfEquity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ProceedsFromIssuanceOrSaleOfEquity",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JulyEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021FirstRegisteredDirectEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021SecondRegisteredDirectEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021ThirdRegisteredDirectEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructureMay2023AtthemarketCommonStockOfferingProgramDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Gross proceeds from issuance of common shares",
        "label": "Gross proceeds from issuance of common stock and warrants",
        "documentation": "The cash inflow from the issuance of common stock, preferred stock, treasury stock, stock options, and other types of equity."
       }
      }
     },
     "auth_ref": [
      "r6",
      "r612"
     ]
    },
    "us-gaap_ProceedsFromRelatedPartyDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ProceedsFromRelatedPartyDebt",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesThalassaDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Proceeds from related party debt",
        "label": "Proceeds from Related Party Debt",
        "documentation": "The cash inflow from a long-term borrowing made from related parties where one party can exercise control or significant influence over another party; including affiliates, owners or officers and their immediate families, pension trusts, and so forth. Alternate caption: Proceeds from Advances from Affiliates."
       }
      }
     },
     "auth_ref": [
      "r38"
     ]
    },
    "us-gaap_ProceedsFromSaleOfEquitySecuritiesFvNi": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ProceedsFromSaleOfEquitySecuritiesFvNi",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows",
      "http://castormaritime.com/role/InvestmentInEquitySecuritiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Proceeds from sale of equity securities",
        "negatedLabel": "Proceeds from sale of equity securities",
        "label": "Proceeds from Sale of Equity Securities, FV-NI",
        "documentation": "Amount of cash inflow from sale of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI), classified as investing activity."
       }
      }
     },
     "auth_ref": [
      "r191",
      "r255"
     ]
    },
    "us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ProceedsFromSaleOfPropertyPlantAndEquipment",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net proceeds from sale of vessels",
        "documentation": "The cash inflow from the sale of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale."
       }
      }
     },
     "auth_ref": [
      "r146"
     ]
    },
    "srt_ProductOrServiceAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "ProductOrServiceAxis",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Product and Service [Axis]",
        "documentation": "Information by product and service, or group of similar products and similar services."
       }
      }
     },
     "auth_ref": [
      "r341",
      "r545",
      "r593",
      "r594",
      "r595",
      "r596",
      "r597",
      "r598",
      "r725",
      "r746",
      "r760",
      "r790",
      "r831",
      "r832",
      "r842",
      "r864"
     ]
    },
    "srt_ProductsAndServicesDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "ProductsAndServicesDomain",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Product and Service [Domain]",
        "documentation": "Product or service, or a group of similar products or similar services."
       }
      }
     },
     "auth_ref": [
      "r341",
      "r545",
      "r593",
      "r594",
      "r595",
      "r596",
      "r597",
      "r598",
      "r725",
      "r746",
      "r760",
      "r790",
      "r831",
      "r832",
      "r842",
      "r864"
     ]
    },
    "us-gaap_ProfessionalFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ProfessionalFees",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/GeneralAndAdministrativeExpensesDetails": {
       "parentTag": "us-gaap_GeneralAndAdministrativeExpense",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/GeneralAndAdministrativeExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Professional fees and other expenses",
        "label": "Professional Fees",
        "documentation": "A fee charged for services from professionals such as doctors, lawyers and accountants. The term is often expanded to include other professions, for example, pharmacists charging to maintain a medicinal profile of a client or customer."
       }
      }
     },
     "auth_ref": [
      "r771",
      "r869",
      "r870"
     ]
    },
    "us-gaap_PropertyPlantAndEquipmentAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PropertyPlantAndEquipmentAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Vessels, net/Assets held for sale [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PropertyPlantAndEquipmentAdditions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PropertyPlantAndEquipmentAdditions",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDisposalsDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleNetBookValueDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Purchase price of acquired vessel",
        "verboseLabel": "Purchase price",
        "label": "Acquisitions, improvements, and other vessel costs",
        "documentation": "Amount of acquisition of long-lived, 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, furniture and fixtures, and computer equipment."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PropertyPlantAndEquipmentByTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PropertyPlantAndEquipmentByTypeAxis",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/DeferredChargesNetDetails",
      "http://castormaritime.com/role/FairValueOfAcquiredTimeChartersDetails",
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt2315MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt4075MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt45MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDisposalsDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleNetBookValueDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-Lived Tangible Asset [Axis]",
        "documentation": "Information by type of long-lived, physical assets used to produce goods and services and not intended for resale."
       }
      }
     },
     "auth_ref": [
      "r11"
     ]
    },
    "us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PropertyPlantAndEquipmentDisclosureTextBlock",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSale"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Vessels, net/Assets held for sale",
        "label": "Property, Plant and Equipment Disclosure [Text Block]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r153",
      "r198",
      "r201",
      "r202"
     ]
    },
    "us-gaap_PropertyPlantAndEquipmentDisposals": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PropertyPlantAndEquipmentDisposals",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleNetBookValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Vessel disposals",
        "label": "Property, Plant and Equipment, Disposals",
        "documentation": "Amount of divestiture of long-lived, 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, furniture and fixtures, and computer equipment."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PropertyPlantAndEquipmentGross": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PropertyPlantAndEquipmentGross",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleNetBookValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance",
        "label": "Property, Plant and Equipment, Gross",
        "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."
       }
      }
     },
     "auth_ref": [
      "r157",
      "r228",
      "r571"
     ]
    },
    "us-gaap_PropertyPlantAndEquipmentLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PropertyPlantAndEquipmentLineItems",
     "presentation": [
      "http://castormaritime.com/role/FairValueOfAcquiredTimeChartersDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleNetBookValueDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, Plant and Equipment [Line Items]",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PropertyPlantAndEquipmentNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PropertyPlantAndEquipmentNet",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0,
       "order": 2.0
      },
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails": {
       "parentTag": "us-gaap_AssetsNet",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails",
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleNetBookValueDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Vessels, net",
        "label": "Carrying value",
        "periodStartLabel": "Beginning balance",
        "periodEndLabel": "Ending balance",
        "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."
       }
      }
     },
     "auth_ref": [
      "r11",
      "r561",
      "r571",
      "r759"
     ]
    },
    "us-gaap_PropertyPlantAndEquipmentNetAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PropertyPlantAndEquipmentNetAbstract",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Vessel Acquisitions [Abstract]",
        "label": "Property, Plant and Equipment, Net [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PropertyPlantAndEquipmentNetByTypeAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PropertyPlantAndEquipmentNetByTypeAbstract",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleNetBookValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net Book Value [Abstract]",
        "label": "Property, Plant and Equipment, Net, by Type [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_PropertyPlantAndEquipmentNetTransfersToAssetsHeldForSale": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "PropertyPlantAndEquipmentNetTransfersToAssetsHeldForSale",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleNetBookValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) after accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business to produce goods and services transferred to held for sale.",
        "label": "Property, Plant and Equipment, Net Transfers to Assets Held for Sale",
        "terseLabel": "Transfer to Assets held for sale"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_PropertyPlantAndEquipmentNetVesselDisposal": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "PropertyPlantAndEquipmentNetVesselDisposal",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleNetBookValueDetails"
     ],
     "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 as a result of sale or disposal of property, plant and equipment.",
        "label": "Property, Plant and Equipment, Net, Vessel Disposal",
        "negatedLabel": "Vessel disposals"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PropertyPlantAndEquipmentPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PropertyPlantAndEquipmentPolicyTextBlock",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Vessels, Net",
        "label": "Property, Plant and Equipment, Policy [Policy Text Block]",
        "documentation": "Disclosure of accounting policy 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."
       }
      }
     },
     "auth_ref": [
      "r11",
      "r198",
      "r201",
      "r569"
     ]
    },
    "ctrm_PropertyPlantAndEquipmentSalesPrice": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "PropertyPlantAndEquipmentSalesPrice",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/SubsequentEventsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDisposalsDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gross sales price of long-lived, physical assets used in the normal conduct of business.",
        "label": "Property Plant and Equipment, Sales Price",
        "verboseLabel": "Sale price of vessel",
        "terseLabel": "Sale price"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PropertyPlantAndEquipmentTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PropertyPlantAndEquipmentTextBlock",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Vessels, Net",
        "label": "Property, Plant and Equipment [Table Text Block]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r11"
     ]
    },
    "us-gaap_PropertyPlantAndEquipmentTransfersAndChanges": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PropertyPlantAndEquipmentTransfersAndChanges",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleNetBookValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Transfer to Assets held for sale",
        "label": "Property, Plant and Equipment, Transfers and Changes",
        "documentation": "Amount of increase (decrease) of physical assets used in the normal conduct of business and not intended for resale, from reclassification, impairment, donation, or changes classified as other. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures."
       }
      }
     },
     "auth_ref": [
      "r68"
     ]
    },
    "ctrm_PropertyPlantAndEquipmentTransfersFromAdvancesForVesselAcquisitions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "PropertyPlantAndEquipmentTransfersFromAdvancesForVesselAcquisitions",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleNetBookValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) of physical assets used in the normal conduct of business and not intended for resale, from reclassification, impairment, donation, or changes.",
        "label": "Property, Plant and Equipment, Transfers from Advances for Vessel Acquisitions",
        "terseLabel": "Transfers from Advances for vessel acquisitions"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PropertyPlantAndEquipmentTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PropertyPlantAndEquipmentTypeDomain",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/DeferredChargesNetDetails",
      "http://castormaritime.com/role/FairValueOfAcquiredTimeChartersDetails",
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt2315MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt4075MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt45MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDisposalsDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleNetBookValueDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-Lived Tangible Asset [Domain]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r157"
     ]
    },
    "us-gaap_PropertyPlantAndEquipmentUsefulLife": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PropertyPlantAndEquipmentUsefulLife",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsVesselsDepreciationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Estimated useful life",
        "label": "Property, Plant and Equipment, Useful Life",
        "documentation": "Useful life of long lived, physical assets used in the normal conduct of business and not intended for resale, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Examples include, but not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ProvisionForDoubtfulAccounts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ProvisionForDoubtfulAccounts",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome": {
       "parentTag": "us-gaap_CostsAndExpenses",
       "weight": 1.0,
       "order": 4.0
      },
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails": {
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": -1.0,
       "order": 6.0
      },
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations",
       "weight": 1.0,
       "order": 14.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows",
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsAccountsReceivableTradeNetDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Provision for doubtful accounts",
        "verboseLabel": "Provision for doubtful accounts",
        "label": "Accounts Receivable, Credit Loss Expense (Reversal)",
        "documentation": "Amount of expense (reversal of expense) for expected credit loss on accounts receivable."
       }
      }
     },
     "auth_ref": [
      "r250",
      "r355"
     ]
    },
    "us-gaap_ProvisionForOtherCreditLosses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ProvisionForOtherCreditLosses",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsInsuranceClaimsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Provision for credit losses",
        "documentation": "Amount of expense related to credit loss from transactions other than loan and lease transactions."
       }
      }
     },
     "auth_ref": [
      "r9",
      "r180"
     ]
    },
    "ctrm_PublicOfferingNumberOfUnits": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "PublicOfferingNumberOfUnits",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of units included in a public offering, consisting of (i) one common share or a pre-funded warrant to purchase one common share at an exercise price equal to $0.01 per common share (a \"Pre-Funded Warrant\"), and (ii) one Class A Warrant to purchase one common share (a \"Class A Warrant\"), for $0.35 per unit (or $0.34 per unit including a pre-funded warrant), or the June Equity Offering.",
        "label": "Public Offering, Number of Units",
        "terseLabel": "Number of units included in June Equity Offering (in shares)"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_PumbaShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "PumbaShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Pumba Shipping Co. [Member]",
        "terseLabel": "Pumba Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "srt_RangeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "RangeAxis",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesClaimsDetails",
      "http://castormaritime.com/role/EquityCapitalStructureJune2021AtthemarketCommonStockOfferingProgramDetails",
      "http://castormaritime.com/role/EquityCapitalStructureMay2023AtthemarketCommonStockOfferingProgramDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/TotalVesselRevenuesDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Axis]",
        "documentation": "Information by statistical measurement. Includes, but is not limited to, minimum, maximum, weighted average, arithmetic average, and median."
       }
      }
     },
     "auth_ref": [
      "r378",
      "r379",
      "r380",
      "r381",
      "r456",
      "r464",
      "r466",
      "r467",
      "r468",
      "r542",
      "r543",
      "r599",
      "r635",
      "r636",
      "r697",
      "r702",
      "r705",
      "r706",
      "r708",
      "r721",
      "r722",
      "r738",
      "r745",
      "r758",
      "r761",
      "r764",
      "r827",
      "r838",
      "r853",
      "r854",
      "r855",
      "r856",
      "r857"
     ]
    },
    "srt_RangeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "RangeMember",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesClaimsDetails",
      "http://castormaritime.com/role/EquityCapitalStructureJune2021AtthemarketCommonStockOfferingProgramDetails",
      "http://castormaritime.com/role/EquityCapitalStructureMay2023AtthemarketCommonStockOfferingProgramDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/TotalVesselRevenuesDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Domain]",
        "documentation": "Statistical measurement. Includes, but is not limited to, minimum, maximum, weighted average, arithmetic average, and median."
       }
      }
     },
     "auth_ref": [
      "r378",
      "r379",
      "r380",
      "r381",
      "r456",
      "r464",
      "r466",
      "r467",
      "r468",
      "r542",
      "r543",
      "r599",
      "r635",
      "r636",
      "r697",
      "r702",
      "r705",
      "r706",
      "r708",
      "r721",
      "r722",
      "r738",
      "r745",
      "r758",
      "r761",
      "r764",
      "r827",
      "r838",
      "r853",
      "r854",
      "r855",
      "r856",
      "r857"
     ]
    },
    "us-gaap_ReconciliationFromSegmentTotalsToConsolidatedAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ReconciliationFromSegmentTotalsToConsolidatedAbstract",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Segment Information [Abstract]",
        "label": "Segment Reconciliation [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ReconciliationOfAssetsFromSegmentToConsolidatedTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ReconciliationOfAssetsFromSegmentToConsolidatedTable",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Reconciliation of Assets from Segment to Consolidated [Table]",
        "documentation": "Identification, description, and amounts of all significant reconciling items in the reconciliation of total assets from reportable segments to the entity's consolidated assets."
       }
      }
     },
     "auth_ref": [
      "r63",
      "r64"
     ]
    },
    "us-gaap_ReconciliationOfAssetsFromSegmentToConsolidatedTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ReconciliationOfAssetsFromSegmentToConsolidatedTextBlock",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Reconciliation of Total Segment Assets to Total Assets",
        "label": "Reconciliation of Assets from Segment to Consolidated [Table Text Block]",
        "documentation": "Tabular disclosure of all significant reconciling items in the reconciliation of total assets from reportable segments to the entity's consolidated assets."
       }
      }
     },
     "auth_ref": [
      "r63",
      "r64"
     ]
    },
    "us-gaap_RedeemablePreferredStockDividends": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RedeemablePreferredStockDividends",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome": {
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic",
       "weight": -1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/EarningsPerCommonShareDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Dividend on Series D Preferred Shares",
        "negatedTerseLabel": "Less: Dividend on Series D Preferred Shares",
        "terseLabel": "Dividend on Series D Preferred Shares",
        "label": "Redeemable Preferred Stock Dividends",
        "documentation": "Dividends paid to preferred stock holders that is redeemable solely at the option of the issuer."
       }
      }
     },
     "auth_ref": [
      "r16",
      "r47",
      "r167"
     ]
    },
    "us-gaap_RelatedPartyDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RelatedPartyDomain",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails",
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncomeParenthetical",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/GeneralAndAdministrativeExpensesDetails",
      "http://castormaritime.com/role/InterestAndFinanceCostsDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesIssuanceOfSeriesDPreferredSharesToToroCorpDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesThalassaDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDisposalsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party, Type [Domain]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r463",
      "r530",
      "r531",
      "r638",
      "r639",
      "r640",
      "r641",
      "r642",
      "r661",
      "r663",
      "r696"
     ]
    },
    "us-gaap_RelatedPartyMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RelatedPartyMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails",
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncomeParenthetical",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/GeneralAndAdministrativeExpensesDetails",
      "http://castormaritime.com/role/InterestAndFinanceCostsDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesIssuanceOfSeriesDPreferredSharesToToroCorpDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesThalassaDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party [Member]",
        "documentation": "Party related to reporting entity. Includes, but is not limited to, affiliate, entity for which investment is accounted for by equity method, trust for benefit of employees, and principal owner, management, and members of immediate family."
       }
      }
     },
     "auth_ref": [
      "r264",
      "r265",
      "r530",
      "r531",
      "r532",
      "r533",
      "r638",
      "r639",
      "r640",
      "r641",
      "r642",
      "r661",
      "r663",
      "r696"
     ]
    },
    "us-gaap_RelatedPartyTransactionAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RelatedPartyTransactionAxis",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transaction [Axis]",
        "documentation": "Information by type of related party transaction."
       }
      }
     },
     "auth_ref": [
      "r530",
      "r531",
      "r849"
     ]
    },
    "ctrm_RelatedPartyTransactionCommissionRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "RelatedPartyTransactionCommissionRate",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of the gross charter hire, freight and the ballast bonus earned under a charter charged as a commission to the Company by a related party.",
        "label": "Related Party Transaction, Commission Rate",
        "verboseLabel": "Commission rate on charter agreements"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_RelatedPartyTransactionCommissionRateOnEachVesselSaleAndPurchaseTransaction": {
     "xbrltype": "percentItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "RelatedPartyTransactionCommissionRateOnEachVesselSaleAndPurchaseTransaction",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A commission charged by a related party in connection with each vessel sale and purchase transaction.",
        "label": "Related Party Transaction, Commission Rate on Each Vessel Sale and Purchase Transaction",
        "terseLabel": "Commission rate on each vessel sale and purchase transaction"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_RelatedPartyTransactionCommissions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "RelatedPartyTransactionCommissions",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commissions paid to a related party broker on time-charter and voyage-charter arrangements.",
        "label": "Related Party Transaction, Commissions",
        "terseLabel": "Charter hire commissions"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RelatedPartyTransactionDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RelatedPartyTransactionDomain",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transaction [Domain]",
        "documentation": "Transaction between related party."
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_RelatedPartyTransactionDueFromToRelatedPartiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "RelatedPartyTransactionDueFromToRelatedPartiesAbstract",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transaction, Due from (to) Related Parties [Abstract]",
        "terseLabel": "Balances with Related Parties [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_RelatedPartyTransactionDueFromToRelatedPartiesCurrentAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "RelatedPartyTransactionDueFromToRelatedPartiesCurrentAbstract",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesIssuanceOfSeriesDPreferredSharesToToroCorpDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesThalassaDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDisposalsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transaction, Due from (to) Related Parties, Current [Abstract]",
        "terseLabel": "Transactions with Related Parties [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_RelatedPartyTransactionFixedDailyFee": {
     "xbrltype": "perUnitItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "RelatedPartyTransactionFixedDailyFee",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed daily fee charged by a related party to provide a wide range of shipping services such as crew management, technical management, operational employment management, insurance arrangements, provisioning, bunkering, accounting services, general administration and audit support.",
        "label": "Related Party Transaction, Fixed Daily Fee",
        "terseLabel": "Daily fee for services"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RelatedPartyTransactionLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RelatedPartyTransactionLineItems",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesIssuanceOfSeriesDPreferredSharesToToroCorpDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesThalassaDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDisposalsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transaction [Line Items]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r668",
      "r669",
      "r672"
     ]
    },
    "ctrm_RelatedPartyTransactionManagementFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "RelatedPartyTransactionManagementFees",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome": {
       "parentTag": "us-gaap_CostsAndExpenses",
       "weight": 1.0,
       "order": 2.0
      },
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails": {
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": -1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fees paid to related parties for providing a wide range of shipping services such as crew management, technical management, operational employment management, insurance arrangements, provisioning, bunkering, accounting services, general administration and audit support.",
        "label": "Related Party Transaction, Management Fees",
        "terseLabel": "Management fees",
        "negatedLabel": "Management fees to related parties"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_RelatedPartyTransactionManagementRecoveryFeeMultiplier": {
     "xbrltype": "pureItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "RelatedPartyTransactionManagementRecoveryFeeMultiplier",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Recovery fee multiplier applied to the total amount of the flat management fee calculated on an annual basis under an agreement with a related party.",
        "label": "Related Party Transaction, Management Recovery Fee Multiplier",
        "terseLabel": "Recovery fee multiplier"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_RelatedPartyTransactionManagementTerminationFeeMultiplier": {
     "xbrltype": "pureItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "RelatedPartyTransactionManagementTerminationFeeMultiplier",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Termination fee multiplier applied to the total amount of the flat management fee and the per vessel management fee calculated on an annual basis under an agreement with a related party.",
        "label": "Related Party Transaction, Management Termination Fee Multiplier",
        "terseLabel": "Termination fee multiplier"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_RelatedPartyTransactionQuarterlyManagementFee": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "RelatedPartyTransactionQuarterlyManagementFee",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed quarterly fee charged by a related party to provide a shipping related administrative services.",
        "label": "Related Party Transaction, Quarterly Management Fee",
        "terseLabel": "Quarterly management fee"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_RelatedPartyTransactionRenewalTermOfAgreement": {
     "xbrltype": "durationItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "RelatedPartyTransactionRenewalTermOfAgreement",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Term of related party agreement renewal, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Related Party Transaction, Renewal Term of Agreement",
        "terseLabel": "Renewal term of agreement"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_RelatedPartyTransactionSaleAndPurchaseCommission": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "RelatedPartyTransactionSaleAndPurchaseCommission",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of commission charged by related party for any sale or purchase of vessels for the Company.",
        "label": "Related Party Transaction, Sale and Purchase Commission",
        "terseLabel": "Sale &amp; purchase commission",
        "verboseLabel": "Sale and purchase commission"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_RelatedPartyTransactionTermOfAgreement": {
     "xbrltype": "durationItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "RelatedPartyTransactionTermOfAgreement",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Term of related party agreement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Related Party Transaction, Term of Agreement",
        "terseLabel": "Term of agreement"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RelatedPartyTransactionsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RelatedPartyTransactionsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Transactions with Related Parties [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RelatedPartyTransactionsByRelatedPartyAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RelatedPartyTransactionsByRelatedPartyAxis",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails",
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncomeParenthetical",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/GeneralAndAdministrativeExpensesDetails",
      "http://castormaritime.com/role/InterestAndFinanceCostsDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesIssuanceOfSeriesDPreferredSharesToToroCorpDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesThalassaDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDisposalsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party, Type [Axis]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r463",
      "r530",
      "r531",
      "r546",
      "r547",
      "r548",
      "r549",
      "r550",
      "r551",
      "r552",
      "r553",
      "r554",
      "r555",
      "r556",
      "r557",
      "r638",
      "r639",
      "r640",
      "r641",
      "r642",
      "r661",
      "r663",
      "r696",
      "r849"
     ]
    },
    "us-gaap_RelatedPartyTransactionsDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RelatedPartyTransactionsDisclosureTextBlock",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedParties"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Transactions with Related Parties",
        "label": "Related Party Transactions Disclosure [Text Block]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r527",
      "r528",
      "r529",
      "r531",
      "r534",
      "r618",
      "r619",
      "r620",
      "r670",
      "r671",
      "r672",
      "r693",
      "r695"
     ]
    },
    "us-gaap_RepaymentsOfRelatedPartyDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RepaymentsOfRelatedPartyDebt",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations",
       "weight": -1.0,
       "order": 12.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesThalassaDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Repayment of loan",
        "negatedLabel": "Repayment of related party debt",
        "documentation": "The cash outflow for the payment of a long-term borrowing made from a related party where one party can exercise control or significant influence over another party; including affiliates, owners or officers and their immediate families, pension trusts, and so forth. Alternate caption: Payments for Advances from Affiliates."
       }
      }
     },
     "auth_ref": [
      "r41"
     ]
    },
    "us-gaap_RepaymentsOfSecuredDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RepaymentsOfSecuredDebt",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations",
       "weight": -1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows",
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt2315MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt4075MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt45MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Repayment of loan",
        "negatedLabel": "Repayment of long-term debt",
        "label": "Repayments of Secured Debt",
        "documentation": "The cash outflow to repay long-term debt that is wholly or partially secured by collateral. Excludes repayments of tax exempt secured debt."
       }
      }
     },
     "auth_ref": [
      "r41"
     ]
    },
    "srt_RepurchaseAgreementCounterpartyNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "RepurchaseAgreementCounterpartyNameDomain",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails",
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesIssuanceOfSeriesDPreferredSharesToToroCorpDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesThalassaDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Counterparty Name [Domain]",
        "documentation": "Named other party that participates in a financial transaction. Examples include, but not limited to, the name of the financial institution."
       }
      }
     },
     "auth_ref": [
      "r266",
      "r267",
      "r399",
      "r420",
      "r533",
      "r730",
      "r731"
     ]
    },
    "us-gaap_RestrictedCash": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RestrictedCash",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails": {
       "parentTag": "us-gaap_AssetsNet",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restricted Cash",
        "documentation": "Amount of cash restricted as to withdrawal or usage. 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."
       }
      }
     },
     "auth_ref": [
      "r797",
      "r808",
      "r858",
      "r861"
     ]
    },
    "us-gaap_RestrictedCashCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RestrictedCashCurrent",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodEndLabel": "Restricted cash, current",
        "terseLabel": "Restricted cash",
        "label": "Restricted Cash, Current",
        "documentation": "Amount of cash restricted as to withdrawal or usage, classified as current. 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."
       }
      }
     },
     "auth_ref": [
      "r797",
      "r808"
     ]
    },
    "us-gaap_RestrictedCashNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RestrictedCashNoncurrent",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Restricted cash",
        "label": "Restricted Cash, Noncurrent",
        "documentation": "Amount of cash restricted as to withdrawal or usage, classified as noncurrent. 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."
       }
      }
     },
     "auth_ref": [
      "r194",
      "r798",
      "r808"
     ]
    },
    "ctrm_RestrictedCashNoncurrentIncludingDiscontinuedOperation": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "RestrictedCashNoncurrentIncludingDiscontinuedOperation",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash restricted as to withdrawal or usage, classified as noncurrent, including amounts attributable to disposal group held for sale or disposed of. 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.",
        "label": "Restricted Cash, Noncurrent, Including Discontinued Operation",
        "periodEndLabel": "Restricted cash, non-current"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RetainedEarningsAccumulatedDeficit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RetainedEarningsAccumulatedDeficit",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Retained earnings",
        "label": "Retained Earnings (Accumulated Deficit)",
        "documentation": "Amount of accumulated undistributed earnings (deficit)."
       }
      }
     },
     "auth_ref": [
      "r130",
      "r167",
      "r567",
      "r603",
      "r604",
      "r616",
      "r645",
      "r759"
     ]
    },
    "us-gaap_RetainedEarningsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RetainedEarningsMember",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesPreferredSharesRedemptionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Retained Earnings/ (Accumulated Deficit) [Member]",
        "verboseLabel": "Retained Earnings [Member]",
        "label": "Retained Earnings [Member]",
        "documentation": "Accumulated undistributed earnings (deficit)."
       }
      }
     },
     "auth_ref": [
      "r220",
      "r269",
      "r270",
      "r271",
      "r273",
      "r279",
      "r281",
      "r353",
      "r354",
      "r469",
      "r470",
      "r471",
      "r478",
      "r479",
      "r491",
      "r493",
      "r494",
      "r496",
      "r498",
      "r600",
      "r602",
      "r621",
      "r871"
     ]
    },
    "us-gaap_RevenueFromContractWithCustomerAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RevenueFromContractWithCustomerAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Vessel Revenues [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RevenueFromContractWithCustomerPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RevenueFromContractWithCustomerPolicyTextBlock",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Revenues and voyage expenses recognition",
        "label": "Revenue from Contract with Customer [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for revenue from contract with customer."
       }
      }
     },
     "auth_ref": [
      "r205",
      "r445",
      "r446",
      "r447",
      "r448",
      "r449",
      "r450",
      "r451",
      "r452",
      "r724"
     ]
    },
    "us-gaap_RevenueFromContractWithCustomerTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RevenueFromContractWithCustomerTextBlock",
     "presentation": [
      "http://castormaritime.com/role/TotalVesselRevenues"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Total Vessel Revenues",
        "label": "Revenue from Contract with Customer [Text Block]",
        "documentation": "The entire disclosure of revenue from contract with customer to transfer good or service and to transfer nonfinancial asset. Includes, but is not limited to, disaggregation of revenue, credit loss recognized from contract with customer, judgment and change in judgment related to contract with customer, and asset recognized from cost incurred to obtain or fulfill contract with customer. Excludes insurance and lease contracts."
       }
      }
     },
     "auth_ref": [
      "r205",
      "r437",
      "r438",
      "r439",
      "r440",
      "r441",
      "r442",
      "r443",
      "r444",
      "r455"
     ]
    },
    "us-gaap_Revenues": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "Revenues",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome": {
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": 1.0,
       "order": 1.0
      },
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails": {
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/TotalVesselRevenuesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total vessel revenues",
        "label": "Revenues",
        "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)."
       }
      }
     },
     "auth_ref": [
      "r247",
      "r262",
      "r311",
      "r312",
      "r329",
      "r334",
      "r335",
      "r341",
      "r343",
      "r344",
      "r352",
      "r383",
      "r384",
      "r386",
      "r387",
      "r388",
      "r390",
      "r392",
      "r394",
      "r395",
      "r507",
      "r560",
      "r834"
     ]
    },
    "us-gaap_RevenuesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RevenuesAbstract",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "REVENUES:",
        "label": "Revenues [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RisksAndUncertaintiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RisksAndUncertaintiesAbstract",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationRevenueFromChartersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Credit Concentration Considerations [Abstract]",
        "label": "Risks and Uncertainties [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_RocketShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "RocketShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Rocket Shipping Co. [Member]",
        "terseLabel": "Rocket Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_SaleOfMVMagicMoonMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "SaleOfMVMagicMoonMember",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesClaimsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Following the buyers' failure to take delivery of M/V Magic Moon, the Company terminated the sale of the vessel under the Memorandum of Agreement, dated March 23, 2023, between the Company and the buyers (the \"MoA\").",
        "label": "Sale of M/V Magic Moon [Member]",
        "terseLabel": "Sale of M/V Magic Moon [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SaleOfStockConsiderationReceivedOnTransaction": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SaleOfStockConsiderationReceivedOnTransaction",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JulyEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021FirstRegisteredDirectEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021SecondRegisteredDirectEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021ThirdRegisteredDirectEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructureMay2023AtthemarketCommonStockOfferingProgramDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net proceeds from issuance of common stock",
        "label": "Net proceeds from issuance of common stock and warrants",
        "documentation": "Cash received on stock transaction after deduction of issuance costs."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SaleOfStockNameOfTransactionDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SaleOfStockNameOfTransactionDomain",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JulyEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021FirstRegisteredDirectEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021SecondRegisteredDirectEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021ThirdRegisteredDirectEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructureJune2021AtthemarketCommonStockOfferingProgramDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Sale of Stock [Domain]",
        "documentation": "Sale of the entity's stock, including, but not limited to, initial public offering (IPO) and private placement."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SalesRevenueNetMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SalesRevenueNetMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationRevenueFromChartersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revenues [Member]",
        "documentation": "Revenue from sale of product and rendering of service and other sources of income, when it serves as benchmark in concentration of risk calculation."
       }
      }
     },
     "auth_ref": [
      "r344",
      "r788"
     ]
    },
    "us-gaap_ScenarioPlanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScenarioPlanMember",
     "presentation": [
      "http://castormaritime.com/role/SubsequentEventsDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Plan [Member]",
        "label": "Scenario, Plan [Member]",
        "documentation": "The scenario under which facts represent plans as distinct from actual."
       }
      }
     },
     "auth_ref": []
    },
    "srt_ScenarioUnspecifiedDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "ScenarioUnspecifiedDomain",
     "presentation": [
      "http://castormaritime.com/role/SubsequentEventsDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Scenario [Domain]",
        "documentation": "Scenario reported, distinguishing information from actual fact. Includes, but is not limited to, pro forma and forecast. Excludes actual facts."
       }
      }
     },
     "auth_ref": [
      "r282",
      "r465",
      "r785",
      "r818"
     ]
    },
    "srt_ScheduleOfCondensedBalanceSheetTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "ScheduleOfCondensedBalanceSheetTableTextBlock",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets and Liabilities of Toro",
        "documentation": "Tabular disclosure of condensed balance sheet, including, but not limited to, balance sheets of consolidated entities and consolidation eliminations."
       }
      }
     },
     "auth_ref": [
      "r791",
      "r814"
     ]
    },
    "us-gaap_ScheduleOfDebtTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfDebtTableTextBlock",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Long-Term Debt",
        "label": "Schedule of Debt [Table Text Block]",
        "documentation": "Tabular disclosure of information pertaining to short-term and long-debt instruments or arrangements, including but not limited to identification of terms, features, collateral requirements and other information necessary to a fair presentation."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Discontinued Operations",
        "label": "Disposal Groups, Including Discontinued Operations [Table Text Block]",
        "documentation": "Tabular disclosure of information related to a disposal group. Includes, but is not limited to, a discontinued operation, disposal classified as held-for-sale or disposed of by means other than sale or disposal of an individually significant component."
       }
      }
     },
     "auth_ref": [
      "r14",
      "r18",
      "r26",
      "r97",
      "r106",
      "r107",
      "r108",
      "r109",
      "r110",
      "r115",
      "r117",
      "r118",
      "r159"
     ]
    },
    "us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
     "presentation": [
      "http://castormaritime.com/role/EarningsPerCommonShareTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Calculation of Basic and Diluted Earnings/(Loss) per Share",
        "documentation": "Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations."
       }
      }
     },
     "auth_ref": [
      "r820"
     ]
    },
    "us-gaap_ScheduleOfEarningsPerShareDilutedByCommonClassTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfEarningsPerShareDilutedByCommonClassTable",
     "presentation": [
      "http://castormaritime.com/role/EarningsPerCommonShareDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Earnings Per Share [Table]",
        "label": "Schedule of Earnings Per Share, Diluted, by Common Class, Including Two Class Method [Table]",
        "documentation": "Complete disclosure pertaining to an entity's diluted earnings per share."
       }
      }
     },
     "auth_ref": [
      "r48",
      "r51",
      "r287",
      "r288",
      "r295"
     ]
    },
    "us-gaap_ScheduleOfMaturitiesOfLongTermDebtTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Annual Principal Payments",
        "label": "Schedule of Maturities of Long-Term Debt [Table Text Block]",
        "documentation": "Tabular disclosure of maturity and sinking fund requirement for long-term debt."
       }
      }
     },
     "auth_ref": [
      "r12"
     ]
    },
    "us-gaap_ScheduleOfOtherNonoperatingIncomeExpenseTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfOtherNonoperatingIncomeExpenseTableTextBlock",
     "presentation": [
      "http://castormaritime.com/role/InterestAndFinanceCostsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Interest and Finance Costs",
        "label": "Schedule of Other Nonoperating Income (Expense) [Table Text Block]",
        "documentation": "Tabular disclosure of the components of non-operating income or non-operating expense that may include amounts earned from dividends, interest on securities, gains (losses) on securities sold, equity earnings of unconsolidated affiliates, net gain (loss) on sales of business, interest expense and other miscellaneous income or expense items."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfPropertyPlantAndEquipmentTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfPropertyPlantAndEquipmentTable",
     "presentation": [
      "http://castormaritime.com/role/FairValueOfAcquiredTimeChartersDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleNetBookValueDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, Plant and Equipment [Table]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r11"
     ]
    },
    "us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfRelatedPartyTransactionsByRelatedPartyTable",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesIssuanceOfSeriesDPreferredSharesToToroCorpDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesThalassaDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDisposalsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Related Party Transactions, by Related Party [Table]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r90",
      "r91",
      "r668",
      "r669",
      "r672"
     ]
    },
    "us-gaap_ScheduleOfRelatedPartyTransactionsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfRelatedPartyTransactionsTableTextBlock",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Transactions with Related Parties",
        "label": "Schedule of Related Party Transactions [Table Text Block]",
        "documentation": "Tabular disclosure of related party transactions. Examples of related party transactions include, but are not limited to, 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."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfRevenueByMajorCustomersByReportingSegmentsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfRevenueByMajorCustomersByReportingSegmentsTableTextBlock",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Revenue from Charterers",
        "label": "Schedule of Revenue by Major Customers by Reporting Segments [Table Text Block]",
        "documentation": "Tabular disclosure of the extent of the entity's reliance on its major customers, if revenues from transactions with a single external customer amount to 10 percent or more of entity revenues, including the disclosure of that fact, the total amount of revenues from each such customer, and the identity of the reportable segment or segments reporting the revenues. The entity need not disclose the identity of a major customer or the amount of revenues that each segment reports from that customer. For these purposes, a group of companies known to the entity to be under common control is considered a single customer, and the federal government, a state government, a local government such as a county or municipality, or a foreign government is each considered a single customer."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfSegmentReportingInformationBySegmentTable",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Segment Reporting Information, by Segment [Table]",
        "documentation": "A table disclosing the profit or loss and total assets for each reportable segment of the entity. An entity discloses certain information on each reportable segment if the amounts (a) are included in the measure of segment profit or loss reviewed by the chief operating decision maker or (b) are otherwise regularly provided to the chief operating decision maker, even if not included in that measure of segment profit or loss."
       }
      }
     },
     "auth_ref": [
      "r60",
      "r61",
      "r62",
      "r65"
     ]
    },
    "us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfSegmentReportingInformationBySegmentTextBlock",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Information about Company's Reportable Segments",
        "label": "Schedule of Segment Reporting Information, by Segment [Table Text Block]",
        "documentation": "Tabular disclosure of the profit or loss and total assets for each reportable segment. An entity discloses certain information on each reportable segment if the amounts (a) are included in the measure of segment profit or loss reviewed by the chief operating decision maker or (b) are otherwise regularly provided to the chief operating decision maker, even if not included in that measure of segment profit or loss."
       }
      }
     },
     "auth_ref": [
      "r60",
      "r61",
      "r62",
      "r65"
     ]
    },
    "us-gaap_ScheduleOfStockByClassTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfStockByClassTable",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JulyEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021FirstRegisteredDirectEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021SecondRegisteredDirectEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021ThirdRegisteredDirectEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructureDescriptionOfSeriesBPreferredSharesDetails",
      "http://castormaritime.com/role/EquityCapitalStructureJune2021AtthemarketCommonStockOfferingProgramDetails",
      "http://castormaritime.com/role/EquityCapitalStructureMay2023AtthemarketCommonStockOfferingProgramDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesPreferredSharesRedemptionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Stock by Class [Table]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r71",
      "r72",
      "r73",
      "r74",
      "r75",
      "r76",
      "r77",
      "r165",
      "r166",
      "r167",
      "r233",
      "r234",
      "r235",
      "r304",
      "r417",
      "r418",
      "r420",
      "r422",
      "r425",
      "r430",
      "r432",
      "r612",
      "r613",
      "r614",
      "r615",
      "r745",
      "r784",
      "r809"
     ]
    },
    "us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems",
     "presentation": [
      "http://castormaritime.com/role/InvestmentInEquitySecuritiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt and Equity Securities, FV-NI [Line Items]",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable",
     "presentation": [
      "http://castormaritime.com/role/InvestmentInEquitySecuritiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Securities, Trading, and Equity Securities, FV-NI [Table]",
        "documentation": "Disclosure of information about investment in debt security measured at fair value with change in fair value recognized in net income (trading) and investment in equity security with change in fair value recognized in net income (FV-NI)."
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_ScheduleOfVesselAcquisitionsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "ScheduleOfVesselAcquisitionsTableTextBlock",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of information regarding vessel acquisitions delivered.",
        "label": "Schedule of Vessel Acquisitions [Table Text Block]",
        "terseLabel": "Vessel Acquisitions"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_SecondRegisteredDirectEquityOffering2021Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "SecondRegisteredDirectEquityOffering2021Member",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2021SecondRegisteredDirectEquityOfferingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "On January 8, 2021, the Company entered into agreements with certain unaffiliated institutional investors pursuant to which it offered and sold 13,700,000 common shares and warrants to purchase up to 13,700,000 common shares (the \"January 7 Warrants\") in a registered direct offering or the 2021 Second Registered Direct Equity Offering.",
        "label": "Second Registered Direct Equity Offering 2021 [Member]",
        "terseLabel": "2021 Second Registered Direct Equity Offering [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SecuredDebtCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SecuredDebtCurrent",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0,
       "order": 8.0
      },
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Current portion of long-term debt, net of deferred finance costs",
        "terseLabel": "Current portion of long-term debt, net",
        "label": "Secured Debt, Current",
        "documentation": "Carrying value as of the balance sheet date of the portion of long-term, collateralized debt obligations due within one year or the operating cycle, if longer. Such obligations include mortgage loans, chattel loans, and any other borrowings secured by assets of the borrower."
       }
      }
     },
     "auth_ref": [
      "r122",
      "r175"
     ]
    },
    "us-gaap_SecuredLongTermDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SecuredLongTermDebt",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "parentTag": "us-gaap_LiabilitiesNoncurrent",
       "weight": 1.0,
       "order": 0.0
      },
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails": {
       "parentTag": "us-gaap_AssetsNet",
       "weight": -1.0,
       "order": 13.0
      },
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails",
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Non-Current portion of long-term debt, net of deferred finance costs",
        "label": "Long-term debt, net",
        "negatedLabel": "Long-term debt, net",
        "documentation": "Carrying amount of collateralized debt obligations with maturities initially due after one year or beyond the operating cycle, if longer, excluding the current portion. Obligations include, but not limited to, mortgage loans, chattel loans, and other borrowings secured by assets."
       }
      }
     },
     "auth_ref": [
      "r33"
     ]
    },
    "us-gaap_SecuredOvernightFinancingRateSofrOvernightIndexSwapRateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SecuredOvernightFinancingRateSofrOvernightIndexSwapRateMember",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "SOFR [Member]",
        "label": "Secured Overnight Financing Rate (SOFR) Overnight Index Swap Rate [Member]",
        "documentation": "Fixed rate on U.S. dollar, constant-notional interest rate swap that has its variable-rate leg referenced to Secured Overnight Financing Rate (SOFR) with no additional spread over SOFR on variable-rate leg."
       }
      }
     },
     "auth_ref": [
      "r843"
     ]
    },
    "dei_Security12bTitle": {
     "xbrltype": "securityTitleItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "Security12bTitle",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Title of 12(b) Security",
        "documentation": "Title of a 12(b) registered security."
       }
      }
     },
     "auth_ref": [
      "r774"
     ]
    },
    "us-gaap_SecurityDeposit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SecurityDeposit",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/CommitmentsAndContingenciesClaimsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deposit into escrow by buyers",
        "documentation": "The amount of an asset, typically cash, provided to a counterparty to provide certain assurance of performance by the entity pursuant to the terms of a written or oral agreement, such as a lease."
       }
      }
     },
     "auth_ref": [
      "r798"
     ]
    },
    "dei_SecurityExchangeName": {
     "xbrltype": "edgarExchangeCodeItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "SecurityExchangeName",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Exchange Name",
        "documentation": "Name of the Exchange on which a security is registered."
       }
      }
     },
     "auth_ref": [
      "r776"
     ]
    },
    "us-gaap_SegmentDiscontinuedOperationsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SegmentDiscontinuedOperationsMember",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Discontinued Operations [Member]",
        "documentation": "Component or group of components disposed of or classified as held-for-sale and representing a strategic shift that has or will have a major effect on operations and financial results. Includes a business or nonprofit activity on acquisition classified as held-for-sale."
       }
      }
     },
     "auth_ref": [
      "r7",
      "r98",
      "r99",
      "r100"
     ]
    },
    "us-gaap_SegmentDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SegmentDomain",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segments [Domain]",
        "documentation": "Components of an entity that engage in business activities from which they may earn revenue and incur expenses, including transactions with other components of the same entity."
       }
      }
     },
     "auth_ref": [
      "r307",
      "r310",
      "r311",
      "r312",
      "r313",
      "r314",
      "r315",
      "r316",
      "r317",
      "r318",
      "r319",
      "r320",
      "r321",
      "r329",
      "r330",
      "r331",
      "r332",
      "r333",
      "r334",
      "r335",
      "r336",
      "r337",
      "r339",
      "r344",
      "r361",
      "r362",
      "r363",
      "r364",
      "r365",
      "r366",
      "r367",
      "r368",
      "r369",
      "r373",
      "r374",
      "r582",
      "r583",
      "r584",
      "r585",
      "r586",
      "r587",
      "r588",
      "r589",
      "r590",
      "r591",
      "r592",
      "r739",
      "r790",
      "r864"
     ]
    },
    "us-gaap_SegmentReportingAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SegmentReportingAbstract",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsSegmentReportingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Segment Information [Abstract]",
        "label": "Segment Information [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SegmentReportingAssetReconcilingItemLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SegmentReportingAssetReconcilingItemLineItems",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reporting, Asset Reconciling Item [Line Items]",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SegmentReportingDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SegmentReportingDisclosureTextBlock",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Information",
        "documentation": "The entire disclosure for reporting segments including data and tables. Reportable segments include those that meet any of the following quantitative thresholds a) it's reported revenue, including sales to external customers and intersegment sales or transfers is 10 percent or more of the combined revenue, internal and external, of all operating segments b) the absolute amount of its reported profit or loss is 10 percent or more of the greater, in absolute amount of 1) the combined reported profit of all operating segments that did not report a loss or 2) the combined reported loss of all operating segments that did report a loss c) its assets are 10 percent or more of the combined assets of all operating segments."
       }
      }
     },
     "auth_ref": [
      "r306",
      "r307",
      "r308",
      "r309",
      "r310",
      "r322",
      "r333",
      "r337",
      "r338",
      "r339",
      "r340",
      "r341",
      "r342",
      "r344"
     ]
    },
    "us-gaap_SegmentReportingInformationLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SegmentReportingInformationLineItems",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reporting Information [Line Items]",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SegmentReportingInformationProfitLossAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SegmentReportingInformationProfitLossAbstract",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Segment Information [Abstract]",
        "label": "Segment Reporting Information, Profit (Loss) [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SegmentReportingPolicyPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SegmentReportingPolicyPolicyTextBlock",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reporting",
        "documentation": "Disclosure of accounting policy for segment reporting."
       }
      }
     },
     "auth_ref": [
      "r323",
      "r324",
      "r325",
      "r326",
      "r327",
      "r328",
      "r343",
      "r737"
     ]
    },
    "ctrm_SeniorSecuredTeamLoanFacilityAlphaBankSA2019Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "SeniorSecuredTeamLoanFacilityAlphaBankSA2019Member",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A senior secured term loan entered into with Alpha Bank S.A (the \"$11.0 Million Term Loan Facility\") on November 22, 2019.",
        "label": "Senior Secured Team Loan Facility, Alpha Bank S.A., 2019 [Member]",
        "verboseLabel": "$11.0 Million Term Loan Facility [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_SeniorSecuredTeamLoanFacilityAlphaBankSA2021Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "SeniorSecuredTeamLoanFacilityAlphaBankSA2021Member",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A senior secured term loan entered into with Alpha Bank S.A (the \"$18.0 Million Term Loan Facility\") on April 27, 2021.",
        "label": "Senior Secured Team Loan Facility, Alpha Bank S.A., 2021 [Member]",
        "terseLabel": "$18.0 Million Term Loan Facility [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_SeniorSecuredTeamLoanFacilityChaileaseInternationalFinancialServicesSingaporePteLtdMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "SeniorSecuredTeamLoanFacilityChaileaseInternationalFinancialServicesSingaporePteLtdMember",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt2315MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A senior secured term loan entered into with Chailease International Financial Services (Singapore) Pte. Ltd. (the \"$23.15 Million Term Loan Facility\") on November 22, 2021.",
        "label": "Senior Secured Team Loan Facility, Chailease International Financial Services (Singapore) Pte. Ltd. [Member]",
        "terseLabel": "$23.15 Million Term Loan Facility [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_SeniorSecuredTeamLoanFacilityChaileaseInternationalFinancialServicesSingaporePteLtdTrancheOneMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "SeniorSecuredTeamLoanFacilityChaileaseInternationalFinancialServicesSingaporePteLtdTrancheOneMember",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt2315MillionTermLoanFacilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The first tranche of a senior secured term loan entered into with Chailease International Financial Services (Singapore) Pte. Ltd. (the \"$23.15 Million Term Loan Facility\") on November 22, 2021, that was drawn down on November 24, 2021.",
        "label": "Senior Secured Team Loan Facility, Chailease International Financial Services (Singapore) Pte. Ltd., Tranche One [Member]",
        "terseLabel": "First Tranche [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_SeniorSecuredTeamLoanFacilityChaileaseInternationalFinancialServicesSingaporePteLtdTrancheTwoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "SeniorSecuredTeamLoanFacilityChaileaseInternationalFinancialServicesSingaporePteLtdTrancheTwoMember",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt2315MillionTermLoanFacilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The second tranche of a senior secured term loan entered into with Chailease International Financial Services (Singapore) Pte. Ltd. (the \"$23.15 Million Term Loan Facility\") on November 22, 2021, that was drawn down on November 24, 2021.",
        "label": "Senior Secured Team Loan Facility, Chailease International Financial Services (Singapore) Pte. Ltd., Tranche Two [Member]",
        "terseLabel": "Second Tranche [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_SeniorSecuredTeamLoanFacilityChaileaseInternationalFinancialServicesSingaporePteLtdTwoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "SeniorSecuredTeamLoanFacilityChaileaseInternationalFinancialServicesSingaporePteLtdTwoMember",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDisposalsDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A senior secured term loan entered into with Chailease International Financial Services (Singapore) Pte. Ltd. (the \"$22.5 Million Term Loan Facility\") on November 22, 2022.",
        "label": "Senior Secured Team Loan Facility, Chailease International Financial Services (Singapore) Pte. Ltd. Two [Member]",
        "terseLabel": "22.5 Million Term Loan Facility [Member]",
        "verboseLabel": "$22.5 Million Term Loan Facility [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_SeniorSecuredTeamLoanFacilityChaileaseInternationalInternationalFinancialServicesCoLtdMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "SeniorSecuredTeamLoanFacilityChaileaseInternationalInternationalFinancialServicesCoLtdMember",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt45MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A senior secured term loan entered into with Chailease International Financial Services Co., Ltd (the \"$4.5 Million Term Loan Facility\") on January 23, 2020.",
        "label": "Senior Secured Team Loan Facility, Chailease International International Financial Services Co., Ltd. [Member]",
        "terseLabel": "$4.5 Million Term Loan Facility [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_SeniorSecuredTeamLoanFacilityDeutscheBankAgMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "SeniorSecuredTeamLoanFacilityDeutscheBankAgMember",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Senior secured term loan facility entered into with Deutsche Bank AG on January 12, 2022.",
        "label": "Senior Secured Team Loan Facility, Deutsche Bank AG [Member]",
        "verboseLabel": "$55.0 Million Term Loan Facility [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_SeniorSecuredTeamLoanFacilityHamburgCommercialBankAgJanuary2021Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "SeniorSecuredTeamLoanFacilityHamburgCommercialBankAgJanuary2021Member",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt1529MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A senior secured term loan entered into with Hamburg Commercial Bank AG (the \"$15.29 Million Term Loan Facility\") on January 22, 2021.",
        "label": "Senior Secured Team Loan Facility, Hamburg Commercial Bank AG, January 2021 [Member]",
        "terseLabel": "$15.29 Million Term Loan Facility [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_SeniorSecuredTeamLoanFacilityHamburgCommercialBankAgJuly2021Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "SeniorSecuredTeamLoanFacilityHamburgCommercialBankAgJuly2021Member",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt4075MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebtLongtermDebtDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A senior secured term loan entered into with Hamburg Commercial Bank AG (the \"$40.75 Million Term Loan Facility\") on July 23, 2021.",
        "label": "Senior Secured Team Loan Facility, Hamburg Commercial Bank AG, July 2021 [Member]",
        "terseLabel": "$40.75 Million Term Loan Facility [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SeriesAPreferredStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SeriesAPreferredStockMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity",
      "http://castormaritime.com/role/EarningsPerCommonShareDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesPreferredSharesRedemptionDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Series A Preferred Shares [Member]",
        "terseLabel": "Preferred A Shares [Member]",
        "verboseLabel": "Series A Preferred Stock [Member]",
        "documentation": "Series A preferred stock."
       }
      }
     },
     "auth_ref": [
      "r800",
      "r801",
      "r841"
     ]
    },
    "us-gaap_SeriesBPreferredStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SeriesBPreferredStockMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity",
      "http://castormaritime.com/role/EquityCapitalStructureDescriptionOfSeriesBPreferredSharesDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesPreferredSharesRedemptionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Preferred B Shares [Member]",
        "label": "Series B Preferred Shares [Member]",
        "documentation": "Series B preferred stock."
       }
      }
     },
     "auth_ref": [
      "r800",
      "r801",
      "r841"
     ]
    },
    "us-gaap_SeriesCPreferredStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SeriesCPreferredStockMember",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Series C Preferred Stock [Member]",
        "documentation": "Series C preferred stock."
       }
      }
     },
     "auth_ref": [
      "r800",
      "r801",
      "r841"
     ]
    },
    "us-gaap_SeriesDPreferredStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SeriesDPreferredStockMember",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity",
      "http://castormaritime.com/role/EarningsPerCommonShareDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesIssuanceOfSeriesDPreferredSharesToToroCorpDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Series D Preferred Shares [Member]",
        "label": "Series D Preferred Stock [Member]",
        "documentation": "Series D preferred stock."
       }
      }
     },
     "auth_ref": [
      "r800",
      "r801",
      "r841"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Value Assumptions [Abstract]",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions and Methodology [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Volatility",
        "documentation": "The estimated measure of the 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."
       }
      }
     },
     "auth_ref": [
      "r466"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk-free rate",
        "documentation": "The risk-free interest rate assumption that is used in valuing an option on its own shares."
       }
      }
     },
     "auth_ref": [
      "r468"
     ]
    },
    "ctrm_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsStrikePrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsStrikePrice",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The estimated average strike price that is used in valuing an option on its own shares.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Strike Price",
        "terseLabel": "Strike price (in dollars per share)"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsWeightedAverageCostOfCapital": {
     "xbrltype": "percentItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsWeightedAverageCostOfCapital",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average cost of capital 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, Weighted Average Cost of Capital",
        "terseLabel": "Weighted average cost of capital"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SharePrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SharePrice",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share price (in dollars per share)",
        "documentation": "Price of a single share of a number of saleable stocks of a company."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SharesOutstanding",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodStartLabel": "Balance (in shares)",
        "periodEndLabel": "Balance (in shares)",
        "label": "Shares, Outstanding",
        "documentation": "Number of shares issued which are neither cancelled nor held in the treasury."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SignificantAccountingPoliciesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SignificantAccountingPoliciesTextBlock",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Significant Accounting Policies and Recent Accounting Pronouncements",
        "documentation": "The entire disclosure for all significant accounting policies of the reporting entity."
       }
      }
     },
     "auth_ref": [
      "r151",
      "r260"
     ]
    },
    "ctrm_SnoopyShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "SnoopyShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Snoopy Shipping Co. [Member]",
        "terseLabel": "Snoopy Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_SongokuShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "SongokuShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Songoku Shipping Co [Member]",
        "terseLabel": "Songoku Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_SpetsesShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "SpetsesShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Spetses Shipping Co [Member]",
        "verboseLabel": "Spetses Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_StarlordShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "StarlordShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Starlord Shipping Co. [Member]",
        "terseLabel": "Starlord Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StatementBusinessSegmentsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StatementBusinessSegmentsAxis",
     "presentation": [
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/SegmentInformationReconciliationOfTotalSegmentAssetsToTotalAssetsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segments [Axis]",
        "documentation": "Information by business segments."
       }
      }
     },
     "auth_ref": [
      "r221",
      "r307",
      "r310",
      "r311",
      "r312",
      "r313",
      "r314",
      "r315",
      "r316",
      "r317",
      "r318",
      "r319",
      "r320",
      "r321",
      "r329",
      "r330",
      "r331",
      "r332",
      "r333",
      "r334",
      "r335",
      "r336",
      "r337",
      "r339",
      "r344",
      "r361",
      "r362",
      "r363",
      "r364",
      "r365",
      "r366",
      "r367",
      "r368",
      "r369",
      "r371",
      "r373",
      "r374",
      "r582",
      "r583",
      "r584",
      "r585",
      "r586",
      "r587",
      "r588",
      "r589",
      "r590",
      "r591",
      "r592",
      "r739",
      "r790",
      "r864"
     ]
    },
    "us-gaap_StatementClassOfStockAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StatementClassOfStockAxis",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity",
      "http://castormaritime.com/role/DocumentAndEntityInformation",
      "http://castormaritime.com/role/EarningsPerCommonShareDetails",
      "http://castormaritime.com/role/EquityCapitalStructureDescriptionOfSeriesBPreferredSharesDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesPreferredSharesRedemptionDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesIssuanceOfSeriesDPreferredSharesToToroCorpDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Class of Stock [Axis]",
        "documentation": "Information by the different classes of stock of the entity."
       }
      }
     },
     "auth_ref": [
      "r206",
      "r233",
      "r234",
      "r235",
      "r262",
      "r287",
      "r288",
      "r295",
      "r297",
      "r304",
      "r305",
      "r352",
      "r383",
      "r386",
      "r387",
      "r388",
      "r394",
      "r395",
      "r417",
      "r418",
      "r422",
      "r425",
      "r432",
      "r507",
      "r612",
      "r613",
      "r614",
      "r615",
      "r621",
      "r622",
      "r623",
      "r624",
      "r625",
      "r626",
      "r627",
      "r628",
      "r629",
      "r630",
      "r631",
      "r632",
      "r644",
      "r665",
      "r689",
      "r711",
      "r712",
      "r713",
      "r714",
      "r715",
      "r784",
      "r809",
      "r819"
     ]
    },
    "us-gaap_StatementEquityComponentsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StatementEquityComponentsAxis",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity",
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructureMay2023AtthemarketCommonStockOfferingProgramDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesPreferredSharesRedemptionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Components [Axis]",
        "documentation": "Information by component of equity."
       }
      }
     },
     "auth_ref": [
      "r16",
      "r35",
      "r220",
      "r243",
      "r244",
      "r245",
      "r269",
      "r270",
      "r271",
      "r273",
      "r279",
      "r281",
      "r303",
      "r353",
      "r354",
      "r434",
      "r469",
      "r470",
      "r471",
      "r478",
      "r479",
      "r491",
      "r492",
      "r493",
      "r494",
      "r495",
      "r496",
      "r498",
      "r513",
      "r514",
      "r515",
      "r516",
      "r517",
      "r518",
      "r526",
      "r600",
      "r601",
      "r602",
      "r621",
      "r689"
     ]
    },
    "us-gaap_StatementLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StatementLineItems",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncomeParenthetical",
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement [Line Items]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r269",
      "r270",
      "r271",
      "r303",
      "r545",
      "r608",
      "r632",
      "r637",
      "r638",
      "r639",
      "r640",
      "r641",
      "r642",
      "r644",
      "r647",
      "r648",
      "r649",
      "r650",
      "r651",
      "r652",
      "r653",
      "r654",
      "r655",
      "r657",
      "r658",
      "r659",
      "r660",
      "r661",
      "r663",
      "r666",
      "r667",
      "r674",
      "r675",
      "r676",
      "r677",
      "r678",
      "r679",
      "r680",
      "r681",
      "r682",
      "r683",
      "r684",
      "r685",
      "r689",
      "r765"
     ]
    },
    "us-gaap_StatementOfCashFlowsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StatementOfCashFlowsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "UNAUDITED INTERIM CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StatementOfFinancialPositionAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StatementOfFinancialPositionAbstract",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "CONSOLIDATED BALANCE SHEETS [Abstract]",
        "terseLabel": "Assets and Liabilities [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StatementOfStockholdersEquityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StatementOfStockholdersEquityAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "CONSOLIDATED STATEMENTS OF SHAREHOLDERS' EQUITY AND MEZZANINE EQUITY [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "srt_StatementScenarioAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "StatementScenarioAxis",
     "presentation": [
      "http://castormaritime.com/role/SubsequentEventsDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Scenario [Axis]",
        "documentation": "Information by scenario reported, distinguishing information from actual fact. Includes, but is not limited to, pro forma and forecast. Excludes actual facts."
       }
      }
     },
     "auth_ref": [
      "r282",
      "r465",
      "r785",
      "r786",
      "r818"
     ]
    },
    "us-gaap_StatementTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StatementTable",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncomeParenthetical",
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement [Table]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r269",
      "r270",
      "r271",
      "r303",
      "r545",
      "r608",
      "r632",
      "r637",
      "r638",
      "r639",
      "r640",
      "r641",
      "r642",
      "r644",
      "r647",
      "r648",
      "r649",
      "r650",
      "r651",
      "r652",
      "r653",
      "r654",
      "r655",
      "r657",
      "r658",
      "r659",
      "r660",
      "r661",
      "r663",
      "r666",
      "r667",
      "r674",
      "r675",
      "r676",
      "r677",
      "r678",
      "r679",
      "r680",
      "r681",
      "r682",
      "r683",
      "r684",
      "r685",
      "r689",
      "r765"
     ]
    },
    "ctrm_StewieShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "StewieShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Stewie Shipping Co. [Member]",
        "terseLabel": "Stewie Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_StockIssuanceCostsIncurredButNotYetPaid": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "StockIssuanceCostsIncurredButNotYetPaid",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Future cash outflow to pay for costs incurred directly with the issuance of an equity security.",
        "label": "Stock Issuance Costs Incurred but Not yet Paid",
        "terseLabel": "Unpaid capital raising costs (included in Accounts payable and Accrued Liabilities)"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_StockIssuedDuringPeriodSharesExerciseOfWarrants": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "StockIssuedDuringPeriodSharesExerciseOfWarrants",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of new stock issued pursuant to the exercise of warrants during the period.",
        "label": "Stock Issued During Period, Shares, Exercise of Warrants",
        "terseLabel": "Issuance of common stock pursuant to warrants exercises (Note 10) (in shares)"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StockIssuedDuringPeriodSharesNewIssues": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StockIssuedDuringPeriodSharesNewIssues",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JulyEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021FirstRegisteredDirectEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021SecondRegisteredDirectEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021ThirdRegisteredDirectEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructureJune2021AtthemarketCommonStockOfferingProgramDetails",
      "http://castormaritime.com/role/EquityCapitalStructureMay2023AtthemarketCommonStockOfferingProgramDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesPreferredSharesRedemptionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Number of shares issued in share exchange transaction (in shares)",
        "label": "Issuance of common stock (in shares)",
        "documentation": "Number of new stock issued during the period."
       }
      }
     },
     "auth_ref": [
      "r16",
      "r127",
      "r128",
      "r167",
      "r612",
      "r689",
      "r712"
     ]
    },
    "ctrm_StockIssuedDuringPeriodSharesNewIssuesAtTheMarketOffering": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "StockIssuedDuringPeriodSharesNewIssuesAtTheMarketOffering",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of new stock issued during the period pursuant to an at-the-market offering.",
        "label": "Stock Issued During Period, Shares, New Issues, At-the-Market Offering",
        "terseLabel": "Issuance of common stock pursuant to the ATM Program (Note 10) (in shares)"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_StockIssuedDuringPeriodSharesNewIssuesRegisteredDirectOfferings": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "StockIssuedDuringPeriodSharesNewIssuesRegisteredDirectOfferings",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of new stock issued during the period pursuant to registered direct offerings.",
        "label": "Stock Issued During Period, Shares, New Issues, Registered Direct Offerings",
        "terseLabel": "Issuance of common stock pursuant to the registered direct offerings (Note 10) (in shares)"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_StockIssuedDuringPeriodValueExerciseOfWarrants": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "StockIssuedDuringPeriodValueExerciseOfWarrants",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity impact of the value of new stock issued pursuant to the exercise of warrants during the period.",
        "label": "Stock Issued During Period, Value, Exercise of Warrants",
        "terseLabel": "Issuance of common stock pursuant to warrant exercises (Note 10)"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_StockIssuedDuringPeriodValueNewIssuesAtTheMarketOffering": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "StockIssuedDuringPeriodValueNewIssuesAtTheMarketOffering",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity impact of the value of new stock issued during the period pursuant to an at-the-market offering.",
        "label": "Stock Issued During Period, Value, New Issues, At-the-Market Offering",
        "terseLabel": "Issuance of common stock pursuant to the ATM Program (Note 10)"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_StockIssuedDuringPeriodValueNewIssuesRegisteredDirectOfferings": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "StockIssuedDuringPeriodValueNewIssuesRegisteredDirectOfferings",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity impact of the value of new stock issued during the period pursuant to registered direct offerings.",
        "label": "Stock Issued During Period, Value, New Issues, Registered Direct Offerings",
        "terseLabel": "Issuance of common stock pursuant to the registered direct offerings (Note 10)"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StockRedeemedOrCalledDuringPeriodShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StockRedeemedOrCalledDuringPeriodShares",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesPreferredSharesRedemptionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Redemption of Series A Preferred Shares (Note 10) (in shares)",
        "terseLabel": "Shares redeemed (in shares)",
        "label": "Stock Redeemed or Called During Period, Shares",
        "documentation": "Number of stock bought back by the entity at the exercise price or redemption price."
       }
      }
     },
     "auth_ref": [
      "r16"
     ]
    },
    "us-gaap_StockRedeemedOrCalledDuringPeriodValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StockRedeemedOrCalledDuringPeriodValue",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesPreferredSharesRedemptionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Redemption of Series A Preferred Shares (Note 10)",
        "terseLabel": "Redemption of Series A Preferred Shares",
        "label": "Stock Redeemed or Called During Period, Value",
        "documentation": "Equity impact of the value of stock bought back by the entity at the exercise price or redemption price."
       }
      }
     },
     "auth_ref": [
      "r16"
     ]
    },
    "us-gaap_StockholdersEquity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StockholdersEquity",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodStartLabel": "Balance",
        "periodEndLabel": "Balance",
        "totalLabel": "Total shareholders' equity",
        "label": "Equity, Attributable to Parent",
        "documentation": "Amount of equity (deficit) attributable to parent. Excludes temporary equity and equity attributable to noncontrolling interest."
       }
      }
     },
     "auth_ref": [
      "r128",
      "r131",
      "r132",
      "r152",
      "r646",
      "r662",
      "r690",
      "r691",
      "r759",
      "r772",
      "r811",
      "r824",
      "r847",
      "r871"
     ]
    },
    "us-gaap_StockholdersEquityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StockholdersEquityAbstract",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/ConsolidatedBalanceSheetsParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "SHAREHOLDERS' EQUITY:",
        "label": "Equity, Attributable to Parent [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StockholdersEquityNoteAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StockholdersEquityNoteAbstract",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JulyEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021FirstRegisteredDirectEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021SecondRegisteredDirectEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021ThirdRegisteredDirectEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructureCapitalStockDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Equity Capital Structure [Abstract]",
        "label": "Stockholders' Equity Note [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StockholdersEquityNoteDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StockholdersEquityNoteDisclosureTextBlock",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Capital Structure",
        "documentation": "The entire disclosure for equity."
       }
      }
     },
     "auth_ref": [
      "r164",
      "r261",
      "r416",
      "r418",
      "r421",
      "r422",
      "r423",
      "r424",
      "r425",
      "r426",
      "r427",
      "r428",
      "r429",
      "r431",
      "r434",
      "r497",
      "r692",
      "r694",
      "r716"
     ]
    },
    "us-gaap_StockholdersEquityNoteSpinoffTransaction": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StockholdersEquityNoteSpinoffTransaction",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Distribution of net assets of Toro Corp. to shareholders (Note 1)",
        "label": "Stockholders' Equity Note, Spinoff Transaction",
        "documentation": "The change in equity as a result of a spin-off transaction (a regular or reverse spin-off) which is based on the recorded amounts."
       }
      }
     },
     "auth_ref": [
      "r78"
     ]
    },
    "ctrm_SubcontractedManagementAgreementsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "SubcontractedManagementAgreementsMember",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pavimar has subcontracted to third-party management companies to provide technical and operational management to the respective vessels for a fixed annual fee which is paid by Pavimar at its own expense.",
        "label": "Subcontracted Management Agreements [Member]",
        "terseLabel": "Subcontracted Management Agreements [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SubsequentEventLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SubsequentEventLineItems",
     "presentation": [
      "http://castormaritime.com/role/SubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Subsequent Event [Line Items]",
        "label": "Subsequent Event [Line Items]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r519",
      "r537"
     ]
    },
    "us-gaap_SubsequentEventMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SubsequentEventMember",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Event [Member]",
        "documentation": "Identifies event that occurred after the balance sheet date but before financial statements are issued or available to be issued."
       }
      }
     },
     "auth_ref": [
      "r519",
      "r537"
     ]
    },
    "us-gaap_SubsequentEventTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SubsequentEventTable",
     "presentation": [
      "http://castormaritime.com/role/SubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Event [Table]",
        "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."
       }
      }
     },
     "auth_ref": [
      "r519",
      "r537"
     ]
    },
    "us-gaap_SubsequentEventTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SubsequentEventTypeAxis",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Event Type [Axis]",
        "documentation": "Information by event that occurred after the balance sheet date but before financial statements are issued or available to be issued."
       }
      }
     },
     "auth_ref": [
      "r519",
      "r537"
     ]
    },
    "us-gaap_SubsequentEventTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SubsequentEventTypeDomain",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt110MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Event Type [Domain]",
        "documentation": "Event that occurred after the balance sheet date but before financial statements are issued or available to be issued."
       }
      }
     },
     "auth_ref": [
      "r519",
      "r537"
     ]
    },
    "us-gaap_SubsequentEventsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SubsequentEventsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Events [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SubsequentEventsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SubsequentEventsTextBlock",
     "presentation": [
      "http://castormaritime.com/role/SubsequentEvents"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Events",
        "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."
       }
      }
     },
     "auth_ref": [
      "r536",
      "r538"
     ]
    },
    "ctrm_SubsidiariesInConsolidationAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "SubsidiariesInConsolidationAbstract",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsidiaries in Consolidation [Abstract]",
        "terseLabel": "Subsidiaries in Consolidation [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SubsidiarySaleOfStockAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SubsidiarySaleOfStockAxis",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JulyEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021FirstRegisteredDirectEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021SecondRegisteredDirectEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021ThirdRegisteredDirectEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructureJune2021AtthemarketCommonStockOfferingProgramDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Sale of Stock [Axis]",
        "documentation": "Information by type of sale of the entity's stock."
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_SuperMarioShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "SuperMarioShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Super Mario Shipping Co. [Member]",
        "terseLabel": "Super Mario Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SupplementalCashFlowInformationAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SupplementalCashFlowInformationAbstract",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "SUPPLEMENTAL CASH FLOW INFORMATION"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_TEUContainershipsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "TEUContainershipsMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Containerships having a capacity of 2,700 TEU (Twenty-foot Equivalent Units).",
        "label": "TEU Containerships [Member]",
        "terseLabel": "2,700 TEU Containerships [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_TankerMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "TankerMember",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A ship designed to transport or store liquids or gases in bulk.",
        "label": "Tanker [Member]",
        "terseLabel": "Tanker Vessels [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TaxesExcludingIncomeAndExciseTaxes": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TaxesExcludingIncomeAndExciseTaxes",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails": {
       "parentTag": "us-gaap_OperatingCostsAndExpenses",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Tonnage taxes",
        "label": "Taxes, Miscellaneous",
        "documentation": "All taxes not related to income of the entity or excise or sales taxes levied on the revenue of the entity that are not reported elsewhere. These taxes could include production, real estate, personal property, and pump tax."
       }
      }
     },
     "auth_ref": [
      "r803"
     ]
    },
    "ctrm_TechnicalShipmanagementAgreementsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "TechnicalShipmanagementAgreementsMember",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Company is provided a range of technical, crewing, insurance and operational services for each ship-owning subsidiary in exchange for a fixed daily fee.",
        "label": "Technical Shipmanagement Agreements [Member]",
        "verboseLabel": "Technical Management Agreements [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TemporaryEquityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TemporaryEquityAbstract",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "MEZZANINE EQUITY:",
        "label": "Mezzanine Equity [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TemporaryEquityAccretionOfDividends": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TemporaryEquityAccretionOfDividends",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deemed dividend on Series D Preferred Shares",
        "documentation": "Value of accretion of temporary equity during the period due to unpaid dividends."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TemporaryEquityCarryingAmountAttributableToParent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TemporaryEquityCarryingAmountAttributableToParent",
     "crdr": "credit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedBalanceSheets": {
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheets",
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodEndLabel": "Ending balance",
        "terseLabel": "Mezzanine equity",
        "label": "Temporary Equity, Carrying Amount, Attributable to Parent",
        "documentation": "Carrying amount, attributable to parent, of an entity's issued and outstanding stock which is not included within permanent equity. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. Includes stock with a put option held by an ESOP and stock redeemable by a holder only in the event of a change in control of the issuer."
       }
      }
     },
     "auth_ref": [
      "r383",
      "r386",
      "r387",
      "r388",
      "r394",
      "r395",
      "r472",
      "r566"
     ]
    },
    "ctrm_TemporaryEquityFairValueDisclosure": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "TemporaryEquityFairValueDisclosure",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of of an entity's issued and outstanding stock which is not included within permanent equity.",
        "label": "Temporary Equity, Fair Value Disclosure",
        "terseLabel": "Fair value of mezzanine equity"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TemporaryEquityLiquidationPreference": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TemporaryEquityLiquidationPreference",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheetsParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Preferred shares, aggregate liquidation preference",
        "label": "Temporary Equity, Liquidation Preference",
        "documentation": "The aggregate liquidation preference (or restrictions) of stock classified as temporary equity that has a preference in involuntary liquidation considerably in excess of the par or stated value of the shares. The liquidation preference is the difference between the preference in liquidation and the par or stated values of the share. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. If convertible, the issuer does not control the actions or events necessary to issue the maximum number of shares that could be required to be delivered under the conversion option if the holder exercises the option to convert the stock to another class of equity. If the security is a warrant or a rights issue, the warrant or rights issue is considered to be temporary equity if the issuer cannot demonstrate that it would be able to deliver upon the exercise of the option by the holder in all cases. Includes stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TemporaryEquityParOrStatedValuePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TemporaryEquityParOrStatedValuePerShare",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Preferred stock, par value (in dollars per share)",
        "documentation": "Per share amount of par value or stated value of stock classified as temporary equity. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable."
       }
      }
     },
     "auth_ref": [
      "r22",
      "r70"
     ]
    },
    "ctrm_TemporaryEquityRedemptionPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "TemporaryEquityRedemptionPercentage",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of preferred shares redemption at a cash price equal to the stated amount, together with an amount equal to all accrued dividends.",
        "label": "Temporary Equity, Redemption Percentage",
        "terseLabel": "Cash redemption percentage"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TemporaryEquitySharesIssued": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TemporaryEquitySharesIssued",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Preferred shares, issued (in shares)",
        "label": "Preferred stock issued (in shares)",
        "documentation": "The number of securities classified as temporary equity that have been sold (or granted) to the entity's shareholders. Securities issued include securities outstanding and securities held in treasury. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. If convertible, the issuer does not control the actions or events necessary to issue the maximum number of shares that could be required to be delivered under the conversion option if the holder exercises the option to convert the stock to another class of equity. If the security is a warrant or a rights issue, the warrant or rights issue is considered to be temporary equity if the issuer cannot demonstrate that it would be able to deliver upon the exercise of the option by the holder in all cases. Includes stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer."
       }
      }
     },
     "auth_ref": [
      "r126"
     ]
    },
    "us-gaap_TemporaryEquitySharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TemporaryEquitySharesOutstanding",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedBalanceSheetsParenthetical",
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodEndLabel": "Ending balance (in shares)",
        "terseLabel": "Preferred shares, outstanding (in shares)",
        "label": "Temporary Equity, Shares Outstanding",
        "documentation": "The number of securities classified as temporary equity that have been issued and are held by the entity's shareholders. Securities outstanding equals securities issued minus securities held in treasury. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. If convertible, the issuer does not control the actions or events necessary to issue the maximum number of shares that could be required to be delivered under the conversion option if the holder exercises the option to convert the stock to another class of equity. If the security is a warrant or a rights issue, the warrant or rights issue is considered to be temporary equity if the issuer cannot demonstrate that it would be able to deliver upon the exercise of the option by the holder in all cases. Includes stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer."
       }
      }
     },
     "auth_ref": [
      "r126"
     ]
    },
    "ctrm_TemporaryEquityStockIssuedDuringPeriodShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "TemporaryEquityStockIssuedDuringPeriodShares",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of preferred shares issued during the period.",
        "label": "Temporary Equity, Stock Issued During Period, Shares",
        "terseLabel": "Issuance of Series D Preferred Shares, net of costs (Note 10) (in shares)"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_TemporaryEquityStockIssuedDuringPeriodValueNetOfIssuanceCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "TemporaryEquityStockIssuedDuringPeriodValueNetOfIssuanceCosts",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of stock classified as temporary equity issued during the period.",
        "label": "Temporary Equity, Stock Issued During Period Value Net of Issuance Costs",
        "terseLabel": "Issuance of Series D Preferred Shares, net of costs (Note 10)"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_TermLoanFacilityMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "TermLoanFacilityMember",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesThalassaDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "An unsecured term loan with Thalassa Investment Co.",
        "label": "Term Loan Facility [Member]",
        "terseLabel": "$5.0 Million Term Loan Facility [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_ThalassaInvestmentCoSAMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "ThalassaInvestmentCoSAMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesThalassaDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "An entity registered in the Liberia that is wholly-owned and controlled by Petros Panagiotidis, the Company's Chairman, Chief Executive Officer and Chief Financial Officer.",
        "label": "Thalassa Investment Co. S.A. [Member]",
        "terseLabel": "Thalassa [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_ThirdPartyAndRelatedPartyDebtMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "ThirdPartyAndRelatedPartyDebtMember",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebtAnnualPrincipalPaymentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Long-term debt of the Company including a senior secured term loan with Alpha Bank S.A ($11.0 million Alpha Bank Financing) and an unsecured term loan with Thalassa Investment Co. ($5.0 million Term Loan Facility).",
        "label": "Third Party and Related Party Debt [Member]",
        "verboseLabel": "Long-Term Debt [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_ThirdRegisteredDirectEquityOffering2021Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "ThirdRegisteredDirectEquityOffering2021Member",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2021ThirdRegisteredDirectEquityOfferingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "On April 5, 2021, the Company entered into agreements with certain unaffiliated institutional investors pursuant to which it offered and sold 19,230,770 common shares and warrants to purchase up to 19,230,770 common shares (the \"2021 Third Private Placement Warrants\") in a registered direct offering or the 2021 Third Registered Direct Equity Offering.",
        "label": "Third Registered Direct Equity Offering 2021 [Member]",
        "terseLabel": "2021 Third Registered Direct Equity Offering [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_TimeCharterContractTerm": {
     "xbrltype": "durationItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "TimeCharterContractTerm",
     "presentation": [
      "http://castormaritime.com/role/TotalVesselRevenuesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Term of time charter contract, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Time Charter Contract, Term",
        "terseLabel": "Term of time charters"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_TimeCharterMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "TimeCharterMember",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A time charter is a contract to charter a vessel for a fixed period at a set daily rate.",
        "label": "Time Charter [Member]",
        "terseLabel": "Time Charter [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_TomMaritimeLtdMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "TomMaritimeLtdMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in Malta.",
        "label": "Tom Maritime Ltd [Member]",
        "terseLabel": "Tom Maritime Ltd [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_TomShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "TomShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesVesselAcquisitionsDisposalsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Tom Shipping Co [Member]",
        "terseLabel": "Tom S [Member]",
        "verboseLabel": "Tom Shipping Co [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_ToroCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "ToroCorpMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationAssetsAndLiabilitiesOfToroDetails",
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/DiscontinuedOperationsDetails",
      "http://castormaritime.com/role/EquityCapitalStructureSeriesDCumulativePerpetualConvertiblePreferredSharesDetails",
      "http://castormaritime.com/role/SubsequentEventsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesIssuanceOfSeriesDPreferredSharesToToroCorpDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Toro Corp [Member]",
        "terseLabel": "Toro [Member]",
        "verboseLabel": "Toro Corp [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_ToroRBXCorpMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "ToroRBXCorpMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Toro RBX Corp [Member]",
        "terseLabel": "Toro RBX Corp [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TradeAndOtherAccountsReceivablePolicy": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TradeAndOtherAccountsReceivablePolicy",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accounts Receivable Trade, Net",
        "label": "Accounts Receivable [Policy Text Block]",
        "documentation": "Disclosure of accounting policy for accounts receivable."
       }
      }
     },
     "auth_ref": [
      "r188",
      "r189",
      "r190",
      "r347",
      "r348",
      "r349"
     ]
    },
    "us-gaap_TradingSecuritiesAndCertainTradingAssetsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TradingSecuritiesAndCertainTradingAssetsTextBlock",
     "presentation": [
      "http://castormaritime.com/role/InvestmentInEquitySecuritiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investment in Listed Equity Securities",
        "label": "Debt Securities, Trading, and Equity Securities, FV-NI [Table Text Block]",
        "documentation": "Tabular disclosure of investment in debt security measured at fair value with change in fair value recognized in net income (trading) and investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI)."
       }
      }
     },
     "auth_ref": []
    },
    "dei_TradingSymbol": {
     "xbrltype": "tradingSymbolItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "TradingSymbol",
     "presentation": [
      "http://castormaritime.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Symbol",
        "documentation": "Trading symbol of an instrument as listed on an exchange."
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_UnitsIssuedDuringPeriodShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "UnitsIssuedDuringPeriodShares",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of units issued during the period. Each unit consists of (i) one common share or a pre-funded warrant to purchase one common share at an exercise price equal to $0.01 per common share (a \"Pre-Funded Warrant\"), and (ii) one Class A Warrant to purchase one common share (a \"Class A Warrant\"), for $0.35 per unit (or $0.34 per unit including a pre-funded warrant).",
        "label": "Units Issued During Period, Shares",
        "terseLabel": "Issuance of units (in shares)"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_UnpaidAdvancesForVesselAcquisitions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "UnpaidAdvancesForVesselAcquisitions",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of unpaid advances for vessel acquisitions.",
        "label": "Unpaid Advances For Vessel Acquisitions",
        "terseLabel": "Unpaid advances for vessel acquisitions (included in Accounts payable and Accrued Liabilities)"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_UnpaidDeferredDryDockCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "UnpaidDeferredDryDockCosts",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of unpaid deferred dry-dock costs.",
        "label": "Unpaid Deferred Dry-dock Costs",
        "terseLabel": "Unpaid deferred dry-dock costs (included in Accounts payable and Accrued liabilities)"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_UnpaidDeferredFinancingCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "UnpaidDeferredFinancingCosts",
     "crdr": "credit",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of unpaid deferred financing costs.",
        "label": "Unpaid Deferred Financing Costs",
        "terseLabel": "Unpaid deferred financing costs"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_UseOfEstimates": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "UseOfEstimates",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Use of Estimates",
        "documentation": "Disclosure of accounting policy for the use of estimates in the preparation of financial statements in conformity with generally accepted accounting principles."
       }
      }
     },
     "auth_ref": [
      "r57",
      "r58",
      "r59",
      "r196",
      "r197",
      "r199",
      "r200"
     ]
    },
    "us-gaap_ValuationTechniqueAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ValuationTechniqueAxis",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Valuation Approach and Technique [Axis]",
        "documentation": "Information by valuation approach and technique."
       }
      }
     },
     "auth_ref": [
      "r17"
     ]
    },
    "us-gaap_ValuationTechniqueDiscountedCashFlowMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ValuationTechniqueDiscountedCashFlowMember",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Discounted Cash Flow Model [Member]",
        "documentation": "Valuation technique calculating present value of future cash flows."
       }
      }
     },
     "auth_ref": [
      "r845"
     ]
    },
    "us-gaap_ValuationTechniqueDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ValuationTechniqueDomain",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Valuation Approach and Technique [Domain]",
        "documentation": "Valuation approach and technique."
       }
      }
     },
     "auth_ref": [
      "r17"
     ]
    },
    "us-gaap_ValuationTechniqueOptionPricingModelMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ValuationTechniqueOptionPricingModelMember",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesInvestmentInRelatedPartyDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Black Scholes Option Pricing Model [Member]",
        "documentation": "Valuation technique calculating price of option."
       }
      }
     },
     "auth_ref": [
      "r845"
     ]
    },
    "us-gaap_VariableRateAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "VariableRateAxis",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Variable Rate [Axis]",
        "documentation": "Information by type of variable rate."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_VariableRateDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "VariableRateDomain",
     "presentation": [
      "http://castormaritime.com/role/LongtermDebt225MillionTermLoanFacilityDetails",
      "http://castormaritime.com/role/LongtermDebt550MillionTermLoanFacilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Variable Rate [Domain]",
        "documentation": "Interest rate that fluctuates over time as a result of an underlying benchmark interest rate or index."
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_VesselAcquisitions2021Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "VesselAcquisitions2021Member",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessels acquired in 2021.",
        "label": "Vessel Acquisitions 2021 [Member]",
        "terseLabel": "2021 Vessel Acquisitions [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_VesselAcquisitions2022Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "VesselAcquisitions2022Member",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessels acquired in 2022.",
        "label": "Vessel Acquisitions 2022 [Member]",
        "terseLabel": "2022 Vessel Acquisitions [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_VesselCountryOfConstruction": {
     "xbrltype": "stringItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "VesselCountryOfConstruction",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The country in which the vessel was constructed.",
        "label": "Vessel, Country of Construction",
        "terseLabel": "Country of construction"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_VesselDeadWeightTonnage": {
     "xbrltype": "massItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "VesselDeadWeightTonnage",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationGeneralInformationDetails",
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deadweight tonnage (DWT) is a measure of vessels capacity in weight, and does not include the weight of the vessel.",
        "label": "Vessel, Dead Weight Tonnage",
        "verboseLabel": "DWT",
        "terseLabel": "Combined carrying capacity"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_VesselDeliveryDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "VesselDeliveryDate",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date the vessel was delivered to the entity, in YYYY-MM-DD format.",
        "label": "Vessel, Delivery Date",
        "verboseLabel": "Delivery date"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_VesselDeliveryDateMonthAndYear": {
     "xbrltype": "gYearMonthItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "VesselDeliveryDateMonthAndYear",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The month and year (YYYY-MM) the vessel was delivered to the entity.",
        "label": "Vessel, Delivery Date, Month and Year",
        "terseLabel": "Delivery date to Castor"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_VesselName": {
     "xbrltype": "stringItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "VesselName",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The name of vessel.",
        "label": "Vessel, Name",
        "terseLabel": "Vessel name"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_VesselOperatingAndVoyageExpensesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "VesselOperatingAndVoyageExpensesTextBlock",
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpenses"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for vessel operating expenses and voyage expenses.",
        "label": "Vessel Operating and Voyage Expenses [Text Block]",
        "verboseLabel": "Vessel Operating Expenses and Voyage Expenses"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_VesselOperatingExpensesAndVoyageExpensesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "VesselOperatingExpensesAndVoyageExpensesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Vessel Operating Expenses and Voyage Expenses [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_VesselOperatingExpensesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "VesselOperatingExpensesTableTextBlock",
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of vessel operating expenses.",
        "label": "Vessel Operating Expenses [Table Text Block]",
        "terseLabel": "Vessel Operating Expenses"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_VesselOwningSubsidiariesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "VesselOwningSubsidiariesTableTextBlock",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of information regarding subsidiaries owning vessels.",
        "label": "Vessel Owning Subsidiaries [Table Text Block]",
        "terseLabel": "Consolidated Vessel Owning Subsidiaries"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_VesselRepairAndMaintenanceExpenses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "VesselRepairAndMaintenanceExpenses",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails": {
       "parentTag": "us-gaap_OperatingCostsAndExpenses",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of operating expenses for vessel repair and maintenance, spares, stores, classification, chemicals and gases, paints and victualling.",
        "label": "Vessel Repair and Maintenance Expenses",
        "terseLabel": "Repairs &amp; maintenance, spares, stores, classification, chemicals &amp; gases, paints, victualling"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_VesselType": {
     "xbrltype": "stringItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "VesselType",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The type of vessel classified on the basis of size.",
        "label": "Vessel, Type",
        "terseLabel": "Vessel type"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_VesselYearBuilt": {
     "xbrltype": "gYearItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "VesselYearBuilt",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The year in which the vessel was built.",
        "label": "Vessel, Year Built",
        "terseLabel": "Year built"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_VesselsHeldForSalePolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "VesselsHeldForSalePolicyTextBlock",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for vessels classified as held for sale.",
        "label": "Vessels Held for Sale [Policy Text Block]",
        "terseLabel": "Vessels held for sale"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_VesselsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "VesselsMember",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails",
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails",
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleNetBookValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Watercraft used as a means of transportation on water.",
        "label": "Vessels [Member]",
        "terseLabel": "Vessels [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_VesselsMortgagedAsCollateralMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "VesselsMortgagedAsCollateralMember",
     "presentation": [
      "http://castormaritime.com/role/VesselsNetAssetsHeldForSaleVesselAcquisitionsAndOtherCapitalExpendituresDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessels that were first priority mortgaged as collateral to their loan facilities.",
        "label": "Vessels Mortgaged as Collateral [Member]",
        "terseLabel": "Vessels Mortgaged as Collateral [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_VisionShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "VisionShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Vision Shipping Co. [Member]",
        "terseLabel": "Vision Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_VoyageCharterMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "VoyageCharterMember",
     "presentation": [
      "http://castormaritime.com/role/DiscontinuedOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A voyage charter is a contract to charter a vessel for a fixed amount per ton of cargo carried.",
        "label": "Voyage Charter [Member]",
        "terseLabel": "Voyage Charter [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_VoyageExpenseAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "VoyageExpenseAbstract",
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Voyage Expense [Abstract]",
        "terseLabel": "Voyage Expenses [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_VoyageExpenses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "VoyageExpenses",
     "crdr": "debit",
     "calculation": {
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome": {
       "parentTag": "us-gaap_CostsAndExpenses",
       "weight": 1.0,
       "order": 0.0
      },
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails": {
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": -1.0,
       "order": 2.0
      },
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncomeParenthetical",
      "http://castormaritime.com/role/SegmentInformationInformationAboutCompanySReportableSegmentsDetails",
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Voyage expenses consist of: (a) port, canal and bunker expenses that are unique to a particular charter which are paid for by the charterer under the time charter arrangements or by the Company under voyage charter arrangements, and (b) brokerage commissions, which are always paid for by the Company, regardless of charter type.",
        "label": "Voyage Expenses",
        "negatedLabel": "Voyage expenses (including $1,299,108, $1,944,288 and $1,274,384 to related party for the years ended December 31, 2021, 2022, and 2023, respectively)",
        "totalLabel": "Total Voyage expenses",
        "negatedTerseLabel": "Voyage expenses (including charges from related party)",
        "terseLabel": "Voyage expenses"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_VoyageExpensesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "VoyageExpensesMember",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesSummaryDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing voyage expenses.",
        "label": "Voyage Expenses [Member]",
        "terseLabel": "Voyage Expenses [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_VoyageExpensesPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "VoyageExpensesPolicyTextBlock",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for voyage expenses.",
        "label": "Voyage Expenses [Policy Text Block]",
        "terseLabel": "Voyage Expenses"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_VoyageExpensesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "VoyageExpensesTableTextBlock",
     "presentation": [
      "http://castormaritime.com/role/VesselOperatingExpensesAndVoyageExpensesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of voyage expenses.",
        "label": "Voyage Expenses [Table Text Block]",
        "terseLabel": "Voyage Expenses"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_WarrantsAndRightsOutstandingMeasurementInput": {
     "xbrltype": "decimalItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "WarrantsAndRightsOutstandingMeasurementInput",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2021ThirdRegisteredDirectEquityOfferingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Measurement input - Volatility",
        "label": "Warrants and Rights Outstanding, Measurement Input",
        "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."
       }
      }
     },
     "auth_ref": [
      "r503"
     ]
    },
    "us-gaap_WarrantsAndRightsOutstandingTerm": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "WarrantsAndRightsOutstandingTerm",
     "presentation": [
      "http://castormaritime.com/role/EquityCapitalStructure2020JulyEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2020JuneEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021FirstRegisteredDirectEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021SecondRegisteredDirectEquityOfferingDetails",
      "http://castormaritime.com/role/EquityCapitalStructure2021ThirdRegisteredDirectEquityOfferingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Term of warrant",
        "label": "Warrants and Rights Outstanding, Term",
        "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."
       }
      }
     },
     "auth_ref": [
      "r846"
     ]
    },
    "ctrm_WarrantsRepurchaseDeemedDividend": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "WarrantsRepurchaseDeemedDividend",
     "crdr": "debit",
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfShareholdersEquityAndMezzanineEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the difference between the repurchase amount and the fair value of the repurchased warrants on the measurement date, recognized as a deemed dividend.",
        "label": "Warrants Repurchase, Deemed Dividend",
        "terseLabel": "Deemed dividend on warrants repurchase (Note 10)"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_WarrantsRepurchasesPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "WarrantsRepurchasesPolicyTextBlock",
     "presentation": [
      "http://castormaritime.com/role/SignificantAccountingPoliciesAndRecentAccountingPronouncementsPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for repurchases of warrants.",
        "label": "Warrants Repurchases [Policy Text Block]",
        "terseLabel": "Warrants repurchases"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "WeightedAverageNumberDilutedSharesOutstandingAdjustment",
     "calculation": {
      "http://castormaritime.com/role/EarningsPerCommonShareDetails": {
       "parentTag": "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/EarningsPerCommonShareDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effect of dilutive shares (in shares)",
        "documentation": "The sum of dilutive potential common shares or units used in the calculation of the diluted per-share or per-unit computation."
       }
      }
     },
     "auth_ref": [
      "r820"
     ]
    },
    "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "WeightedAverageNumberOfDilutedSharesOutstanding",
     "calculation": {
      "http://castormaritime.com/role/EarningsPerCommonShareDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/EarningsPerCommonShareDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Weighted average number of common shares, diluted (in shares)",
        "totalLabel": "Weighted average number of common shares outstanding, diluted (in shares)",
        "label": "Weighted Average Number of Shares Outstanding, Diluted",
        "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."
       }
      }
     },
     "auth_ref": [
      "r286",
      "r297"
     ]
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "WeightedAverageNumberOfSharesOutstandingBasic",
     "calculation": {
      "http://castormaritime.com/role/EarningsPerCommonShareDetails": {
       "parentTag": "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://castormaritime.com/role/ConsolidatedStatementsOfComprehensiveIncome",
      "http://castormaritime.com/role/EarningsPerCommonShareDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted average number of common shares, basic (in shares)",
        "label": "Weighted average number of common shares outstanding, basic (in shares)",
        "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."
       }
      }
     },
     "auth_ref": [
      "r284",
      "r297"
     ]
    },
    "ctrm_WonderAviorMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "WonderAviorMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 106,162 dwt.",
        "label": "Wonder Avior [Member]",
        "verboseLabel": "M/T Wonder Avior [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_WonderBellatrixMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "WonderBellatrixMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 115,341 dwt.",
        "label": "Wonder Bellatrix [Member]",
        "verboseLabel": "M/T Wonder Bellatrix [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_WonderFormosaMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "WonderFormosaMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 36,660 dwt.",
        "label": "Wonder Formosa [Member]",
        "verboseLabel": "M/T Wonder Formosa [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_WonderMimosaMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "WonderMimosaMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 36,718 dwt.",
        "label": "Wonder Mimosa [Member]",
        "verboseLabel": "M/T Wonder Mimosa [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_WonderMusicaMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "WonderMusicaMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 106,290 dwt.",
        "label": "Wonder Musica [Member]",
        "verboseLabel": "M/T Wonder Musica [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_WonderPolarisMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "WonderPolarisMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 115,351 dwt.",
        "label": "Wonder Polaris [Member]",
        "terseLabel": "M/T Wonder Polaris [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_WonderSiriusMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "WonderSiriusMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 115,341 dwt.",
        "label": "Wonder Sirius [Member]",
        "verboseLabel": "M/T Wonder Sirius [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_WonderVegaMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "WonderVegaMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vessel with a carrying capacity of 106,062 dwt.",
        "label": "Wonder Vega [Member]",
        "verboseLabel": "M/T Wonder Vega [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_WorkingCapitalAdvancesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "WorkingCapitalAdvancesMember",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesPavimarDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Working capital advances made to Pavimar and its subcontractor third-party managers for operating expenses paid in advance.",
        "label": "Working Capital Advances [Member]",
        "terseLabel": "Working Capital Advances [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_WorkingCapitalGuaranteeAdvancesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "WorkingCapitalGuaranteeAdvancesMember",
     "presentation": [
      "http://castormaritime.com/role/TransactionsWithRelatedPartiesCastorShipsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Amended Castor Ship Management Agreements provide for an advance funding equal to one month of vessel daily operating costs to be placed with Castor Ships as working capital guarantee, refundable in case a vessel is no longer under Castor Ship's management.",
        "label": "Working Capital Guarantee Advances [Member]",
        "terseLabel": "Working Capital Guarantee Advances [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ctrm_XavierShippingCoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://castormaritime.com/20231231",
     "localname": "XavierShippingCoMember",
     "presentation": [
      "http://castormaritime.com/role/BasisOfPresentationAndGeneralInformationVesselOwningSubsidiariesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wholly-owned subsidiary of the Company, incorporated in the Marshall Islands.",
        "label": "Xavier Shipping Co. [Member]",
        "terseLabel": "Xavier Shipping Co. [Member]"
       }
      }
     },
     "auth_ref": []
    }
   }
  }
 },
 "std_ref": {
  "r0": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "05",
   "Paragraph": "3",
   "SubTopic": "10",
   "Topic": "835",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482914/835-10-05-3"
  },
  "r1": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "05",
   "Paragraph": "4",
   "SubTopic": "10",
   "Topic": "360",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482338/360-10-05-4"
  },
  "r2": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "25",
   "Paragraph": "1",
   "SubTopic": "20",
   "Topic": "940",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481913/940-20-25-1"
  },
  "r3": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "SubTopic": "230",
   "Topic": "830",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481877/830-230-45-1"
  },
  "r4": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "10",
   "SubTopic": "20",
   "Topic": "205",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483475/205-20-45-10"
  },
  "r5": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "11",
   "SubTopic": "10",
   "Topic": "360",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482130/360-10-45-11"
  },
  "r6": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "14",
   "Subparagraph": "(a)",
   "SubTopic": "10",
   "Topic": "230",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-14"
  },
  "r7": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1D",
   "SubTopic": "20",
   "Topic": "205",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483475/205-20-45-1D"
  },
  "r8": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "SubTopic": "405",
   "Topic": "942",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481071/942-405-45-2"
  },
  "r9": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "28",
   "Subparagraph": "(a)",
   "SubTopic": "10",
   "Topic": "230",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-28"
  },
  "r10": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "28",
   "Subparagraph": "(b)",
   "SubTopic": "10",
   "Topic": "230",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-28"
  },
  "r11": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "SubTopic": "10",
   "Topic": "360",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482099/360-10-50-1"
  },
  "r12": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "SubTopic": "10",
   "Topic": "470",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481544/470-10-50-1"
  },
  "r13": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "SubTopic": "10",
   "Topic": "825",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482907/825-10-50-1"
  },
  "r14": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "SubTopic": "20",
   "Topic": "205",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483499/205-20-50-1"
  },
  "r15": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "SubTopic": "30",
   "Topic": "205",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479910/205-30-50-1"
  },
  "r16": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "SubTopic": "10",
   "Topic": "505",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-2"
  },
  "r17": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)",
   "SubTopic": "10",
   "Topic": "820",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2"
  },
  "r18": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "SubTopic": "10",
   "Topic": "360",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482099/360-10-50-3"
  },
  "r19": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "e",
   "SubTopic": "470",
   "Topic": "942",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480848/942-470-50-3"
  },
  "r20": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "SubTopic": "10",
   "Topic": "280",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-4"
  },
  "r21": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "60",
   "Paragraph": "1",
   "SubTopic": "10",
   "Topic": "820",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482053/820-10-60-1"
  },
  "r22": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(27)",
   "SubTopic": "10",
   "Topic": "210",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r23": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(22))",
   "SubTopic": "10",
   "Topic": "210",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r24": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "205",
   "SubTopic": "20",
   "Section": "45",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483475/205-20-45-6"
  },
  "r25": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "205",
   "SubTopic": "20",
   "Section": "45",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483475/205-20-45-7"
  },
  "r26": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "205",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483499/205-20-50-3"
  },
  "r27": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "205",
   "SubTopic": "20",
   "Section": "S99",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480781/205-20-S99-3"
  },
  "r28": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.19(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r29": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.20)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r30": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.20,24)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r31": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.21)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r32": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.22(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r33": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.22)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r34": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.25)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r35": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.29-31)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r36": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "220",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482790/220-10-45-5"
  },
  "r37": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "14",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-14"
  },
  "r38": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "14",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-14"
  },
  "r39": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "15",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-15"
  },
  "r40": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "15",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-15"
  },
  "r41": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "15",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-15"
  },
  "r42": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-4"
  },
  "r43": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482913/230-10-50-1"
  },
  "r44": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482913/230-10-50-3"
  },
  "r45": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482913/230-10-50-4"
  },
  "r46": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482913/230-10-50-5"
  },
  "r47": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "260",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-11"
  },
  "r48": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "260",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482662/260-10-50-1"
  },
  "r49": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "260",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482662/260-10-50-1"
  },
  "r50": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "260",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482662/260-10-50-2"
  },
  "r51": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "260",
   "SubTopic": "10",
   "Section": "55",
   "Paragraph": "52",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482635/260-10-55-52"
  },
  "r52": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "275",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "16",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-16"
  },
  "r53": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "275",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "18",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-18"
  },
  "r54": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "275",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-18"
  },
  "r55": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "275",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "20",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-20"
  },
  "r56": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "275",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "21",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-21"
  },
  "r57": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "275",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-4"
  },
  "r58": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "275",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-8"
  },
  "r59": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "275",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "9",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-9"
  },
  "r60": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "22",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-22"
  },
  "r61": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "25",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-25"
  },
  "r62": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "30",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-30"
  },
  "r63": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-30"
  },
  "r64": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "31",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-31"
  },
  "r65": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "350",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482573/350-20-50-1"
  },
  "r66": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "360",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482099/360-10-50-1"
  },
  "r67": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "360",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482099/360-10-50-1"
  },
  "r68": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "360",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482099/360-10-50-2"
  },
  "r69": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "460",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "8",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482425/460-10-50-8"
  },
  "r70": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "480",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480244/480-10-S99-1"
  },
  "r71": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "480",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(CFRR 211.02)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480244/480-10-S99-1"
  },
  "r72": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481142/505-10-45-2"
  },
  "r73": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-10"
  },
  "r74": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-3"
  },
  "r75": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-4"
  },
  "r76": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-5"
  },
  "r77": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-8"
  },
  "r78": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "60",
   "Section": "25",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481423/505-60-25-2"
  },
  "r79": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "718",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-1"
  },
  "r80": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "810",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481203/810-10-50-1"
  },
  "r81": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "815",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4A"
  },
  "r82": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "815",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4B",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4B"
  },
  "r83": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "825",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "20",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482907/825-10-50-20"
  },
  "r84": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "825",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482907/825-10-50-21"
  },
  "r85": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "830",
   "SubTopic": "30",
   "Section": "45",
   "Paragraph": "20",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481694/830-30-45-20"
  },
  "r86": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "835",
   "SubTopic": "30",
   "Section": "45",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482925/835-30-45-1A"
  },
  "r87": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "835",
   "SubTopic": "30",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482925/835-30-45-2"
  },
  "r88": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "835",
   "SubTopic": "30",
   "Section": "45",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482925/835-30-45-3"
  },
  "r89": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "835",
   "SubTopic": "30",
   "Section": "55",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482949/835-30-55-8"
  },
  "r90": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "850",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483326/850-10-50-1"
  },
  "r91": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "850",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483326/850-10-50-3"
  },
  "r92": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "210",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03.17)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r93": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "470",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480848/942-470-50-3"
  },
  "r94": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "470",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480848/942-470-50-3"
  },
  "r95": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//205/tableOfContent"
  },
  "r96": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//205-20/tableOfContent"
  },
  "r97": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483475/205-20-45-11"
  },
  "r98": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483475/205-20-45-1A"
  },
  "r99": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483475/205-20-45-1B"
  },
  "r100": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1C",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483475/205-20-45-1C"
  },
  "r101": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483475/205-20-45-3"
  },
  "r102": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483475/205-20-45-3A"
  },
  "r103": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483475/205-20-45-3B"
  },
  "r104": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483475/205-20-45-4"
  },
  "r105": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483499/205-20-50-1"
  },
  "r106": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483499/205-20-50-3A"
  },
  "r107": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483499/205-20-50-4A"
  },
  "r108": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483499/205-20-50-4B"
  },
  "r109": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483499/205-20-50-5A"
  },
  "r110": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483499/205-20-50-5B"
  },
  "r111": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483499/205-20-50-5B"
  },
  "r112": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5B",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483499/205-20-50-5B"
  },
  "r113": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5B",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483499/205-20-50-5B"
  },
  "r114": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5B",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483499/205-20-50-5B"
  },
  "r115": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5C",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483499/205-20-50-5C"
  },
  "r116": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5C",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483499/205-20-50-5C"
  },
  "r117": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5D",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483499/205-20-50-5D"
  },
  "r118": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483499/205-20-50-7"
  },
  "r119": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 201.5-02(24))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r120": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 201.5-02(25))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r121": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 201.5-02(26))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r122": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(19))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r123": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(20))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r124": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(23))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r125": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(24))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r126": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(27)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r127": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(28))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r128": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(29))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r129": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(30)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r130": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(30)(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r131": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(30))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r132": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(31))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r133": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(32))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r134": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-03(13))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-1"
  },
  "r135": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(10))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2"
  },
  "r136": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(14))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2"
  },
  "r137": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(20))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2"
  },
  "r138": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(8))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2"
  },
  "r139": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2"
  },
  "r140": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03.3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2"
  },
  "r141": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03.4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2"
  },
  "r142": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03.7(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2"
  },
  "r143": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03.7(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2"
  },
  "r144": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03.7)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2"
  },
  "r145": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03.8)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2"
  },
  "r146": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "12",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-12"
  },
  "r147": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "13",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-13"
  },
  "r148": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "24",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-24"
  },
  "r149": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "25",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-25"
  },
  "r150": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "28",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-28"
  },
  "r151": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "235",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//235/tableOfContent"
  },
  "r152": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SAB Topic 4.E)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480418/310-10-S99-2"
  },
  "r153": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "360",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//360/tableOfContent"
  },
  "r154": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "360",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "15",
   "Paragraph": "4",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482309/360-10-15-4"
  },
  "r155": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "360",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "15",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482130/360-10-45-15"
  },
  "r156": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "360",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "9",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482130/360-10-45-9"
  },
  "r157": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "360",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482099/360-10-50-1"
  },
  "r158": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "360",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482099/360-10-50-3"
  },
  "r159": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "360",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482099/360-10-50-3A"
  },
  "r160": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "360",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SAB Topic 5.CC)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480091/360-10-S99-2"
  },
  "r161": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "440",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//440/tableOfContent"
  },
  "r162": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "470",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//470/tableOfContent"
  },
  "r163": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "480",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SAB Topic 3.C)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480244/480-10-S99-2"
  },
  "r164": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "505",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//505/tableOfContent"
  },
  "r165": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-6"
  },
  "r166": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-7"
  },
  "r167": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.3-04)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480008/505-10-S99-1"
  },
  "r168": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "810",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//810/tableOfContent"
  },
  "r169": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "19",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481231/810-10-45-19"
  },
  "r170": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482907/825-10-50-21"
  },
  "r171": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "940",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//940-320/tableOfContent"
  },
  "r172": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(1)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r173": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(10))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r174": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(11))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r175": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(13))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r176": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(15)(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r177": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(16))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r178": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(23))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r179": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(19))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1"
  },
  "r180": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(11))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1"
  },
  "r181": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(15))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1"
  },
  "r182": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(20))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1"
  },
  "r183": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(22))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1"
  },
  "r184": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04.8)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1"
  },
  "r185": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04.9)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1"
  },
  "r186": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "942",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//942-320/tableOfContent"
  },
  "r187": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//946-320/tableOfContent"
  },
  "r188": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11B",
   "Subparagraph": "(b)",
   "SubTopic": "10",
   "Topic": "310",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-11B"
  },
  "r189": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "15",
   "Subparagraph": "(d)",
   "SubTopic": "10",
   "Topic": "310",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-15"
  },
  "r190": {
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "SubTopic": "10",
   "Topic": "310",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-6"
  },
  "r191": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "SubTopic": "10",
   "Topic": "321",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479567/321-10-45-1"
  },
  "r192": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "16",
   "Subparagraph": "(b)",
   "SubTopic": "10",
   "Topic": "230",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-16"
  },
  "r193": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "SubTopic": "20",
   "Topic": "740",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482659/740-20-45-2"
  },
  "r194": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "SubTopic": "210",
   "Topic": "954",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480632/954-210-45-5"
  },
  "r195": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "6",
   "Subparagraph": "(a)",
   "SubTopic": "10",
   "Topic": "270",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482989/270-10-45-6"
  },
  "r196": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "SubTopic": "10",
   "Topic": "275",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-1"
  },
  "r197": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "SubTopic": "10",
   "Topic": "275",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-1"
  },
  "r198": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "SubTopic": "360",
   "Topic": "958",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480321/958-360-50-1"
  },
  "r199": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "SubTopic": "10",
   "Topic": "275",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-11"
  },
  "r200": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "SubTopic": "10",
   "Topic": "275",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-12"
  },
  "r201": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "SubTopic": "360",
   "Topic": "958",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480321/958-360-50-6"
  },
  "r202": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "SubTopic": "360",
   "Topic": "958",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480321/958-360-50-7"
  },
  "r203": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(h))",
   "SubTopic": "10",
   "Topic": "235",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1"
  },
  "r204": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.22(a)(2))",
   "SubTopic": "10",
   "Topic": "210",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r205": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Topic": "606",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//606/tableOfContent"
  },
  "r206": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "(a)",
   "Publisher": "SEC"
  },
  "r207": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "(b)",
   "Subparagraph": "(1)",
   "Publisher": "SEC"
  },
  "r208": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1403",
   "Paragraph": "(b)",
   "Publisher": "SEC"
  },
  "r209": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "28",
   "Footnote": "4",
   "Publisher": "SEC"
  },
  "r210": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "13",
   "Subsection": "01",
   "Paragraph": "(a)",
   "Subparagraph": "(4)(i)",
   "Publisher": "SEC"
  },
  "r211": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "13",
   "Subsection": "01",
   "Paragraph": "(a)",
   "Subparagraph": "(4)(iii)(A)",
   "Publisher": "SEC"
  },
  "r212": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "13",
   "Subsection": "01",
   "Paragraph": "(a)",
   "Subparagraph": "(4)(iii)(B)",
   "Publisher": "SEC"
  },
  "r213": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "13",
   "Subsection": "01",
   "Paragraph": "(a)",
   "Subparagraph": "(4)(iv)",
   "Publisher": "SEC"
  },
  "r214": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "13",
   "Subsection": "02",
   "Paragraph": "(a)",
   "Subparagraph": "(4)(i)",
   "Publisher": "SEC"
  },
  "r215": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "13",
   "Subsection": "02",
   "Paragraph": "(a)",
   "Subparagraph": "(4)(iii)(A)",
   "Publisher": "SEC"
  },
  "r216": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "13",
   "Subsection": "02",
   "Paragraph": "(a)",
   "Subparagraph": "(4)(iii)(B)",
   "Publisher": "SEC"
  },
  "r217": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "13",
   "Subsection": "02",
   "Paragraph": "(a)",
   "Subparagraph": "(4)(iii)(C)",
   "Publisher": "SEC"
  },
  "r218": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "13",
   "Subsection": "02",
   "Paragraph": "(a)",
   "Subparagraph": "(4)(iv)",
   "Publisher": "SEC"
  },
  "r219": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "4",
   "Subsection": "08",
   "Paragraph": "(m)",
   "Subparagraph": "(1)(iii)",
   "Publisher": "SEC"
  },
  "r220": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "105",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479343/105-10-65-6"
  },
  "r221": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483499/205-20-50-1"
  },
  "r222": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5C",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483499/205-20-50-5C"
  },
  "r223": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "205",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483499/205-20-50-7"
  },
  "r224": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483467/210-10-45-1"
  },
  "r225": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483467/210-10-45-5"
  },
  "r226": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483489/210-10-50-1"
  },
  "r227": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r228": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(13))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r229": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(14))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r230": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(17))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r231": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(18))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r232": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r233": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(27)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r234": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(28))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r235": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(29))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r236": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(6)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r237": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r238": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r239": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482790/220-10-45-1A"
  },
  "r240": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1A",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482790/220-10-45-1A"
  },
  "r241": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482790/220-10-45-1B"
  },
  "r242": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1B",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482790/220-10-45-1B"
  },
  "r243": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482765/220-10-50-4"
  },
  "r244": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482765/220-10-50-5"
  },
  "r245": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482765/220-10-50-6"
  },
  "r246": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(210.5-03(11))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2"
  },
  "r247": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2"
  },
  "r248": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(24))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2"
  },
  "r249": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(25))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2"
  },
  "r250": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2"
  },
  "r251": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2"
  },
  "r252": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2"
  },
  "r253": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5",
   "Subparagraph": "(SAB Topic 6.B)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-5"
  },
  "r254": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "17",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-17"
  },
  "r255": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "19",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-19"
  },
  "r256": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "25",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-25"
  },
  "r257": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "25",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-25"
  },
  "r258": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482913/230-10-50-2"
  },
  "r259": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482913/230-10-50-8"
  },
  "r260": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483426/235-10-50-1"
  },
  "r261": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(e)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1"
  },
  "r262": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1"
  },
  "r263": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(h)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1"
  },
  "r264": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(k)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1"
  },
  "r265": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(k)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1"
  },
  "r266": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(m)(1)(iii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1"
  },
  "r267": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(m)(2)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1"
  },
  "r268": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-04(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-3"
  },
  "r269": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "23",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483421/250-10-45-23"
  },
  "r270": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "24",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483421/250-10-45-24"
  },
  "r271": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483421/250-10-45-5"
  },
  "r272": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-1"
  },
  "r273": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-1"
  },
  "r274": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-11"
  },
  "r275": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-11"
  },
  "r276": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-3"
  },
  "r277": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-4"
  },
  "r278": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-7"
  },
  "r279": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-7"
  },
  "r280": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-8"
  },
  "r281": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-9"
  },
  "r282": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5",
   "Subparagraph": "(SAB Topic 11.M.Q2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480530/250-10-S99-5"
  },
  "r283": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//260/tableOfContent"
  },
  "r284": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-10"
  },
  "r285": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-11"
  },
  "r286": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "16",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-16"
  },
  "r287": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-2"
  },
  "r288": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-3"
  },
  "r289": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "40",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-40"
  },
  "r290": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "40",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-40"
  },
  "r291": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "40",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-40"
  },
  "r292": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "40",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-40"
  },
  "r293": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "60B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-60B"
  },
  "r294": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "60B",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-60B"
  },
  "r295": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "60B",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-60B"
  },
  "r296": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-7"
  },
  "r297": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482662/260-10-50-1"
  },
  "r298": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482662/260-10-50-1"
  },
  "r299": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482662/260-10-50-2"
  },
  "r300": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482662/260-10-50-3"
  },
  "r301": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "15",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482635/260-10-55-15"
  },
  "r302": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "270",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482964/270-10-50-6A"
  },
  "r303": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "272",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483014/272-10-45-1"
  },
  "r304": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "272",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482987/272-10-50-1"
  },
  "r305": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "272",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482987/272-10-50-3"
  },
  "r306": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//280/tableOfContent"
  },
  "r307": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "15",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-15"
  },
  "r308": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-21"
  },
  "r309": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-21"
  },
  "r310": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-22"
  },
  "r311": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-22"
  },
  "r312": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-22"
  },
  "r313": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-22"
  },
  "r314": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-22"
  },
  "r315": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-22"
  },
  "r316": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-22"
  },
  "r317": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-22"
  },
  "r318": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-22"
  },
  "r319": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "22",
   "Subparagraph": "(j)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-22"
  },
  "r320": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "25",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-25"
  },
  "r321": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "25",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-25"
  },
  "r322": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "26",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-26"
  },
  "r323": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "29",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-29"
  },
  "r324": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "29",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-29"
  },
  "r325": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "29",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-29"
  },
  "r326": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "29",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-29"
  },
  "r327": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "29",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-29"
  },
  "r328": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "29",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-29"
  },
  "r329": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-30"
  },
  "r330": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-30"
  },
  "r331": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-30"
  },
  "r332": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-30"
  },
  "r333": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "31",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-31"
  },
  "r334": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-32"
  },
  "r335": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-32"
  },
  "r336": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-32"
  },
  "r337": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-32"
  },
  "r338": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-32"
  },
  "r339": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-32"
  },
  "r340": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "34",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-34"
  },
  "r341": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "40",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-40"
  },
  "r342": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "41",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-41"
  },
  "r343": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "41",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-41"
  },
  "r344": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "42",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-42"
  },
  "r345": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481990/310-10-45-2"
  },
  "r346": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "9",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481990/310-10-45-9"
  },
  "r347": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-1"
  },
  "r348": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-2"
  },
  "r349": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "310",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481569/310-20-50-1"
  },
  "r350": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//320/tableOfContent"
  },
  "r351": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "10",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481800/320-10-50-10"
  },
  "r352": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "323",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481687/323-10-50-3"
  },
  "r353": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "4",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479654/326-10-65-4"
  },
  "r354": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "5",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479654/326-10-65-5"
  },
  "r355": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479319/326-20-50-13"
  },
  "r356": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "330",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//330/tableOfContent"
  },
  "r357": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "330",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483080/330-10-50-1"
  },
  "r358": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "330",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483080/330-10-50-4"
  },
  "r359": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "340",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479483/340-40-50-3"
  },
  "r360": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "340",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479483/340-40-50-3"
  },
  "r361": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482573/350-20-50-1"
  },
  "r362": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482573/350-20-50-1"
  },
  "r363": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482573/350-20-50-1"
  },
  "r364": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482573/350-20-50-1"
  },
  "r365": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482573/350-20-50-1"
  },
  "r366": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482573/350-20-50-1"
  },
  "r367": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482573/350-20-50-1"
  },
  "r368": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482573/350-20-50-1"
  },
  "r369": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482573/350-20-50-1"
  },
  "r370": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "360",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482099/360-10-50-3"
  },
  "r371": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "360",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482099/360-10-50-3"
  },
  "r372": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "420",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482017/420-10-50-1"
  },
  "r373": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "420",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482017/420-10-50-1"
  },
  "r374": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "420",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SAB Topic 5.P.4(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479823/420-10-S99-2"
  },
  "r375": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "440",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482648/440-10-50-4"
  },
  "r376": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "440",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482648/440-10-50-4"
  },
  "r377": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483076/450-20-50-1"
  },
  "r378": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483076/450-20-50-4"
  },
  "r379": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483076/450-20-50-9"
  },
  "r380": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 5.Y.Q2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480102/450-20-S99-1"
  },
  "r381": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 5.Y.Q4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480102/450-20-S99-1"
  },
  "r382": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "460",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482425/460-10-50-3"
  },
  "r383": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1A"
  },
  "r384": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1A"
  },
  "r385": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1A"
  },
  "r386": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1A"
  },
  "r387": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1A"
  },
  "r388": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1B"
  },
  "r389": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(A)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1B"
  },
  "r390": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1B"
  },
  "r391": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(B)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1B"
  },
  "r392": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1B"
  },
  "r393": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1B"
  },
  "r394": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1B"
  },
  "r395": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1B"
  },
  "r396": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B"
  },
  "r397": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B"
  },
  "r398": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B"
  },
  "r399": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B"
  },
  "r400": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B"
  },
  "r401": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B"
  },
  "r402": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1D",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1D"
  },
  "r403": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1D",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1D"
  },
  "r404": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1D",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1D"
  },
  "r405": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1E",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1E"
  },
  "r406": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1E",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1E"
  },
  "r407": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1E",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1E"
  },
  "r408": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1F",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1F"
  },
  "r409": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1F",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1F"
  },
  "r410": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1F",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1F"
  },
  "r411": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1F",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1F"
  },
  "r412": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1I",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1I"
  },
  "r413": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-4"
  },
  "r414": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-4"
  },
  "r415": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-6"
  },
  "r416": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-13"
  },
  "r417": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-13"
  },
  "r418": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-13"
  },
  "r419": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-13"
  },
  "r420": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-13"
  },
  "r421": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-13"
  },
  "r422": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-13"
  },
  "r423": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-13"
  },
  "r424": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "14",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-14"
  },
  "r425": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "14",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-14"
  },
  "r426": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "14",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-14"
  },
  "r427": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "16",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-16"
  },
  "r428": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-18"
  },
  "r429": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-18"
  },
  "r430": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-18"
  },
  "r431": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-18"
  },
  "r432": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-2"
  },
  "r433": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-3"
  },
  "r434": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.3-04)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480008/505-10-S99-1"
  },
  "r435": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479837/606-10-45-1"
  },
  "r436": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479837/606-10-45-2"
  },
  "r437": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479806/606-10-50-10"
  },
  "r438": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479806/606-10-50-12"
  },
  "r439": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479806/606-10-50-12"
  },
  "r440": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479806/606-10-50-12"
  },
  "r441": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479806/606-10-50-12"
  },
  "r442": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479806/606-10-50-12"
  },
  "r443": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479806/606-10-50-13"
  },
  "r444": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "15",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479806/606-10-50-15"
  },
  "r445": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "17",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479806/606-10-50-17"
  },
  "r446": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479806/606-10-50-18"
  },
  "r447": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479806/606-10-50-18"
  },
  "r448": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "19",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479806/606-10-50-19"
  },
  "r449": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "20",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479806/606-10-50-20"
  },
  "r450": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "20",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479806/606-10-50-20"
  },
  "r451": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "20",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479806/606-10-50-20"
  },
  "r452": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "20",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479806/606-10-50-20"
  },
  "r453": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479806/606-10-50-5"
  },
  "r454": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479806/606-10-50-8"
  },
  "r455": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479806/606-10-50-9"
  },
  "r456": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1"
  },
  "r457": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(01)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1"
  },
  "r458": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(02)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1"
  },
  "r459": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(02)(A)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1"
  },
  "r460": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(02)(B)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1"
  },
  "r461": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(02)(C)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1"
  },
  "r462": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(03)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1"
  },
  "r463": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(n)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1"
  },
  "r464": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480576/715-80-50-5"
  },
  "r465": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "715",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(f)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480576/715-80-50-5"
  },
  "r466": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r467": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r468": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)(iv)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r469": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "15",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480336/718-10-65-15"
  },
  "r470": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "15",
   "Subparagraph": "(f)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480336/718-10-65-15"
  },
  "r471": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "15",
   "Subparagraph": "(f)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480336/718-10-65-15"
  },
  "r472": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 14.E.Q2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479830/718-10-S99-1"
  },
  "r473": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//740/tableOfContent"
  },
  "r474": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482685/740-10-50-10"
  },
  "r475": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "14",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482685/740-10-50-14"
  },
  "r476": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "17",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482685/740-10-50-17"
  },
  "r477": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482685/740-10-50-21"
  },
  "r478": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "8",
   "Subparagraph": "(d)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482615/740-10-65-8"
  },
  "r479": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "8",
   "Subparagraph": "(d)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482615/740-10-65-8"
  },
  "r480": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB TOPIC 6.I.5.Q1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479360/740-10-S99-1"
  },
  "r481": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB TOPIC 6.I.7)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479360/740-10-S99-1"
  },
  "r482": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SAB Topic 11.C)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479360/740-10-S99-2"
  },
  "r483": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482659/740-20-45-2"
  },
  "r484": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "270",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482551/740-270-45-3"
  },
  "r485": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "270",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482526/740-270-50-1"
  },
  "r486": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482603/740-30-50-2"
  },
  "r487": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "25",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481231/810-10-45-25"
  },
  "r488": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "25",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481231/810-10-45-25"
  },
  "r489": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(bb)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481203/810-10-50-3"
  },
  "r490": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "810",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481203/810-10-50-3"
  },
  "r491": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480528/815-20-65-6"
  },
  "r492": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(h)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480528/815-20-65-6"
  },
  "r493": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(h)(1)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480528/815-20-65-6"
  },
  "r494": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(h)(1)(iii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480528/815-20-65-6"
  },
  "r495": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(h)(1)(iv)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480528/815-20-65-6"
  },
  "r496": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(i)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480528/815-20-65-6"
  },
  "r497": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480237/815-40-50-6"
  },
  "r498": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(e)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480175/815-40-65-1"
  },
  "r499": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(e)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480175/815-40-65-1"
  },
  "r500": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480175/815-40-65-1"
  },
  "r501": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2"
  },
  "r502": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2"
  },
  "r503": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2"
  },
  "r504": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6B",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-6B"
  },
  "r505": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6B",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-6B"
  },
  "r506": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482736/825-10-45-1A"
  },
  "r507": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "28",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482907/825-10-50-28"
  },
  "r508": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//830/tableOfContent"
  },
  "r509": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "17",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481839/830-10-45-17"
  },
  "r510": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "35",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482014/830-20-35-1"
  },
  "r511": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481956/830-20-45-1"
  },
  "r512": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481926/830-20-50-1"
  },
  "r513": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "17",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481694/830-30-45-17"
  },
  "r514": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "20",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481694/830-30-45-20"
  },
  "r515": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "20",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481694/830-30-45-20"
  },
  "r516": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "20",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481694/830-30-45-20"
  },
  "r517": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "20",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481694/830-30-45-20"
  },
  "r518": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481674/830-30-50-1"
  },
  "r519": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "830",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481674/830-30-50-2"
  },
  "r520": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "835",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483013/835-20-50-1"
  },
  "r521": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "835",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482925/835-30-45-3"
  },
  "r522": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "835",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482900/835-30-50-1"
  },
  "r523": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479016/842-30-45-3"
  },
  "r524": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479773/842-30-50-12"
  },
  "r525": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479773/842-30-50-5"
  },
  "r526": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "848",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(a)(3)(iii)(03)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483550/848-10-65-2"
  },
  "r527": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//850/tableOfContent"
  },
  "r528": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483326/850-10-50-1"
  },
  "r529": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483326/850-10-50-1"
  },
  "r530": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483326/850-10-50-1"
  },
  "r531": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483326/850-10-50-1"
  },
  "r532": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483326/850-10-50-2"
  },
  "r533": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483326/850-10-50-3"
  },
  "r534": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483326/850-10-50-6"
  },
  "r535": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "852",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "14",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481435/852-10-45-14"
  },
  "r536": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "855",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//855/tableOfContent"
  },
  "r537": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "855",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483399/855-10-50-2"
  },
  "r538": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "855",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483399/855-10-50-2"
  },
  "r539": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(bb)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3"
  },
  "r540": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(bb)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3"
  },
  "r541": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(bb)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3"
  },
  "r542": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3"
  },
  "r543": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "910",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482546/910-10-50-6"
  },
  "r544": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "912",
   "SubTopic": "330",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482105/912-330-50-1"
  },
  "r545": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "924",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 11.L)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479941/924-10-S99-1"
  },
  "r546": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "15",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-15"
  },
  "r547": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "15",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-15"
  },
  "r548": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "20",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-20"
  },
  "r549": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "20",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-20"
  },
  "r550": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "28",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-28"
  },
  "r551": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "28",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-28"
  },
  "r552": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "33",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-33"
  },
  "r553": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "33",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-33"
  },
  "r554": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "35A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-35A"
  },
  "r555": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "35A",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-35A"
  },
  "r556": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-8"
  },
  "r557": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "932",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482274/932-235-50-8"
  },
  "r558": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(26))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1"
  },
  "r559": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(27))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1"
  },
  "r560": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-05(b)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479557/942-235-S99-1"
  },
  "r561": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "942",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480842/942-360-50-1"
  },
  "r562": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(12))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1"
  },
  "r563": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(19))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1"
  },
  "r564": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(21))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1"
  },
  "r565": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(22))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1"
  },
  "r566": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1"
  },
  "r567": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1"
  },
  "r568": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(25))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1"
  },
  "r569": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(8)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1"
  },
  "r570": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(8)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1"
  },
  "r571": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(8))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1"
  },
  "r572": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(11))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1"
  },
  "r573": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(12))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1"
  },
  "r574": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(18))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1"
  },
  "r575": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(22))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1"
  },
  "r576": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(23))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1"
  },
  "r577": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(3)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1"
  },
  "r578": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(3)(d)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1"
  },
  "r579": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(3)(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1"
  },
  "r580": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(7)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1"
  },
  "r581": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1"
  },
  "r582": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480149/944-235-S99-1"
  },
  "r583": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480149/944-235-S99-1"
  },
  "r584": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480149/944-235-S99-1"
  },
  "r585": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column D))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480149/944-235-S99-1"
  },
  "r586": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column E))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480149/944-235-S99-1"
  },
  "r587": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column F))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480149/944-235-S99-1"
  },
  "r588": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column G))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480149/944-235-S99-1"
  },
  "r589": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column H))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480149/944-235-S99-1"
  },
  "r590": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column I))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480149/944-235-S99-1"
  },
  "r591": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column J))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480149/944-235-S99-1"
  },
  "r592": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-16(Column K))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480149/944-235-S99-1"
  },
  "r593": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-17(Column A))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480149/944-235-S99-2"
  },
  "r594": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-17(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480149/944-235-S99-2"
  },
  "r595": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-17(Column C))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480149/944-235-S99-2"
  },
  "r596": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-17(Column D))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480149/944-235-S99-2"
  },
  "r597": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-17(Column E))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480149/944-235-S99-2"
  },
  "r598": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-17(Column F))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480149/944-235-S99-2"
  },
  "r599": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480081/944-40-50-7A"
  },
  "r600": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480016/944-40-65-2"
  },
  "r601": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(f)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480016/944-40-65-2"
  },
  "r602": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480016/944-40-65-2"
  },
  "r603": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(g)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480016/944-40-65-2"
  },
  "r604": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(h)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480016/944-40-65-2"
  },
  "r605": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "944",
   "SubTopic": "825",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479383/944-825-50-1B"
  },
  "r606": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480424/946-10-50-1"
  },
  "r607": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480424/946-10-50-2"
  },
  "r608": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479886/946-10-S99-3"
  },
  "r609": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(f)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479886/946-10-S99-3"
  },
  "r610": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(f)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479886/946-10-S99-3"
  },
  "r611": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(f)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479886/946-10-S99-3"
  },
  "r612": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(i)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479886/946-10-S99-3"
  },
  "r613": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(i)(2)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479886/946-10-S99-3"
  },
  "r614": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(i)(2)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479886/946-10-S99-3"
  },
  "r615": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-03(i)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479886/946-10-S99-3"
  },
  "r616": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480990/946-20-50-11"
  },
  "r617": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480990/946-20-50-13"
  },
  "r618": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480990/946-20-50-2"
  },
  "r619": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480990/946-20-50-5"
  },
  "r620": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480990/946-20-50-6"
  },
  "r621": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480767/946-205-45-4"
  },
  "r622": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-2"
  },
  "r623": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "27",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-27"
  },
  "r624": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-7"
  },
  "r625": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-7"
  },
  "r626": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-7"
  },
  "r627": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-7"
  },
  "r628": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-7"
  },
  "r629": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-7"
  },
  "r630": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-7"
  },
  "r631": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480737/946-205-50-7"
  },
  "r632": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480555/946-210-45-4"
  },
  "r633": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-1"
  },
  "r634": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6"
  },
  "r635": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6"
  },
  "r636": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6"
  },
  "r637": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r638": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(12)(b)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r639": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(12)(b)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r640": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(12)(b)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r641": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(13)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r642": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(13)(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r643": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(15))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r644": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(16)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r645": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(17))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r646": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(19))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r647": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(2)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r648": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(2)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r649": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(3)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r650": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(3)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r651": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(3)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r652": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(6)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r653": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(6)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r654": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(6)(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r655": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(6)(e))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r656": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(8))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r657": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(9)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r658": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(9)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r659": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(9)(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r660": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(9)(e))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r661": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.6-05(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-2"
  },
  "r662": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.6-05(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-2"
  },
  "r663": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483581/946-220-45-3"
  },
  "r664": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483581/946-220-45-7"
  },
  "r665": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483580/946-220-50-3"
  },
  "r666": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r667": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r668": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(c)(2)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r669": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(c)(2)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r670": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r671": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(e))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r672": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(g)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r673": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r674": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r675": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r676": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r677": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r678": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r679": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(a)(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r680": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r681": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r682": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r683": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r684": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r685": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7)(c)(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r686": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r687": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r688": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(1)(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3"
  },
  "r689": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(4)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3"
  },
  "r690": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3"
  },
  "r691": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3"
  },
  "r692": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481062/946-235-50-2"
  },
  "r693": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481062/946-235-50-2"
  },
  "r694": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481062/946-235-50-2"
  },
  "r695": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481062/946-235-50-2"
  },
  "r696": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480833/946-310-45-1"
  },
  "r697": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1"
  },
  "r698": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1"
  },
  "r699": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1"
  },
  "r700": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "12",
   "Subparagraph": "(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-12"
  },
  "r701": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "19",
   "Subparagraph": "(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-19"
  },
  "r702": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-12A(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-2"
  },
  "r703": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-12A(Column A)(Footnote 3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-2"
  },
  "r704": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3"
  },
  "r705": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 4)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3"
  },
  "r706": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 4)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3"
  },
  "r707": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3"
  },
  "r708": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r709": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r710": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column B))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r711": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481004/946-505-50-1"
  },
  "r712": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481004/946-505-50-2"
  },
  "r713": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481004/946-505-50-2"
  },
  "r714": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481004/946-505-50-2"
  },
  "r715": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481004/946-505-50-2"
  },
  "r716": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "505",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481004/946-505-50-6"
  },
  "r717": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "954",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481027/954-310-50-2"
  },
  "r718": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "954",
   "SubTopic": "440",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480327/954-440-50-1"
  },
  "r719": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "954",
   "SubTopic": "450",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480598/954-450-50-1"
  },
  "r720": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479438/970-360-S99-1"
  },
  "r721": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "976",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482856/976-310-50-1"
  },
  "r722": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "978",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482707/978-310-50-1"
  },
  "r723": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "28",
   "Subparagraph": "(a)",
   "SubTopic": "10",
   "Topic": "230",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-28"
  },
  "r724": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(e)",
   "SubTopic": "10",
   "Topic": "235",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483426/235-10-50-4"
  },
  "r725": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "13H",
   "Subparagraph": "(a)",
   "SubTopic": "40",
   "Topic": "944",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480046/944-40-55-13H"
  },
  "r726": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483467/210-10-45-1"
  },
  "r727": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483467/210-10-45-1"
  },
  "r728": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483467/210-10-45-1"
  },
  "r729": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "16",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483444/210-20-55-16"
  },
  "r730": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "21",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483444/210-20-55-21"
  },
  "r731": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "22",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483444/210-20-55-22"
  },
  "r732": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483426/235-10-50-4"
  },
  "r733": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483426/235-10-50-4"
  },
  "r734": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483426/235-10-50-4"
  },
  "r735": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "52",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482635/260-10-55-52"
  },
  "r736": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "31",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-31"
  },
  "r737": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "47",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482785/280-10-55-47"
  },
  "r738": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481933/310-10-55-12A"
  },
  "r739": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "350",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "24",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482548/350-20-55-24"
  },
  "r740": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B"
  },
  "r741": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "69B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481568/470-20-55-69B"
  },
  "r742": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "69C",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481568/470-20-55-69C"
  },
  "r743": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "69E",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481568/470-20-55-69E"
  },
  "r744": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "69F",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481568/470-20-55-69F"
  },
  "r745": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-13"
  },
  "r746": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "91",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479777/606-10-55-91"
  },
  "r747": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "91",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479777/606-10-55-91"
  },
  "r748": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "91",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479777/606-10-55-91"
  },
  "r749": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "91",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479777/606-10-55-91"
  },
  "r750": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "91",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479777/606-10-55-91"
  },
  "r751": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "91",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479777/606-10-55-91"
  },
  "r752": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "91",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479777/606-10-55-91"
  },
  "r753": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1"
  },
  "r754": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)(iv)(01)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480506/715-20-50-1"
  },
  "r755": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "715",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "17",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480482/715-20-55-17"
  },
  "r756": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "715",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480576/715-80-50-11"
  },
  "r757": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "715",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480576/715-80-50-6"
  },
  "r758": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "715",
   "SubTopic": "80",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480547/715-80-55-8"
  },
  "r759": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "852",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481372/852-10-55-10"
  },
  "r760": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479401/944-30-55-2"
  },
  "r761": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "29F",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480046/944-40-55-29F"
  },
  "r762": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-1"
  },
  "r763": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480524/946-210-50-6"
  },
  "r764": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480493/946-210-55-1"
  },
  "r765": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480833/946-310-45-1"
  },
  "r766": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-12(Column A)(Footnote 2)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-1"
  },
  "r767": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.12-12A(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-2"
  },
  "r768": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-12B(Column A)(Footnote 1)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-3"
  },
  "r769": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SX 210.12-14(Column A)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-6"
  },
  "r770": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "405",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480191/946-405-45-2"
  },
  "r771": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "830",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480167/946-830-55-10"
  },
  "r772": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "946",
   "SubTopic": "830",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480167/946-830-55-12"
  },
  "r773": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12"
  },
  "r774": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "b"
  },
  "r775": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r776": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "d1-1"
  },
  "r777": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 10-K",
   "Number": "249",
   "Section": "310"
  },
  "r778": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Number": "249",
   "Section": "220",
   "Subsection": "f"
  },
  "r779": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Number": "249",
   "Section": "240",
   "Subsection": "f"
  },
  "r780": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Forms 10-K, 10-Q, 20-F",
   "Number": "240",
   "Section": "13",
   "Subsection": "a-1"
  },
  "r781": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w"
  },
  "r782": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-T",
   "Number": "232",
   "Section": "405"
  },
  "r783": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Securities Act",
   "Number": "230",
   "Section": "405"
  },
  "r784": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "272",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483014/272-10-45-3"
  },
  "r785": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "10",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483076/450-20-50-10"
  },
  "r786": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "855",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483399/855-10-50-3"
  },
  "r787": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "SubTopic": "10",
   "Topic": "321",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479536/321-10-50-1"
  },
  "r788": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "SubTopic": "10",
   "Topic": "275",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482861/275-10-50-18"
  },
  "r789": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "SubTopic": "825",
   "Topic": "944",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479383/944-825-50-1B"
  },
  "r790": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4H",
   "SubTopic": "40",
   "Topic": "944",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480081/944-40-50-4H"
  },
  "r791": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "12",
   "Subsection": "04",
   "Paragraph": "(a)",
   "Publisher": "SEC"
  },
  "r792": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "13",
   "Subsection": "01",
   "Paragraph": "(a)",
   "Subparagraph": "(4)(i)",
   "Publisher": "SEC"
  },
  "r793": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "13",
   "Subsection": "01",
   "Paragraph": "(a)",
   "Subparagraph": "(4)(ii)",
   "Publisher": "SEC"
  },
  "r794": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "13",
   "Subsection": "01",
   "Paragraph": "(a)",
   "Subparagraph": "(4)(iii)",
   "Publisher": "SEC"
  },
  "r795": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "13",
   "Subsection": "01",
   "Paragraph": "(a)",
   "Subparagraph": "(4)(iv)",
   "Publisher": "SEC"
  },
  "r796": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Section": "13",
   "Subsection": "02",
   "Paragraph": "(a)",
   "Subparagraph": "(4)(iv)",
   "Publisher": "SEC"
  },
  "r797": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r798": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(17))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r799": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(18))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r800": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(27)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r801": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(28))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r802": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "210",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02(9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r803": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2"
  },
  "r804": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(SX 210.5-03(b)(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2"
  },
  "r805": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "14",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-14"
  },
  "r806": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "24",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-24"
  },
  "r807": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "28",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-28"
  },
  "r808": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482913/230-10-50-8"
  },
  "r809": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1"
  },
  "r810": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(f))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1"
  },
  "r811": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1"
  },
  "r812": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(k)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1"
  },
  "r813": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.4-08(k)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1"
  },
  "r814": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "235",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.12-04(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-3"
  },
  "r815": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "23",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483421/250-10-45-23"
  },
  "r816": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "24",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483421/250-10-45-24"
  },
  "r817": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483421/250-10-45-5"
  },
  "r818": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483443/250-10-50-4"
  },
  "r819": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "55",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-55"
  },
  "r820": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482662/260-10-50-1"
  },
  "r821": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-18"
  },
  "r822": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "280",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482810/280-10-50-30"
  },
  "r823": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "321",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479536/321-10-50-4"
  },
  "r824": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "323",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481687/323-10-50-3"
  },
  "r825": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "360",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482130/360-10-45-5"
  },
  "r826": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "360",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482099/360-10-50-3"
  },
  "r827": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "410",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "10",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481931/410-30-50-10"
  },
  "r828": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "450",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//450/tableOfContent"
  },
  "r829": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483076/450-20-50-4"
  },
  "r830": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483076/450-20-50-9"
  },
  "r831": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "9",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483076/450-20-50-9"
  },
  "r832": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "450",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SAB Topic 5.Y.Q2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480102/450-20-S99-1"
  },
  "r833": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1A"
  },
  "r834": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(ii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1A"
  },
  "r835": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1A"
  },
  "r836": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1A",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1A"
  },
  "r837": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1B",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480097/470-10-S99-1B"
  },
  "r838": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1B",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1B"
  },
  "r839": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "470",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1D",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481139/470-20-50-1D"
  },
  "r840": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "13",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-13"
  },
  "r841": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "505",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-2"
  },
  "r842": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "606",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479806/606-10-50-5"
  },
  "r843": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "25",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480682/815-20-25-6A"
  },
  "r844": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(e)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480175/815-40-65-1"
  },
  "r845": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2"
  },
  "r846": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2"
  },
  "r847": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "28",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482907/825-10-50-28"
  },
  "r848": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "842",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479773/842-30-50-12"
  },
  "r849": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483326/850-10-50-3"
  },
  "r850": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "852",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481404/852-10-50-7"
  },
  "r851": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "852",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481404/852-10-50-7"
  },
  "r852": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3"
  },
  "r853": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3"
  },
  "r854": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-3"
  },
  "r855": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-4"
  },
  "r856": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-4"
  },
  "r857": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "860",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481326/860-20-50-4"
  },
  "r858": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "942",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03(1)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r859": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(15)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1"
  },
  "r860": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(16)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1"
  },
  "r861": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-03(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479440/944-210-S99-1"
  },
  "r862": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(12))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1"
  },
  "r863": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(23))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1"
  },
  "r864": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479432/944-30-50-2B"
  },
  "r865": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "944",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "13H",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480046/944-40-55-13H"
  },
  "r866": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480767/946-205-45-4"
  },
  "r867": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "210",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-04(18))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479617/946-210-S99-1"
  },
  "r868": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Subparagraph": "(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483581/946-220-45-3"
  },
  "r869": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Subparagraph": "(k)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483581/946-220-45-3"
  },
  "r870": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6-07(2)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r871": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(4)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3"
  },
  "r872": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "3",
   "Subparagraph": "(SX 210.6-09(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-3"
  }
 }
}
